/* News & event pages: event facts, photo gallery, videos, lightbox (loaded only where needed) */
.event-phase { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.event-phase::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.event-phase.upcoming { background: var(--accent-50); color: var(--accent-600); border-color: transparent; }
.event-phase.live { background: #e7f6ef; color: var(--ok); border-color: transparent; }
.event-phase.live::before { animation: ev-pulse 1.4s infinite; }
@keyframes ev-pulse { 50% { opacity: .25; } }
.post-meta .em { font-weight: 600; color: var(--ink-2); }

.event-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.event-facts > div { padding: 16px 20px; border-inline-start: 1px solid var(--line); min-width: 0; }
.event-facts > div:first-child { border-inline-start: 0; }
.event-facts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.event-facts dt .i { width: 16px; height: 16px; color: var(--accent-600); }
.event-facts dd { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; }
.event-facts dd small, .event-facts dd .link { display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.event-facts dd .link { color: var(--brand); }
.event-facts dd .link .i { width: 13px; height: 13px; }
@media (max-width: 560px) { .event-facts > div { border-inline-start: 0; border-top: 1px solid var(--line); } .event-facts > div:first-child { border-top: 0; } }

.post-gallery, .post-videos { margin-top: 40px; }
.post-gallery h2, .post-videos h2 { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin-bottom: 16px; }
.post-gallery h2 small { font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 2px 10px; }
.post-gallery h2 .i, .post-videos h2 .i { color: var(--accent-600); }
.pgal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pgal a { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pgal a.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pgal img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.pgal a:hover img, .pgal a:focus-visible img { transform: scale(1.04); }
.pgal a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 15, 46, .25)); opacity: 0; transition: opacity .25s; }
.pgal a:hover::after { opacity: 1; }
@media (max-width: 700px) { .pgal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .pgal a.wide { grid-row: auto; aspect-ratio: 3 / 2; } }
.post-videos video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #0a0f2e; display: block; }
.post-videos .grid { gap: 16px; }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(6, 9, 28, .94); color: #fff; }
.lightbox::backdrop { background: rgba(6, 9, 28, .94); }
.lightbox figure { margin: 0; position: absolute; inset: 56px 64px 64px; display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-btn:hover, .lightbox .lb-btn:focus-visible { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 12px; inset-inline-end: 12px; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { inset-inline-start: 10px; }
.lightbox .lb-next { inset-inline-end: 10px; }
.lightbox .lb-count { position: absolute; bottom: 20px; inset-inline: 0; text-align: center; font-size: .85rem; opacity: .8; }
@media (max-width: 700px) { .lightbox figure { inset: 56px 8px 64px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }

