/* Anychef site styles */
/* NOTE: /static/* is served immutable for a year, and the ?v= cache-buster
   does not change the origin PATH — so any request for a new ?v= that lands
   mid-deploy caches the OLD bytes under the NEW url, permanently. Do not
   fetch a freshly-hashed asset until the deploy has fully settled. */
:root {
  --bg: #F3F4F6;
  --surface: #FFFFFF;
  --ink: #0B0B0D;
  --ink-soft: #585B62;
  --ink-faint: #9498A0;
  --brand: #F4303B;
  --brand-dark: #D21F2A;
  --hairline: #DDDFE5;
  --radius: 18px;
  --maxw: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }

/* nav */
.navbar { background: var(--surface); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { display: flex; align-items: center; gap: 9px; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand span { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.menu-button { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink); }

/* buttons */
.btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: background .15s;
}
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 8px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff !important; }

/* layout */
.main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--ink-faint); font-weight: 400; }

/* hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
.hero h2 { font-size: clamp(18px, 3vw, 24px); color: var(--brand); margin-top: 10px; font-weight: 600; }
.hero p { max-width: 640px; margin: 18px auto 26px; color: var(--ink-soft); font-size: 17px; }
.appstore { display: inline-block; height: 54px; width: auto; margin: 6px auto 0; }
.coming-soon { display: inline-block; background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 10px 22px; color: var(--ink-soft); font-weight: 600; }
.screens { display: flex; gap: 18px; justify-content: center; align-items: flex-end; margin-top: 48px; flex-wrap: wrap; }
.screens img { height: 487px; width: auto; max-width: 100%; border-radius: 28px; box-shadow: 0 18px 44px rgba(11,11,13,.14); }

/* how it works */
.how { padding: 56px 0; text-align: center; }
.how h2, .featured h2 { font-size: 30px; margin-bottom: 28px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-grid > div { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 24px; }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.how-grid h3 { font-size: 18px; margin-bottom: 8px; }
.how-grid p { color: var(--ink-soft); font-size: 15px; }

/* feature story: cards (home) + alternating rows (/app/) */
.how-sub { max-width: 700px; margin: -14px auto 34px; color: var(--ink-soft); font-size: 16.5px; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.feature-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 20px 22px; }
.feature-card img { height: 406px; width: auto; max-width: 100%; border-radius: 22px; box-shadow: 0 14px 34px rgba(11,11,13,.13); }
.feature-card h3 { font-size: 17px; margin-top: 18px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }

.feature-rows { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.feature-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 34px 40px; }
.feature-row.flip { grid-template-columns: minmax(0, 1fr) 300px; }
.feature-row.flip .feature-shot { order: 2; }
.feature-shot { display: flex; justify-content: center; align-items: center; }
.feature-shot img { height: 487px; width: auto; max-width: 100%; border-radius: 26px; box-shadow: 0 18px 44px rgba(11,11,13,.14); }
.feature-copy .kicker { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.feature-copy h3 { font-size: clamp(20px, 2.4vw, 26px); margin: 8px 0 12px; line-height: 1.25; }
.feature-copy p { color: var(--ink-soft); font-size: 16.5px; }

.screens-caption { max-width: 620px; margin: 26px auto 0; color: var(--ink-soft); font-size: 15.5px; }

/* featured / grids */
.featured { padding: 32px 0 56px; text-align: center; }
.featured .btn-ghost { margin-top: 26px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(11,11,13,.10); }
.card img { aspect-ratio: 1; object-fit: cover; }
.card-body { padding: 12px 14px 14px; }
.card-body h3 { font-size: 15px; color: var(--ink); font-weight: 600; }
.card-meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }

/* hubs */
.hub { padding: 40px 0 56px; }
.hub h1 { font-size: clamp(28px, 4.5vw, 40px); }
.hub h2 { font-size: 21px; margin: 34px 0 12px; }
.hub-intro { color: var(--ink-soft); max-width: 720px; margin-top: 12px; font-size: 16.5px; }
.hub-count { color: var(--ink-faint); font-size: 14px; margin: 8px 0 18px; }
.crumbs { font-size: 13.5px; color: var(--ink-faint); margin-bottom: 18px; }
.crumbs a { color: var(--ink-faint); }
.crumbs a:hover { color: var(--brand); }
.crumbs > * + *::before { content: " / "; color: var(--ink-faint); }
@media (max-width: 640px) {
  /* no trail at all on a phone — the nav already has Recipes, and the row cost
     a full line plus its margin before the content started. The links stay in
     the DOM for crawlers; BreadcrumbList JSON-LD is emitted separately. */
  .crumbs { display: none; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.chip { background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--ink); font-weight: 500; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.search { width: 100%; max-width: 560px; margin: 22px 0 10px; padding: 13px 18px; font-size: 16px; border: 1.5px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--ink); }
.search:focus { outline: none; border-color: var(--brand); }

/* recipe page */
.recipe { padding: 34px 0 56px; }
.recipe-hero { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start; }
.recipe-hero > * { min-width: 0; }
.recipe-hero > img { border-radius: var(--radius); border: 1px solid var(--hairline); }
.recipe-head h1 { font-size: clamp(26px, 4vw, 38px); }
.summary { color: var(--ink-soft); font-size: 17px; margin: 12px 0; }
.meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 12px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.stats > div { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 10px 16px; text-align: center; min-width: 86px; }
.stats strong { display: block; font-size: 18px; }
.stats span { font-size: 12px; color: var(--ink-faint); }
.recipe-cols { display: grid; grid-template-columns: 340px 1fr; gap: 34px; margin-top: 44px; }
.ingredients { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; align-self: start; position: sticky; top: 80px; }
.ingredients h2, .steps h2, .related h2 { font-size: 22px; margin-bottom: 14px; }
.ingredients ul { list-style: none; }
.ingredients li { padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.ingredients li:last-child { border-bottom: none; }
.mini-cta { margin-top: 18px; background: var(--bg); border-radius: 14px; padding: 16px; font-size: 14px; }
.mini-cta p { color: var(--ink-soft); margin-bottom: 12px; }
.steps ol { list-style: none; counter-reset: none; }
.steps li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.steps li:last-child { border-bottom: none; }
.step-num { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin-top: 2px; }
.steps p { color: var(--ink); font-size: 16px; }
.related { margin-top: 48px; }

/* cta band */
.cta-band { background: var(--ink); color: #fff; margin-top: 40px; }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; text-align: center; }
.cta-inner h2 { font-size: clamp(26px, 4vw, 36px); }
.cta-inner p { max-width: 620px; margin: 14px auto 24px; color: #C8CAD0; }
.cta-inner .coming-soon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* footer */
.footer { background: var(--surface); border-top: 1px solid var(--hairline); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 14px; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14px; padding: 3px 0; }
.footer-col a:hover { color: var(--brand); }
.footer-blurb { color: var(--ink-faint); font-size: 14px; margin-top: 12px; max-width: 300px; }
.copyright { text-align: center; color: var(--ink-faint); font-size: 13px; padding: 18px 0 26px; }

/* app funnel page */
.app-hero { text-align: center; padding: 52px 0 30px; }
.app-hero h1 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 800; }
.app-sub { max-width: 640px; margin: 16px auto 24px; color: var(--ink-soft); font-size: 17px; }
.trust-row { color: var(--ink-faint); font-size: 14px; margin-top: 14px; }
.appstore-big { height: 67px; width: auto; display: inline-block; }
.appstore-big.dim { opacity: .45; filter: grayscale(1); }
.badge-soon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.badge-soon span { font-size: 13.5px; color: var(--ink-faint); }
.app-final { margin-top: 30px; }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: #eee; }
.marquee { display: grid; gap: 14px; overflow: hidden; padding: 8px 0 4px;
           margin: 0 calc(50% - 50vw); width: 100vw; }
.marquee-row { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-row.rev { animation-direction: reverse; }
.marquee-row:hover { animation-play-state: paused; }
.marquee-track { display: flex; gap: 14px; padding-right: 14px; }
.marquee-track img { width: 150px; height: 150px; border-radius: 16px; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } }
@media (max-width: 640px) { .marquee-track img { width: 110px; height: 110px; } }

/* blog */
.article { padding: 40px 0 56px; max-width: 760px; margin: 0 auto; }
.article h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -0.015em; margin: 10px 0 0; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin: 0; }
.kicker a { color: var(--brand); }
.article .dek { font-family: var(--serif); font-size: 19.5px; line-height: 1.45; color: var(--ink-soft); margin: 14px 0 0; }
.article-date { color: var(--ink-faint); font-size: 14px; margin: 10px 0 24px; }
.article p { color: var(--ink-soft); margin: 15px 0; font-size: 17px; line-height: 1.7; }
.article h2 { font-family: var(--serif); font-size: 27px; margin: 40px 0 8px; }
.article h3 { font-size: 19px; margin: 26px 0 6px; }
.article strong { color: var(--ink); }
.article ul, .article ol { margin: 14px 0 14px 22px; color: var(--ink-soft); }
.article li { margin: 6px 0; }
.byline { display: flex; gap: 12px; align-items: center; margin: 20px 0 22px; padding: 14px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.byline img { border-radius: 50%; border: 1px solid var(--hairline); }
.byline strong { display: block; font-size: 14.5px; color: var(--ink); }
.byline span { font-size: 13px; color: var(--ink-faint); }
.byline time { color: inherit; }
.article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 20px; border: 1px solid var(--hairline); margin: 4px 0 12px; }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.related h2 { margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: block; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; padding-bottom: 14px; }
.related-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 10px; }
.related-card .kicker { font-size: 11px; padding: 0 14px; }
.related-card h3 { font-family: var(--serif); font-size: 16.5px; line-height: 1.3; color: var(--ink); margin: 4px 14px 6px; }
.related-card time { font-size: 12.5px; color: var(--ink-faint); padding: 0 14px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.rank-item { display: grid; grid-template-columns: 170px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px; margin: 18px 0; align-items: start; box-shadow: 0 2px 10px rgba(11,11,13,.04); }
.rank-item img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.rank-item h3 { margin: 0 0 6px; }
.rank-item .stat-line { color: var(--brand); font-weight: 700; font-size: 14px; }
.rank-item p { margin: 6px 0 0; font-size: 15px; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.stat-chips span { background: var(--bg); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.stat-chips span.hot { color: var(--brand); border-color: var(--brand); background: #FFF4F4; }
.recipe-link { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 14px; }
.promo-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, #FFF6F6, #FFECED); border: 1px solid #F6C9CC; border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.promo-card img { border-radius: 14px; }
.promo-card h3 { margin: 0 0 4px; font-size: 17px; }
.promo-card p { margin: 0; font-size: 14px; }
@media (max-width: 640px) {
  .promo-card { grid-template-columns: 48px 1fr; }
  .promo-card .btn { grid-column: 1 / -1; text-align: center; }
}
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--hairline); }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--hairline); }
.data-table th { background: var(--bg); font-size: 13px; }
.data-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }
.callout { background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--brand); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.post-list { margin-top: 28px; display: grid; gap: 16px; }
.post-card { display: grid; grid-template-columns: 130px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px; align-items: center; }
.post-card img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; }
.post-card h2 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 3px 0 0; }
.post-card p { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0; }
.post-card .kicker { font-size: 11px; }
.post-card .article-date { margin: 0; font-size: 13px; }
@media (max-width: 640px) { .rank-item { grid-template-columns: 90px 1fr; } }

/* policy pages */
.policy { margin: 32px auto; max-width: 700px; text-align: left; line-height: 1.7; background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 40px 36px; }
.policy h2 { font-size: 20px; margin: 28px 0 10px; }
.policy h2.app-title { font-size: 28px; margin-top: 0; margin-bottom: 4px; }
.policy p, .policy li { color: var(--ink-soft); }
.policy strong { color: var(--ink); }
.policy hr { margin: 40px 0; border: none; border-top: 1px solid var(--hairline); }

/* responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .recipe-hero, .recipe-cols { grid-template-columns: minmax(0, 1fr); }
  /* stacked, the 34px column gap becomes dead space between the image and the
     title — the two-column value is far too much read vertically */
  .recipe-hero { gap: 16px; }
  .recipe-hero > img { width: 100%; max-width: min(100%, 440px); }
  .ingredients { position: static; }
  .how-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-shot img { height: 430px; }
  .feature-row, .feature-row.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 24px; text-align: center; }
  .feature-row.flip .feature-shot { order: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* crumbs are hidden below, so the top padding is all that's left between the
     nav and the content — trim it to nearly nothing */
  .recipe { padding-top: 14px; }
  .article, .hub { padding-top: 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; right: 16px; top: 58px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 12px; box-shadow: 0 10px 30px rgba(11,11,13,.12); }
  .nav-links.open { display: flex; }
  .menu-button { display: block; }
  /* three stacked 400px phones is a 1,200px hero on a phone — make the rail
     swipeable instead, one screenshot at a time */
  .screens { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
             gap: 14px; padding: 0 calc(50% - 105px); margin-left: -16px; margin-right: -16px;
             scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens img { height: 400px; flex: 0 0 auto; scroll-snap-align: center; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card img { height: 440px; }
}

/* save-this-recipe CTA + dialog */
.save-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.mini-cta .btn { display: inline-block; }

.save-modal {
  margin: auto;  /* the global * reset zeroes dialog's default auto-centering */
  border: none; border-radius: var(--radius); padding: 24px; max-width: 460px; width: calc(100% - 32px);
  max-height: calc(100vh - 32px); overflow-y: auto; position: fixed; inset: 0;
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.save-modal::backdrop { background: rgba(11,11,13,.55); }
.save-close { position: absolute; top: 8px; right: 10px; }
.save-close button {
  background: none; border: none; font-size: 26px; line-height: 1; color: var(--ink-faint);
  cursor: pointer; padding: 4px 8px;
}
.save-close button:hover { color: var(--ink); }
.save-modal h2 { font-size: 21px; padding-right: 28px; }

/* full-bleed image + title, nothing else. The 2:1 crop keeps the whole dialog
   above the fold on a phone — a square hero would push the App Store button off. */
.save-card { margin-top: 14px; }
.save-card img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px;
  background: var(--bg);
}
.save-card h3 { font-size: 17px; margin-top: 10px; }

.save-steps { list-style: none; margin: 16px 0 0; display: grid; gap: 12px; }
.save-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start; }
.save-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.save-steps strong { font-size: 15px; line-height: 1.35; display: block; }
.save-steps p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }
.save-code { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.save-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 19px; font-weight: 700;
  letter-spacing: .18em; background: var(--bg); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 6px 12px;
}
.save-code button { cursor: pointer; font-family: inherit; }
.save-actions { display: flex; justify-content: center; margin-top: 18px; }
.save-actions .appstore { height: 48px; margin: 0; }
@media (max-width: 640px) {
  .save-modal { padding: 20px 16px; }
  .save-cta-row .btn { width: 100%; text-align: center; }
}

/* --- Ad slots -------------------------------------------------------------
   Height is RESERVED before the ad arrives. An in-article AdSense unit is
   typically 250-300px tall; without a min-height the article text reflows when
   it loads, which is exactly the layout shift Core Web Vitals penalises. The
   label is required to keep ads visually distinguishable from editorial. */
.ad-slot {
  margin: 32px 0; min-height: 280px; display: block;
  content-visibility: auto; contain-intrinsic-size: auto 280px;
}
.ad-slot::before {
  content: "Advertisement"; display: block; text-align: center;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint, #9498A0); margin-bottom: 8px;
}
.ad-slot .adsbygoogle { display: block; min-height: 250px; }
@media (max-width: 640px) { .ad-slot { min-height: 300px; contain-intrinsic-size: auto 300px; } }
