/* North Garrison · archivo de eventos (Drive) y visor. Complementa ng.css (congelado) con sus mismas variables. */
.ev-rolls { display: grid; gap: 30px; margin-bottom: 26px; min-width: 0; }
.ev-rolls > * { min-width: 0; }
.ev { overflow: hidden; }
.ev .film-h { margin-bottom: 4px; }
.ev-t { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; color: var(--white); overflow-wrap: anywhere; }
.film.ev-film { display: block; padding: 22px 12px; margin: 0; }
.ev-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--pur) transparent; -webkit-overflow-scrolling: touch; }
.ev-ph { position: relative; flex: none; width: 168px; aspect-ratio: 4 / 5; padding: 0; border: 0; background: #120e19; scroll-snap-align: start; cursor: zoom-in; overflow: hidden; }
.ev-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .3s; filter: saturate(.92); }
.ev-ph:hover img, .ev-ph:focus-visible img { transform: scale(1.05); filter: none; }
.ev-ph:first-child { width: 220px; outline: 3px solid var(--gold-2); outline-offset: -8px; }
.ev-more { justify-self: start; padding: 12px 18px; border: 1.5px solid var(--pur-3); background: none; color: var(--white); font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.ev-more:hover { background: var(--pur); border-color: var(--pur); }
/* Visor */
.ev-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 3, 8, .96); color: var(--white); }
.ev-lb::backdrop { background: rgba(5, 3, 8, .9); }
.ev-lb figure { display: grid; place-items: center; align-content: center; gap: 12px; height: 100%; margin: 0; padding: 56px 16px 20px; }
.ev-lb img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; box-shadow: 0 30px 60px -20px #000; }
.ev-lb figcaption { display: grid; gap: 2px; text-align: center; }
.ev-lb figcaption b { font-family: var(--disp); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.ev-lb figcaption span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--gold-2); text-transform: uppercase; }
.ev-x, .ev-nav { position: absolute; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(13, 9, 21, .7); color: #fff; font: 400 30px/1 var(--sans); cursor: pointer; }
.ev-x { top: 12px; right: 12px; width: 44px; height: 44px; }
.ev-nav { top: 50%; width: 48px; height: 64px; transform: translateY(-50%); }
.ev-prev { left: 10px; }
.ev-next { right: 10px; }
.ev-x:hover, .ev-nav:hover { background: var(--gold); color: var(--ink); }
@media (max-width: 640px) {
  .ev-ph { width: 132px; }
  .ev-ph:first-child { width: 170px; }
  .ev-nav { width: 40px; height: 54px; }
}
/* Command Staff con fotos (staff.js): la foto llena el marco y el filete dorado queda encima */
.st-ph-img { overflow: hidden; }
.st-ph-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-ph-img::before { z-index: 1; }
/* Avisos rápidos (avisos.js): tantas columnas como avisos haya */
@media (min-width: 1001px) {
  .news-list[data-n="1"] { grid-template-columns: 1fr; }
  .news-list[data-n="2"] { grid-template-columns: repeat(2, 1fr); }
}

/* Base Imperial (foro de miembros): enlace con marco dorado en el menú y en el pie */
.nav .nav-base { display: inline-flex; align-items: center; margin-left: 6px; box-shadow: inset 0 0 0 1px rgba(217, 169, 61, .55); color: var(--gold-2); }
.nav .nav-base:hover { color: var(--ink); background: var(--gold); }
@media (max-width: 1100px) { .nav .nav-base { justify-content: center; margin: 8px 0 0; } }
.ft-base { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ft-base a { color: var(--gold-2); text-underline-offset: 4px; }
