/* ============================================================
   Asticou Island LLC — AI Governance section
   Loads after /css/style.css and reuses its custom properties.
   ============================================================ */

/* ── Section header band (shared by landing + essay pages) ── */
.gov-hero {
  background: var(--slate);
  padding: calc(var(--nav-height) + 72px) 24px 64px;
  position: relative;
  overflow: hidden;
}
.gov-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,119,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.gov-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.gov-hero .section-label { margin-bottom: 16px; }
.gov-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}
.gov-hero .lede {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  max-width: 620px;
}
.gov-hero .gov-byline {
  margin-top: 28px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── Landing page: essays list ── */
.gov-section { background: var(--white); padding: 80px 0; }
.gov-section.alt { background: var(--off-white); }
.gov-section .intro { max-width: 720px; margin-bottom: 40px; }

.essay-list { max-width: 780px; display: flex; flex-direction: column; gap: 20px; }
.essay-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  padding: 26px 28px;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.essay-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 24px rgba(0,180,216,0.10);
}
.essay-item .essay-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.essay-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
}
.essay-item p { font-size: 0.94rem; color: #555; line-height: 1.7; }

/* ── Landing page: books ── */
.books-grid {
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--cyan);
  border-radius: 6px;
  padding: 28px;
}
.book-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.book-card .book-sub { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 16px; }
.book-card .book-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.book-card .book-note {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}
@media (max-width: 640px) { .books-grid { grid-template-columns: 1fr; } }

/* ── Essay pages ── */
.essay-header { padding-bottom: 56px; }
.essay-header .essay-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  text-decoration: none;
}
.essay-header .essay-kicker:hover { text-decoration: underline; }
.essay-header .essay-meta {
  margin-top: 24px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.essay-body {
  max-width: 70ch;
  margin: 0 auto;
  padding: 72px 24px 40px;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #333;
}
.essay-body p { margin-bottom: 1.5em; }
.essay-body h2 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.3;
  margin: 2.1em 0 0.9em;
}
.essay-body strong { color: var(--slate); }
.essay-body a { text-decoration: underline; text-decoration-color: rgba(0,180,216,0.5); text-underline-offset: 3px; }
.essay-body a:hover { text-decoration-color: var(--cyan); }

.essay-sources {
  border-top: 1px solid var(--light-gray);
  margin-top: 3em;
  padding-top: 1.6em;
  font-size: 0.9rem;
  color: #777;
  line-height: 1.7;
}
.essay-sources p { margin-bottom: 0; }

.essay-end {
  max-width: 70ch;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.essay-end a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .gov-hero { padding: calc(var(--nav-height) + 48px) 24px 48px; }
  .essay-body { padding-top: 48px; font-size: 1rem; }
}
