/* ============================================================
   news.css — Newsroom archive (archive-press_release.php)
   Source: gibson-newsroom-toggle.html. Template-unique selectors only.
   Global tokens (--navy, --fire, --chalk, --display, --body, --ease …),
   .container, .eyebrow, nav, footer, .global-map, .popup-*, .cta-btn,
   and the semantic content/surface tokens (--body-text, --body-text-soft,
   --softer-text, --border-soft, --border-softer, --surface-card) plus their
   [data-theme="dark"] overrides live in global.css and are NOT redefined here.
   ============================================================ */

/* ═══════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════ */
body.separate-containers .page-header {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
  background: var(--deep-purple);
  padding: 140px 48px 64px;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(244,100,33,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 30%, rgba(0,180,216,0.03) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 40%, rgba(245,183,49,0.02) 0%, transparent 50%),
    linear-gradient(160deg, var(--deep-purple) 0%, var(--navy-90) 50%, var(--navy) 100%);
}
.page-header-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-header-lines {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.page-header-lines::before, .page-header-lines::after {
  content: ''; position: absolute; height: 1px;
  background: rgba(255,255,255,0.03); left: 0; right: 0;
}
.page-header-lines::before { top: 33%; }
.page-header-lines::after { top: 66%; }
.page-header-content { position: relative; z-index: 2; max-width: 700px; }
.page-header .eyebrow { justify-content: center; margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700; color: #fff;
  line-height: 1.05; letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.page-header-sub {
  font-family: var(--display);
  font-size: 1.15rem; font-weight: 400; font-style: italic;
  color: var(--smoke); line-height: 1.55;
  max-width: 560px; margin: 0 auto;
}

/* ═══════════════════════════════════════
   FEATURED RELEASE
   ═══════════════════════════════════════ */
.featured { background: var(--chalk-warm); padding: 80px 0; }
.featured-card {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 48px; align-items: start;
  border: 1px solid var(--border-softer);
  background: #fff;
  padding: 48px;
  position: relative;
}
.featured-meta { display: flex; flex-direction: column; gap: 16px; }
.featured-date {
  font-family: var(--display); font-size: 1rem;
  color: var(--fire); line-height: 1.3;
}
.featured-date-month { font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; display: block; }
.featured-date-day { font-size: 2.8rem; font-weight: 700; line-height: 1; display: block; }
.featured-date-year { font-size: 0.85rem; font-weight: 400; opacity: 0.7; display: block; }
.featured-badge {
  display: inline-block;
  font-family: var(--body); font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #fff; background: var(--fire);
  padding: 6px 14px;
  white-space: nowrap;
}
.featured-body h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600; color: var(--ink);
  line-height: 1.15; margin-bottom: 20px;
}
.featured-body p {
  font-family: var(--body);
  font-size: 1rem; line-height: 1.8;
  color: var(--body-text); max-width: 600px;
  margin-bottom: 28px;
}
.featured-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--fire); text-decoration: none;
  border-bottom: 1.5px solid var(--fire);
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.featured-link:hover { color: var(--fire-deep); border-color: var(--fire-deep); }

/* Featured release card stays white in dark mode — lock its text + border. */
[data-theme="dark"] .featured-card { background: #fff; border-color: #e8e3d8; }
[data-theme="dark"] .featured-body h2 { color: #1a1a1a; }
[data-theme="dark"] .featured-body p { color: #555; }

/* ═══════════════════════════════════════
   YEAR FILTER
   ═══════════════════════════════════════ */
.releases { background: var(--chalk); padding: 80px 0 100px; }
.year-tabs {
  display: flex; gap: 8px; margin-bottom: 48px;
  flex-wrap: wrap;
}
.year-tab {
  font-family: var(--body); font-size: 13px; font-weight: 500;
  letter-spacing: 1px;
  color: var(--softer-text); background: none;
  border: 1px solid var(--border-soft);
  padding: 8px 20px; cursor: pointer;
  transition: all .3s;
}
.year-tab:hover { color: var(--ink); border-color: var(--ink); }
.year-tab.active {
  color: #fff; background: var(--fire);
  border-color: var(--fire);
}

/* ═══════════════════════════════════════
   PRESS RELEASE LIST
   ═══════════════════════════════════════ */
.release-list { list-style: none; }
.release-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 32px; align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-softer);
  position: relative;
  transition: all .3s var(--ease);
}
.release-item::before {
  content: '';
  position: absolute; left: -24px; top: 0; bottom: 0;
  width: 3px; background: var(--fire);
  opacity: 0; transition: opacity .3s;
}
.release-item:hover::before { opacity: 1; }
.release-item:first-child { padding-top: 0; }
.release-date {
  font-family: var(--display);
  color: var(--fire);
  text-align: center;
  line-height: 1.2;
}
.release-date-month {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: block;
}
.release-date-day {
  font-size: 2rem; font-weight: 700;
  display: block; line-height: 1.1;
}
.release-date-year {
  font-size: 0.75rem; font-weight: 400;
  display: block; opacity: 0.6;
}
.release-content { padding-right: 24px; }
.release-title {
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 600;
  color: var(--ink); line-height: 1.3;
  margin-bottom: 8px;
  text-decoration: none; display: block;
  transition: color .3s;
}
a.release-title:hover { color: var(--fire); }
.release-excerpt {
  font-family: var(--body);
  font-size: 0.92rem; color: var(--body-text-soft);
  line-height: 1.7; max-width: 680px;
}
.release-empty {
  font-family: var(--body);
  font-size: 1rem; color: var(--body-text-soft);
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   MEDIA CONTACT
   ═══════════════════════════════════════ */
.media-contact {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.media-contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 70% 50%, rgba(244,100,33,0.04) 0%, transparent 60%);
}
.media-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.media-heading {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600; color: #fff;
  line-height: 1.12; margin-bottom: 20px;
}
.media-text {
  font-family: var(--body);
  font-size: 0.95rem; color: var(--smoke);
  line-height: 1.8; max-width: 460px;
}
.media-details { list-style: none; }
.media-details li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.media-details li:first-child { padding-top: 0; }
.media-details li:last-child { border-bottom: none; }
.media-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--fire-glow);
  flex-shrink: 0;
}
.media-icon svg { width: 20px; height: 20px; fill: var(--fire); }
.media-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--smoke-light); display: block;
  margin-bottom: 2px;
}
.media-value {
  font-family: var(--body); font-size: 1rem;
  color: #fff; font-weight: 500;
}
.media-value a { color: var(--fire); text-decoration: none; transition: opacity .3s; }
.media-value a:hover { opacity: 0.8; }
.media-note {
  font-size: 0.85rem; color: var(--smoke-light);
  margin-top: 24px; line-height: 1.7;
  padding-left: 60px;
}

/* ═══════════════════════════════════════
   CTA — Bottom: the .cta close band is canonical in global.css and applies
   here unscoped. Only the template-unique navy/uppercase .cta-btn override
   lives in this file.
   ═══════════════════════════════════════ */
.mtg-news-archive .cta .cta-btn { display:inline-block; background:var(--navy); color:#fff; text-decoration:none; font-size:13px; font-weight:600; letter-spacing:3px; text-transform:uppercase; padding:18px 48px; border:none; border-radius:0; box-shadow:none; transition:transform .3s,box-shadow .3s; }
.mtg-news-archive .cta .cta-btn:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.3); }

/* ═══════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .featured-card { grid-template-columns: 160px 1fr; gap: 32px; padding: 36px; }
  .media-inner { grid-template-columns: 1fr; gap: 40px; }
  .media-note { padding-left: 0; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  body.separate-containers .page-header { padding: 120px 24px 60px; }
  .page-header h1 { font-size: clamp(2.2rem, 8vw, 3rem); }

  .featured { padding: 60px 0; }
  .featured-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .featured-meta { flex-direction: row; align-items: center; gap: 20px; }

  .releases { padding: 60px 0 80px; }
  .release-item { grid-template-columns: 70px 1fr; gap: 20px; padding: 20px 0; }
  .release-item::before { left: -12px; }
  .release-date-day { font-size: 1.5rem; }
  .release-title { font-size: 1.05rem; }

  .media-contact { padding: 60px 0; }
  .media-inner { grid-template-columns: 1fr; gap: 32px; }
  .media-note { padding-left: 0; }
}
