/* ==========================================================================
   Restaurant Argentina — Blog stylesheet
   White Apple-minimal. Single light theme. No dark mode, no Space Grotesk,
   no gradients, no heavy shadows. Depth = background-band contrast + 1px
   hairlines (max shadow 0 1px 3px rgba(0,0,0,.04)).

   Uses ONLY the tokens defined in ../styles.css :root:
     --bg #fff · --bg-alt #f5f5f7 · --surface #fff · --border #d2d2d7
     --hairline #e8e8ed · --text #1d1d1f · --text-2 #6e6e73 · --text-3 #86868b
     --link #0066cc · --cta #1d1d1f · --ember #c8553d
   Cohesive with the homepage (../styles.css). Voseo argentino in copy.

   This file styles BOTH the canonical NEW class set (.blog-post, .post-*,
   .answer-box, …) and the legacy OLD class set (.blog-article, .article-*,
   .lead, .related-articles, …) so nothing looks broken if normalization is
   partial. Selectors are grouped so the two get identical premium styling.
   ========================================================================== */

:root {
  --read: 720px;     /* article reading column */
}

/* ==========================================================================
   Article shell
   ========================================================================== */
.blog-post,
main > article.blog-article,
.blog-article {
  max-width: var(--read);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 22px clamp(56px, 8vw, 96px);
}
/* NEW wraps <main class="blog-post"> and article has no class; keep article
   transparent so the column width comes from the shell above. */
.blog-post > article { margin: 0; padding: 0; }

/* ==========================================================================
   Post header
   ========================================================================== */
.post-header,
.article-header {
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.post-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.9rem;
  margin: 0 0 18px;
}
.post-date { color: var(--text-3); }
.post-date time { color: var(--text-3); }

/* category / tag chip */
.post-tag,
.article-category {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ember);
  background: color-mix(in srgb, var(--ember) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--ember) 22%, transparent);
  border-radius: 980px;
  padding: 4px 12px;
  text-decoration: none;
}
/* OLD article-category sits on its own line above the H1 */
.article-category { margin: 0 0 16px; }

.post-header h1,
.article-header h1 {
  font-family: var(--font);
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .4em;
}

/* NEW excerpt / OLD lead-meta line — both read as a deck */
.post-excerpt {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}

/* ==========================================================================
   Hero figure (figure.article-hero — only figure type in posts)
   ========================================================================== */
.article-hero,
.article-image {
  margin: 0 0 clamp(28px, 4vw, 44px);
}
.article-hero img,
.article-image img,
.post-content figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--hairline);
}
.article-hero figcaption,
.article-image figcaption,
.post-content figcaption {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.85rem;
  font-style: italic;
  text-align: center;
}

/* ==========================================================================
   Article body — generous vertical rhythm, 17px / 1.6 in --text-2
   ========================================================================== */
.post-content,
.article-content {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
}

.post-content p,
.article-content p {
  margin: 0 0 1.4em;
}

.post-content strong,
.article-content strong { color: var(--text); font-weight: 600; }

.post-content em,
.article-content em { font-style: italic; }

/* Links — Apple blue, underlined with offset */
.post-content a,
.article-content a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent);
  transition: text-decoration-color .2s ease;
}
.post-content a:hover,
.article-content a:hover {
  text-decoration-color: var(--link);
}

/* H2 — hairline top-border + breathing room */
.post-content h2,
.article-content h2 {
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 2.2em 0 .7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--hairline);
}
.post-content h2:first-child,
.post-content > h2:first-of-type,
.article-content h2:first-of-type {
  margin-top: .4em;
  padding-top: 0;
  border-top: none;
}

/* H3 — tighter, no rule */
.post-content h3,
.article-content h3 {
  font-family: var(--font);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--text);
  margin: 1.8em 0 .5em;
}

/* H4 */
.post-content h4,
.article-content h4 {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--text);
  margin: 1.5em 0 .4em;
}

/* Lists — custom markers */
.post-content ul,
.post-content ol,
.article-content ul,
.article-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
}
.post-content li,
.article-content li {
  margin-bottom: .55em;
  padding-left: .3em;
}
.post-content ul,
.article-content ul { list-style: none; padding-left: 1.5em; }
.post-content ul > li,
.article-content ul > li { position: relative; }
.post-content ul > li::before,
.article-content ul > li::before {
  content: '';
  position: absolute;
  left: -1.1em;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
.post-content ol,
.article-content ol { list-style: decimal; }
.post-content ol > li::marker,
.article-content ol > li::marker {
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.post-content li > ul,
.post-content li > ol,
.article-content li > ul,
.article-content li > ol { margin: .55em 0 0; }

/* Tables — premium, hairline borders, tinted header, responsive scroll */
.post-content table,
.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 0 0 1.8em;
  font-size: 0.95rem;
  border: 1px solid var(--hairline);
  border-radius: 12px;
}
.post-content thead,
.article-content thead { background: var(--bg-alt); }
.post-content th,
.article-content th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.post-content td,
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-2);
  vertical-align: top;
}
.post-content tbody tr:nth-child(even),
.article-content tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-alt) 55%, #fff); }
.post-content tbody tr:last-child td,
.article-content tbody tr:last-child td { border-bottom: 0; }

/* Blockquote — left ember hairline, italic */
.post-content blockquote,
.article-content blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--ember);
  color: var(--text);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
}
.post-content blockquote p:last-child,
.article-content blockquote p:last-child { margin-bottom: 0; }

/* Inline code + pre */
.post-content code,
.article-content code {
  font-family: "SF Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: .12em .4em;
  color: var(--text);
}
.post-content pre,
.article-content pre {
  margin: 0 0 1.6em;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}
.post-content pre code,
.article-content pre code { background: none; border: 0; padding: 0; }

/* hr */
.post-content hr,
.article-content hr {
  border: 0;
  height: 1px;
  background: var(--hairline);
  margin: 2.2em 0;
}

/* ==========================================================================
   Answer box (AEO / featured-snippet block) + legacy lead paragraph
   NEW: <div class="answer-box">  ·  OLD: <p class="lead">
   ========================================================================== */
.answer-box,
.post-content .answer-box,
.article-content .answer-box {
  margin: 0 0 2em;
  padding: 24px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-2);
}
.answer-box > :first-child { margin-top: 0; }
.answer-box > :last-child { margin-bottom: 0; }
.answer-box p { margin: 0 0 .8em; }
.answer-box strong { color: var(--text); font-weight: 600; }

/* OLD lead — a bold intro paragraph (functional analog, not a boxed panel) */
.post-content .lead,
.article-content .lead,
.lead {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text);
  font-weight: 400;
  margin: 0 0 1.6em;
}
.lead strong { font-weight: 600; }

/* Highlight callout (rare, 4 posts) — soft ember-tinted panel */
.post-content .highlight,
.article-content .highlight,
.highlight {
  margin: 1.8em 0;
  padding: 18px 22px;
  background: color-mix(in srgb, var(--ember) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--ember) 20%, transparent);
  border-left: 3px solid var(--ember);
  border-radius: 12px;
  color: var(--text-2);
}
.highlight > :first-child { margin-top: 0; }
.highlight > :last-child { margin-bottom: 0; }
.highlight strong { color: var(--text); }

/* Legacy trend-box / conclusion (a few posts) — neutral soft panel */
.post-content .trend-box,
.article-content .trend-box,
.post-content .conclusion,
.article-content .conclusion,
.cta-box {
  margin: 1.8em 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  color: var(--text-2);
}
.cta-box > :first-child,
.trend-box > :first-child,
.conclusion > :first-child { margin-top: 0; }
.cta-box > :last-child,
.trend-box > :last-child,
.conclusion > :last-child { margin-bottom: 0; }

/* ==========================================================================
   Related articles
   NEW: .related-grid inline inside .post-content (h2 + p + grid)
   OLD: standalone <section class="related-articles"> after </article>
   ========================================================================== */
.related-articles {
  max-width: var(--read);
  margin: 0 auto;
  padding: 0 22px clamp(20px, 4vw, 40px);
}
.related-articles h2 {
  font-family: var(--font);
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .8em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: .6em 0 1.6em;
}
.related-card {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color .2s ease, transform .12s ease, box-shadow .2s ease;
  /* neutralize any legacy inline dark-theme overrides if normalization missed them */
  color: var(--text) !important;
}
.related-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  text-decoration: none;
}
.related-card .related-title,
.related-title {
  display: block;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  /* override legacy inline background on the span too */
  background: none !important;
}

/* ==========================================================================
   Post footer + share buttons
   NEW: <footer class="post-footer"> > .share-buttons (span + a.share-btn x2)
   OLD: <footer class="article-footer"> (mailto p + p.book-cta)
   ========================================================================== */
.post-footer,
.article-footer {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--text-2);
  font-size: 0.95rem;
}
.post-footer:empty,
.article-footer:empty { border-top: 0; padding-top: 0; margin-top: 0; }
.article-footer p { margin: 0 0 .6em; }
.article-footer a { color: var(--link); font-weight: 500; }

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.share-buttons > span {
  color: var(--text-3);
  font-size: 0.88rem;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .55em 1.1em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 980px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.share-btn:hover {
  background: var(--bg-alt);
  border-color: var(--border);
  text-decoration: none;
}

/* book-cta line (OLD footer) */
.book-cta {
  margin-top: 12px;
  color: var(--text-2);
}
.book-cta strong { color: var(--ember); }

/* ==========================================================================
   FoodPhoto cross-promo CTA (extracted from hardcoded inline greens/gradients)
   Tokenized to the white Apple system — neutral soft panel, black pill.
   The inline style="…" on the section is overridden here with !important so
   the legacy hardcoded greens/gradients no longer paint.
   ========================================================================== */
.foodphoto-cta {
  margin: clamp(32px, 5vw, 48px) 0 !important;
  padding: clamp(24px, 4vw, 32px) !important;
  background: var(--bg-alt) !important;
  border: 1px solid var(--hairline) !important;
  border-radius: 18px !important;
  color: var(--text-2);
  text-align: left;
}
.foodphoto-cta > :first-child { margin-top: 0; }
.foodphoto-cta > :last-child { margin-bottom: 0; }
.foodphoto-cta h2,
.foodphoto-cta h3,
.foodphoto-cta strong {
  color: var(--text) !important;
}
.foodphoto-cta h2,
.foodphoto-cta h3 {
  font-family: var(--font);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem) !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 .5em;
}
/* Override the inline green eyebrow (<p style="color:#059669">) and the
   inline grey body (<p style="color:#555">) so nothing paints off-token.
   The eyebrow keeps its small uppercase look but in ember; body in --text-2. */
.foodphoto-cta p { color: var(--text-2) !important; margin: 0 0 1em; }
.foodphoto-cta p:first-child {
  color: var(--ember) !important;
  font-size: 0.74rem !important;
  letter-spacing: .06em;
}
.foodphoto-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta) !important;
  color: var(--cta-text, #fff) !important;
  border: 1px solid var(--cta);
  border-radius: 980px;
  padding: .8em 1.5em;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s ease, transform .12s ease;
}
.foodphoto-cta a:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }

/* ==========================================================================
   FoodPhoto offer band (<aside class="foodphoto-blog-offer">)
   Present on ~75 posts (60 of them ALSO carry the JS .floating-blog-banner
   sticky bar). It was completely unstyled and rendered as raw flow content.
   It sits AFTER </main>/footer in the DOM, so it is styled as an in-flow
   full-width soft band — NOT a second position:fixed bar (that would collide
   with .floating-blog-banner at bottom:0 on the 60 shared posts). Tokenized
   to the white Apple system: alt band, hairline, ember price headline, black
   pill CTA.
   ========================================================================== */
.foodphoto-blog-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
  padding: clamp(20px, 3vw, 28px) max(18px, calc((100% - var(--max)) / 2));
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  color: var(--text-2);
}
.foodphoto-blog-offer > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.foodphoto-blog-offer strong {
  color: var(--ember); /* price/offer accent — on-spec */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.foodphoto-blog-offer span {
  color: var(--text-3);
  font-size: 0.84rem;
  line-height: 1.35;
}
.foodphoto-blog-offer > a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .6em 1.3em;
  background: var(--cta);
  color: var(--cta-text, #fff);
  border: 1px solid var(--cta);
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s ease, transform .12s ease;
}
.foodphoto-blog-offer > a:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }

@media (max-width: 600px) {
  .foodphoto-blog-offer { gap: 10px; padding: 10px 16px; }
  .foodphoto-blog-offer span { display: none; }
  .foodphoto-blog-offer strong { font-size: 0.88rem; }
}

/* ==========================================================================
   Blog CTA box (between </article> and </main>) + links
   Premium black .button-style pills.
   ========================================================================== */
.blog-cta-box {
  max-width: var(--read);
  margin: 0 auto clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 40px);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  text-align: center;
}
.blog-cta-box h2,
.blog-cta-box h3 {
  font-family: var(--font);
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .5em;
}
.blog-cta-box p {
  color: var(--text-2);
  margin: 0 auto 1.2em;
  max-width: 540px;
  font-size: 1rem;
}
.blog-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.blog-cta-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7em 1.3em;
  background: var(--cta);
  color: var(--cta-text, #fff);
  border: 1px solid var(--cta);
  border-radius: 980px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s ease, transform .12s ease;
}
.blog-cta-links a:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
/* secondary CTA link variant if a ghost is desired */
.blog-cta-links a.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.blog-cta-links a.ghost:hover { background: var(--surface); opacity: 1; }

/* Legacy promo block */
.blog-promo {
  max-width: var(--read);
  margin: 26px auto 36px;
  padding: clamp(24px, 4vw, 32px);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  text-align: center;
}
.blog-promo h2 {
  font-family: var(--font);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .5em;
}
.blog-promo p { margin: 0 0 1em; color: var(--text-2); line-height: 1.6; }

/* Legacy revenue-cta — neutralize gradients/golds to the token system */
.revenue-cta {
  margin: 1.8em 0;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 18px;
}
.revenue-cta-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.revenue-cta h2,
.revenue-cta h3 {
  margin: 0 0 .5em;
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
}
.revenue-cta p { margin: 0 0 1em; color: var(--text-2); line-height: 1.6; }
.revenue-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.revenue-cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 980px;
  background: var(--cta);
  color: var(--cta-text, #fff);
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s ease, transform .12s ease;
}
.revenue-cta-actions a:hover { opacity: .88; transform: translateY(-1px); }
.revenue-cta-actions a.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ==========================================================================
   BLOG INDEX  (/blog/index.html)
   ========================================================================== */
.blog-index {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 22px clamp(56px, 8vw, 96px);
}

.blog-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.blog-header h1 {
  font-family: var(--font);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .3em;
}
.blog-header p {
  color: var(--text-2);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Search */
.blog-search-wrap {
  max-width: 520px;
  margin: 0 auto 22px;
}
.blog-search {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cline x1='16' y1='16' x2='12.5' y2='12.5'/%3E%3C/svg%3E") 16px center no-repeat;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s ease;
}
.blog-search::placeholder { color: var(--text-3); }
.blog-search:focus { outline: none; border-color: var(--link); }

/* Category filter pills — active = black pill */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 clamp(32px, 5vw, 48px);
}
.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 980px;
  background: var(--surface);
  color: var(--text-2);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.filter-btn:hover {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text);
}
.filter-btn.active {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--cta-text, #fff);
}

/* Section label */
.section-label {
  font-family: var(--font);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.blog-results-count {
  color: var(--text-3);
  font-size: 0.92rem;
  margin: -8px 0 24px;
}

/* Card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s ease, transform .14s ease, box-shadow .2s ease;
}
.blog-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
  text-decoration: none;
}
.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--hairline);
}
/* text-only cards (no <img>) keep tidy top padding */
.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.blog-card-category {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 10px;
}
.blog-card-title {
  font-family: var(--font);
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.blog-card-excerpt {
  flex: 1;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.blog-card-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3);
  font-size: 0.84rem;
}

/* Featured section */
.featured-section { margin-bottom: clamp(36px, 5vw, 48px); }
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.featured-main { min-height: 360px; }
.featured-main .blog-card-image { height: clamp(240px, 30vw, 320px); }
.featured-main .blog-card-title { font-size: 1.5rem; }
.featured-side { display: flex; flex-direction: column; gap: 20px; }
.featured-sm { flex: 1; }
.featured-sm .blog-card-content { padding: 20px; }
.featured-sm .blog-card-title { font-size: 1.05rem; }
.featured-sm .blog-card-excerpt { font-size: 0.88rem; }

/* Kit CTA banner — neutral soft band, homepage button pills */
.kit-cta-banner {
  margin: clamp(40px, 6vw, 56px) 0;
  padding: clamp(32px, 5vw, 44px);
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  text-align: center;
}
.kit-cta-badge {
  display: inline-block;
  padding: 4px 13px;
  background: color-mix(in srgb, var(--ember) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--ember) 22%, transparent);
  color: var(--ember);
  border-radius: 980px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kit-cta-content h3 {
  font-family: var(--font);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .4em;
}
.kit-cta-content p {
  color: var(--text-2);
  font-size: 1rem;
  margin: 0 auto 1.4em;
  max-width: 520px;
}
.kit-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Newsletter form (blog) — match homepage inputs
   ========================================================================== */
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.newsletter-input::placeholder { color: var(--text-3); }
.newsletter-input:focus { outline: none; border-color: var(--link); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 800px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { min-height: auto; }
}

@media (max-width: 768px) {
  .post-content,
  .article-content { font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cta-links { flex-direction: column; }
  .blog-cta-links a { width: 100%; }
}

@media (max-width: 480px) {
  .blog-post,
  .blog-article,
  .related-articles { padding-left: 18px; padding-right: 18px; }
  .blog-index { padding-left: 18px; padding-right: 18px; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-input { width: 100%; max-width: 320px; }
  .share-btn,
  .blog-cta-links a,
  .filter-btn { min-height: 44px; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .nav,
  .mobile-drawer,
  .mobile-drawer-overlay,
  .floating-blog-banner,
  .foodphoto-blog-offer,
  .foodphoto-cta,
  .blog-cta-box,
  .share-buttons,
  .related-grid,
  .related-articles,
  .footer { display: none !important; }
  .blog-post,
  .blog-article { max-width: 100%; padding: 0; }
  .post-content,
  .article-content { color: #000; font-size: 12pt; }
  .post-content a,
  .article-content a { color: #000; text-decoration: underline; }
  .post-content h2,
  .article-content h2 { border-top-color: #ccc; }
}
