/* ============================================================
   LYTHIUM — ARTICLE PAGE  ·  css/articulo.css
   Unique layout: dark nav + hero → white body → dark CTA/FAQ/footer.
   Extends main.css for navbar, footer, FAQs, buttons, scroll-reveal.
   ============================================================ */


/* ══════════════════════════════════════════════════════════
   BODY OVERRIDE — white background for article reading zone
══════════════════════════════════════════════════════════ */
body {
  background-color: #ffffff;
  color: #060814;
}

/* ── Navbar stays dark on white body ── */
.navbar {
  background: rgba(6,8,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Badge and nav elements need to remain legible on dark nav */


/* ══════════════════════════════════════════════════════════
   HERO (dark, full-width — same dark palette)
══════════════════════════════════════════════════════════ */
.art-hero {
  position: relative;
  padding-block-start: 88px;
  overflow: hidden;
  background: #060814;
}

.art-hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.art-hero__bg-img {
  position: absolute; inset: 0;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}
.art-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,8,20,0.60) 0%, rgba(6,8,20,0) 35%),
    linear-gradient(to bottom, rgba(6,8,20,0) 55%, rgba(6,8,20,1) 100%),
    linear-gradient(to right,  rgba(6,8,20,0.40) 0%, transparent 30%),
    linear-gradient(to left,   rgba(6,8,20,0.40) 0%, transparent 30%);
}

.art-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block-start: 60px;
  padding-block-end: 80px;
  /* White content zone — matches the article body and Figma design */
  background-color: #ffffff;
  color: #060814;
}

.art-hero__meta {
  display: flex; align-items: center; gap: 16px;
  margin-block-end: 32px;
}

.art-hero__badge {
  display: inline-flex; align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(6,8,20,0.20);
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: rgba(6,8,20,0.55);
}

.art-hero__date {
  font-size: 14px; font-weight: 300;
  color: rgba(6,8,20,0.40);
  letter-spacing: 0.28px;
}

.art-hero__title {
  font-size: 65px; font-weight: 700;
  line-height: 72px; letter-spacing: -1.95px;
  max-width: 900px;
  color: #060814;
  margin-block-end: 40px;
}

.art-hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.art-hero__tag {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.72px; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(6,8,20,0.18);
  color: rgba(6,8,20,0.55);
}


/* ══════════════════════════════════════════════════════════
   ARTICLE BODY — white background reading zone
══════════════════════════════════════════════════════════ */
.art-body {
  background: #ffffff;
  color: #060814;
  padding-block: 80px 100px;
}

.art-body .container {
  max-width: 820px;
}

/* Lead paragraph */
.art-lead {
  font-size: 24px; font-weight: 300;
  line-height: 36px; letter-spacing: -0.72px;
  color: #060814;
  margin-block-end: 60px;
  padding-block-end: 60px;
  border-bottom: 1px solid rgba(6,8,20,0.1);
}

/* Article image */
.art-img {
  width: 100%;
  border-radius: 24px; overflow: hidden;
  margin-block: 48px;
  box-shadow: 0 4px 48px rgba(6,8,20,0.12);
}
.art-img img {
  display: block;
  width: 100%; height: auto;
  object-fit: cover;
}

/* Section heading */
.art-section-title {
  font-size: 32px; font-weight: 700;
  line-height: 40px; letter-spacing: -0.96px;
  color: #060814;
  margin-block: 60px 20px;
}

/* Body text */
.art-p {
  font-size: 18px; font-weight: 300;
  line-height: 30px; letter-spacing: -0.18px;
  color: #2a2d3e;
  margin-block-end: 24px;
}

/* Pull quote */
.art-quote {
  margin-block: 48px;
  padding: 36px 40px;
  border-left: 4px solid #003993;
  border-radius: 0 16px 16px 0;
  background: rgba(0,57,147,0.05);
}
.art-quote__text {
  font-size: 22px; font-weight: 500;
  line-height: 32px; letter-spacing: -0.66px;
  color: #003993;
  margin-block-end: 12px;
}
.art-quote__text::before { content: '\201C'; }
.art-quote__text::after  { content: '\201D'; }

.art-quote__author {
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  color: #003993; opacity: 0.65;
}

/* Blue closing subheading */
.art-closing-title {
  font-size: 28px; font-weight: 700;
  line-height: 36px; letter-spacing: -0.84px;
  color: #003993;
  margin-block: 60px 20px;
}


/* ══════════════════════════════════════════════════════════
   ARTICLE NAV (prev / next)
══════════════════════════════════════════════════════════ */
.art-nav {
  background: #ffffff;
  padding-block: 0 80px;
}

.art-nav__inner {
  max-width: 820px; margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}

.art-nav__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(6,8,20,0.15);
  background: transparent;
  color: #060814;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.art-nav__btn:hover {
  border-color: #060814;
  background: rgba(6,8,20,0.06);
}

.art-nav__label {
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(6,8,20,0.4);
}


/* ══════════════════════════════════════════════════════════
   DARK BOTTOM — CTA + FAQs + Footer resume dark palette
══════════════════════════════════════════════════════════ */
.art-dark-bottom {
  background: #060814;
  color: #fff;
}

/* CTA inside dark bottom */
.art-cta {
  padding-block: 100px;
}
.art-cta__inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.art-cta__text {
  font-size: 35px; font-weight: 300;
  line-height: 42px; letter-spacing: -1.05px;
  max-width: 700px; margin-block-end: 0;
  color: #fff;
}
.art-cta__text strong {
  font-weight: 700;
}
.art-cta__btn {
  margin-block-start: 50px;
}

/* Override: FAQs text colors inside dark bottom */
.art-dark-bottom .faq-question { color: #fff; }
.art-dark-bottom .faq-answer-text { color: rgba(255,255,255,0.75); }


/* ══════════════════════════════════════════════════════════
   ██████████████████  RESPONSIVE  ██████████████████████
══════════════════════════════════════════════════════════ */

/* ── Tablet (≤1200px) ────────────────────────────────── */
@media (max-width: 1200px) {
  .art-hero__title { font-size: 50px; line-height: 58px; }
  .art-lead { font-size: 20px; line-height: 30px; }
  .art-section-title { font-size: 26px; line-height: 34px; }
  .art-cta__text { font-size: 28px; line-height: 34px; }
}


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

  .art-hero { padding-block-start: 68px; }
  .art-hero__inner {
    padding-block-start: 32px;
    padding-block-end: 60px;
  }
  .art-hero__title {
    font-size: 32px; line-height: 38px;
    letter-spacing: -0.96px;
    margin-block-end: 28px;
  }

  .art-body { padding-block: 48px 60px; }
  .art-body .container { max-width: 100%; }

  .art-lead {
    font-size: 18px; line-height: 28px;
    margin-block-end: 40px;
    padding-block-end: 40px;
  }

  .art-section-title {
    font-size: 22px; line-height: 28px;
    margin-block: 40px 16px;
  }

  .art-p { font-size: 16px; line-height: 26px; }

  .art-quote {
    padding: 24px 24px;
    margin-block: 32px;
  }
  .art-quote__text { font-size: 18px; line-height: 26px; }

  .art-closing-title { font-size: 22px; line-height: 28px; }

  .art-nav { padding-block: 0 60px; }
  .art-nav__inner { padding-inline: var(--pad-x); }

  .art-cta { padding-block: 60px; }
  .art-cta__text { font-size: 25px; line-height: 30px; letter-spacing: -0.75px; }
  .art-cta__btn { margin-block-start: 40px; align-self: stretch; justify-content: center; }
}


/* ── Very small (≤390px) ─────────────────────────────── */
@media (max-width: 390px) {
  .art-hero__title { font-size: 28px; line-height: 34px; }
}


/* ══════════════════════════════════════════════════════════
   PERFORMANCE
══════════════════════════════════════════════════════════ */
.art-body,
.art-dark-bottom {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
