/* ============================================================
   LIGHT & DARK CAMPAIGN // ANIMATED ART ROTATOR
   Auto-attaches to the existing campaign tile and campaign dossier.
   ============================================================ */

[data-light-dark-banner] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #010408;
}

[data-light-dark-banner] .ld-banner-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

[data-light-dark-banner] .ld-banner-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  transform: translateZ(0);
  will-change: opacity;
}

[data-light-dark-banner] .ld-banner-image.is-active {
  opacity: 1;
}

[data-light-dark-banner] > .ld-banner-fallback {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 1;
}

[data-light-dark-banner].ld-banner-ready > .ld-banner-fallback {
  opacity: 0;
}


/* Large classified stamp across the artwork. */
[data-light-dark-banner] .ld-classified-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-11deg);
  transform-origin: center center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(82%, 920px);
  padding: 0.42em 0.82em 0.40em;
  border: 0.12em solid rgba(255, 72, 91, 0.98);
  color: rgba(255, 78, 96, 0.99);
  background: linear-gradient(180deg, rgba(6, 0, 4, 0.58), rgba(2, 0, 3, 0.72));
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.44),
    0 0 0 5px rgba(255, 72, 91, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.34);
  font-family: Orbitron, Rajdhani, sans-serif;
  font-size: clamp(22px, 4.8vw, 60px);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.85),
    0 0 8px rgba(0,0,0,0.42),
    0 0 22px rgba(255,72,91,0.18);
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.72);
  opacity: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  mix-blend-mode: normal;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

[data-light-dark-banner] .ld-classified-stamp::before {
  content: "";
  position: absolute;
  inset: -0.28em;
  z-index: -1;
  border: 2px solid rgba(0, 0, 0, 0.32);
  background: rgba(0, 0, 0, 0.16);
  box-shadow: 0 0 22px rgba(0,0,0,0.18) inset;
}

.deployment-record-art[data-light-dark-banner] .ld-classified-stamp {
  width: min(88%, 980px);
  font-size: clamp(20px, 3.8vw, 58px);
}

.deployment-tile-art[data-light-dark-banner] .ld-classified-stamp {
  font-size: clamp(18px, 3.2vw, 42px);
  width: min(88%, 720px);
}


.deployment-record-art[data-light-dark-banner]::after {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {

  [data-light-dark-banner] .ld-banner-image {
    transition: none;
  }
}

@media (max-width: 720px) {
  [data-light-dark-banner] .ld-classified-stamp {
    letter-spacing: 0.14em;
  }
}
