
/* ── GLASS NAV (shared across all pages) ── */
.g-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.g-nav.scrolled { background: rgba(10,10,10,0.96); }
.g-nav-logo {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.g-nav-logo span { color: #7EB8D4; }
.g-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.g-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  text-decoration: none;
}
.g-nav-link:hover, .g-nav-link.active { color: #fff; }
.g-nav-right { display: flex; align-items: center; gap: 16px; }
.g-nav-cta {
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: #0A0A0A;
  padding: 8px 16px;
  border-radius: 20px;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.g-nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.g-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  line-height: 1;
}
@media(max-width:900px) {
  .g-nav-links { display: none; }
  .g-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    padding: 20px 5%;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
  }
  .g-nav-toggle { display: block; }
  .g-nav-cta { display: none; }
}

/* ═══════════════════════════════════════════════
   THE DRAFTLING — Shared Stylesheet
   Teal × Cream × Light Blue brand palette
   ═══════════════════════════════════════════════ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── VARIABLES ─── */
:root {
  --brand:        #0B5471;   /* dark teal — primary accent */
  --brand-dark:   #083D52;   /* hover/pressed */
  --brand-deeper: #334D5D;   /* deep accent */
  --navy:         #0B5471;   /* dark teal headings */
  --navy-mid:     #334D5D;   /* secondary headings */
  --bg:           #C2DAEA;   /* light blue main background */
  --bg-card:      #ffffff;   /* white cards */
  --bg-section:   #9BC8E0;   /* slightly lighter blue section bg */
  --text:         #1A2A34;   /* dark body text */
  --text-muted:   #4C7086;   /* muted text */
  --text-light:   #797C82;   /* very muted */
  --white:        #ffffff;
  --border:       rgba(11,84,113,0.14);
  --border-mid:   rgba(11,84,113,0.28);
  --shadow-sm:    0 2px 8px rgba(11,84,113,0.12);
  --shadow-md:    0 6px 24px rgba(11,84,113,0.18);
  --shadow-lg:    0 16px 48px rgba(11,84,113,0.22);
  --radius:       6px;
  --radius-lg:    12px;
  --nav-height:   56px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', -apple-system, sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: #043042;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.nav.scrolled {
  background: #021e2e;
  box-shadow: 0 2px 12px rgba(4,48,66,0.50);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  background: #F6F0E7;
  color: #043042;
  border: none;
  border-radius: var(--radius);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: #C2DAEA;
  color: #043042;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.hero-mosaic div {
  background-size: cover;
  background-position: center;
}
/* Video cells inside the mosaic */
.mosaic-cell {
  position: relative;
  overflow: hidden;
}
.mosaic-cell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.52) 28%, rgba(0,0,0,0.28) 58%, rgba(0,0,0,0.05) 100%),
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 5%;
  max-width: 580px;
  z-index: 2;
}

.hero-eyebrow { color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.45);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,84,113,0.55);
  color: #F6F0E7;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(11,84,113,0.80);
  border-color: rgba(255,255,255,0.75);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── CONTENT WRAPPER ─── */
.content { padding: 0 5%; }

/* ─── FULL-WIDTH SECTIONS (between Latest Opinions and Connect with Us) ─── */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
/* keep a small edge gutter on full-width carousels so cards aren't flush to the screen */
.row.full-bleed { padding-left: 24px; padding-right: 24px; }
/* drop the inset card look on full-width banner blocks so they read as true full width */
.featured-banner.full-bleed,
.cta-section.full-bleed,
.stats-bar.full-bleed { border-radius: 0; border-left: none; border-right: none; }

/* ─── SECTION HEADER ─── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.section-title span { color: var(--brand); }
.section-link {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.section-link:hover { color: var(--brand-dark); }
.section-link::after { content: '→'; }

.row { margin-bottom: 56px; }

/* ─── CAROUSEL ─── */
.carousel-wrap { position: relative; }
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 12px;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20,20,20,0.85);
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.carousel-wrap:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.carousel-btn-prev { left: 6px; }
.carousel-btn-next { right: 6px; }

/* ─── ARTICLE CARD ─── */
.card {
  flex: 0 0 260px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-section);
}
.card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg));
  color: var(--brand);
  opacity: 0.5;
}

.card-body { padding: 18px 20px 20px; }

.card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.card-read-time {
  font-size: 11px;
  color: var(--text-light);
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .card-hover-overlay { opacity: 0; }

/* ─── TOP 10 CARD ─── */
.top10-card {
  flex: 0 0 180px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
  overflow: hidden;
}
.top10-card:hover { transform: scale(1.04); }

.top10-num {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 72px;
  font-weight: 900;
  font-family: var(--serif);
  line-height: 1;
  color: #ffffff;
  opacity: 0.55;
  z-index: 2;
  user-select: none;
}

.top10-img {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.top10-img-inner {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding: 16px;
  line-height: 1.4;
}

/* ─── WRITER CARD ─── */
.writer-card {
  flex: 0 0 160px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.writer-card:hover { transform: translateY(-4px); }

.writer-avatar {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s;
}
.writer-card:hover .writer-avatar {
  box-shadow: 0 8px 24px rgba(11,84,113,0.30);
}

.writer-name {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.writer-sub { font-size: 12px; color: var(--text-muted); }

/* ─── TOPIC GRID ─── */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 56px;
}

.topic-tile {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.topic-tile::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.topic-tile:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.topic-tile:hover::before { transform: scaleX(1); }

.topic-tile-icon { font-size: 32px; margin-bottom: 12px; }
.topic-tile-label {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.topic-tile-count { font-size: 12px; color: var(--text-muted); }

/* ─── FEATURED BANNER ─── */
.featured-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0B5471;
}
.featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}
.featured-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,84,113,0.88) 40%, rgba(11,84,113,0.45) 75%, rgba(11,84,113,0.08) 100%);
}
.featured-content {
  position: relative;
  z-index: 2;
  padding: 36px 44px;
}
.featured-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.featured-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  max-width: 500px;
  line-height: 1.15;
}
.featured-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.featured-actions { display: flex; gap: 12px; }

/* ─── CTA SECTION ─── */
.cta-section {
  background: #0B5471;
  border-radius: var(--radius-lg);
  padding: 72px 5%;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,84,113,0.08) 0%, transparent 70%);
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
  position: relative;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── STATS BAR ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
}
.stat-item {
  background: var(--bg-card);
  padding: 28px 20px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ─── CONTACT FORM ─── */
.contact-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 56px 5%;
  border: 1px solid var(--border);
  margin-bottom: 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,84,113,0.18);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── FOOTER ─── */
footer {
  background: #0B5471;
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 56px 5% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand-logo svg { opacity: 0.9; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 260px;
}
.footer-email a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.footer-email a:hover { color: var(--white); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ─── PAGE HERO (for inner pages) ─── */
.page-hero {
  background: #0B5471;
  padding: 136px 5% 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,84,113,0.06) 0%, transparent 70%);
}
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  position: relative;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
  position: relative;
}
.page-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.65;
  position: relative;
}

/* ─── ARTICLE GRID (for news page) ─── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.article-card-full {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}
.article-card-full:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.article-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-section);
}
.article-card-body { padding: 20px 22px 24px; }
.article-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.article-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── FILTER BAR ─── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0 4px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--border-mid);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

/* ─── MODAL ─── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 92%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.modal-body-inner { padding: 32px 36px 40px; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  border: none;
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-deeper);
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.modal-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.modal-excerpt { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 26px; }
.modal-actions { display: flex; gap: 12px; }

/* ─── DONATE PAGE ─── */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.donate-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.donate-card:hover, .donate-card.selected {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.donate-card.featured { border-color: var(--brand); }
.donate-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.donate-amount {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 12px 0 8px;
}
.donate-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ─── APPLY PAGE ─── */
.apply-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.apply-step {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
}
.apply-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.apply-step-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.apply-step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── ABOUT PAGE ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }
.about-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}
.about-text { font-size: 16px; color: var(--text); line-height: 1.75; margin-bottom: 16px; }
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-section);
  border: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.value-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
}
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-text { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ─── UTILITY ─── */
.spacer-sm { height: 32px; }
.spacer { height: 56px; }

.page-main {
  padding-top: 48px;
  padding-bottom: 80px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #0f0f0f;
    padding: 20px 5%;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .hero-content { left: 4%; right: 4%; }
  .content { padding: 0 4%; }
  .card { flex: 0 0 220px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ═══════════════════════════════════════════════════════════════ */

/* ── Tablet: 768px ── */
@media (max-width: 768px) {

  /* Nav */
  .nav-logo-img { height: 36px; }

  /* Hero mosaic: 2 columns on tablet */
  .hero-mosaic { grid-template-columns: 1fr 1fr; }
  .hero { height: 75vh; min-height: 480px; }
  .hero-content { left: 5%; right: 5%; max-width: 100%; bottom: 12%; }
  .hero-desc { font-size: 15px; }

  /* Featured banner */
  .featured-content { padding: 28px 24px; }
  .featured-title { font-size: 26px; max-width: 100%; }
  .featured-desc { font-size: 13px; max-width: 100%; }
  .featured-actions { flex-wrap: wrap; gap: 10px; }

  /* Top 10 strip */
  .top10-card { flex: 0 0 130px; height: 185px; }
  .top10-num { font-size: 54px; bottom: 6px; left: 8px; }

  /* Writer cards */
  .writer-card { flex: 0 0 130px; }
  .writer-avatar { width: 90px; height: 90px; font-size: 28px; }

  /* Page heroes (news, about, apply, donate) */
  .page-hero { padding: 112px 5% 44px; }
  .page-hero-desc { font-size: 15px; }

  /* Article grid on news page */
  .article-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

  /* Forms */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* About grid already has breakpoint, but tighten padding */
  .about-content { padding: 48px 5%; }

  /* CTA section */
  .cta-section { padding: 52px 5%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile: 480px ── */
@media (max-width: 480px) {

  /* Nav */
  .nav { padding: 0 4%; }
  .nav-logo-img { height: 30px; }

  /* Hero: single column mosaic, shorter */
  .hero { height: 70vh; min-height: 420px; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; }
  .hero-content { left: 4%; right: 4%; bottom: 8%; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 2px; }
  .hero-desc { display: none; }
  .hero-actions .btn-secondary { display: none; }

  /* Carousels */
  .card { flex: 0 0 200px; }
  .content { padding: 0 4%; }
  .row { margin-bottom: 32px; }
  .section-title { font-size: 18px; }
  .carousel-btn { display: none; }

  /* Top 10 */
  .top10-card { flex: 0 0 110px; height: 160px; }
  .top10-num { font-size: 44px; bottom: 4px; left: 6px; }

  /* Featured banner */
  .featured-banner { min-height: 0; }
  .featured-content { padding: 24px 20px; }
  .featured-title { font-size: 22px; }
  .featured-desc { display: none; }
  .featured-actions { flex-direction: column; }
  .featured-actions a { text-align: center; }

  /* Writer cards */
  .writer-card { flex: 0 0 110px; }
  .writer-avatar { width: 72px; height: 72px; font-size: 22px; }
  .writer-name { font-size: 12px; }

  /* Page hero */
  .page-hero { padding: 96px 4% 32px; }

  /* Article cards on news page */
  .article-card { width: 100%; }
  .articles-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section { padding: 40px 4%; border-radius: var(--radius); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 12px; }
}

/* ── Article post pages ── */
@media (max-width: 768px) {
  .article-hero { height: 340px; }
  .article-hero-overlay { padding: 32px 5%; }
  .article-body-wrap { padding: 40px 20px 60px; }
  .article-body p { font-size: 16px; }
  .article-author-card { flex-direction: column; text-align: center; padding: 20px; }
  .article-author-avatar { margin: 0 auto 12px; }
}

@media (max-width: 480px) {
  .article-hero { height: 260px; }
  .article-hero-overlay { padding: 20px 4%; align-items: flex-end; }
  .article-body-wrap { padding: 28px 16px 48px; }
  .article-body p { font-size: 15px; line-height: 1.75; }
  .article-back { font-size: 13px; padding: 8px 16px; margin-bottom: 28px; }
}

/* ── Apply / Donate pages ── */
@media (max-width: 480px) {
  .apply-grid,
  .form-section { padding: 0 4%; }
  .form-card { padding: 24px 16px; }
}
