/* Shared navigation and mobile layout for every exported page. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
.site-shell { overflow-x: clip !important; }
.site-header { position: sticky; top: 0; }
.menu-toggle { display: none; }
:where(a,button,[role="button"],summary,input,select,textarea):focus-visible { outline: 3px solid #547A50; outline-offset: 4px; }
button,input,select,textarea { font: inherit; }
.site-navigation a[aria-current="page"] { background: #EDF1E9; color: #456540; }
@media (max-width: 1023px) {
  .site-header-inner { position: relative; flex-wrap: nowrap !important; gap: 12px !important; padding: 12px 16px !important; min-height: 70px; box-sizing: border-box; }
  .site-brand { min-width: 0; gap: 9px !important; }
  .site-brand > span:first-child { width: 38px !important; height: 38px !important; }
  .site-brand > span:last-child > span:first-child { font-size: 15px !important; }
  .site-brand > span:last-child > span:last-child { font-size: 12px !important; line-height: 1.4; }
  .menu-toggle { display: inline-flex; flex: 0 0 44px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #DCDDD8; border-radius: 12px; background: #EFF0EC; color: #456540; cursor: pointer; padding: 10px; }
  .menu-icon { display: flex; flex-direction: column; gap: 5px; width: 20px; }
  .menu-icon span { display: block; height: 2px; width: 20px; border-radius: 2px; background: currentColor; transition: transform .15s ease, opacity .15s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-navigation { display: none !important; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 16px 20px; background: #F9F9F7; border-bottom: 1px solid #DCDDD8; box-shadow: 0 14px 20px -16px #1E212055; max-height: calc(100dvh - 76px); overflow-y: auto; box-sizing: border-box; }
  .site-header[data-menu-open="true"] .site-navigation { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 6px !important; }
  .site-navigation a { box-sizing: border-box; min-height: 48px !important; padding: 12px 16px !important; font-size: 16px !important; line-height: 1.5; }
  .site-navigation a:last-child { margin: 8px 0 0 !important; justify-content: center; }
}
@media (max-width: 1023px) {
  .site-shell, .site-shell *, .site-shell *::before, .site-shell *::after { box-sizing: border-box; }
  .site-shell * { min-width: 0; }
  .mobile-body { font-size: 16px !important; }
  .mobile-meta { font-size: 14px !important; }
  .site-shell p, .site-shell li { font-size: 16px !important; line-height: 1.65 !important; }
  .city-filters { flex-wrap: wrap; overflow-x: visible !important; }
  .city-filters [role="button"] { white-space: normal !important; max-width: 100%; }
  h1 { font-size: clamp(28px, 8vw, 36px) !important; line-height: 1.14 !important; }
  h1,h2,h3,p,a { overflow-wrap: break-word; }
  img,video,iframe { max-width: 100%; }
  input,select,textarea { max-width: 100%; font-size: 16px !important; min-height: 48px; }
  button,[role="button"],summary { min-height: 48px; touch-action: manipulation; }
  [role="button"] { -webkit-tap-highlight-color: #547A5022; }
  .menu-toggle { min-height: 44px; }
  summary { gap: 16px; }
  a[style*="display:flex"],a[style*="display: flex"],a[style*="inline-flex"] { min-height: 44px; }
  /* Flex bases on desktop must not make a portrait or CTA wider than its parent. */
  [style*="flex:1 1"], [style*="flex: 1 1"] { max-width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.social-link { gap: 9px !important; }
.social-icon { display: block; flex: 0 0 20px; width: 20px; height: 20px; }

/* Consistent image framing; crops are presentational, originals stay intact. */
.hero-portrait { height:auto; aspect-ratio:4/5 !important; object-position:50% 23% !important; border:1px solid #e1e3dc; box-shadow:0 20px 50px -30px #23332155; }
.about-photo-frame { box-sizing:border-box; padding:10px; background:#E9EDE4; border:1px solid #DAE0D4; border-radius:32px; box-shadow:0 22px 48px -32px #29392450; }
.about-portrait { height:auto; aspect-ratio:4/5 !important; object-position:50% 50% !important; border-radius:23px !important; }
#about > div:last-child > div[style*="display:grid"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
.editorial-cover { aspect-ratio:16/9 !important; background-position:center !important; background-size:cover !important; overflow:hidden; }
.author-portrait { aspect-ratio:4/5 !important; background-position:50% 24% !important; max-width:420px; width:100%; margin:0 auto; }
@media(min-width:1024px) {
 .home-hero { grid-template-columns:1.05fr 0.95fr !important; gap:64px !important; }
 .hero-portrait { max-height:620px; }
}
@media(max-width:600px) {
 .hero-portrait { aspect-ratio:1/1 !important; object-position:50% 23% !important; border-radius:24px !important; }
 .about-photo-frame { flex-basis:100% !important; max-width:100% !important; padding:8px; border-radius:27px; }
 .about-portrait { border-radius:20px !important; }
}

/* Food course sale: original prices remain readable on both tariff backgrounds. */
.sale-note { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin-bottom:10px; }
.sale-old { color:#63675F; font-size:16px; font-weight:500; white-space:nowrap; }
.sale-old s { text-decoration-thickness:1.5px; }
.sale-badge { display:inline-block; padding:5px 10px; border-radius:999px; background:#EDF1E9; color:#365332; font-size:14px; line-height:1.4; font-weight:800; white-space:nowrap; }
.sale-note-light .sale-old { color:#CCD3C6; }
.sale-note-light .sale-badge { background:#D9E4CE; color:#2A3528; }
.sr-price { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
