/* ==========================================================================
   Backstage Alive - News & Press
   Scoped to .bsa-news so nothing here can leak into the theme.
   Tokens mirror the existing bsa- sections (footer, CTA, partners).
   ========================================================================== */

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

.bsa-news {
  --bsa-bg: #000000;
  --bsa-surface: #0a0a0a;
  --bsa-line: rgba(255, 255, 255, .1);
  --bsa-divider: #2a2a2a;
  --bsa-text: #ffffff;
  --bsa-muted: #9a9a9a;
  --bsa-muted-2: #cfcfcf;
  --bsa-body: #ffffff;
  --bsa-accent: #ffcc00;
  --bsa-accent-soft: #ffd633;
  --bsa-container: 1580px;

  background: var(--bsa-bg);
  color: var(--bsa-text);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: block;
  width: 100%;
}

.bsa-news img { max-width: 100%; display: block; height: auto; }
.bsa-news a { color: inherit; text-decoration: none; transition: color .2s ease; }
.bsa-news :focus-visible {
  outline: 2px solid var(--bsa-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.bsa-news-container {
  width: 100%;
  max-width: var(--bsa-container);
  margin: 0 auto;
  padding: 0 40px;
}

.bsa-news-narrow { max-width: 880px; }

/* ===== Shared bits ===================================================== */

.bsa-news-eyebrow {
  display: block;
  color: var(--bsa-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.bsa-news-rule-title {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 0 34px;
  color: var(--bsa-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.bsa-news-rule-title::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: var(--bsa-divider);
}

.bsa-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: var(--bsa-accent);
  color: #0b0b0b;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.bsa-news-btn:hover {
  background: var(--bsa-accent-soft);
  color: #0b0b0b;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -10px rgba(255, 204, 0, .55);
}

.bsa-news-btn svg { stroke: #0b0b0b; }

/* ===== Index hero ====================================================== */

.bsa-news-hero {
  padding: 130px 0 56px;
  text-align: center;
}

.bsa-news-h1 {
  margin: 22px 0 0;
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #e9e9e9;
}

.bsa-news-h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--bsa-accent);
}

.bsa-news-sub {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--bsa-muted-2);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ===== Sections ======================================================== */

.bsa-news-featured { padding: 44px 0 10px; }
.bsa-news-list { padding: 54px 0 110px; }

/* ===== Filter bar ====================================================== */

.bsa-news-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-bottom: 22px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--bsa-line);
}

.bsa-news-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bsa-pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bsa-muted-2);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.bsa-pill:hover {
  color: var(--bsa-text);
  border-color: rgba(255, 204, 0, .5);
}

.bsa-pill.is-active {
  background: var(--bsa-accent);
  border-color: var(--bsa-accent);
  color: #0b0b0b;
}

.bsa-news-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--bsa-muted);
}

.bsa-news-sort:hover { color: var(--bsa-accent); }

/* ===== Card grid ======================================================= */

.bsa-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.bsa-nc {
  background: var(--bsa-surface);
  border: 1px solid var(--bsa-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s ease, transform .3s ease;
}

.bsa-nc:hover {
  border-color: rgba(255, 204, 0, .5);
  transform: translateY(-8px);
}

.bsa-nc-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bsa-nc-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111111;
}

.bsa-nc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.bsa-nc:hover .bsa-nc-img { transform: scale(1.045); }

.bsa-nc-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #2f2f2f;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, .022) 0 1px,
    transparent 1px 11px
  );
}

.bsa-nc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.bsa-nc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 13px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bsa-nc-cat { color: var(--bsa-accent); font-weight: 700; }
.bsa-nc-sep { color: #444444; }
.bsa-nc-date { color: var(--bsa-muted); }

.bsa-nc-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.34;
  color: var(--bsa-text);
  transition: color .2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bsa-nc:hover .bsa-nc-title { color: var(--bsa-accent); }

.bsa-nc-standfirst {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bsa-nc-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--bsa-accent);
}

.bsa-nc-more svg { transition: transform .25s ease; }
.bsa-nc:hover .bsa-nc-more svg { transform: translateX(4px); }

/* Featured variant */
.bsa-nc--feature { border-top: 2px solid var(--bsa-accent); }
.bsa-nc--feature .bsa-nc-title { font-size: 22px; }

/* ===== Pagination ====================================================== */

.bsa-news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 60px;
}

.bsa-news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bsa-muted-2);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.bsa-news-pagination .page-numbers:hover {
  color: var(--bsa-text);
  border-color: rgba(255, 204, 0, .5);
}

.bsa-news-pagination .page-numbers.current {
  background: var(--bsa-accent);
  border-color: var(--bsa-accent);
  color: #0b0b0b;
}

.bsa-news-pagination .page-numbers.dots {
  border-color: transparent;
  min-width: auto;
  padding: 0 2px;
}

/* ===== Empty state ===================================================== */

.bsa-news-empty {
  padding: 70px 0 40px;
  text-align: center;
  color: var(--bsa-muted);
}

.bsa-news-empty p { margin: 0 0 26px; font-size: 15.5px; }

/* ===== Single release ================================================== */

.bsa-news-article { padding: 120px 0 20px; }

.bsa-news-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bsa-muted);
}

.bsa-news-crumbs a:hover { color: var(--bsa-accent); }

.bsa-news-head { margin: 28px 0 36px; }

.bsa-news-title {
  margin: 18px 0 0;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.012em;
  color: var(--bsa-text);
}

.bsa-news-date {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bsa-muted);
}

.bsa-news-pub { color: var(--bsa-accent); }

.bsa-news-figure {
  margin: 0 0 42px;
  border: 1px solid var(--bsa-line);
  border-radius: 16px;
  overflow: hidden;
}

.bsa-news-hero-img { width: 100%; height: auto; }

/* Body copy */

.bsa-news-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--bsa-body);
}

/* The theme colours bare <p>/<li>, and a direct rule beats an inherited
   value, so the body copy has to claim its own colour explicitly. */
.bsa-news-body p,
.bsa-news-body li,
.bsa-news-body span,
.bsa-news-body em,
.bsa-news-body td,
.bsa-news-body th { color: var(--bsa-body); }

.bsa-news-body > *:first-child { margin-top: 0; }
.bsa-news-body p { margin: 0 0 24px; }
.bsa-news-body strong { color: var(--bsa-text); font-weight: 600; }

.bsa-news-body h2,
.bsa-news-body h3,
.bsa-news-body h4 {
  margin: 42px 0 16px;
  color: var(--bsa-text);
  font-weight: 700;
  line-height: 1.3;
}

.bsa-news-body h2 { font-size: 26px; }
.bsa-news-body h3 { font-size: 21px; }
.bsa-news-body h4 { font-size: 18px; }

.bsa-news-body a {
  color: var(--bsa-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bsa-news-body a:hover { color: var(--bsa-accent-soft); }

.bsa-news-body ul,
.bsa-news-body ol { margin: 0 0 24px; padding-left: 22px; }
.bsa-news-body li { margin-bottom: 10px; }

.bsa-news-body img { border-radius: 12px; margin: 8px 0 24px; }

/* Executive quotes read as pull quotes */
.bsa-news-body blockquote {
  margin: 38px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--bsa-accent);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.62;
  color: var(--bsa-text);
}

.bsa-news-body blockquote p:last-child { margin-bottom: 0; }
.bsa-news-body blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bsa-muted);
}

/* Media contact */

.bsa-news-contact {
  margin: 46px 0 0;
  padding: 26px 28px;
  background: var(--bsa-surface);
  border: 1px solid var(--bsa-divider);
  border-radius: 14px;
}

.bsa-news-contact h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bsa-accent);
}

.bsa-news-contact p { margin: 0 0 8px; font-size: 15px; color: var(--bsa-muted-2); }
.bsa-news-contact p:last-child { margin-bottom: 0; }

/* External coverage stub */

.bsa-news-stub {
  padding: 44px 40px;
  background: var(--bsa-surface);
  border: 1px solid var(--bsa-line);
  border-radius: 16px;
  text-align: center;
}

.bsa-news-stub-lead {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--bsa-body);
}

.bsa-news-stub-note {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--bsa-muted);
}

.bsa-news-stub-note strong { color: var(--bsa-text); }

/* Share row */

.bsa-news-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 50px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--bsa-line);
}

.bsa-news-share-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bsa-muted);
  margin-right: 4px;
}

.bsa-news-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: var(--bsa-muted-2);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.bsa-news-share a:hover {
  color: var(--bsa-accent);
  border-color: rgba(255, 204, 0, .5);
  transform: translateY(-2px);
}

/* Share status line */

.bsa-news-share-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--bsa-muted);
}

.bsa-news-share-note:empty { margin: 0; }

/* Back link */

.bsa-news-back { margin-top: 32px; }

.bsa-news-backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bsa-muted-2);
}

.bsa-news-backlink:hover { color: var(--bsa-accent); }
.bsa-news-backlink svg { transition: transform .25s ease; }
.bsa-news-backlink:hover svg { transform: translateX(-4px); }

/* Related */

.bsa-news-related { padding: 40px 0 110px; }

/* ===== Responsive ====================================================== */

@media (max-width: 1200px) {
  .bsa-news-grid { gap: 26px; }
}

@media (max-width: 900px) {
  .bsa-news-container { padding: 0 26px; }
  .bsa-news-hero { padding: 100px 0 44px; }
  .bsa-news-article { padding: 96px 0 20px; }
  .bsa-news-grid { grid-template-columns: repeat(2, 1fr); }
  .bsa-news-list { padding: 46px 0 88px; }
  .bsa-news-related { padding: 30px 0 88px; }
}

@media (max-width: 560px) {
  .bsa-news-container { padding: 0 18px; }
  .bsa-news-hero { padding: 84px 0 36px; }
  .bsa-news-article { padding: 80px 0 16px; }
  .bsa-news-grid { grid-template-columns: 1fr; gap: 22px; }

  .bsa-news-filters { flex-direction: column; align-items: flex-start; }
  .bsa-news-pills { gap: 8px; }
  .bsa-pill { padding: 8px 16px; font-size: 12.5px; }

  .bsa-news-body { font-size: 16px; }
  .bsa-news-body blockquote { font-size: 19px; padding-left: 20px; }
  .bsa-news-stub { padding: 32px 22px; }
  .bsa-news-share { flex-wrap: wrap; gap: 10px; }
  .bsa-news-rule-title { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .bsa-news *,
  .bsa-news *::before,
  .bsa-news *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .bsa-nc:hover { transform: none; }
  .bsa-nc:hover .bsa-nc-img { transform: none; }
}


/* ==========================================================================
   Press gallery + lightbox
   ========================================================================== */

.bsa-news-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 10px 0 34px;
}

.bsa-news-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--bsa-line);
  border-radius: 12px;
  background: var(--bsa-surface);
  cursor: zoom-in;
}

.bsa-news-gallery-item img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .5s ease;
}

.bsa-news-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
}

.bsa-news-gallery-item:hover img { transform: scale(1.06); }
.bsa-news-gallery-item:hover::after { opacity: 1; }
.bsa-news-gallery-item:focus-visible { outline: 2px solid var(--bsa-accent); outline-offset: 3px; }

/* Lightbox */

.bsa-news-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  background: rgba(0, 0, 0, .95);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.bsa-news-lb.is-open { display: block; }
html.bsa-news-lb-lock, html.bsa-news-lb-lock body { overflow: hidden; }

.bsa-news-lb-stage {
  position: absolute;
  inset: 72px 72px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bsa-news-lb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.bsa-news-lb-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--bsa-line);
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #ffffff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bsa-news-lb-btn:hover {
  background: var(--bsa-accent);
  border-color: var(--bsa-accent);
  color: #000000;
}

.bsa-news-lb-btn:focus-visible { outline: 2px solid var(--bsa-accent); outline-offset: 3px; }
.bsa-news-lb-close { top: 20px; right: 20px; }
.bsa-news-lb-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.bsa-news-lb-next { top: 50%; right: 16px; transform: translateY(-50%); }

.bsa-news-lb-bar {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.bsa-news-lb-caption {
  color: var(--bsa-muted-2);
  font-size: 14px;
  line-height: 1.5;
}

.bsa-news-lb-count {
  flex: none;
  color: var(--bsa-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .bsa-news-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .bsa-news-lb-stage { inset: 64px 12px 104px; }
  .bsa-news-lb-prev { left: 8px; }
  .bsa-news-lb-next { right: 8px; }
  .bsa-news-lb-btn { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .bsa-news-gallery-item img { transition: none; }
  .bsa-news-gallery-item:hover img { transform: none; }
}
