/* Site-wide additions to the page designs (most styling lives inline in each page). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #CFA765; outline-offset: 3px; }
button[aria-disabled="true"] { pointer-events: none; }

/* Phones */
@media (max-width: 700px) {
  nav[aria-label="Main"] { justify-content: center !important; padding: 16px 18px !important; gap: 10px 20px !important; }
  nav[aria-label="Main"] > div { flex: 0 1 auto !important; justify-content: center !important; gap: 18px !important; font-size: 12px !important; letter-spacing: 0.12em !important; }
  nav[aria-label="Main"] > a { order: -1; flex: 1 1 100%; font-size: 26px !important; }
  [style*="margin: 0 auto"][style*="padding"] { padding-left: 20px !important; padding-right: 20px !important; }
  [style*="margin: 0 auto"] [style*="margin: 0 auto"][style*="padding"] { padding-left: 0 !important; padding-right: 0 !important; }
  div[style*="grid-template-columns: repeat(auto-fill, minmax(196px"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 14px !important; }
  ol[style*="minmax(420px"] { grid-template-columns: 1fr !important; }
  [style*="padding: 40px; display: flex; flex-direction: column; gap: 36px"] { padding: 22px !important; }
}

/* Blog post body (content moved from Wix) */
.post-body { display: block !important; margin-top: 32px !important; } /* floats need a normal block layout */
.post-body > * { margin: 0 0 24px; }
.post-body figure { margin: 8px 0; }
.post-body figure img, .post-body > p img { display: block; width: 100%; height: auto; }
.post-body figcaption { margin-top: 8px; font-family: 'Work Sans', sans-serif; font-size: 13px; color: #6E5A47; text-align: center; }
.post-body h2, .post-body h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; color: #1E1510; }
.post-body h2 { font-size: 36px; margin-top: 12px; }
.post-body h3 { font-size: 28px; margin-top: 8px; }
.post-body a { color: #7A5524; text-decoration: underline; text-underline-offset: 3px; }
.post-body blockquote { padding: 8px 0 8px 28px; border-left: 2px solid #CFA765; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 28px; line-height: 1.35; color: #3A2A1E; }
.post-body ul, .post-body ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.post-body figure.side { float: right; clear: right; width: min(38%, 260px); margin: 6px 0 18px 28px; }
.post-body figure.side img { box-shadow: 0 10px 24px rgba(60, 40, 20, 0.22); }
.post-body figure.right { float: right; clear: right; margin: 6px 0 18px 28px; }
.post-body figure.left { float: left; clear: left; margin: 6px 28px 18px 0; }
.post-body figure.center { margin-left: auto; margin-right: auto; }
.post-body figure.left img, .post-body figure.right img { box-shadow: 0 10px 24px rgba(60, 40, 20, 0.22); }
.post-body figure.small { margin-left: auto; margin-right: auto; width: 100%; }
.post-body h2, .post-body h3, .post-body .gallery, .post-body blockquote { clear: both; }
.post-body::after { content: ""; display: block; clear: both; }
.post-body .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.post-body .gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; cursor: zoom-in; }
@media (max-width: 700px) { .post-body figure.side, .post-body figure.left, .post-body figure.right { width: 42% !important; } .post-body figure.side, .post-body figure.right { margin-left: 16px; } .post-body figure.left { margin-right: 16px; } .post-body { font-size: 18px !important; } .post-body .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Photo viewer for blog galleries */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(18, 13, 10, 0.94); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

/* Print one recipe (Go Soup Yourself!) */
@media print {
  body.print-one * { visibility: hidden; }
  body.print-one .printing, body.print-one .printing * { visibility: visible; }
  body.print-one .printing { position: absolute; left: 0; top: 0; width: 100%; border: 0 !important; background: #fff !important; }
  body.print-one .printing a[href^="#"] { display: none !important; }
  header, footer, #newsletter { display: none; }
}
