/* Refinement layer over site.css.
   Replaces the previous heavy "neo-brutalist" override (loud full-bleed blue/coral/yellow
   blocks, Arial-Black ALL-CAPS, huge padding, hard offset shadows). site.css already provides
   a calm forest/cream/copper editorial design; this file only tightens sizing + rhythm so the
   homepage reads like a normal, cohesive publication rather than oversized billboards. */

/* --- Typography: tame the largest display sizes --- */
h1{font-size:clamp(2.7rem,4.8vw,4.8rem);letter-spacing:-.03em}
h2{font-size:clamp(1.85rem,3.3vw,3.1rem)}
h3{font-size:clamp(1.2rem,1.8vw,1.65rem)}
.hero-deck{font-size:clamp(1.15rem,1.5vw,1.5rem)}

/* --- Consistent, more compact section rhythm (was up to 150–180px) --- */
.discovery,.knowledge-map,.claims,.latest,.featured-guides,.blog-grid{padding-block:clamp(52px,6.5vw,92px)}
.home-hero>div,.category-hero>div,.article-hero>div,.guide-hero>div,.blog-hero>div{padding-block:clamp(48px,6vw,92px)}
.feature-split>div,.taxonomy>div,.safety-stage>div,.culture-stage>div{padding:clamp(44px,5.5vw,84px)}
.policy-stage,.industry-watch{padding-block:clamp(60px,7vw,104px)}
.newsletter-band{padding-block:clamp(52px,6vw,84px)}

/* --- Images in the split/hero modules were near full-screen tall; cap them --- */
.home-hero figure img,.category-hero figure img,.article-hero figure img,.guide-hero figure img,.blog-hero figure img,
.feature-split figure img,.taxonomy figure img,.safety-stage figure img,.culture-stage figure img{min-height:clamp(320px,36vw,480px)}

/* --- Trim oversized minimum heights so blocks aren't disproportionately tall --- */
.featured-guides a{min-height:360px}
.knowledge-map article{min-height:210px}
.claims article{min-height:auto}
.latest article{min-height:auto}

/* --- Light polish --- */
.button{transition:transform .15s ease,filter .15s ease}
.button:hover{filter:brightness(.94)}
.blog-card-link,.discovery-list a,.featured-guides a{transition:transform .18s ease}
.discovery-list a:hover strong{text-decoration:underline;text-underline-offset:.16em}

@media(max-width:620px){
  h1{font-size:2.5rem}
  h2{font-size:1.95rem}
  .home-hero figure img,.feature-split figure img,.taxonomy figure img,.safety-stage figure img,.culture-stage figure img{min-height:300px}
}

/* --- Blog post hero: stacked, full-width banner ---
   Hero images on posts are designed banners (with their own text/graphics), so the old
   50/50 split cropped them. Stack the heading above the image and show the banner at full
   content width, uncropped (natural aspect ratio). */
.article-hero{display:block;max-width:var(--content);margin-inline:auto;padding-inline:24px;background:transparent}
.article-hero>div{padding:clamp(34px,5vw,58px) 0 22px}
.article-hero .hero-deck{max-width:760px}
.article-hero .article-meta{margin-top:24px}
.article-hero figure{margin:0}
.article-hero figure img{width:100%;height:auto;min-height:0;aspect-ratio:auto;object-fit:contain}
@media(max-width:620px){
  .article-hero{padding-inline:20px}
  .article-hero figure img{min-height:0}
}

/* ===== Fix for auto-generated posts (Tailwind-markup bodies + related-articles sidebar) =====
   These posts put <article class="mini-story"> (title only, no image) directly in .article-sidebar;
   the theme's .mini-story is an image+text grid, so titles were crammed into the 78px image column.
   They also use Tailwind table classes the theme does not define. */
.article-sidebar article.mini-story{display:block;grid-template-columns:none;padding:14px 0;gap:0}
.article-sidebar article.mini-story img{display:none}
.article-sidebar article.mini-story h3{margin:0;font:600 1.02rem/1.35 var(--serif,Georgia,serif)}
.article-sidebar article.mini-story h3 a{text-decoration:none;color:inherit}
.article-sidebar article.mini-story h3 a:hover{text-decoration:underline;color:var(--clay,#a05f43)}
.article-body .overflow-x-auto{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.75rem 0}
.article-body table{width:100%;border-collapse:collapse;font-family:var(--sans,Inter,Arial,sans-serif);font-size:.92rem}
.article-body table th,.article-body table td{border:1px solid #e3e7ea;padding:12px 16px;text-align:left;vertical-align:top}
.article-body table th{background:#f2f6f8;color:#17201b;font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em}
.article-body table tr:nth-child(even) td{background:#fafbfc}
