/* Union Pizza Works - unofficial fan demo theme
   Styled after early-2010s WordPress (Twenty Eleven era).
   This is a static parody/demo. Not affiliated with the real business. */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font: 13px/1.625 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #373737;
  background: #e2dfd4 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPjxyZWN0IHdpZHRoPSI0IiBoZWlnaHQ9IjQiIGZpbGw9IiNlMmRmZDQiLz48cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjZDdkM2M2Ii8+PC9zdmc+') repeat;
}

a { color: #1982d1; text-decoration: none; }
a:hover { color: #0f5a96; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-family: Georgia, "Times New Roman", serif; color: #222; line-height: 1.3; }

/* ===== Page wrapper ===== */
#page {
  max-width: 1000px;
  margin: 24px auto;
  background: #f1efe6;
  border: 1px solid #c9c4b4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* ===== Header ===== */
#branding {
  position: relative;
  background: #fbfaf5;
  border-bottom: 1px solid #dcd7c6;
  padding: 22px 28px 0;
}
#branding .header-inner { display: flex; align-items: center; gap: 16px; }
.site-logo {
  width: 90px; height: 90px; flex: 0 0 90px;
  background-repeat: no-repeat; background-size: contain; background-position: center;
}
#site-title { font-size: 34px; font-weight: bold; letter-spacing: -1px; }
#site-title a { color: #111; text-decoration: none; }
#site-description { font-size: 14px; font-style: italic; color: #7c7c7c; margin-top: 2px; }

.header-image {
  margin: 18px 0 0;
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-top: 1px solid #dcd7c6;
}

/* ===== Navigation ===== */
#access {
  background: #222 url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxIiBoZWlnaHQ9IjQwIj48bGluZWFyR3JhZGllbnQgaWQ9ImciIHgxPSIwIiB5MT0iMCIgeDI9IjAiIHkyPSIxIj48c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNDQ0Ii8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMjIyIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSI0MCIgZmlsbD0idXJsKCNnKSIvPjwvc3ZnPg==') repeat-x;
  border-radius: 0;
}
#access ul { list-style: none; display: flex; flex-wrap: wrap; }
#access li { position: relative; }
#access a {
  display: block;
  color: #eee;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  padding: 0 14px;
  line-height: 40px;
  text-shadow: 0 1px 0 #000;
  border-right: 1px solid rgba(255,255,255,0.06);
}
#access a:hover { background: #1982d1; color: #fff; }
#access .current a { background: #111; color: #fff; box-shadow: inset 0 2px 6px rgba(0,0,0,0.6); }

/* ===== Layout ===== */
#main { display: flex; gap: 0; padding: 20px 28px 0; }
#primary { flex: 1 1 auto; min-width: 0; padding-right: 28px; }
#secondary { flex: 0 0 270px; padding: 4px 0 0; }

/* ===== Posts / articles ===== */
.hentry { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px dotted #cfcabb; }
.entry-title { font-size: 26px; margin-bottom: 4px; }
.entry-title a { color: #222; }
.entry-meta { color: #888; font-size: 12px; font-style: italic; margin-bottom: 12px; }
.entry-meta a { color: #1982d1; }
.entry-content p { margin: 0 0 16px; }
.entry-content h3 { margin: 18px 0 8px; font-size: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; }
.entry-content li { margin-bottom: 4px; }

.post-thumb {
  width: 100%; height: 230px;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  border: 1px solid #cfcabb; margin-bottom: 14px;
}

blockquote {
  margin: 0 0 16px; padding: 8px 18px;
  border-left: 4px solid #1982d1; background: #eef6fc;
  font-style: italic; color: #555;
}

.readmore {
  display: inline-block; margin-top: 6px;
  background: #1982d1; color: #fff; padding: 5px 12px; border-radius: 3px;
  font-weight: bold; font-size: 12px;
}
.readmore:hover { background: #0f5a96; color: #fff; text-decoration: none; }

/* ===== Image grids ===== */
.media-grid { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 18px; }
.media-grid .tile {
  flex: 1 1 200px; height: 150px;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  border: 5px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.menu-card {
  display: flex; gap: 14px; margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px dotted #cfcabb;
}
.menu-card .thumb {
  flex: 0 0 150px; height: 100px;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  border: 4px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.menu-card .price { float: right; color: #7a1f17; font-weight: bold; font-family: Georgia, serif; }
.menu-card h3 { font-size: 17px; margin-bottom: 4px; }

/* ===== Tables ===== */
table.tbl { width: 100%; border-collapse: collapse; margin: 0 0 18px; background: #fff; }
table.tbl th, table.tbl td { border: 1px solid #d8d3c4; padding: 8px 10px; text-align: left; font-size: 13px; }
table.tbl th { background: #efe9da; font-family: Georgia, serif; }
table.tbl tr:nth-child(even) td { background: #faf8f1; }

/* ===== Sidebar widgets ===== */
.widget { margin-bottom: 28px; font-size: 13px; }
.widget-title {
  font-family: Georgia, serif; font-size: 14px; text-transform: uppercase;
  letter-spacing: 1px; color: #7c7c7c; margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid #dcd7c6;
}
.widget ul { list-style: none; }
.widget li { padding: 4px 0; border-bottom: 1px solid #e7e2d4; }
.widget li a { color: #1982d1; }
.searchform { display: flex; }
.searchform input[type=text] {
  flex: 1 1 auto; border: 1px solid #ccc; padding: 6px 8px; font-size: 13px; border-radius: 3px 0 0 3px;
}
.searchform input[type=submit] {
  border: 0; background: #222; color: #fff; padding: 0 12px; cursor: pointer; border-radius: 0 3px 3px 0;
}
.tagcloud a {
  display: inline-block; background: #e7e2d4; color: #555; padding: 2px 7px; margin: 0 4px 5px 0;
  border-radius: 3px; font-size: 12px;
}
.tagcloud a:hover { background: #1982d1; color: #fff; text-decoration: none; }
.mini-avatar {
  width: 100%; height: 120px; background-repeat: no-repeat; background-size: contain;
  background-position: center; margin-bottom: 8px;
}

/* ===== Footer ===== */
#colophon {
  margin-top: 24px; background: #1d1d1d; color: #aaa; font-size: 12px;
  padding: 24px 28px;
}
#colophon a { color: #9fd0f2; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-cols .col { flex: 1 1 200px; }
.footer-cols h4 { color: #fff; font-family: Georgia, serif; font-size: 13px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.footer-cols ul { list-style: none; }
.footer-cols li { padding: 3px 0; }
.site-info { margin-top: 18px; padding-top: 14px; border-top: 1px solid #333; color: #777; }

/* ===== Disclaimer banner ===== */
.disclaimer {
  background: #fff8e1; border: 1px solid #e6d9a8; color: #6b5b1f;
  font-size: 12px; padding: 8px 14px; margin: 0; text-align: center;
}

/* ===== Misc ===== */
.alignleft { float: left; margin: 0 16px 10px 0; }
.intro-box { background: #fff; border: 1px solid #dcd7c6; padding: 16px 18px; margin-bottom: 24px; border-radius: 3px; }
.btn-row { margin: 14px 0; }
.stars { color: #e8a31a; letter-spacing: 2px; font-size: 15px; }
.note { color: #888; font-size: 12px; font-style: italic; }
hr.sep { border: 0; border-top: 1px dotted #cfcabb; margin: 18px 0; }

@media (max-width: 820px) {
  #main { flex-direction: column; }
  #primary { padding-right: 0; }
  #secondary { flex-basis: auto; }
  #branding .header-inner { flex-direction: column; text-align: center; }
}
