/* ============================================================
   IGNITION & VELOCITY — ARTICLE PAGE STYLES
   Article hero, body typography, pull quotes, people cards
   ============================================================ */

/* ── Article Hero ─────────────────────────────────────────────── */
.article-hero {
  position: relative;
  height: calc(65vh + var(--nav-height));
  min-height: 540px;
  max-height: 800px;
  overflow: hidden;
}

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

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,15,26,0.15) 0%,
    rgba(9,15,26,0.4) 40%,
    rgba(9,15,26,0.85) 75%,
    rgba(9,15,26,1) 100%
  );
}

.article-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 56px;
}

.article-hero__content .container {
  max-width: 860px;
}

.article-hero__category {
  margin-bottom: 16px;
}

.article-hero__type {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  background: var(--border2);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.article-hero__headline {
  font-family: var(--font-editorial);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.article-hero__deck {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 700px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-hero__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy4);
  border: 2px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
}

.article-hero__author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
}

.article-hero__meta-divider {
  width: 1px;
  height: 16px;
  background: var(--border2);
}

.article-hero__date,
.article-hero__reading-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
}

.article-hero__share-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all var(--transition);
}

.share-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,0.14);
  border-color: var(--border);
}

.share-btn--copy.copied {
  color: var(--green);
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.1);
}

/* ── Article Layout ───────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr var(--container-article) 1fr;
  gap: 0;
  position: relative;
}

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

/* Floating share sidebar */
.article-share-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  height: fit-content;
  padding: 24px 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.article-share-sidebar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 8px;
}

.sidebar-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--navy2);
  border: 1px solid var(--border2);
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
}

.sidebar-share-btn:hover {
  background: var(--navy4);
  border-color: var(--border);
  color: var(--gold);
}

@media (max-width: 1100px) {
  .article-share-sidebar { display: none; }
}

/* ── Article Body ─────────────────────────────────────────────── */
.article-body {
  padding: 56px 0 80px;
  max-width: var(--container-article);
  margin: 0 auto;
  width: 100%;
}

.article-body-inner {
  padding: 0 24px;
}

/* Dateline (press release) */
.article-dateline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  font-weight: 600;
}

/* FOR IMMEDIATE RELEASE */
.press-release-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--gold-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

/* Body text */
.article-body-inner p {
  font-size: 18px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 28px;
  font-weight: 400;
}

.article-body-inner p:first-child::first-letter {
  float: left;
  font-family: var(--font-editorial);
  font-size: 4.5em;
  line-height: 0.85;
  margin: 0.05em 0.1em 0 0;
  color: var(--gold);
  font-weight: 700;
}

.article-body-inner h2 {
  font-family: var(--font-editorial);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 20px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  line-height: 1.3;
}

.article-body-inner h3 {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 16px;
}

.article-body-inner strong {
  font-weight: 700;
  color: var(--text);
}

.article-body-inner em {
  font-style: italic;
  color: var(--text2);
}

.article-body-inner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.article-body-inner a:hover { color: var(--gold-light); }

/* Images in body */
.article-body-inner img {
  width: 100%;
  border-radius: var(--radius);
  margin: 32px 0 8px;
}

.article-body-inner .img-caption {
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
  text-align: center;
  margin-bottom: 32px;
}

/* ── Article Body Images (body gallery) ─────────────────────── */
.article-body-img {
  margin: 40px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--navy3);
}

.article-body-img img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}

.article-body-img__caption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
  border-top: 1px solid var(--border2);
  background: var(--navy4);
  line-height: 1.5;
}

/* ── Pull Quote ───────────────────────────────────────────────── */
.pull-quote {
  margin: 48px 0;
  padding: 32px 40px 32px 44px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -6px;
  left: 24px;
  font-family: var(--font-editorial);
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
  pointer-events: none;
}

.pull-quote__text {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0;
}

/* ── Blockquote (official quotes) ────────────────────────────── */
.article-body-inner blockquote {
  position: relative;
  margin: 44px 0;
  padding: 28px 32px 28px 36px;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.02) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body-inner blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 16px;
  font-family: var(--font-editorial);
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  pointer-events: none;
}

.article-body-inner blockquote,
.article-body-inner blockquote p {
  font-family: var(--font-editorial) !important;
  font-size: 1.1rem !important;
  font-style: italic;
  color: var(--text2);
  line-height: 1.7;
}

.article-body-inner blockquote p {
  margin-bottom: 0 !important;
}

.article-body-inner blockquote p + p {
  margin-top: 12px !important;
}

/* Kill drop caps inside blockquotes */
.article-body-inner blockquote::first-letter,
.article-body-inner blockquote p::first-letter,
.article-body-inner blockquote p:first-child::first-letter {
  float: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  color: inherit !important;
  font-weight: inherit !important;
}

/* ── Info / Callout Box ───────────────────────────────────────── */
.info-box {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--navy3);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.info-box__title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 12px;
}

.info-box__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-box__list li {
  font-size: 15px;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.info-box__list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
  top: 2px;
}

/* ── People Cards ─────────────────────────────────────────────── */
.people-section {
  margin: 56px 0;
  padding: 40px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
}

.people-section__title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 24px;
}

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

.person-card {
  background: var(--navy3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.person-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.person-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy4);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
}

.person-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.person-card__title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.person-card__quote {
  font-size: 13px;
  color: var(--text2);
  font-style: italic;
  line-height: 1.6;
  border-top: 1px solid var(--border2);
  padding-top: 12px;
}

.person-card__quote::before {
  content: '"';
  color: var(--gold);
  font-size: 16px;
  font-style: normal;
}

.person-card__quote::after {
  content: '"';
  color: var(--gold);
  font-size: 16px;
  font-style: normal;
}

/* ── Contact Block (press releases) ──────────────────────────── */
.contact-block {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--navy3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-block__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-block__info {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.8;
}

/* ── Key Facts Sidebar ────────────────────────────────────────── */
.key-facts {
  margin: 48px 0;
  padding: 28px 32px;
  background: var(--navy2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.key-facts__title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 18px;
}

.key-facts__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.key-facts__list li {
  font-size: 14px;
  color: var(--text2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.key-facts__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── Related Articles ─────────────────────────────────────────── */
.related-section {
  padding: 56px 0 80px;
  border-top: 1px solid var(--border2);
  background: var(--navy2);
}

.related-section .container {
  max-width: 900px;
}

.related-section__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Article Navigation ───────────────────────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 48px 0;
}

.article-nav__link {
  padding: 20px 24px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: pointer;
}

.article-nav__link:hover {
  border-color: var(--border);
  background: var(--navy3);
}

.article-nav__link--prev { text-align: left; }
.article-nav__link--next { text-align: right; }

.article-nav__direction {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text3);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-nav__link--next .article-nav__direction {
  justify-content: flex-end;
}

.article-nav__headline {
  font-family: var(--font-editorial);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}

.article-nav__link:hover .article-nav__headline {
  color: var(--gold-light);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .article-hero {
    height: 55vh;
    min-height: 380px;
  }

  .article-hero__headline { font-size: 1.7rem; }

  .article-hero__deck { display: none; }

  .article-hero__share-btns { display: none; }

  .article-body-inner p { font-size: 17px; }

  .article-body-inner h2 { font-size: 1.3rem; }

  .pull-quote {
    padding: 24px 20px 24px 24px;
    margin: 32px 0;
  }

  .pull-quote::before { font-size: 52px; left: 14px; top: -4px; }

  .pull-quote__text { font-size: 1.05rem; }

  .article-body-inner blockquote {
    margin: 32px 0;
    padding: 22px 20px 22px 24px;
  }

  .article-body-inner blockquote::before { font-size: 42px; left: 10px; top: -4px; }

  .article-body-inner blockquote,
  .article-body-inner blockquote p { font-size: 1rem !important; }

  .people-grid { grid-template-columns: 1fr; }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .people-section { padding: 28px 20px; }

  .article-body-img {
    margin: 24px 0;
    max-width: 100% !important;
    float: none !important;
  }

  .article-body-img img {
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .article-hero { height: 45vh; min-height: 300px; }
  .article-hero__headline { font-size: 1.3rem; }
  .article-body-inner p { font-size: 16px; line-height: 1.75; }
  .article-body-inner h2 { font-size: 1.15rem; }
  .article-body-img img { max-height: 280px; }
  .pull-quote { padding: 18px 16px 18px 20px; margin: 24px 0; }
  .pull-quote::before { font-size: 40px; left: 10px; }
  .pull-quote__text { font-size: 1rem; }
  .article-body-inner blockquote { padding: 18px 16px 18px 20px; margin: 24px 0; }
  .article-body-inner blockquote::before { font-size: 36px; left: 8px; }
}
