/**
 * MenuUK — assets/css/menuuk.css
 * Custom theme stylesheet for the MenuUK WordPress theme.
 *
 * Design: clean, warm food-guide look. Mobile-first responsive,
 * system font stack only (no web fonts, no CDNs). Warm accents:
 * primary #C0392B (warm tomato red), secondary #E8A020 (golden amber).
 * Background #FFFDF8 (warm white), text #2B2B2B.
 *
 * Text domain: menuuk
 */

/* -------------------------------------------------------------------------
   1. Tokens
-------------------------------------------------------------------------- */

:root {
  --menuuk-accent: #C0392B;               /* settable via Customizer */
  --menuuk-accent-dark: #96281B;
  --menuuk-secondary: #E8A020;
  --menuuk-secondary-dark: #B97B0F;
  --menuuk-bg: #FFFDF8;
  --menuuk-surface: #FFFFFF;
  --menuuk-text: #2B2B2B;
  --menuuk-text-muted: #6E655A;
  --menuuk-border: #EDE3D3;
  --menuuk-border-strong: #DAC9AC;
  --menuuk-shadow: 0 1px 3px rgba(60, 40, 20, 0.08), 0 4px 14px rgba(60, 40, 20, 0.06);
  --menuuk-shadow-hover: 0 2px 6px rgba(60, 40, 20, 0.10), 0 10px 26px rgba(60, 40, 20, 0.10);
  --menuuk-radius: 12px;
  --menuuk-radius-sm: 8px;
  --menuuk-header-height: 68px;
  --menuuk-content-max: 1120px;
  --menuuk-narrow-max: 760px;
  --menuuk-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* -------------------------------------------------------------------------
   2. Reset / base
-------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--menuuk-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--menuuk-text);
  background: var(--menuuk-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--menuuk-accent, #C0392B);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--menuuk-accent-dark);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  margin: 1.6em 0 0.6em;
  font-weight: 700;
  color: var(--menuuk-text);
  letter-spacing: -0.01em;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em 1.4em; padding: 0; }
li { margin-bottom: 0.4em; }

blockquote {
  margin: 1.4em 0;
  padding: 0.9em 1.2em;
  border-left: 4px solid var(--menuuk-secondary);
  background: #FDF6E7;
  border-radius: 0 var(--menuuk-radius-sm) var(--menuuk-radius-sm) 0;
  font-style: italic;
  color: #54462F;
}

blockquote p:last-child { margin-bottom: 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: #F6EEDC;
  padding: 0.15em 0.45em;
  border-radius: 4px;
}

pre {
  background: #2B2B2B;
  color: #F6EEDC;
  padding: 1.1em 1.3em;
  border-radius: var(--menuuk-radius-sm);
  overflow-x: auto;
  line-height: 1.5;
}

pre code { background: none; padding: 0; color: inherit; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

th, td {
  text-align: left;
  padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--menuuk-border);
}

thead th {
  background: #FAF3E3;
  font-weight: 700;
  white-space: nowrap;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--menuuk-secondary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* -------------------------------------------------------------------------
   3. Accessibility helpers
-------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--menuuk-text);
  color: #fff;
  padding: 0.7em 1.2em;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  color: #fff;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   4. Layout containers
-------------------------------------------------------------------------- */

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
  padding: 1.5rem 0 3rem;
}

.wrap,
.content-area > .wrap {
  max-width: var(--menuuk-content-max);
  margin: 0 auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* Two-column layout for single posts and pages with sidebar (desktop) */
.content-area {
  max-width: var(--menuuk-content-max);
  margin: 0 auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.has-sidebar .content-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

@media (min-width: 900px) {
  .has-sidebar .content-area {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.widget-area {
  font-size: 0.94rem;
}

@media (min-width: 900px) {
  .widget-area {
    position: sticky;
    top: calc(var(--menuuk-header-height) + 1.2rem);
  }
}

.widget {
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  box-shadow: var(--menuuk-shadow);
  padding: 1.25rem;
  margin-bottom: 1.4rem;
}

.widget-title {
  margin: 0 0 0.8em;
  font-size: 1.05rem;
  padding-bottom: 0.6em;
  border-bottom: 2px solid var(--menuuk-border);
}

/* Gutenberg-ish alignment helpers */
.alignwide {
  max-width: 100%;
}

.alignfull {
  width: 100%;
  max-width: none;
}

@media (min-width: 900px) {
  .alignwide { max-width: var(--menuuk-content-max); margin-left: auto; margin-right: auto; }
}

/* -------------------------------------------------------------------------
   5. Header
-------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--menuuk-header-height);
  background: var(--menuuk-surface);
  border-bottom: 1px solid var(--menuuk-border);
  box-shadow: 0 1px 6px rgba(60, 40, 20, 0.07);
}

.site-header .header-inner {
  max-width: var(--menuuk-content-max);
  margin: 0 auto;
  padding: 0 1.1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.site-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--menuuk-accent, #C0392B), var(--menuuk-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.site-title a {
  color: var(--menuuk-text);
  text-decoration: none;
}

.site-description {
  margin: 0;
  font-size: 0.78rem;
  color: var(--menuuk-text-muted);
  line-height: 1.3;
}

/* -------------------------------------------------------------------------
   6. Navigation
-------------------------------------------------------------------------- */

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius-sm);
  background: var(--menuuk-surface);
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--menuuk-text);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}

.mobile-menu-toggle .bar::before,
.mobile-menu-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--menuuk-text);
  border-radius: 2px;
  transition: transform 0.2s;
}

.mobile-menu-toggle .bar::before { top: -7px; }
.mobile-menu-toggle .bar::after { top: 7px; }

.mobile-menu-toggle[aria-expanded="true"] .bar { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--menuuk-text);
  font-weight: 600;
  font-size: 0.96rem;
  display: block;
  padding: 0.55em 0.9em;
  border-radius: var(--menuuk-radius-sm);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--menuuk-accent, #C0392B);
  background: #FBF3E4;
}

.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  color: var(--menuuk-accent, #C0392B);
  background: #FBEFE0;
}

/* Mobile nav: hidden until toggled */
@media (max-width: 859px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--menuuk-header-height);
    left: 0;
    right: 0;
    background: var(--menuuk-surface);
    border-bottom: 1px solid var(--menuuk-border);
    box-shadow: 0 12px 24px rgba(60, 40, 20, 0.12);
    padding: 0.6rem 1.1rem 1rem;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav li {
    border-bottom: 1px solid #F3EBDB;
  }

  .site-nav li:last-child { border-bottom: 0; }
}

/* Desktop nav */
@media (min-width: 860px) {
  .mobile-menu-toggle { display: none; }

  .site-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav li {
    position: relative;
  }

  .site-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--menuuk-surface);
    border: 1px solid var(--menuuk-border);
    border-radius: var(--menuuk-radius-sm);
    box-shadow: var(--menuuk-shadow-hover);
    padding: 0.5rem;
    z-index: 120;
  }

  .site-nav li:hover > .sub-menu,
  .site-nav li:focus-within > .sub-menu {
    display: block;
  }

  .site-nav .sub-menu a {
    font-weight: 500;
    padding: 0.55em 0.9em;
  }
}

/* Footer nav */
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.footer-nav a {
  color: var(--menuuk-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--menuuk-accent, #C0392B); text-decoration: underline; }

/* -------------------------------------------------------------------------
   7. Breadcrumbs
-------------------------------------------------------------------------- */

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--menuuk-text-muted);
  margin-bottom: 1.1rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs li + li::before {
  content: "›";
  color: var(--menuuk-border-strong);
  font-size: 1em;
}

.breadcrumbs a {
  color: var(--menuuk-text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--menuuk-accent, #C0392B);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--menuuk-text);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   8. Blog: post cards & pagination
-------------------------------------------------------------------------- */

.posts-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .posts-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .posts-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  box-shadow: var(--menuuk-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--menuuk-shadow-hover);
}

.post-card .post-thumbnail {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F6EEDC;
}

.post-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.04);
}

.post-card .card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.post-card .entry-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.35;
}

.post-card .entry-title a {
  color: var(--menuuk-text);
  text-decoration: none;
}

.post-card .entry-title a:hover {
  color: var(--menuuk-accent, #C0392B);
}

.entry-meta {
  font-size: 0.82rem;
  color: var(--menuuk-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: center;
}

.entry-meta a {
  color: var(--menuuk-text-muted);
  text-decoration: none;
}

.entry-meta a:hover {
  color: var(--menuuk-accent, #C0392B);
  text-decoration: underline;
}

.entry-meta .posted-on::before { content: "📅 "; }
.entry-meta .byline::before { content: "✍️ "; }
.entry-meta .cat-links::before { content: "📁 "; }
.entry-meta .comments-link::before { content: "💬 "; }

.post-card .entry-excerpt {
  color: var(--menuuk-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.post-card .read-more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--menuuk-accent, #C0392B);
  text-decoration: none;
}

.post-card .read-more:hover { text-decoration: underline; }

.pagination {
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.7em;
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius-sm);
  background: var(--menuuk-surface);
  color: var(--menuuk-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.pagination a.page-numbers:hover {
  border-color: var(--menuuk-accent, #C0392B);
  color: var(--menuuk-accent, #C0392B);
}

.pagination .page-numbers.current {
  background: var(--menuuk-accent, #C0392B);
  border-color: var(--menuuk-accent, #C0392B);
  color: #fff;
}

/* -------------------------------------------------------------------------
   9. Menu pages: category nav, grid, cards, tables
-------------------------------------------------------------------------- */

/* Sticky category pill nav, sits just under the sticky header */
nav.cat-nav {
  position: sticky;
  top: var(--menuuk-header-height);
  z-index: 90;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--menuuk-border);
  padding: 0.65rem 0;
  margin: 0 -1.1rem 1.6rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

nav.cat-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

nav.cat-nav li { margin: 0; flex-shrink: 0; }

nav.cat-nav a {
  display: inline-block;
  padding: 0.45em 1em;
  border: 1px solid var(--menuuk-border);
  border-radius: 999px;
  background: var(--menuuk-surface);
  color: var(--menuuk-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

nav.cat-nav a:hover {
  border-color: var(--menuuk-accent, #C0392B);
  color: var(--menuuk-accent, #C0392B);
}

nav.cat-nav a.active {
  background: var(--menuuk-accent, #C0392B);
  border-color: var(--menuuk-accent, #C0392B);
  color: #fff;
}

/* Responsive card grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 2.2rem;
}

@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
}

.menu-item-card {
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  box-shadow: var(--menuuk-shadow);
  padding: 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.menu-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--menuuk-shadow-hover);
}

.menu-item-card .item-name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.menu-item-card .item-desc {
  font-size: 0.86rem;
  color: var(--menuuk-text-muted);
  margin: 0;
  flex: 1;
}

.menu-item-card .item-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.45rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--menuuk-border);
}

.menu-item-card .item-price {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--menuuk-accent, #C0392B);
  white-space: nowrap;
}

.menu-item-card .item-kcal {
  font-size: 0.8rem;
  color: var(--menuuk-text-muted);
  white-space: nowrap;
}

/* Striped responsive table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4rem 0;
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  background: var(--menuuk-surface);
  box-shadow: var(--menuuk-shadow);
}

.table-wrap table {
  margin: 0;
  min-width: 560px;
  font-size: 0.93rem;
}

.menu-table tbody tr:nth-child(odd) {
  background: #FDF9F0;
}

.menu-table tbody tr:hover {
  background: #FBF3E0;
}

.menu-table td.price,
.menu-table th.price {
  font-weight: 800;
  color: var(--menuuk-accent, #C0392B);
  white-space: nowrap;
}

.menu-table td.kcal,
.menu-table th.kcal {
  color: var(--menuuk-text-muted);
  white-space: nowrap;
}

/* Price info box */
.price-note {
  background: #FDF6E7;
  border: 1px solid var(--menuuk-secondary);
  border-left: 5px solid var(--menuuk-secondary);
  border-radius: var(--menuuk-radius-sm);
  padding: 0.9em 1.2em;
  font-size: 0.92rem;
  color: #54462F;
  margin: 1.4em 0;
}

.price-note strong { color: var(--menuuk-text); }

.price-note p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------------
   10. Ad slots (neutral when empty)
-------------------------------------------------------------------------- */

.ad-slot {
  margin: 1.6rem auto;
  text-align: center;
  max-width: 100%;
}

.ad-slot:empty {
  display: none;
}

.ad-slot iframe,
.ad-slot ins,
.ad-slot img {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------
   11. Single post / page: entry content, navigation, FAQ
-------------------------------------------------------------------------- */

.entry-header {
  margin-bottom: 1.4rem;
}

.entry-header .entry-title {
  margin: 0.25em 0 0.4em;
  font-size: 2rem;
}

.entry-content {
  max-width: var(--menuuk-narrow-max);
  font-size: 1.02rem;
}

.entry-content > *:first-child { margin-top: 0; }

.entry-content h2 {
  padding-top: 0.4em;
  border-top: 1px solid var(--menuuk-border);
  margin-top: 2em;
  scroll-margin-top: calc(var(--menuuk-header-height) + 70px);
}

.entry-content h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 0.2em;
}

.entry-content li::marker {
  color: var(--menuuk-accent, #C0392B);
}

.entry-content blockquote { font-size: 1.02rem; }

.entry-content .table-wrap { max-width: none; }

.entry-content img {
  border-radius: var(--menuuk-radius-sm);
}

.entry-content figure {
  margin: 1.5em 0;
}

.entry-content figcaption {
  font-size: 0.85rem;
  color: var(--menuuk-text-muted);
  text-align: center;
  margin-top: 0.5em;
}

.entry-footer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--menuuk-border);
  font-size: 0.9rem;
  color: var(--menuuk-text-muted);
}

.tags-links a {
  display: inline-block;
  background: #FBF3E4;
  border: 1px solid var(--menuuk-border);
  border-radius: 999px;
  padding: 0.25em 0.85em;
  margin: 0 0.35em 0.35em 0;
  font-size: 0.85rem;
  color: var(--menuuk-text);
  text-decoration: none;
}

.tags-links a:hover {
  border-color: var(--menuuk-accent, #C0392B);
  color: var(--menuuk-accent, #C0392B);
}

.post-navigation {
  margin: 2.5rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 2px solid var(--menuuk-border);
}

.post-navigation .nav-links {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .post-navigation .nav-links { grid-template-columns: 1fr 1fr; }
  .post-navigation .nav-next { text-align: right; }
}

.post-navigation a {
  display: block;
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--menuuk-text);
  box-shadow: var(--menuuk-shadow);
}

.post-navigation a:hover {
  border-color: var(--menuuk-accent, #C0392B);
}

.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--menuuk-text-muted);
  margin-bottom: 0.3em;
}

.post-navigation .nav-title {
  font-weight: 700;
  color: var(--menuuk-accent, #C0392B);
}

/* FAQ accordion (details/summary) */
.faq {
  margin: 2rem 0;
}

details.faq-item {
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius-sm);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

details.faq-item[open] {
  box-shadow: var(--menuuk-shadow);
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95em 1.15em;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FBF3E4;
  color: var(--menuuk-accent, #C0392B);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

details.faq-item[open] summary::after {
  content: "−";
  background: var(--menuuk-accent, #C0392B);
  color: #fff;
}

details.faq-item summary:hover {
  color: var(--menuuk-accent, #C0392B);
}

details.faq-item .faq-answer {
  padding: 0 1.15em 1.1em;
  color: var(--menuuk-text-muted);
  border-top: 1px dashed var(--menuuk-border);
  padding-top: 0.9em;
  margin: 0 1.15em 1.1em;
  padding-left: 0;
  padding-right: 0;
}

/* -------------------------------------------------------------------------
   12. Footer
-------------------------------------------------------------------------- */

.site-footer {
  background: #2E2620;
  color: #D9CFC0;
  margin-top: auto;
  padding: 2.6rem 0 1.4rem;
  font-size: 0.93rem;
}

.site-footer a {
  color: #F3E7CF;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--menuuk-secondary);
  text-decoration: underline;
}

.site-footer .footer-inner {
  max-width: var(--menuuk-content-max);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.footer-widgets {
  display: grid;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-widgets { grid-template-columns: repeat(3, 1fr); }
}

.site-footer .widget {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #D9CFC0;
}

.site-footer .widget-title {
  color: #F3E7CF;
  border-bottom-color: rgba(243, 231, 207, 0.25);
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(243, 231, 207, 0.18);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #A99B87;
  line-height: 1.6;
  max-width: 720px;
}

.footer-disclaimer p { margin: 0 0 0.6em; }

.site-info {
  font-size: 0.85rem;
  color: #A99B87;
  width: 100%;
  text-align: center;
  margin-top: 0.4rem;
}

/* -------------------------------------------------------------------------
   13. Comments
-------------------------------------------------------------------------- */

.comments-area {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--menuuk-border);
  max-width: var(--menuuk-narrow-max);
}

.comment-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.comment-list .comment {
  background: var(--menuuk-surface);
  border: 1px solid var(--menuuk-border);
  border-radius: var(--menuuk-radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}

.comment-list .children {
  list-style: none;
  margin: 1rem 0 0 1rem;
  padding: 0;
}

.comment-meta {
  font-size: 0.84rem;
  color: var(--menuuk-text-muted);
  margin-bottom: 0.6em;
}

.comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
  width: 100%;
  max-width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--menuuk-border-strong);
  border-radius: var(--menuuk-radius-sm);
  background: var(--menuuk-surface);
  color: var(--menuuk-text);
  margin-bottom: 1em;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form input:focus {
  border-color: var(--menuuk-accent, #C0392B);
  outline: 2px solid rgba(192, 57, 43, 0.25);
}

.comment-form .submit,
.search-form .search-submit,
button[type="submit"],
input[type="submit"] {
  background: var(--menuuk-accent, #C0392B);
  color: #fff;
  border: 0;
  border-radius: var(--menuuk-radius-sm);
  padding: 0.75em 1.6em;
  font-weight: 700;
  cursor: pointer;
}

.comment-form .submit:hover,
.search-form .search-submit:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--menuuk-accent-dark);
}

/* -------------------------------------------------------------------------
   14. Back to top
-------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 150;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--menuuk-accent, #C0392B);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(60, 40, 20, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--menuuk-accent-dark);
}

/* -------------------------------------------------------------------------
   15. Search results / archives / 404
-------------------------------------------------------------------------- */

.page-header {
  margin-bottom: 1.6rem;
}

.page-title {
  margin: 0.2em 0 0.3em;
  font-size: 1.9rem;
}

.archive-description {
  color: var(--menuuk-text-muted);
  max-width: var(--menuuk-narrow-max);
}

.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 480px;
}

.search-form label { flex: 1; margin: 0; }
.search-form input[type="search"] { margin: 0; }

.error-404 .page-content {
  max-width: var(--menuuk-narrow-max);
}

/* -------------------------------------------------------------------------
   16. Print
-------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-nav,
  .mobile-menu-toggle,
  nav.cat-nav,
  .ad-slot,
  .back-to-top,
  .post-navigation,
  .comments-area,
  .widget-area,
  .site-footer .footer-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .site-main { padding: 0; }

  .menu-item-card,
  .post-card {
    box-shadow: none;
    break-inside: avoid;
  }

  a { color: #000; text-decoration: none; }

  .entry-content { max-width: none; }
}
