/* No Ground — clean blue / white / red space-news */

:root {
  --sky: #E8F2FA;
  --sky-mid: #B8D4EC;
  --navy: #0B1F3A;
  --navy-soft: #16325A;
  --ink: #0E1A2B;
  --muted: #5A6B7D;
  --white: #FFFFFF;
  --red: #E10600;
  --red-deep: #B80000;
  --gold: #C9A84C;
  --cyan: #5EC8E8;
  --line: #D6E3EF;
  --card-shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --nav-h: 64px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 0.6em; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand::after {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--navy-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-links .nav-fb {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links .nav-fb:hover {
  background: var(--red);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 1px;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-fb {
    margin-top: 0.75rem;
    justify-content: center;
    border: 0;
  }
}

/* —— Pill tag —— */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
}

.pill::before {
  content: "";
  width: 8px;
  height: 16px;
  background: var(--red);
  border-radius: 2px;
  transform: skewX(-12deg);
  flex-shrink: 0;
}

.pill-light {
  background: rgba(11, 31, 58, 0.88);
}

/* —— Red accent rule —— */
.red-rule {
  width: 48px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 0.85rem 0 1rem;
}

.red-rule.center { margin-inline: auto; }

/* —— Home hero —— */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%);
  padding: 2rem 0 3rem;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 420px;
}

.hero-media {
  position: relative;
  min-height: 280px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 2rem 2.4rem;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, #081628 100%);
}

.hero-body h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0;
}

.hero-dek {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  margin: 0 0 1.4rem;
  max-width: 36ch;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta::before,
.hero-meta::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--red);
  opacity: 0.85;
  max-width: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--red);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

@media (max-width: 860px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
  .hero-media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .hero-media img { position: absolute; }
  .hero-body { padding: 1.75rem 1.35rem 2rem; }
}

/* —— Sections —— */
.section {
  padding: 3rem 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.section-kicker {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* —— Article cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(11, 31, 58, 0.04);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
  color: inherit;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sky);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body .pill {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  font-size: 0.62rem;
  padding: 0.38rem 0.75rem 0.38rem 0.45rem;
}

.card-body h3 {
  font-size: 1.12rem;
  margin: 0 0 0.55rem;
  color: var(--navy);
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  flex: 1;
}

.card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--red);
}

/* —— CTA —— */
.cta {
  margin: 1rem 0 3.5rem;
}

.cta-inner {
  background: linear-gradient(135deg, var(--sky) 0%, #F4F8FC 55%, #FFF5F4 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.4rem 1.75rem;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 0.4rem;
}

.cta-inner p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 1.35rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  font-size: 1rem;
}

.footer-brand span {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--red);
  margin-top: 0.55rem;
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--white); }

.footer-close {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.35rem;
  letter-spacing: 0.02em;
}

.footer-close strong { color: var(--white); font-weight: 600; }

/* —— Article page —— */
.article-hero {
  background: var(--sky);
  padding: 1.75rem 0 0;
}

.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}

.article-hero .pill { margin-bottom: 1rem; }

.article-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

.article-dek {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 52ch;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.article-meta-row .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

.article-cover {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--navy);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 2.25rem 1rem 3rem;
  align-items: start;
}

.article-content {
  max-width: 680px;
  font-size: 1.05rem;
  color: #243447;
}

.article-content p:first-of-type::first-letter {
  font-weight: 700;
  color: var(--navy);
}

.article-content h2 {
  margin-top: 1.75rem;
  font-size: 1.35rem;
}

.article-content .pull {
  border-left: 3px solid var(--red);
  padding: 0.35rem 0 0.35rem 1rem;
  margin: 1.5rem 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.article-content .close-line {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--navy);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ad-box {
  border: 1px dashed #C5D3E0;
  background: #F7FAFC;
  border-radius: var(--radius-sm);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AABBC;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.ad-box.ad-inline {
  min-height: 90px;
  margin: 2rem 0;
}

.share-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--white);
}

.share-box h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-actions .btn {
  width: 100%;
  font-size: 0.85rem;
}

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 820px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ad-box { min-height: 140px; }
}

@media (max-width: 520px) {
  .article-sidebar { grid-template-columns: 1fr; }
}

/* —— About —— */
.page-hero {
  background: linear-gradient(180deg, var(--sky), var(--white));
  padding: 3rem 0 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.35rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto;
}

.about-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1rem 3.5rem;
}

.about-block h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.gold-hook {
  color: var(--gold);
  font-weight: 600;
}

.cyan-hook {
  color: var(--cyan);
  font-weight: 600;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.credit {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.65rem;
  text-align: center;
}
