/* Event detail page — uses tokens from {locale}/editorial.css (ink, paper, clay, serif, sans, mono). */
.ev-inner { max-width: 1100px; }
.ev-head { padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.ev-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--clay); font: 800 11px/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.ev-chip { padding: 3px 6px; border: 1px solid var(--line-2); color: var(--ink-3); font: 800 10px/1.2 var(--sans); letter-spacing: .04em; }
.ev-chip.is-role { border-color: var(--ink); color: var(--ink); }
.ev-status { margin-left: auto; padding: 6px 10px; background: var(--ink); color: var(--paper); font: 800 10px/1.1 var(--sans); letter-spacing: .07em; }
.ev-code { margin: 30px 0 6px; color: var(--ink-3); font: 500 15px/1.3 var(--mono, ui-monospace, monospace); letter-spacing: .06em; }
.ev-head h1 { max-width: 980px; margin: 0; font: 600 clamp(36px, 5vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; }
.ev-tagline { max-width: 760px; margin: 22px 0 0; color: var(--ink-3); font: 400 italic 22px/1.35 var(--serif); }

.ev-facts { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr .7fr; margin: 0; border-bottom: 1px solid var(--ink); }
.ev-facts > div { min-width: 0; padding: 18px 20px 20px; border-left: 1px solid var(--line-2); }
.ev-facts > div:first-child { padding-left: 0; border-left: 0; }
.ev-facts dt { margin-bottom: 6px; color: var(--ink-3); font: 800 9px/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ev-facts dd { margin: 0; font: 700 15px/1.4 var(--sans); }
.ev-facts dd small { display: block; margin-top: 2px; color: var(--ink-3); font: 400 13px/1.4 var(--sans); }
.ev-facts .ev-big { display: block; font: 600 40px/1 var(--serif); }

.ev-photo-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 0; background: var(--paper-2); cursor: zoom-in; }
.ev-photo-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-photo-button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.ev-cover { margin: 34px 0 0; }
.ev-cover .ev-photo-button { aspect-ratio: 16 / 8; overflow: hidden; }
.ev-cover figcaption, .ev-shot figcaption { display: flex; gap: 10px; margin-top: 10px; color: var(--ink-3); font: 400 13px/1.45 var(--sans); }
.ev-cover figcaption span { margin-left: auto; white-space: nowrap; }

.ev-columns { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; margin-top: 56px; }
.ev-main h2, .ev-box h2, .ev-gallery-head h2 { margin: 0 0 16px; padding-top: 12px; border-top: 2px solid var(--ink); font: 800 11px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.ev-main h2:not(:first-child) { margin-top: 44px; }
.ev-main p { max-width: 680px; margin: 0 0 16px; color: var(--ink-2); font: 400 17px/1.62 var(--sans); }
.ev-main p.ev-lead { color: var(--ink); font: 400 25px/1.35 var(--serif); }
.ev-panels { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.ev-panels li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.ev-panels span { color: var(--clay); font: 800 10px/1.6 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.ev-panels strong { font: 600 21px/1.25 var(--serif); }
.ev-countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ev-countries li { padding: 7px 11px; border: 1px solid var(--ink); font: 700 11px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }

.ev-aside { display: flex; flex-direction: column; gap: 30px; }
.ev-box p { margin: 0; color: var(--ink-3); font: 400 14px/1.55 var(--sans); }
.ev-box h3 { margin: 20px 0 10px; color: var(--ink-3); font: 800 9px/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ev-mini { display: flex; gap: 10px; align-items: baseline; margin: 0 0 10px; }
.ev-mini dt { color: var(--ink-3); font: 800 9px/1.35 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ev-mini dd { margin: 0; color: var(--clay); font: 700 14px/1.3 var(--sans); }
.ev-people { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.ev-people li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.ev-people img { width: 56px; height: 56px; object-fit: cover; background: var(--paper-2); }
.ev-people strong { display: block; font: 600 19px/1.15 var(--serif); }
.ev-people span { color: var(--ink-3); font: 400 12px/1.4 var(--sans); }
.ev-text-link, .ev-sources a, .ev-orgs a { color: var(--ink); border-bottom: 1px solid var(--ink); font: 800 11px/1.5 var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.ev-orgs, .ev-sources ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font: 600 14px/1.4 var(--sans); }
.ev-orgs a { text-transform: none; letter-spacing: 0; font: 600 14px/1.4 var(--sans); }
.ev-register { margin-top: 4px; }

.ev-gallery-wrap { margin-top: 72px; }
.ev-gallery-head { display: flex; justify-content: space-between; align-items: baseline; }
.ev-gallery-head span { font: 500 13px/1 var(--mono, ui-monospace, monospace); color: var(--ink-3); }
.ev-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 18px; }
.ev-shot { margin: 0; min-width: 0; }
.ev-shot .ev-photo-button { overflow: hidden; }
.ev-shot.is-wide { grid-column: span 8; }
.ev-shot.is-wide .ev-photo-button { aspect-ratio: 16 / 9; }
/* Portrait shots fill the height of the row set by their landscape neighbour. */
.ev-shot.is-tall { display: flex; flex-direction: column; grid-column: span 4; }
.ev-shot.is-tall .ev-photo-button { position: relative; flex: 1; min-height: 280px; }
.ev-shot.is-tall .ev-photo-button img { position: absolute; inset: 0; }
.ev-shot.is-half { grid-column: span 6; }
.ev-shot.is-half .ev-photo-button { aspect-ratio: 16 / 9; }
.ev-shot.is-full { grid-column: 1 / -1; }
.ev-shot.is-full .ev-photo-button { aspect-ratio: 21 / 8; }
.ev-shot figcaption span { flex: none; color: var(--clay); font: 500 11px/1.6 var(--mono, ui-monospace, monospace); }
.ev-photo-button img { transition: transform .5s ease; }
.ev-photo-button:hover img { transform: scale(1.02); }
.ev-credit { margin: 22px 0 0; color: var(--ink-3); font: 400 12px/1.4 var(--sans); }
.ev-back-bottom { margin: 56px 0 0; }

.ev-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(20, 19, 17, .94); }
.ev-lightbox figure { display: flex; flex-direction: column; max-width: 100%; max-height: 100%; margin: 0; }
.ev-lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.ev-lightbox figcaption { display: flex; gap: 14px; margin-top: 12px; color: #f2eee4; font: 400 14px/1.45 var(--sans); }
.ev-lightbox figcaption span { flex: none; color: #e7a49c; font: 500 12px/1.6 var(--mono, ui-monospace, monospace); }
.ev-lightbox button { position: absolute; border: 1px solid #f2eee4; border-radius: 0; background: transparent; color: #f2eee4; font: 800 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ev-lightbox-close { top: 16px; right: 16px; padding: 10px 14px; }
.ev-lightbox-nav { top: 50%; width: 44px; height: 44px; font-size: 18px !important; transform: translateY(-50%); }
.ev-lightbox-nav.is-prev { left: 14px; }
.ev-lightbox-nav.is-next { right: 14px; }
.ev-lightbox button:hover { background: #f2eee4; color: #141311; }

@media (max-width: 900px) {
  .ev-facts { grid-template-columns: 1fr 1fr; }
  .ev-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ev-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .ev-columns { grid-template-columns: 1fr; gap: 44px; }
  .ev-shot.is-wide, .ev-shot.is-half { grid-column: span 12; }
  .ev-shot.is-tall { grid-column: span 6; }
  .ev-shot.is-tall .ev-photo-button { aspect-ratio: 9 / 14; flex: none; min-height: 0; }
  .ev-shot.is-tall .ev-photo-button img { position: static; }
}
@media (max-width: 600px) {
  .ev-status { margin-left: 0; }
  .ev-code { margin-top: 22px; }
  .ev-tagline { font-size: 19px; }
  .ev-facts { grid-template-columns: 1fr; }
  .ev-facts > div { padding: 14px 0 !important; border-left: 0 !important; border-top: 1px solid var(--line-2); }
  .ev-facts > div:first-child { border-top: 0; }
  .ev-cover .ev-photo-button { aspect-ratio: 4 / 3; }
  .ev-cover figcaption { flex-direction: column; gap: 2px; }
  .ev-cover figcaption span { margin-left: 0; }
  .ev-main p.ev-lead { font-size: 21px; }
  .ev-panels li { grid-template-columns: 1fr; gap: 4px; }
  .ev-gallery { gap: 22px 10px; }
  .ev-shot.is-full .ev-photo-button { aspect-ratio: 4 / 3; }
  .ev-lightbox { padding: 60px 10px 70px; }
  .ev-lightbox-nav { top: auto; bottom: 14px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .ev-photo-button img { transition: none; } .ev-photo-button:hover img { transform: none; } }
.editorial-event-card-role { margin-top: 10px; }

/* Seminar additions (14 Nov 2026): speakers list, posters shown whole. */
.ev-speakers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.ev-speakers li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.ev-speakers strong { font: 600 21px/1.2 var(--serif); }
.ev-speakers span { color: var(--ink-3); font: 400 13px/1.45 var(--sans); }
.ev-speakers em { margin-top: 4px; font-style: normal; }
.ev-shot.is-contain .ev-photo-button { background: var(--paper-2); }
.ev-shot.is-contain img { object-fit: contain; }
@media (max-width: 600px) { .ev-speakers { grid-template-columns: 1fr; } }
/* Morocco series additions (14 Nov 2026): series box, portrait cover, three-up portrait gallery. */
.ev-series-name { margin: -4px 0 12px !important; color: var(--ink) !important; font: 600 17px/1.3 var(--serif) !important; }
.ev-series ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.ev-series li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font: 400 13px/1.4 var(--sans); }
.ev-series li span { color: var(--ink-3); font: 500 11px/1.6 var(--mono, ui-monospace, monospace); }
.ev-series li a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ev-series li a:hover { color: var(--clay); }
.ev-series li.is-current strong { color: var(--clay); font-weight: 700; }
.ev-cover.is-portrait .ev-photo-button { aspect-ratio: auto; display: flex; justify-content: center; background: var(--paper-2); }
.ev-cover.is-portrait img { width: auto; max-width: 100%; max-height: 760px; height: auto; object-fit: contain; }
.ev-shot.is-third { grid-column: span 4; }
.ev-shot.is-third .ev-photo-button { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .ev-shot.is-third { grid-column: span 6; } .ev-cover.is-portrait .ev-photo-button { aspect-ratio: auto; } }
