/* ============================================================
   ORE 12 — ore12web.it — shared stylesheet
   Design: Gambetta (serif) + Satoshi (sans)
   Palette: terracotta #9E3E23 · forest green #1B2B20 · cream #FAF9F6
   ============================================================ */

/* ── Fonts (self-hosted woff2 — no CDN) ─────────────────────── */
@font-face {
  font-family: 'Gambetta';
  src: url('/assets/fonts/gambetta-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Gambetta';
  src: url('/assets/fonts/gambetta-500.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Gambetta';
  src: url('/assets/fonts/gambetta-600.woff2') format('woff2');
  font-weight: 600; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Gambetta';
  src: url('/assets/fonts/gambetta-700.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-400.woff2') format('woff2');
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-500.woff2') format('woff2');
  font-weight: 500; font-display: swap; font-style: normal;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/satoshi-700.woff2') format('woff2');
  font-weight: 700; font-display: swap; font-style: normal;
}

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --c-terra:    #9E3E23;
  --c-forest:   #1B2B20;
  --c-cream:    #FAF9F6;
  --c-warm:     #F2EDE4;
  --c-muted:    #6b7280;
  --c-lighter:  #9ca3af;
  --c-border:   #e5e7eb;
  --c-dark-muted: rgba(250,249,246,0.6);

  --ff-serif: 'Gambetta', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Satoshi', system-ui, -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(27,43,32,.07);
  --shadow-md:  0 4px 16px rgba(27,43,32,.10);

  --max-w: 1280px;
  --px:    clamp(1rem, 4vw, 2rem);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--c-cream);
  color: var(--c-forest);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; cursor: pointer; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Typography helpers ─────────────────────────────────────── */
.serif { font-family: var(--ff-serif); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-cream);
  box-shadow: 0 1px 0 0 rgba(27,43,32,.07);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo-mark { flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--c-forest);
  line-height: 1;
}

/* Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color .2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--c-terra); }
.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--c-terra);
  padding-bottom: 2px;
}
@media (min-width: 768px) { .site-nav { display: flex; } }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--c-muted);
  transition: color .2s, background .2s;
}
.btn-icon:hover { color: var(--c-forest); background: var(--c-warm); }

/* Hamburger — mobile only */
.btn-menu { display: flex; }
@media (min-width: 768px) { .btn-menu { display: none; } }

/* ================================================================
   CATEGORY PILLS
   ================================================================ */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-block: 1.5rem 2.5rem;
}
.pill {
  display: inline-block;
  padding: .45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: .825rem;
  font-weight: 500;
  background: var(--c-warm);
  color: var(--c-forest);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.pill:hover {
  background: #fff;
  border-color: rgba(158,62,35,.2);
}
.pill.active {
  background: var(--c-terra);
  color: #fff;
  box-shadow: 0 4px 12px rgba(158,62,35,.18);
}

/* ================================================================
   HERO GRID (8/4 split)
   ================================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(0, 380px);
    gap: 2.5rem;
    align-items: start;
  }
}

/* Hero article (left) */
.hero-article { cursor: pointer; }
.hero-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.hero-article:hover .hero-img-wrapper img { transform: scale(1.04); }
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  padding: .3rem .85rem;
  border-radius: var(--radius-full);
  background: var(--c-terra);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-content { max-width: 740px; }
.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
  transition: color .2s;
}
.hero-article:hover .hero-title { color: var(--c-terra); }
.hero-excerpt {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .825rem;
  color: var(--c-lighter);
  font-weight: 500;
}
.article-meta .author { color: var(--c-forest); }
.article-meta .sep { color: var(--c-border); }
.article-meta .read-time {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Trending sidebar (right) */
.trending-sidebar {
  background: var(--c-warm);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.trending-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-terra);
  margin-bottom: .75rem;
}
.trending-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.trending-item {
  display: block;
  transition: color .2s;
}
.trending-item:hover h4 { color: var(--c-terra); }
.trending-num {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-lighter);
  margin-bottom: .25rem;
}
.trending-item h4 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color .2s;
}
.trending-divider {
  border: none;
  border-top: 1px solid rgba(27,43,32,.1);
  margin-block: .75rem 0;
}
.see-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 1.5rem;
  transition: color .2s;
}
.see-all:hover { color: var(--c-terra); }
.see-all svg { transition: transform .2s; }
.see-all:hover svg { transform: translateX(3px); }

/* ================================================================
   ARTICLES SECTION
   ================================================================ */
.articles-section { margin-bottom: 4rem; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-border);
}
.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
}
.section-link {
  font-size: .825rem;
  font-weight: 600;
  color: var(--c-terra);
  transition: opacity .2s;
}
.section-link:hover { opacity: .75; text-decoration: underline; text-underline-offset: 3px; }

/* Article cards grid */
.article-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .article-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-cards { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.card { cursor: pointer; }
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  margin-bottom: 1.1rem;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img-wrapper img { transform: scale(1.04); }
.card-category-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .6rem;
  background: rgba(250,249,246,.92);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-forest);
}
.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .6rem;
  transition: color .2s;
}
.card:hover .card-title { color: var(--c-terra); }
.card-excerpt {
  font-size: .875rem;
  color: var(--c-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  /* 2-line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--c-lighter);
  font-weight: 500;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--c-forest);
  color: var(--c-cream);
  padding-block: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } }

/* Footer brand column */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.footer-brand .logo-wordmark {
  color: var(--c-cream);
  font-size: 1.15rem;
}
.footer-desc {
  font-size: .825rem;
  color: rgba(250,249,246,.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: rgba(250,249,246,.5);
  transition: color .2s;
  display: flex;
}
.footer-social a:hover { color: var(--c-terra); }

/* Footer columns */
.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-terra);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.footer-col li a {
  font-size: .85rem;
  font-weight: 500;
  color: rgba(250,249,246,.7);
  transition: color .2s;
}
.footer-col li a:hover { color: var(--c-terra); }

/* Newsletter */
.newsletter-desc {
  font-size: .825rem;
  color: rgba(250,249,246,.55);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.newsletter-form { position: relative; }
.newsletter-form input {
  width: 100%;
  background: rgba(250,249,246,.07);
  border: 1px solid rgba(250,249,246,.12);
  border-radius: var(--radius-md);
  padding: .75rem 3rem .75rem 1rem;
  font-size: .85rem;
  font-family: var(--ff-sans);
  color: var(--c-cream);
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(250,249,246,.35); }
.newsletter-form input:focus { border-color: rgba(158,62,35,.6); }
.newsletter-submit {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--c-terra);
  color: #fff;
  transition: opacity .2s;
}
.newsletter-submit:hover { opacity: .85; }

/* Footer bottom bar */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(250,249,246,.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom span,
.footer-bottom a {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(250,249,246,.35);
}
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
@media (min-width: 768px) { .footer-legal { justify-content: flex-end; } }
.footer-legal a:hover { color: #fff; }

/* ================================================================
   CATEGORY LANDING PAGES — BREADCRUMB + HERO
   ================================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--c-lighter);
  padding-block: 1.5rem;
  font-weight: 500;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--c-terra); }
.breadcrumb-sep { color: var(--c-border); font-size: .7rem; }

.cat-hero { margin-bottom: 3.5rem; }
.cat-hero-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 21 / 9;
  margin-bottom: 2rem;
  background: var(--c-warm);
}
.cat-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-hero-img-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,43,32,.65) 0%, transparent 55%);
}
.cat-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-terra);
  background: rgba(158,62,35,.08);
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.cat-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.cat-intro {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 700px;
}

/* ================================================================
   ARTICLE BODY — LONG-FORM TYPOGRAPHY
   ================================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
@media (min-width: 1100px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 4rem;
  }
}

.article-body { max-width: 820px; }
.article-body h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}
.article-body .no-border { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: .85rem;
}
.article-body p {
  font-size: 1.025rem;
  line-height: 1.8;
  color: #2d3748;
  margin-bottom: 1.4rem;
}
.article-body ul, .article-body ol {
  list-style: none;
  margin-bottom: 1.4rem;
  padding-left: .25rem;
}
.article-body ul li, .article-body ol li {
  font-size: 1.025rem;
  line-height: 1.7;
  color: #2d3748;
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: .6rem;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-terra);
}
.article-body ol { counter-reset: li-c; }
.article-body ol li { counter-increment: li-c; }
.article-body ol li::before {
  content: counter(li-c);
  position: absolute;
  left: 0;
  top: .05em;
  font-weight: 700;
  color: var(--c-terra);
  font-size: .85rem;
}
.article-body strong { font-weight: 700; color: var(--c-forest); }
.article-body a { color: var(--c-terra); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { opacity: .75; }

/* Data table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: .9rem;
}
.article-body th {
  background: var(--c-warm);
  text-align: left;
  padding: .7rem 1rem;
  font-weight: 700;
  font-size: .775rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-forest);
  border-bottom: 2px solid var(--c-border);
}
.article-body td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--c-border);
  line-height: 1.5;
}
.article-body tr:last-child td { border-bottom: none; }

/* ================================================================
   EDITORIAL NOTE — site-specific callout (non-AI-slop)
   Forest-green background, terracotta top bar, serif italic
   ================================================================ */
.editorial-note {
  background: var(--c-forest);
  color: var(--c-cream);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin-block: 2.75rem;
  position: relative;
  overflow: hidden;
}
.editorial-note::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-terra);
}
.editorial-note p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250,249,246,.88);
  margin-bottom: .5rem;
}
.editorial-note p:last-of-type { margin-bottom: 0; }
.editorial-note cite {
  display: block;
  margin-top: .9rem;
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-style: normal;
  font-weight: 700;
  color: var(--c-terra);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ================================================================
   INFOGRAPHIC SECTION
   ================================================================ */
.infographic-section {
  margin-block: 3rem;
  padding: 2rem 1.75rem;
  background: var(--c-warm);
  border-radius: var(--radius-xl);
}
.infographic-section figure { margin: 0; }
.infographic-section figcaption {
  font-size: .78rem;
  color: var(--c-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}
.embed-code-block { margin-top: 1.25rem; }
.embed-code-block > summary {
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 0;
  list-style: none;
  transition: color .2s;
}
.embed-code-block > summary:hover { color: var(--c-terra); }
.embed-code-block > summary::marker,
.embed-code-block > summary::-webkit-details-marker { display: none; }
.embed-code-block textarea {
  display: block;
  width: 100%;
  margin-top: .75rem;
  padding: .75rem 1rem;
  background: rgba(27,43,32,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--c-forest);
  resize: vertical;
  min-height: 80px;
  outline: none;
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-section { margin-top: 3.5rem; }
.faq-section > h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(158,62,35,.18); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color .2s;
  user-select: none;
}
.faq-item > summary:hover { color: var(--c-terra); }
.faq-item > summary::marker,
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform .25s;
  color: var(--c-lighter);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--c-muted);
}

/* ================================================================
   RELATED ARTICLES (bottom of category page)
   ================================================================ */
.related-articles { margin-top: 4.5rem; }
.related-articles h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--c-border);
}

/* ================================================================
   SIDEBAR WIDGET (category pages)
   ================================================================ */
.sidebar-widget {
  background: var(--c-warm);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.sidebar-widget h3 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-terra);
  margin-bottom: 1.25rem;
}
.sidebar-links { display: flex; flex-direction: column; gap: .85rem; }
.sidebar-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-forest);
  line-height: 1.45;
  transition: color .2s;
  display: block;
  padding-left: 1rem;
  position: relative;
}
.sidebar-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-terra);
}
.sidebar-link:hover { color: var(--c-terra); }

/* ================================================================
   SINGLE ARTICLE PAGE
   ================================================================ */
.article-page-header {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  padding-top: .5rem;
}
.article-section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-terra);
  margin-bottom: .85rem;
}
.article-page-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
  margin-bottom: 1.1rem;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  font-size: .825rem;
  color: var(--c-lighter);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-border);
}
.byline-author { color: var(--c-forest); font-weight: 600; }
.byline-sep { color: var(--c-border); }
.article-figure {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.article-figure figcaption {
  font-size: .78rem;
  color: var(--c-lighter);
  margin-top: .6rem;
  text-align: center;
  font-style: italic;
}
.article-body-single {
  max-width: 820px;
  margin-inline: auto;
}

/* ================================================================
   UTILITY
   ================================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
