/* GoalCurrent.live — Premium editorial feature articles */

:root {
  --fea-blue: #2563eb;
  --fea-blue-deep: #1d4ed8;
  --fea-navy: #0f172a;
  --fea-text: #334155;
  --fea-muted: #64748b;
  --fea-gold: #f59e0b;
  --fea-bg: #f8fafc;
  --fea-read: 800px;
  --fea-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.fea-page {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  color: var(--fea-navy);
  background: var(--fea-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Site nav ───────────────────────────────────────── */
.fea-site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #7A0019 0%, #8F1028 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #A61B34;
}

.fea-site-logo {
  font-family: "Barlow Condensed", "Barlow", Verdana, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.fea-site-logo span {
  color: var(--fea-gold);
}

.fea-site-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fea-site-links a {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s var(--fea-ease), color 0.2s var(--fea-ease);
}

.fea-site-links a:hover,
.fea-site-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────── */
.fea-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 72vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1628;
}

.fea-hero-media {
  position: absolute;
  inset: 0;
}

.fea-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
  animation: fea-hero-zoom 1.2s var(--fea-ease) forwards;
}

@keyframes fea-hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.fea-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.15) 0%, rgba(7, 11, 20, 0.55) 45%, rgba(7, 11, 20, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 26, 77, 0.35) 0%, transparent 55%);
}

.fea-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 56px;
  animation: fea-fade-up 0.9s var(--fea-ease) 0.15s both;
}

@keyframes fea-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fea-kicker {
  display: inline-block;
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fea-gold);
  margin-bottom: 14px;
}

.fea-title {
  font-family: "Barlow Condensed", "Barlow", Verdana, sans-serif;
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 16px;
}

.fea-subtitle {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin-bottom: 22px;
  font-weight: 400;
}

.fea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.fea-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Article body ───────────────────────────────────── */
.fea-body-wrap {
  max-width: var(--fea-read);
  margin: 0 auto;
  padding: 48px 20px 0;
}

.fea-body-wrap > * {
  animation: fea-fade-up 0.7s var(--fea-ease) both;
}

.fea-body-wrap > *:nth-child(2) { animation-delay: 0.05s; }
.fea-body-wrap > *:nth-child(3) { animation-delay: 0.1s; }

.fea-body p {
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.85;
  color: var(--fea-text);
  margin-bottom: 1.65em;
}

.fea-body p:last-child {
  margin-bottom: 0;
}

.fea-lead::first-letter {
  float: left;
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 4.2em;
  line-height: 0.78;
  padding: 0.04em 0.12em 0 0;
  font-weight: 800;
  color: var(--fea-blue);
}

.fea-body h2 {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fea-navy);
  margin: 2.8em 0 1.2em;
  letter-spacing: -0.02em;
}

.fea-body h2:first-child {
  margin-top: 0;
}

.fea-body strong {
  color: var(--fea-navy);
  font-weight: 700;
}

/* ── Pull quotes ────────────────────────────────────── */
.fea-quote {
  margin: 2.5em 0;
  padding: 0;
  border: none;
  text-align: center;
}

.fea-quote p {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--fea-navy);
  font-style: normal;
  margin-bottom: 12px;
}

.fea-quote cite {
  display: block;
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  color: var(--fea-muted);
  letter-spacing: 0.04em;
}

.fea-quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--fea-gold);
  margin: 0 auto 20px;
}

/* ── Figures & full-bleed ───────────────────────────── */
.fea-figure {
  margin: 2.8em 0;
}

.fea-figure--bleed {
  max-width: none;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

@media (min-width: 900px) {
  .fea-figure--bleed {
    --fea-bleed-w: min(calc(100vw - 40px), 1100px);
    width: var(--fea-bleed-w);
    max-width: var(--fea-bleed-w);
    margin-left: calc(50% - var(--fea-bleed-w) / 2);
    margin-right: calc(50% - var(--fea-bleed-w) / 2);
  }
}

.fea-img-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #e2e8f0;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
  line-height: 0;
  transition: transform 0.35s var(--fea-ease), box-shadow 0.35s var(--fea-ease);
}

.fea-img-btn:hover,
.fea-img-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
  outline: 2px solid var(--fea-blue);
  outline-offset: 3px;
}

.fea-img-btn img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
}

.fea-figcaption {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fea-muted);
  margin-top: 12px;
  padding-left: 2px;
}

.fea-figcaption strong {
  color: var(--fea-navy);
  font-weight: 700;
}

.fea-photo-credit {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fea-muted);
  letter-spacing: 0.02em;
}

/* ── Video card ─────────────────────────────────────── */
.fea-video-card {
  margin: 2.8em 0;
  background: var(--fea-navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.fea-video-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fea-video-label {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fea-gold);
  margin-bottom: 6px;
}

.fea-video-title {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.fea-video-wrap {
  position: relative;
  background: #000;
  line-height: 0;
}

.fea-video-wrap video {
  width: 100%;
  display: block;
  max-height: 70vh;
  background: #000;
}

.fea-video-note {
  padding: 14px 20px;
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.fea-figure-portrait .fea-img-btn img {
  aspect-ratio: 4 / 5;
  object-position: center 20%;
}

.fea-portrait-credit {
  display: block;
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fea-navy);
}

.fea-portrait-role {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fea-muted);
  margin-top: 2px;
  margin-bottom: 8px;
}

.fea-qa {
  margin: 2.5em 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.fea-qa-title {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fea-navy);
  margin-bottom: 6px;
}

.fea-qa-intro {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 0.9rem;
  color: var(--fea-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.fea-qa-item {
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.fea-qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fea-qa-q {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fea-blue);
  margin-bottom: 6px;
  line-height: 1.4;
}

.fea-qa-a {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fea-text);
}

/* ── Share ──────────────────────────────────────────── */
.fea-share {
  max-width: var(--fea-read);
  margin: 0 auto;
  padding: 40px 20px 0;
}

.fea-share-inner {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.fea-share h3 {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--fea-navy);
}

.fea-share-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.fea-share-btn {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--fea-navy);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--fea-ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fea-share-btn:hover,
.fea-share-btn:focus-visible {
  border-color: var(--fea-blue);
  color: var(--fea-blue);
  outline: none;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.fea-share-btn.is-copied {
  border-color: #16a34a;
  color: #16a34a;
}

.fea-share-msg {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  color: #16a34a;
  margin-top: 12px;
  font-weight: 600;
}

.fea-share-msg[hidden] {
  display: none;
}

/* ── Related ────────────────────────────────────────── */
.fea-related {
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.fea-related h2 {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--fea-navy);
}

.fea-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.fea-related-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.25s var(--fea-ease), box-shadow 0.25s var(--fea-ease);
}

.fea-related-card:hover,
.fea-related-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  outline: 2px solid var(--fea-blue);
  outline-offset: 2px;
}

.fea-related-tag {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fea-blue);
  margin-bottom: 8px;
}

.fea-related-title {
  font-family: "Barlow Condensed", Verdana, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--fea-navy);
  margin-bottom: 8px;
}

.fea-related-meta {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  color: var(--fea-muted);
}

/* ── Copyright footer ───────────────────────────────── */
.fea-copyright {
  max-width: var(--fea-read);
  margin: 48px auto 0;
  padding: 32px 20px 64px;
  border-top: 1px solid #e2e8f0;
}

.fea-copyright p {
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: var(--fea-muted);
  margin-bottom: 12px;
}

.fea-copyright p:last-child {
  margin-bottom: 0;
}

.fea-copyright a {
  color: var(--fea-blue);
  text-decoration: none;
}

.fea-copyright a:hover {
  text-decoration: underline;
}

.fea-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ── Lightbox ───────────────────────────────────────── */
.fea-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--fea-ease), visibility 0.35s;
}

.fea-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.fea-lightbox-img {
  max-width: min(1200px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.96);
  transition: transform 0.4s var(--fea-ease);
}

.fea-lightbox.is-open .fea-lightbox-img {
  transform: scale(1);
}

.fea-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}

.fea-lightbox-close:hover,
.fea-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 2px solid #fff;
}

.fea-lightbox-prev,
.fea-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.fea-lightbox-prev { left: 12px; }
.fea-lightbox-next { right: 12px; }

.fea-lightbox-prev:hover,
.fea-lightbox-next:hover,
.fea-lightbox-prev:focus-visible,
.fea-lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 2px solid #fff;
}

.fea-lightbox-cap {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  font-family: "Barlow", Verdana, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.fea-lightbox-counter {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fea-gold);
  margin-bottom: 4px;
}

/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fea-hero-media img,
  .fea-hero-inner,
  .fea-body-wrap > * {
    animation: none;
  }

  .fea-img-btn,
  .fea-lightbox,
  .fea-lightbox-img {
    transition: none;
  }
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .fea-site-links a span.fea-link-text {
    display: none;
  }

  .fea-hero-inner {
    padding: 36px 16px 44px;
  }

  .fea-body-wrap {
    padding-top: 36px;
  }

  .fea-lightbox-prev,
  .fea-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
