/* ==========================================================================
   ARTICLE LAYOUT — reading column + sticky sidebar
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: start;
}

.article.detail { min-width: 0; }

.article-top-meta { margin-bottom: 6px; }

.article.detail h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); /* 28–42px */
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* "Via {source}" attribution line. */
.article.detail h4 {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 6px;
}

.article-hero { margin: 18px 0 22px; }

.article-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 3px;
}

/* Labeled sections — the Semafor-style structure. */
.article-section {
  border-top: 1px solid var(--hairline);
  padding: 16px 0 6px;
  margin: 0 0 10px;
}

.article-section-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}

.article-summary {
  font-family: var(--serif);
  font-size: inherit; /* body token: 17–18px */
  line-height: 1.62;
  color: var(--ink);
  max-width: 66ch;
}

.godeeper-text {
  color: var(--ink-soft);
  max-width: 66ch;
  margin-bottom: 14px;
}

.subcat-chips.article-topic-chips { margin-top: 22px; }

.topic-chips-label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
  align-self: center;
  margin-right: 4px;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.sidebar-column {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sidebar-art-box, .sidebar-product-box, .sidebar {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 16px 18px;
}

.sidebar-art-tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}

.sidebar-art-img { width: 100%; height: auto; border-radius: 3px; }

.sidebar-art-caption {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.product-item { padding: 8px 0; border-bottom: 1px solid var(--hairline-soft); }
.product-item:last-of-type { border-bottom: none; }

.product-link {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}

.product-link:hover { color: var(--brass); text-decoration: underline; }

.affiliate-disclosure {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  margin: 12px 0 0;
}

.sidebar-heading {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  margin: 0 0 10px;
}

.small-box { padding: 10px 0; border-bottom: 1px solid var(--hairline-soft); }
.small-box:last-child { border-bottom: none; }

.small-box h2 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
  text-align: left;
}
