.hero-panel,
.content-panel,
.ad-shell {
  border-radius: var(--radius-lg);
  padding: clamp(2.8rem, 4vw, 4.5rem);
  margin-bottom: 2.5rem;
}

.hero-panel,
.content-panel,
.ad-shell,
.detail-card,
.topic-card,
.highlight-list li {
  border: 1px solid var(--line-soft);
  background: rgba(248, 244, 230, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  background:
    radial-gradient(circle at top left, rgba(26, 80, 112, 0.14), transparent 30%),
    linear-gradient(140deg, rgba(196, 144, 16, 0.1), rgba(248, 244, 230, 0.96));
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.92;
}

.lead {
  max-width: 58rem;
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 2;
}

.highlight-list,
.stack {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.highlight-list li,
.detail-card,
.topic-card {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
}

.section-header {
  display: flex;
  gap: 1.5rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-tyrrhenian-700);
}

.section-header h2,
.topic-card h3,
.detail-card h3 {
  margin: 0;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.topic-card p,
.detail-card p {
  color: var(--ink-700);
  line-height: 1.9;
}

.topic-card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--sea-tyrrhenian-900);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 80, 112, 0.28);
}

.ad-shell {
  background: linear-gradient(90deg, rgba(26, 80, 112, 0.08), rgba(196, 144, 16, 0.08));
}

/* ── Night-mode overrides ── */
body.page.night .hero-panel,
body.page.night .content-panel,
body.page.night .ad-shell,
body.page.night .detail-card,
body.page.night .topic-card,
body.page.night .highlight-list li {
  background: rgba(12, 18, 61, 0.52);
  border-color: rgba(255, 255, 255, 0.07);
}

body.page.night .hero-panel {
  background:
    radial-gradient(circle at top left, rgba(106, 132, 224, 0.18), transparent 30%),
    rgba(12, 18, 61, 0.65);
}

body.page.night .topic-card a {
  color: #a8baff;
  border-color: rgba(168, 186, 255, 0.32);
}

body.page.night .ad-shell {
  background: linear-gradient(90deg, rgba(106, 132, 224, 0.1), rgba(168, 120, 32, 0.1));
}

@media (max-width: 760px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
