/* Hallmark Floor: RedAid Nigeria UN-Standard Editorial Dispatch Reading Room (Hale + New Yorker + Matter) */
/* Critique: Eliminated dark-scrim hero text overlays, duplicate image repeats, and cramped dark related cards; elevated sticky Share rail, 66ch longform rhythm, and clean hairline photography. */

:root {
  --bp-font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --bp-font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --bp-bg: #F8F7F6;
  --bp-surface: #FFFFFF;
  --bp-surface-alt: #F3F1EE;
  --bp-blue-tint: #EFF5FC;
  --bp-blue-tint-strong: #DCE8F7;
  --bp-red-tint: #FDF1F2;
  --bp-border: #E4E1DE;
  --bp-border-strong: #CFC9C4;
  --bp-ink: #1F1C1B;
  --bp-ink-secondary: #5F5B58;
  --bp-ink-muted: #6C6763;
  --bp-blue: #1E5AA8;
  --bp-blue-hover: #164883;
  --bp-blue-ink: #1E5AA8;
  --bp-on-blue: #F7F6F4;
  --bp-crimson: #C8283B;
  --bp-crimson-ink: #C8283B;
  --bp-navy: #0D2B52;
  --bp-on-dark: #F7F6F4;
  --bp-backdrop: rgba(13, 43, 82, 0.92);
  --bp-radius-card: 16px;
  --bp-radius-btn: 10px;
  --bp-radius-pill: 999px;
}

[data-theme="dark"] {
  --bp-bg: #11161E;
  --bp-surface: #171E28;
  --bp-surface-alt: #1E2734;
  --bp-blue-tint: #192638;
  --bp-blue-tint-strong: #233752;
  --bp-red-tint: #2B1A1E;
  --bp-border: #2B3646;
  --bp-border-strong: #3E4D62;
  --bp-ink: #F2F0EC;
  --bp-ink-secondary: #C4C8CE;
  --bp-ink-muted: #A7B0BC;
  --bp-blue: #1E5AA8;
  --bp-blue-hover: #164883;
  --bp-blue-ink: #9DC3F2;
  --bp-on-blue: #F7F6F4;
  --bp-crimson: #C8283B;
  --bp-crimson-ink: #FFA4AE;
  --bp-navy: #0B192C;
  --bp-on-dark: #F7F6F4;
  --bp-backdrop: rgba(8, 13, 20, 0.96);
}

.bp-main {
  background-color: var(--bp-bg);
  color: var(--bp-ink);
  font-family: var(--bp-font-body);
  overflow-x: clip;
  padding-top: 84px;
}

.bp-main [hidden] {
  display: none;
}

.bp-wrap {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   1. Editorial Header Masthead (Clean Paper Band — Zero Overlaid Hero Text)
   -------------------------------------------------------------------------- */
.bp-header-band {
  width: 100%;
  background-color: var(--bp-surface);
  color: var(--bp-ink);
  border-bottom: 1px solid var(--bp-border);
  padding: 32px 0 48px;
}

.bp-breadcrumb {
  margin: 0 0 24px;
}

.bp-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--bp-ink-secondary);
}

.bp-breadcrumb__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bp-breadcrumb__list li + li::before {
  content: "/";
  color: var(--bp-border-strong);
}

.bp-breadcrumb__list a {
  color: var(--bp-blue-ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.14s ease;
}

.bp-breadcrumb__list a:hover {
  color: var(--bp-blue-hover);
  text-decoration: underline;
}

.bp-breadcrumb__list a:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.bp-breadcrumb__current {
  color: var(--bp-ink-secondary);
  max-width: 44ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bp-header-grid {
  max-width: 840px;
}

.bp-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.bp-eyebrow {
  font-family: var(--bp-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
  margin: 0;
}

.bp-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: var(--bp-radius-pill);
  background-color: var(--bp-border-strong);
  display: inline-block;
}

.bp-read-time {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bp-ink-secondary);
}

.bp-title {
  font-family: var(--bp-font-display);
  font-size: clamp(2rem, 4.1vw, 3.125rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--bp-ink);
  margin: 0 0 20px;
  text-wrap: balance;
}

.bp-deck {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--bp-ink-secondary);
  margin: 0 0 28px;
  max-width: 64ch;
}

.bp-byline-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--bp-border);
}

.bp-byline-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.bp-byline-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bp-byline-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bp-ink-muted);
}

.bp-byline-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bp-ink);
}

.bp-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bp-header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-border-strong);
  background-color: var(--bp-surface);
  color: var(--bp-blue-ink);
  font-family: var(--bp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.bp-header-action-btn:hover {
  background-color: var(--bp-blue-tint);
  border-color: var(--bp-blue-ink);
}

.bp-header-action-btn:active {
  transform: translateY(1px);
}

.bp-header-action-btn:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Unencumbered Documentary Hero Figure (Zero Text or Badges Over Media)
   -------------------------------------------------------------------------- */
.bp-hero-figure {
  margin: 32px 0 0;
}

.bp-hero-frame {
  position: relative;
  width: 100%;
  border-radius: var(--bp-radius-card);
  overflow: hidden;
  border: 1px solid var(--bp-border);
  background-color: var(--bp-surface-alt);
  color: var(--bp-ink);
  aspect-ratio: 16 / 9;
  max-height: 580px;
}

.bp-hero-img,
.bp-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
}

.bp-hero-img[hidden],
.bp-hero-video[hidden] {
  display: none;
}

.bp-hero-video {
  object-fit: contain;
  background-color: var(--bp-navy);
  color: var(--bp-on-dark);
}

.bp-hero-figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 12px;
  padding-bottom: 4px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--bp-ink-secondary);
}

.bp-hero-caption-text {
  margin: 0;
  max-width: 72ch;
}

.bp-hero-credit {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bp-ink-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Reading Room 3-Column Layout (Sticky Share Rail + 66ch Body + Context)
   -------------------------------------------------------------------------- */
.bp-reading-band {
  padding: 56px 0 72px;
}

.bp-reading-grid {
  display: grid;
  grid-template-columns: 184px minmax(0, 68ch) minmax(200px, 248px);
  gap: 48px;
  align-items: start;
  justify-content: space-between;
}

/* Left Sticky Share Rail */
.bp-share-rail {
  position: sticky;
  top: 104px;
  background-color: var(--bp-surface);
  color: var(--bp-ink);
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  padding: 20px 16px;
}

.bp-share-heading {
  font-family: var(--bp-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
  margin: 0 0 12px;
}

.bp-share-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-share-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-border);
  background-color: var(--bp-bg);
  color: var(--bp-ink);
  font-family: var(--bp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.bp-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bp-blue-ink);
}

.bp-share-btn:hover {
  background-color: var(--bp-blue-tint);
  border-color: var(--bp-blue-ink);
  color: var(--bp-blue-ink);
}

.bp-share-btn:active {
  transform: translateY(1px);
}

.bp-share-btn:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

.bp-copy-notice {
  display: block;
  min-height: 20px;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bp-blue-ink);
  opacity: 0;
  transition: opacity 0.14s ease;
}

.bp-copy-notice.is-visible {
  opacity: 1;
}

/* Center Longform Narrative Column */
.bp-article-body {
  min-width: 0;
  color: var(--bp-ink);
}

.bp-prose-section {
  margin-bottom: 32px;
}

.bp-prose-section p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--bp-ink);
  margin: 0 0 20px;
}

.bp-prose-section p:last-child {
  margin-bottom: 0;
}

.bp-lead-para {
  font-size: 1.1875rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--bp-ink);
}

.bp-section-heading {
  font-family: var(--bp-font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--bp-ink);
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--bp-border);
  scroll-margin-top: 112px;
  text-wrap: balance;
}

/* Field Voice Spotlight (Photo + Quote Callout — Clean Hairline Surface) */
.bp-spotlight {
  margin: 36px 0;
  background-color: var(--bp-blue-tint);
  color: var(--bp-ink);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-card);
  overflow: hidden;
}

.bp-spotlight__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: stretch;
}

.bp-spotlight__grid.is-text-only {
  grid-template-columns: 1fr;
}

.bp-spotlight__media {
  margin: 0;
  background-color: var(--bp-surface-alt);
  color: var(--bp-ink);
  border-right: 1px solid var(--bp-border);
}

.bp-spotlight__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.bp-spotlight__copy {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background-color: var(--bp-blue-tint);
  color: var(--bp-ink);
}

.bp-spotlight__label {
  font-family: var(--bp-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
}

.bp-spotlight__quote {
  margin: 0;
  font-family: var(--bp-font-display);
  font-size: 1.1875rem;
  line-height: 1.48;
  font-weight: 600;
  color: var(--bp-ink);
}

.bp-spotlight__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bp-ink-secondary);
}

/* Inline Editorial Video Block (Zero Overlays on Video) */
.bp-inline-video {
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid var(--bp-border);
  border-bottom: 1px solid var(--bp-border);
  color: var(--bp-ink);
}

.bp-inline-video__head {
  margin-bottom: 16px;
}

.bp-inline-video__title {
  font-family: var(--bp-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bp-ink);
  margin: 8px 0 0;
}

.bp-inline-video__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background-color: var(--bp-navy);
  color: var(--bp-on-dark);
  display: block;
}

.bp-inline-video__caption {
  margin: 12px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--bp-ink-secondary);
}

/* Editorial Pullquote (Rule-Framed New Yorker Style; Author Permanently Hidden) */
.bp-pullquote {
  margin: 44px 0;
  padding: 28px 0;
  color: var(--bp-ink);
  border-top: 2px solid var(--bp-crimson);
  border-bottom: 1px solid var(--bp-border);
}

.bp-pullquote__text {
  margin: 0 0 20px;
  font-family: var(--bp-font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--bp-ink);
}

.bp-pullquote__author,
.pullquote-author,
.pullquote__author {
  display: none;
}

.bp-pullquote__share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-blue);
  background-color: var(--bp-blue);
  color: var(--bp-on-blue);
  font-family: var(--bp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.bp-pullquote__share:hover {
  background-color: var(--bp-blue-hover);
  border-color: var(--bp-blue-hover);
  color: var(--bp-on-blue);
}

.bp-pullquote__share:active {
  transform: translateY(1px);
}

.bp-pullquote__share:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

/* Documentary Photo Gallery (Zero Image Badges or Tags) */
.bp-gallery-section {
  margin: 44px 0;
  padding-top: 28px;
  border-top: 1px solid var(--bp-border);
  scroll-margin-top: 112px;
}

.bp-gallery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.bp-gallery-title {
  font-family: var(--bp-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--bp-ink);
  margin: 4px 0 0;
}

.bp-gallery-hint {
  font-size: 0.875rem;
  color: var(--bp-ink-secondary);
  margin: 0;
}

.bp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bp-gallery-tile {
  position: relative;
  padding: 0;
  margin: 0;
  border: 1px solid var(--bp-border);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bp-surface-alt);
  color: var(--bp-ink);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
  transition: border-color 0.14s ease;
}

.bp-gallery-tile.is-feature {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.bp-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-gallery-tile:hover {
  border-color: var(--bp-blue-ink);
}

.bp-gallery-tile:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

/* Programme Footnote Box */
.bp-footnote {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--bp-surface-alt);
  color: var(--bp-ink-secondary);
  border-radius: 12px;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.bp-footnote__title {
  font-family: var(--bp-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
  margin: 0 0 8px;
}

.bp-footnote__text {
  margin: 0;
  color: var(--bp-ink-secondary);
}

/* Right Quiet Context Rail */
.bp-context-rail {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bp-context-card {
  padding-top: 16px;
  border-top: 1px solid var(--bp-border);
  color: var(--bp-ink);
}

.bp-context-card__eyebrow {
  font-family: var(--bp-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
  margin: 0 0 12px;
}

.bp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-toc-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 2px solid var(--bp-border);
  color: var(--bp-ink-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.bp-toc-link:hover {
  background-color: var(--bp-blue-tint);
  border-left-color: var(--bp-blue-ink);
  color: var(--bp-blue-ink);
}

.bp-toc-link:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

.bp-colophon-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--bp-ink-secondary);
  margin: 0 0 16px;
}

.bp-context-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-context-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-border);
  background-color: var(--bp-bg);
  color: var(--bp-blue-ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.bp-context-btn:hover {
  background-color: var(--bp-blue-tint);
  border-color: var(--bp-blue-ink);
}

.bp-context-btn:active {
  transform: translateY(1px);
}

.bp-context-btn:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Related Field Dispatches (Clean Hairline Cards — Zero Scrims Over Photos)
   -------------------------------------------------------------------------- */
.bp-related-band {
  width: 100%;
  background-color: var(--bp-blue-tint);
  color: var(--bp-ink);
  border-top: 1px solid var(--bp-border);
  padding: 64px 0 72px;
}

.bp-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.bp-related-title {
  font-family: var(--bp-font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--bp-ink);
  margin: 8px 0 0;
}

.bp-all-stories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-blue);
  background-color: var(--bp-blue);
  color: var(--bp-on-blue);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.bp-all-stories-btn:hover {
  background-color: var(--bp-blue-hover);
  border-color: var(--bp-blue-hover);
  color: var(--bp-on-blue);
}

.bp-all-stories-btn:active {
  transform: translateY(1px);
}

.bp-all-stories-btn:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

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

.bp-related-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bp-surface);
  color: var(--bp-ink);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius-card);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.14s ease, transform 0.14s ease;
}

.bp-related-card:hover {
  border-color: var(--bp-blue-ink);
  transform: translateY(-2px);
}

.bp-related-card:active {
  transform: translateY(0);
}

.bp-related-card:focus-visible {
  outline: 2px solid var(--bp-blue-ink);
  outline-offset: 2px;
}

.bp-related-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bp-surface-alt);
  color: var(--bp-ink);
  border-bottom: 1px solid var(--bp-border);
}

.bp-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-related-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.bp-related-card__cat {
  font-family: var(--bp-font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--bp-crimson-ink);
}

.bp-related-card__title {
  font-family: var(--bp-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bp-ink);
  margin: 0;
}

.bp-related-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--bp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8125rem;
}

.bp-related-card__date {
  color: var(--bp-ink-muted);
}

.bp-related-card__cta {
  color: var(--bp-blue-ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Documentary Lightbox Modal
   -------------------------------------------------------------------------- */
.bp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bp-backdrop);
  color: var(--bp-on-dark);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bp-lightbox.is-open {
  display: flex;
}

.bp-lightbox__bar {
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bp-lightbox__counter {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bp-on-dark);
}

.bp-lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--bp-radius-btn);
  border: 1px solid var(--bp-border-strong);
  background-color: var(--bp-navy);
  color: var(--bp-on-dark);
  font-family: var(--bp-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.bp-lightbox__btn:hover {
  background-color: var(--bp-blue);
  border-color: var(--bp-on-dark);
}

.bp-lightbox__btn:active {
  transform: translateY(1px);
}

.bp-lightbox__btn:focus-visible {
  outline: 2px solid var(--bp-on-dark);
  outline-offset: 2px;
}

.bp-lightbox__stage {
  width: 100%;
  max-width: 1080px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.bp-lightbox__img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 12px;
  background-color: var(--bp-navy);
  color: var(--bp-on-dark);
}

.bp-lightbox__credit {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--bp-on-dark);
  text-align: center;
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints (Clean Mobile Alignment down to 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .bp-reading-grid {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 32px;
  }

  .bp-context-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .bp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .bp-reading-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bp-share-rail {
    position: static;
    top: auto;
    padding: 16px;
  }

  .bp-share-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .bp-share-list li {
    flex: 1 1 136px;
  }

  .bp-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .bp-spotlight__media {
    border-right: none;
    border-bottom: 1px solid var(--bp-border);
  }

  .bp-spotlight__media img {
    max-height: 280px;
  }

  .bp-context-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bp-wrap {
    padding: 0 16px;
  }

  .bp-header-band {
    padding: 24px 0 32px;
  }

  .bp-reading-band {
    padding: 36px 0 56px;
  }

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

  .bp-lightbox__stage {
    grid-template-columns: 1fr;
  }
}

@media print {
  .veritas-site-header,
  .veritas-drawer,
  .bp-share-rail,
  .bp-context-rail,
  .bp-related-band,
  .bp-header-actions,
  .ran-back-to-top,
  .rf {
    display: none;
  }

  .bp-main {
    padding-top: 0;
    background-color: var(--bp-surface);
    color: var(--bp-ink);
  }

  .bp-reading-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-share-btn,
  .bp-header-action-btn,
  .bp-pullquote__share,
  .bp-gallery-tile,
  .bp-related-card,
  .bp-all-stories-btn,
  .bp-lightbox__btn {
    transition: none;
  }

  .bp-related-card:hover {
    transform: none;
  }
}
