@font-face { font-family: "Manrope"; src: url('/assets/manrope-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url('/assets/manrope-600.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url('/assets/manrope-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url('/assets/manrope-800.woff2') format('woff2'); font-style: normal; font-weight: 800; font-display: swap; }
:root {
  --navy-950: #0b1b33;
  --navy-900: #102543;
  --navy-800: #173b67;
  --blue: #0847aa;
  --ink: #111f32;
  --muted: #657287;
  --paper: #ffffff;
  --surface: #f3f6fa;
  --line: #dce3ec;
  --red: #c8102e;
  --red-dark: #a60c25;
  --white: #ffffff;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; min-height: 100dvh; background: var(--paper); color: var(--ink); font: 16px/1.6 "Manrope", "Segoe UI", sans-serif; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #e39543; outline-offset: 3px; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--navy-950); color: var(--white); }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 30; background: var(--white); }
.header-top { width: min(1280px, calc(100% - 48px)); min-height: 96px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { width: 266px; height: auto; }
.brand-description { padding-left: 24px; border-left: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.header-phones { margin-left: auto; display: grid; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.65; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions a { min-height: 44px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; font-size: 13px; font-weight: 700; }
.header-write { border: 1px solid var(--navy-800); color: var(--navy-800); }
.header-contacts { background: var(--red); color: var(--white); }
.nav-shell { background: var(--navy-950); color: var(--white); }
.nav-panel { width: min(1280px, calc(100% - 48px)); min-height: 58px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-panel nav { display: flex; align-items: center; gap: 4px; }
.nav-panel nav a { min-height: 58px; padding: 14px 15px; display: inline-flex; align-items: center; border-bottom: 3px solid transparent; font-size: 13px; font-weight: 650; transition: background 160ms ease, border-color 160ms ease; }
.nav-panel nav a:hover { border-bottom-color: var(--red); background: var(--navy-900); }
.header-search { width: 260px; display: flex; align-items: center; border: 1px solid #40516a; border-radius: 7px; background: #142945; }
.header-search input { min-width: 0; width: 100%; height: 36px; padding: 6px 12px; border: 0; background: transparent; color: var(--white); font-size: 12px; }
.header-search input::placeholder { color: #a8b4c6; }
.header-search button { width: 38px; height: 36px; border: 0; background: transparent; color: var(--white); font-size: 21px; }
.menu-toggle { display: none; min-width: 48px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; gap: 4px; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; transition: transform 160ms ease, opacity 160ms ease; }
.menu-toggle b { margin-left: 5px; font-size: 12px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
main { min-height: 65vh; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.8px; }
h1 { max-width: 19ch; font-size: clamp(40px, 5vw, 68px); }
h2 { font-size: clamp(30px, 3.2vw, 44px); }
h3 { font-size: 23px; }
.eyebrow, .home-hero-copy > span, .page-head > span, .section-head span, .home-about-copy > span, .participation-band > div > span, .home-contact > div > span, .detail-hero-content > span { color: #df5364; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.button { min-height: 48px; padding: 12px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 7px; font-size: 14px; font-weight: 750; transition: background 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-1px); }
.primary { background: var(--red); color: var(--white); }
.primary:hover { background: var(--red-dark); }
.secondary { border: 1px solid #8492a8; color: var(--white); background: transparent; }
.secondary:hover { background: #ffffff12; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home-hero { position: relative; min-height: 696px; display: flex; align-items: center; overflow: hidden; padding: 64px max(48px, calc((100% - 1280px) / 2)); background: url('/assets/home-hero.jpg') center / cover no-repeat; color: var(--white); }
.home-hero::before { display: none; }
.home-hero-copy { position: relative; z-index: 2; width: min(680px, 62%); }
.home-hero h1 { max-width: 700px; margin-top: 20px; font-size: clamp(44px, 4.2vw, 60px); font-weight: 800; }
.home-hero h1 span { display: block; color: #ef334f; }
.home-hero-copy p { max-width: 54ch; margin: 24px 0 0; color: #e4eaf2; font-size: 17px; }
.hero-visual-card { display: none; }
.hero-visual-card img { width: 100%; height: 172px; object-fit: cover; }
.hero-visual-card figcaption { padding: 12px 8px 8px; display: grid; gap: 4px; }
.hero-visual-card strong { font-size: 14px; }
.hero-visual-card span { color: var(--muted); font-size: 11px; }
.hero-location { display: none; }
.facts-strip { position: relative; z-index: 3; width: min(1280px, calc(100% - 48px)); margin: -62px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); box-shadow: 0 12px 36px #10254318; }
.facts-strip > div { min-height: 164px; padding: 28px 36px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.facts-strip > div:last-child { border-right: 0; }
.facts-strip strong { color: var(--blue); font-size: 38px; font-weight: 800; line-height: 1.1; }
.facts-strip strong::before { content: ""; display: block; width: 24px; height: 4px; margin-bottom: 14px; background: var(--red); }
.facts-strip span { margin-top: 6px; color: var(--muted); font-size: 12px; }
.home-section, .home-about, .home-video-section, .home-gallery, .home-contact, .partner-section, .participant-section, .documents, .archive-list, .video-grid, .photo-grid, .pagination, .search-form, .search-results, .empty-state, .legal-body, .contact-card, .narrow-body, .event-count { width: min(1240px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.home-section { padding: 84px 0 24px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin-top: 9px; }
.section-head > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue); font-size: 13px; font-weight: 750; }
.event-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; margin-bottom: 72px; }
.event-card { position: relative; min-height: 290px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 160ms ease, box-shadow 160ms ease; }
.event-card:first-child { grid-row: span 2; min-height: 620px; }
.event-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px #10254314; }
.event-card > img { width: 100%; height: 190px; object-fit: cover; }
.event-card:first-child > img { height: 340px; }
.event-label { margin: 22px 26px 0; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.event-card h3 { margin: 12px 26px 0; font-size: clamp(24px, 2.5vw, 34px); }
.event-card:first-child h3 { text-align: center; }
.event-meta { margin: 14px 26px 0; color: var(--muted); font-size: 13px; }
.event-link { margin: auto 26px 24px; padding-top: 22px; color: var(--blue); font-size: 13px; font-weight: 800; }
.home-cta { min-height: 300px; padding: 34px; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--red); color: var(--white); }
.home-cta > span { color: #ffd5db; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.home-cta h3 { margin-top: 16px; font-size: 30px; }
.home-cta p { color: #ffe3e7; font-size: 14px; }
.home-cta a { min-height: 48px; margin-top: auto; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--white); color: var(--red); font-size: 13px; font-weight: 800; }
.participation-band { padding: 64px max(48px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; background: var(--navy-950); color: var(--white); }
.participation-band h2 { margin-top: 10px; }
.participation-band ol { margin: 34px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.participation-band li { display: grid; gap: 7px; }
.participation-band li b { color: #df5364; font-size: 13px; }
.participation-band li p { margin: 0; color: #b9c6d8; font-size: 13px; }
.participation-band > img { width: 100%; height: 330px; object-fit: cover; border-radius: 8px; }
.home-about { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.home-about-copy h2 { margin: 10px 0 24px; }
.legacy-body { overflow-wrap: anywhere; color: var(--ink); }
.legacy-body p { max-width: 1000px; }
.legacy-body img { height: auto; margin: 18px auto; }
.legacy-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legacy-body hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.legacy-body table { display: block; overflow-x: auto; }
.home-about .legacy-body { color: #526176; font-size: 15px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue); font-size: 13px; font-weight: 800; }
.about-collage { position: relative; min-height: 420px; }
.about-collage img:first-child { width: 82%; height: 350px; margin-left: auto; object-fit: cover; border-radius: 8px; }
.about-collage img:last-child { position: absolute; left: 0; bottom: 0; width: 48%; height: 190px; object-fit: cover; border: 10px solid var(--white); }
.home-video-section { padding-top: 70px; padding-bottom: 70px; }
.home-video-section::before { content: ""; position: absolute; left: 0; right: 0; margin-top: -70px; height: 500px; z-index: -1; background: var(--surface); }
.home-video-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.home-video-card { min-width: 0; padding: 14px; border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px #1025430c; }
.home-video-card h3 { margin: 18px 8px 8px; font-size: 20px; }
.home-video-card > a { margin: 0 8px 8px; display: inline-block; color: var(--blue); font-size: 12px; font-weight: 750; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px; background: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-gallery { padding-top: 80px; padding-bottom: 80px; }
.home-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; }
.home-gallery-grid a { overflow: hidden; border-radius: 7px; background: var(--surface); }
.home-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.home-gallery-grid a:hover img { transform: scale(1.025); }
.gallery-tile-1 { grid-column: span 2; grid-row: span 2; }
.home-contact { margin-bottom: 72px; padding: 46px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; background: var(--navy-950); color: var(--white); }
.home-contact h2 { margin: 10px 0 22px; }
.home-contact p { color: #c2cede; }
.home-contact > div > a:not(.button) { margin-right: 22px; display: inline-flex; font-weight: 700; }
.home-contact-action { padding: 30px; background: var(--white); color: var(--ink); }
.home-contact-action p { color: var(--muted); }
.page-head { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 38px; }
.page-head h1 { margin-top: 12px; font-size: clamp(38px, 5vw, 58px); }
.page-head p { max-width: 65ch; color: var(--muted); }
.detail-hero { position: relative; min-height: 728px; display: flex; align-items: center; overflow: hidden; padding: 56px max(48px, calc((100% - 1280px) / 2)); background: url('/assets/event-hero.jpg') center / cover no-repeat; color: var(--white); }
.detail-hero::before { display: none; }
.detail-hero-bg { display: none; }
.detail-hero-content { position: relative; z-index: 2; width: 72%; }
.detail-hero h1 { max-width: 100%; margin-top: 12px; font-size: clamp(38px, 4.6vw, 58px); font-weight: 800; overflow-wrap: normal; word-break: normal; }
.detail-hero p { max-width: 65ch; margin-top: 20px; }
.back-link { min-height: 44px; margin-bottom: 20px; display: flex; align-items: center; font-size: 13px; }
.detail-hero-content > span { display: block; margin-bottom: 8px; }
.detail-poster { display: none; }
.detail-poster img { width: 100%; height: 210px; object-fit: cover; }
.detail-body { width: min(1120px, calc(100% - 48px)); margin: 54px auto; }
.event-count { margin-top: 34px; padding: 22px 28px; display: flex; align-items: baseline; gap: 16px; background: var(--surface); }
.event-count strong { color: var(--red); font-size: 42px; line-height: 1; }
.documents, .participant-section, .partner-section { margin-bottom: 72px; }
.document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.document-list a { min-height: 62px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.document-list a:hover { border-color: var(--red); }
.document-list small { color: var(--muted); font-weight: 700; }
.participant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.participant-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.participant-logo { height: 130px; margin-bottom: 22px; padding: 12px; display: grid; place-items: center; background: var(--white); }
.participant-logo img { max-height: 110px; object-fit: contain; }
.participant-card h3 { font-size: 22px; }
.participant-card p { white-space: pre-line; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-grid > a, .logo-grid > div { min-height: 112px; padding: 16px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.logo-grid img { max-width: 100%; max-height: 80px; object-fit: contain; }
.archive-catalog { width: min(1240px, calc(100% - 48px)); margin: 0 auto 80px; display: grid; grid-template-columns: 190px 1fr; gap: 28px; }
.archive-years { padding: 18px; align-self: start; border: 1px solid var(--line); border-radius: var(--radius); }
.archive-years strong { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.archive-years a { min-height: 42px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; border-radius: 6px; font-size: 13px; }
.archive-years a.active { background: var(--navy-950); color: var(--white); }
.archive-filter { margin-bottom: 20px; display: flex; gap: 10px; }
.archive-filter input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; }
.archive-filter button { min-height: 46px; padding: 10px 18px; border: 0; border-radius: 7px; background: var(--blue); color: var(--white); }
.archive-catalog .archive-list { width: 100%; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.archive-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 72px; }
.archive-list > a { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.archive-list > a:hover { border-color: var(--blue); box-shadow: 0 12px 28px #10254312; }
.archive-list img { width: 100%; height: 190px; object-fit: cover; }
.archive-list span { margin: 20px 22px 0; color: var(--red); font-size: 12px; font-weight: 750; }
.archive-list h2 { margin: 10px 22px 24px; font-size: 25px; }
.archive-list b { margin: auto 22px 20px; color: var(--blue); font-size: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 72px; }
.video-card { min-width: 0; }
.video-card h2 { margin-bottom: 16px; font-size: 25px; }
.gallery-links { width: min(1180px, calc(100% - 48px)); margin: 0 auto 36px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.photo-grid a { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 7px; background: var(--surface); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease; }
.photo-grid a:hover img { transform: scale(1.025); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-bottom: 64px; }
.pagination a { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue); font-weight: 700; }
.contact-card { max-width: 800px; margin-bottom: 72px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search-form { margin-bottom: 34px; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 650; }
.search-form > div { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.search-results { display: grid; gap: 12px; margin-bottom: 64px; }
.search-results article { padding: 22px; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 27px; }
.search-results p, .empty-state { color: var(--muted); }
.empty-state { margin-bottom: 64px; }
.legal-body { max-width: 860px; margin-bottom: 72px; }
.legal-body p { margin: 0 0 20px; font-size: 17px; }
.legal-body nav { margin-top: 34px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); }
.legal-body nav a { color: var(--blue); }
.site-footer { background: var(--navy-950); color: #c1cddd; }
.footer-main { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0; display: grid; grid-template-columns: 260px 1fr auto; gap: 54px; align-items: start; }
.footer-brand { padding: 12px; display: block; background: var(--white); }
.footer-brand img { width: 100%; }
.footer-main nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; font-size: 13px; }
.footer-contacts { display: grid; gap: 8px; color: var(--white); font-size: 14px; font-weight: 650; }
.footer-legal { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #2b3c55; font-size: 11px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cookie-banner { position: fixed; z-index: 80; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(980px, calc(100% - 32px)); display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 12px 40px #14263830; }
.cookie-banner p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }
.cookie-banner a { color: var(--red-dark); text-decoration: underline; }
.cookie-banner details { grid-column: 1 / -1; font-size: 13px; }
.cookie-banner summary { min-height: 36px; cursor: pointer; }
.cookie-banner button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 650; }
.cookie-banner [data-cookie-choice="all"] { border-color: var(--red); background: var(--red); color: var(--white); }
.cookie-actions { display: flex; align-items: center; gap: 8px; }
.form-page { width: min(820px, calc(100% - 40px)); margin: 0 auto 72px; }
.public-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.public-form label, .admin-edit-form label { display: grid; gap: 8px; color: var(--navy-800); font-size: 14px; font-weight: 700; }
.public-form input, .public-form select, .public-form textarea, .admin-edit-form input, .admin-edit-form select, .admin-edit-form textarea, .admin-search input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.public-form textarea, .admin-edit-form textarea { resize: vertical; }
.public-form > label:has(textarea), .public-form .consent-field, .public-form > button { grid-column: 1 / -1; }
.consent-field { display: flex !important; align-items: flex-start; gap: 12px !important; font-weight: 500 !important; }
.consent-field input { width: 22px; min-height: 22px; flex: 0 0 22px; margin-top: 3px; }
.consent-field a { color: var(--blue); text-decoration: underline; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.auth-card { width: min(620px, calc(100% - 40px)); margin: 48px auto; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.auth-card h1 { max-width: 16ch; margin: 16px 0 20px; font-size: clamp(32px, 5vw, 46px); }
.auth-card p { color: var(--muted); }
.auth-form { display: grid; gap: 18px; margin-top: 26px; }
.auth-form label { display: grid; gap: 8px; color: var(--navy-800); font-size: 14px; font-weight: 700; }
.auth-form input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.auth-form .button { width: 100%; min-height: 52px; }
.secondary-dark { background: var(--navy-800); color: var(--white); }
.form-error { padding: 12px 16px; border-left: 3px solid var(--red); background: #f7e7e5; color: var(--red-dark) !important; }
.enrollment { margin: 26px 0; display: flex; align-items: center; gap: 24px; }
.enrollment img { flex: 0 0 auto; border-radius: 12px; }
.enrollment div { display: grid; gap: 12px; min-width: 0; }
.enrollment code { display: block; overflow-wrap: anywhere; color: var(--navy-800); font-size: 18px; }
.enrollment small, .auth-card small { color: var(--muted); }
.recovery-entry { margin-top: 24px; }
.recovery-entry summary { min-height: 44px; cursor: pointer; font-weight: 700; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.recovery-code { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--navy-800); text-align: center; overflow-wrap: anywhere; }
.admin-body { background: var(--surface); }
.admin-shell { min-height: 100dvh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100dvh; padding: 18px 14px; display: flex; flex-direction: column; background: var(--navy-950); color: #c2cede; }
.admin-brand { padding: 8px; display: block; }
.admin-brand img { width: 100%; border-radius: 6px; }
.admin-brand span { margin-top: 8px; display: block; color: #8ea0b8; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; }
.admin-caption { margin: 24px 12px 10px; color: #71869f; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.admin-tabs { display: grid; gap: 4px; }
.admin-tabs a { min-height: 46px; padding: 11px 14px; display: flex; align-items: center; border-radius: 7px; font-size: 13px; font-weight: 600; }
.admin-tabs a:hover { background: var(--navy-900); color: var(--white); }
.admin-tabs a.active { background: var(--red); color: var(--white); }
.admin-site-link { margin-top: auto; padding: 16px 12px; border-top: 1px solid #2a3a53; font-size: 13px; }
.admin-sidebar > small { padding: 4px 12px; color: #647991; font-size: 10px; }
.admin-workspace { min-width: 0; }
.admin-top { min-height: 76px; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: var(--white); }
.admin-global-search { width: min(420px, 42%); display: flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.admin-global-search input { width: 100%; min-width: 0; height: 40px; padding: 8px 12px; border: 0; background: transparent; }
.admin-global-search button { width: 42px; height: 40px; border: 0; background: transparent; font-size: 20px; }
.admin-user { display: flex; align-items: center; gap: 20px; }
.admin-user > span { display: grid; text-align: right; }
.admin-user > span b { font-size: 13px; }
.admin-user > span small { color: var(--muted); font-size: 10px; }
.admin-preview-link { min-height: 42px; padding: 9px 16px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; font-weight: 700; }
.admin-user form { margin: 0; }
.admin-user form button { min-height: 42px; padding: 9px 16px; border: 0; border-radius: 7px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; }
.admin-main { width: min(1500px, calc(100% - 56px)); margin: 0 auto; padding: 32px 0 64px; }
.admin-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-heading h1, .admin-card h1 { max-width: none; font-size: clamp(30px, 4vw, 42px); }
.admin-heading p { margin-bottom: 0; color: var(--muted); }
.admin-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.admin-metrics > div { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.admin-metrics strong { display: block; color: var(--ink); font-size: 33px; line-height: 1.1; }
.admin-metrics span { color: var(--muted); font-size: 12px; }
.admin-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.admin-card h2 { font-size: 22px; }
.admin-list { margin-top: 16px; display: grid; }
.admin-list > a, .admin-list > div { min-height: 44px; padding: 10px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.admin-list b { color: var(--blue); }
.admin-button { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; }
.admin-button:hover { background: var(--red-dark); }
.admin-subtabs { margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-subtabs a { min-height: 42px; padding: 9px 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 12px; }
.admin-subtabs a.active { border-color: var(--navy-950); background: var(--navy-950); color: var(--white); }
.admin-notice { padding: 12px 16px; border-radius: 8px; background: #e5f5e9; color: #24633a; }
.admin-search { margin: 18px 0; display: flex; gap: 8px; }
.admin-search input { max-width: 440px; }
.admin-search button, .admin-search a { min-height: 44px; padding: 10px 16px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.admin-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.admin-table table { min-width: 720px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--surface); color: var(--muted); font-size: 11px; text-transform: uppercase; }
.admin-table td a { color: var(--blue); }
.admin-actions { white-space: nowrap; }
.admin-actions form { display: inline; }
.admin-actions button { min-height: 36px; border: 0; background: transparent; color: var(--red); text-decoration: underline; }
.admin-table-logo { width: 96px; height: 48px; object-fit: contain; }
.admin-edit-form { display: grid; gap: 18px; }
.admin-check { display: flex !important; align-items: center; }
.admin-check input { width: 22px; min-height: 22px; }
.admin-details { display: grid; }
.admin-details > div { padding: 10px 0; display: grid; grid-template-columns: 160px 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.admin-details dt { color: var(--muted); }
.admin-details dd { margin: 0; overflow-wrap: anywhere; }
.admin-status { padding: 4px 8px; border-radius: 6px; background: var(--surface); font-size: 12px; }
.admin-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.admin-media-grid article { min-width: 0; padding: 12px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.admin-media-grid img, .admin-file-icon { width: 100%; height: 140px; object-fit: contain; background: var(--surface); }
.admin-file-icon { display: grid; place-items: center; color: var(--muted); }
.admin-media-grid code { overflow-wrap: anywhere; font-size: 11px; }
.admin-media-grid small { color: var(--muted); }
.admin-legal-grid { display: grid; gap: 18px; }
.admin-preview { max-height: 220px; overflow-y: auto; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 1180px) {
  .brand-description { display: none; }
  .hero-visual-card { width: 315px; }
  .home-hero-copy { width: 65%; }
  .admin-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .admin-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-top { min-height: 80px; gap: 16px; }
  .brand img { width: 188px; }
  .header-phones { display: none; }
  .header-actions { margin-left: auto; }
  .header-write { display: none !important; }
  .nav-shell { padding: 8px 16px; }
  .nav-panel { width: 100%; min-height: 44px; display: none; padding: 8px 0; }
  .nav-panel.is-open { display: grid; gap: 10px; }
  .menu-toggle { display: flex; }
  .nav-panel nav { display: grid; gap: 0; }
  .nav-panel nav a { min-height: 42px; padding: 7px 4px; border-bottom: 1px solid #2a3b54; }
  .header-search { width: 100%; }
  .home-hero { min-height: 650px; align-items: flex-start; padding-top: 64px; }
  .home-hero-copy { width: 100%; }
  .hero-visual-card { right: 32px; bottom: 48px; width: 310px; }
  .hero-location { left: 32px; bottom: 22px; }
  .facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip > div:nth-child(2) { border-right: 0; }
  .facts-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .event-grid, .participation-band, .home-about, .home-contact { grid-template-columns: 1fr; }
  .event-card:first-child { grid-row: auto; }
  .participation-band { gap: 36px; }
  .participation-band > img { height: 300px; }
  .home-about { gap: 36px; }
  .home-video-grid { grid-template-columns: 1fr; }
  .detail-hero-content { width: 100%; }
  .detail-poster { display: none; }
  .archive-catalog { grid-template-columns: 1fr; }
  .archive-years { display: flex; flex-wrap: wrap; gap: 6px; }
  .archive-years strong { width: 100%; }
  .archive-years a { border: 1px solid var(--line); }
  .participant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 220px 1fr; }
  .footer-contacts { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
  .admin-shell { display: block; }
  .admin-sidebar { position: relative; height: auto; padding: 10px 16px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 16px; }
  .admin-brand { grid-row: 1; }
  .admin-brand span, .admin-caption, .admin-sidebar > small { display: none; }
  .admin-sidebar .menu-toggle { display: flex; grid-column: 3; grid-row: 1; }
  .admin-tabs { grid-column: 1 / -1; display: none; }
  .admin-tabs.is-open { display: grid; }
  .admin-site-link { grid-column: 1 / -1; margin: 0; }
  .admin-top { padding: 12px 18px; }
  .admin-global-search { width: 40%; }
  .admin-preview-link { display: none; }
}
@media (max-width: 640px) {
  .header-top { width: calc(100% - 28px); }
  .brand img { width: 170px; }
  .header-contacts { padding: 8px 11px !important; font-size: 11px !important; }
  .home-hero { min-height: 0; padding: 46px 24px 30px; display: block; background: url('/assets/home-hero-mobile.jpg') center / cover no-repeat; }
  .home-hero::before { content: ""; position: absolute; inset: 0; display: block; background: #0b1b3340; }
  .home-hero h1 { font-size: 43px; }
  .home-hero-copy p { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual-card { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin: 34px 0 0; display: block; }
  .hero-visual-card img { height: 140px; }
  .hero-location { display: none; }
  .facts-strip { width: calc(100% - 32px); }
  .facts-strip > div { min-height: 104px; padding: 18px; }
  .facts-strip strong { font-size: 28px; }
  .home-section, .home-about, .home-video-section, .home-gallery, .home-contact, .partner-section, .participant-section, .documents, .archive-list, .video-grid, .photo-grid, .pagination, .search-form, .search-results, .empty-state, .legal-body, .contact-card, .narrow-body, .event-count { width: calc(100% - 32px); }
  .home-section { padding-top: 64px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 31px; }
  .section-head > a { font-size: 11px; }
  .event-card, .event-card:first-child { min-height: 340px; }
  .event-card > img, .event-card:first-child > img { height: 190px; }
  .participation-band { padding: 46px 24px; }
  .participation-band ol { grid-template-columns: 1fr; }
  .home-about { padding-top: 64px; padding-bottom: 64px; }
  .about-collage { min-height: 330px; }
  .about-collage img:first-child { height: 280px; }
  .about-collage img:last-child { height: 140px; }
  .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .home-contact { padding: 30px 24px; gap: 28px; }
  .home-contact-action { padding: 22px; }
  .page-head { width: calc(100% - 32px); padding-top: 42px; }
  .detail-hero { min-height: 460px; padding: 38px 24px; background-position: left center; }
  .detail-body { width: calc(100% - 32px); margin: 36px auto; }
  .document-list, .participant-grid, .archive-catalog .archive-list, .video-grid { grid-template-columns: 1fr; }
  .archive-catalog { width: calc(100% - 32px); }
  .archive-filter { flex-direction: column; }
  .logo-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-gallery-grid { gap: 8px; }
  .footer-main { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { max-width: 240px; }
  .footer-contacts { grid-column: auto; }
  .footer-legal { width: calc(100% - 32px); }
  .cookie-banner { bottom: 8px; grid-template-columns: 1fr; max-height: calc(100dvh - 16px); overflow-y: auto; padding: 16px; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .cookie-actions button { width: 100%; }
  .public-form { grid-template-columns: 1fr; padding: 22px 16px; }
  .public-form > * { grid-column: 1; }
  .enrollment { flex-direction: column; align-items: flex-start; }
  .recovery-codes { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: 150px 1fr auto; }
  .admin-top { flex-wrap: wrap; gap: 10px; }
  .admin-global-search { width: 100%; }
  .admin-user { width: 100%; justify-content: space-between; }
  .admin-main { width: calc(100% - 28px); padding-top: 24px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-columns { grid-template-columns: 1fr; }
  .admin-search { flex-wrap: wrap; }
  .admin-details > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Useful account screens added with the exhibition and application workflows */
.admin-profile-form { width: min(760px, 100%); gap: 17px; }
.admin-profile-form > label, .admin-profile-form .builder-field-row > label { display: grid; gap: 7px; color: #30445c; font-size: 12px; font-weight: 750; }
.admin-profile-form input { width: 100%; }
.admin-profile-form label small { color: #77879a; font-size: 10px; font-weight: 500; line-height: 1.5; }
.admin-profile-form .admin-button { justify-self: start; min-height: 43px; padding: 11px 18px; }
.admin-reply-card { margin-top: 18px; }
.admin-reply-card > .admin-edit-form { display: grid; gap: 14px; }
.admin-reply-card > .admin-edit-form label { display: grid; gap: 7px; color: #30445c; font-size: 12px; font-weight: 750; }
.admin-reply-card > .admin-edit-form input, .admin-reply-card > .admin-edit-form textarea { width: 100%; }
.admin-reply-history { margin-top: 22px; display: grid; gap: 10px; }
.admin-reply-history h3 { margin: 0; color: #20344c; font-size: 14px; }
.admin-reply-history article { padding: 14px 16px; border: 1px solid #e0e6ed; border-radius: 8px; background: #f8fafc; }
.admin-reply-history article header { display: flex; justify-content: space-between; gap: 12px; color: #30445c; font-size: 11px; }
.admin-reply-history article header span { color: #748397; font-weight: 500; }
.admin-reply-history article p { margin: 10px 0 0; color: #46596f; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.contact-locations { width: min(1120px, calc(100% - 48px)); margin: 0 auto 70px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.contact-location-card { min-width: 0; padding: clamp(24px, 4vw, 40px); display: flex; align-items: flex-start; flex-direction: column; border: 1px solid #e0e6ed; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px #1125440a; }
.contact-location-card h2 { margin: 7px 0 14px; color: #172b43; font-size: clamp(24px, 3vw, 34px); }
.contact-location-card address { max-width: 450px; margin: 0 0 17px; color: #56697f; font-size: 14px; font-style: normal; line-height: 1.8; }
.contact-location-card > a:not(.button) { margin: 4px 0; color: #173b67; font-size: 14px; font-weight: 750; text-decoration: none; }
.contact-location-card .button { margin-top: 18px; }
.contact-primary-location { background: linear-gradient(140deg, #f5f8fb, #fff 65%); }
@media (max-width: 640px) {
  .admin-profile-form .builder-field-row { grid-template-columns: 1fr; }
  .admin-reply-history article header { flex-direction: column; }
  .contact-locations { width: calc(100% - 32px); grid-template-columns: 1fr; }
}

/* Public site: align the visual system with the approved light exhibition concept. */
:root {
  --navy-950: #0d2039;
  --navy-900: #183554;
  --navy-800: #1d4778;
  --blue: #123e8b;
  --ink: #15253a;
  --muted: #66758a;
  --surface: #f4f6f8;
  --line: #d9e0e8;
  --red: #bd1e2d;
  --red-dark: #9d1423;
}

/* Finished public and admin workspace polish. */
.home-hero { min-height: 440px; padding-top: 48px; padding-bottom: 48px; }
.home-hero-image { object-position: center 42%; }
.home-hero-shade { background: linear-gradient(90deg, #0d2039f2 0%, #0d2039e8 28%, #0d2039a3 58%, #0d203928 100%); }
.home-hero h1 { max-width: 620px; font-size: clamp(42px, 4.4vw, 62px); }
.hero-image-caption { bottom: 16px; color: #fff; text-shadow: 0 1px 8px #0008; }
.home-feature-grid.single-feature { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
.home-feature-grid.single-feature .recent-event-card, .home-feature-grid.single-feature .event-card { min-height: 320px; }
.home-feature-grid.single-feature .recent-event-image { height: 190px; }
.archive-image-placeholder { min-height: 190px; padding: 24px; display: flex; flex-direction: column; justify-content: end; gap: 8px; background: linear-gradient(135deg, #0d2039, #235078); color: #fff; }
.archive-image-placeholder span { margin: 0 !important; color: #f16a77 !important; font-size: 10px !important; letter-spacing: 1.5px; text-transform: uppercase; }
.archive-image-placeholder b { margin: 0 !important; color: #fff !important; font-size: 19px !important; }

.admin-body { min-height: 100dvh; background: #f3f5f8; color: #17283e; }
.admin-shell { grid-template-columns: 264px minmax(0, 1fr); }
.admin-sidebar { z-index: 20; height: 100dvh; padding: 18px 14px 14px; overflow-y: auto; border-right: 1px solid #e6eaf0; background: #fff; color: #526174; }
.admin-brand { padding: 2px 7px 18px; }
.admin-brand img { width: 100%; height: auto; border-radius: 0; object-fit: contain; }
.admin-brand span { margin: 13px 2px 0; color: #8793a2; font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.admin-tabs { display: grid; gap: 16px; }
.admin-nav-group { display: grid; gap: 3px; }
.admin-nav-group > span { padding: 0 12px 6px; color: #909aaa; font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.admin-tabs a { min-height: 40px; padding: 9px 12px; border-radius: 7px; color: #48576b; font-size: 13px; font-weight: 650; }
.admin-tabs a:hover { background: #f4f6f9; color: #142c48; }
.admin-tabs a.active { background: #fcebed; color: #a51424; }
.admin-site-link { margin-top: auto; padding: 14px 12px; border-top: 1px solid #edf0f4; color: #334b68; font-weight: 700; }
.admin-site-link span { float: right; color: #a2aab5; }
.admin-sidebar > small { color: #8a95a4; }
.admin-workspace { min-height: 100dvh; }
.admin-top { position: sticky; z-index: 10; top: 0; min-height: 68px; padding: 10px clamp(18px, 3vw, 38px); border-color: #e5e9ef; box-shadow: 0 2px 8px #1b2e4707; }
.admin-top-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-top-actions a { min-height: 40px; padding: 10px 14px; display: inline-flex; align-items: center; border: 1px solid #e3e8ee; border-radius: 7px; color: #334b68; font-size: 12px; font-weight: 750; }
.admin-top-actions a:hover, .admin-preview-link:hover { border-color: #bd1e2d; color: #a51424; }
.admin-user { gap: 16px; }
.admin-user > span { line-height: 1.35; }
.admin-user > span small { margin-top: 2px; font-size: 11px; }
.admin-preview-link { min-height: 40px; font-size: 12px; }
.admin-user form button { min-height: 40px; background: #f4f6f9; color: #42536a; }
.admin-user form button:hover { background: #e9edf3; }
.admin-main { width: min(1420px, calc(100% - 64px)); padding: 36px 0 72px; }
.admin-heading { align-items: center; margin-bottom: 22px; }
.admin-heading > div { min-width: 0; }
.admin-heading h1 { margin: 5px 0 8px; color: #17283e; font-size: clamp(30px, 3vw, 38px); letter-spacing: -.8px; }
.admin-heading p { max-width: 760px; margin: 0; color: #718095; font-size: 13px; line-height: 1.6; }
.admin-kicker { display: block; color: #b31b2a; font-size: 10px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; }
.admin-back-link { display: inline-block; margin-bottom: 18px; color: #365777; font-size: 13px; font-weight: 700; }
.admin-button { min-height: 44px; padding: 11px 16px; border-radius: 7px; box-shadow: 0 4px 10px #b51c2b20; }
.admin-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.admin-metric-card { min-width: 0; min-height: 142px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e4e8ee; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px #1c304508; transition: transform .15s ease, box-shadow .15s ease; }
.admin-metric-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #1c304511; }
.admin-metric-card > span { color: #66758a; font-size: 12px; font-weight: 700; }
.admin-metric-card strong { margin: 12px 0; color: #182a40; font-size: 34px; }
.admin-metric-card small { margin-top: auto; color: #335679; font-size: 11px; font-weight: 750; }
.admin-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr); gap: 16px; }
.admin-card { padding: 20px; border-color: #e4e8ee; border-radius: 10px; box-shadow: 0 3px 10px #1c304508; }
.admin-card h2 { margin: 5px 0 0; color: #1d3048; font-size: 21px; letter-spacing: -.25px; }
.admin-card-heading { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.admin-card-heading > a { flex: none; color: #315778; font-size: 11px; font-weight: 800; }
.admin-inbox-row, .admin-upcoming-row { min-height: 64px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0f4; }
.admin-inbox-icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #eff3f7; color: #34506f; font-size: 12px; font-weight: 850; }
.admin-inbox-copy, .admin-upcoming-row > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 5px; }
.admin-inbox-copy b, .admin-upcoming-row b { overflow: hidden; color: #263950; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-inbox-copy small, .admin-upcoming-row small { overflow: hidden; color: #78869a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-inbox-row:hover .admin-inbox-copy b, .admin-upcoming-row:hover b { color: #a51424; }
.admin-upcoming-row { gap: 14px; }
.admin-upcoming-row time { width: 84px; flex: none; color: #a51424; font-size: 11px; font-weight: 800; }
.admin-upcoming-row > span:last-child { color: #8c98a8; }
.admin-dashboard-empty { padding: 18px 4px 8px; color: #485a70; }
.admin-dashboard-empty b { font-size: 13px; }
.admin-dashboard-empty p { margin: 7px 0 12px; color: #78869a; font-size: 12px; line-height: 1.55; }
.admin-dashboard-empty .text-link { color: #315778; font-size: 12px; font-weight: 800; }
.admin-state-badge { width: fit-content; padding: 5px 8px; display: inline-flex; align-items: center; border: 1px solid #e5eaf0; border-radius: 99px; background: #f5f7fa; color: #5e6d81; font-size: 10px; font-weight: 750; white-space: nowrap; }
.admin-state-badge.state-1 { border-color: #f1e4bb; background: #fff9e8; color: #8b6718; }
.admin-state-badge.state-2 { border-color: #cce8d6; background: #eef9f1; color: #287344; }
.admin-state-badge.state-0 { border-color: #f3d8dc; background: #fff0f1; color: #a51b2a; }
.admin-quick-actions { margin-top: 20px; padding: 18px 20px; border: 1px solid #e4e8ee; border-radius: 10px; background: #fff; }
.admin-quick-actions > div { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.admin-quick-actions a { min-width: 0; padding: 12px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 2px 10px; border: 1px solid #edf0f4; border-radius: 8px; }
.admin-quick-actions a:hover { border-color: #d0d9e4; background: #fafbfd; }
.admin-quick-actions a > b { width: 34px; height: 34px; grid-row: span 2; display: grid; place-items: center; border-radius: 7px; background: #f5e8ea; color: #a51b2a; font-size: 18px; }
.admin-quick-actions a > span { color: #2a3e57; font-size: 12px; font-weight: 800; }
.admin-quick-actions a > small { color: #7b899b; font-size: 10px; }
.admin-subtabs, .admin-filter-tabs { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.admin-subtabs a, .admin-filter-tabs a { min-height: 38px; padding: 8px 12px; border: 1px solid #e1e6ec; border-radius: 7px; background: #fff; color: #53647a; font-size: 11px; font-weight: 750; }
.admin-subtabs a.active, .admin-filter-tabs a.active { border-color: #243d5b; background: #243d5b; color: #fff; }
.admin-filter-tabs a b { margin-left: 3px; opacity: .72; }
.admin-status-filters { margin-top: -4px; }
.admin-search { margin: 14px 0 10px; gap: 8px; }
.admin-search input { max-width: 500px; min-height: 44px; background: #fff; }
.admin-search button, .admin-search a { min-height: 44px; justify-content: center; color: #44566e; font-size: 12px; font-weight: 750; }
.admin-list-summary { margin: 14px 0 8px; color: #778598; font-size: 11px; }
.admin-table { overflow: hidden; border-color: #e3e8ee; border-radius: 9px; box-shadow: 0 3px 10px #1c304507; }
.admin-table table { width: 100%; min-width: 700px; }
.admin-table th { padding: 12px 14px; background: #f7f8fa; color: #758296; font-size: 10px; letter-spacing: .25px; }
.admin-table td { padding: 13px 14px; color: #46576d; font-size: 12px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table td a { color: #315778; }
.admin-table td a:hover { color: #a51424; }
.admin-table-logo { width: 72px; height: 44px; padding: 3px; border: 1px solid #edf0f3; border-radius: 5px; object-fit: contain; }
.admin-slug { color: #6c7a8d; font-size: 10px; overflow-wrap: anywhere; }
.admin-empty-value { color: #a1aab6; }
.admin-primary-link { color: #263b55 !important; font-weight: 800; }
.admin-application-number { font-weight: 800; }
.admin-row-action { font-size: 11px; font-weight: 800; white-space: nowrap; }
.admin-actions { white-space: normal; }
.admin-actions form { margin-top: 5px; }
.admin-actions button { min-height: 32px; padding: 0; color: #a51b2a; font-size: 10px; font-weight: 750; }
.admin-no-results { padding: 38px 18px !important; text-align: center !important; }
.admin-no-results b, .admin-no-results span { display: block; }
.admin-no-results b { color: #3b4f68; font-size: 13px; }
.admin-no-results span { margin-top: 6px; color: #8290a2; font-size: 11px; }
.admin-pagination { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.admin-pagination > * { min-width: 36px; min-height: 36px; padding: 8px 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e1e6ec; border-radius: 6px; background: #fff; color: #43566f; font-size: 11px; font-weight: 750; }
.admin-pagination [aria-current="page"] { border-color: #263d5a; background: #263d5a; color: #fff; }
.admin-edit-form { gap: 18px; }
.admin-edit-form > label { max-width: 860px; gap: 7px; color: #34475f; font-size: 12px; font-weight: 800; }
.admin-edit-form input, .admin-edit-form select, .admin-edit-form textarea { border-color: #dce2e9; border-radius: 7px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; }
.admin-edit-form input:focus, .admin-edit-form select:focus, .admin-edit-form textarea:focus, .admin-search input:focus { outline: 3px solid #bd1e2d2b; border-color: #b31b2a; }
.admin-edit-form textarea { min-height: 120px; line-height: 1.6; }
.admin-field-hint { color: #8390a0; font-size: 10px; font-weight: 500; line-height: 1.5; }
.admin-check { max-width: max-content !important; flex-direction: row; gap: 10px !important; }
.admin-check input { width: 20px; height: 20px; min-height: 20px; accent-color: #a51b2a; }
.admin-form-actions { position: sticky; bottom: 0; z-index: 3; margin: 4px -20px -20px; padding: 14px 20px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid #e8ecf1; border-radius: 0 0 10px 10px; background: #ffffffed; backdrop-filter: blur(10px); }
.admin-form-actions > a { color: #65748a; font-size: 12px; font-weight: 750; }
.admin-richtext { min-width: 0; max-width: 1000px; margin: 0; padding: 0; border: 0; }
.admin-richtext legend { margin-bottom: 8px; padding: 0; color: #34475f; font-size: 12px; font-weight: 800; }
.admin-editor-toolbar { min-height: 42px; padding: 5px; display: flex; flex-wrap: wrap; gap: 4px; border: 1px solid #dce2e9; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f8f9fb; }
.admin-editor-toolbar button { min-height: 32px; padding: 6px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #40536c; font-size: 11px; font-weight: 700; }
.admin-editor-toolbar button:hover { border-color: #dce2e9; background: #fff; }
.admin-richtext-surface { min-height: 250px; padding: 16px; border: 1px solid #dce2e9; border-radius: 0 0 8px 8px; background: #fff; color: #273b54; font-size: 14px; font-weight: 500; line-height: 1.75; }
.admin-richtext-surface:focus { outline: 3px solid #bd1e2d2b; border-color: #b31b2a; }
.admin-richtext-surface:empty::before { content: 'Введите текст…'; color: #a0aaba; }
.admin-richtext-surface img { max-width: 100%; height: auto; }
.admin-source { margin-top: 8px; color: #7b899c; font-size: 10px; }
.admin-source summary { min-height: 32px; padding: 7px 0; cursor: pointer; font-weight: 750; }
.admin-source textarea { min-height: 170px; font-family: Consolas, monospace; font-size: 11px; }
.admin-application-detail .admin-card h2 { margin-bottom: 12px; }
.admin-details > div { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; border-color: #edf0f4; }
.admin-details dt { color: #78869a; font-size: 11px; }
.admin-details dd { color: #2b4058; font-size: 12px; line-height: 1.55; }
.admin-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-export-actions a { min-height: 38px; padding: 9px 12px; display: inline-flex; align-items: center; border: 1px solid #e1e6ec; border-radius: 7px; background: #fff; color: #40566f; font-size: 11px; font-weight: 750; }
.admin-notice { border: 1px solid #cfe7d7; background: #f0faf3; color: #286b3f; font-size: 12px; }
.admin-media-grid article { border-color: #e3e8ee; box-shadow: 0 2px 8px #1c304507; }
.admin-media-grid img, .admin-file-icon { border-radius: 6px; }
.admin-gallery-grid article > form { margin: 0; }
.admin-gallery-grid article > form .admin-button { width: 100%; min-height: 38px; padding: 9px 10px; font-size: 10px; }
.admin-gallery-grid article > form .admin-button-quiet { border: 1px solid #dce3eb; background: #fff; color: #43566d; box-shadow: none; }
.admin-picker-upload-form { max-width: 540px; margin-bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 14px; }
.admin-picker-upload-form label { display: grid; gap: 7px; color: #34475f; font-size: 11px; font-weight: 800; }
.admin-picker-upload-form input { min-width: 0; max-width: 100%; font-size: 11px; }
.admin-picker-upload-form small { grid-column: 1 / -1; color: #748297; font-size: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1120px) {
  .admin-shell { grid-template-columns: 226px minmax(0, 1fr); }
  .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-dashboard-grid { grid-template-columns: 1fr; }
  .home-feature-grid.single-feature { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
}
@media (max-width: 900px) {
  .admin-shell { display: block; }
  .admin-sidebar { position: relative; width: 100%; height: auto; min-height: 66px; padding: 9px 18px; display: grid; grid-template-columns: minmax(145px, 190px) 1fr auto; align-items: center; gap: 12px; overflow: visible; border-right: 0; border-bottom: 1px solid #e5e9ef; }
  .admin-brand { grid-column: 1; grid-row: 1; padding: 0; }
  .admin-brand img { width: 170px; max-height: 42px; object-position: left center; }
  .admin-brand span, .admin-sidebar > small { display: none; }
  .admin-sidebar .menu-toggle { grid-column: 3; grid-row: 1; min-height: 40px; padding: 7px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #e1e6ec; border-radius: 7px; background: #fff; color: #40536a; }
  .admin-sidebar .menu-toggle span { display: none; }
  .admin-sidebar .menu-toggle b { font-size: 11px; }
  .admin-tabs { grid-column: 1 / -1; display: none; max-height: min(70dvh, 620px); padding: 8px 0; overflow: auto; }
  .admin-tabs.is-open { display: grid; }
  .admin-nav-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-nav-group > span { grid-column: 1 / -1; padding: 8px 8px 2px; }
  .admin-site-link { grid-column: 1 / -1; margin: 0; padding: 12px 8px 4px; }
  .admin-top { position: static; min-height: 58px; padding: 8px 18px; }
  .admin-preview-link { display: inline-flex; }
  .admin-main { width: calc(100% - 40px); padding-top: 26px; }
}
@media (max-width: 640px) {
  .home-hero { min-height: 520px; padding: 44px 22px 78px; }
  .home-hero-image { object-position: 56% center; }
  .home-hero-shade { background: linear-gradient(180deg, #0d2039e8 0%, #0d2039d9 48%, #0d20396b 100%); }
  .home-hero h1 { max-width: 12ch; font-size: clamp(39px, 10.5vw, 50px); }
  .hero-image-caption { display: none; }
  .home-feature-grid.single-feature { grid-template-columns: 1fr; }
  .admin-sidebar { grid-template-columns: minmax(130px, 1fr) auto; gap: 8px; padding: 8px 14px; }
  .admin-brand img { width: 150px; }
  .admin-sidebar .menu-toggle { grid-column: 2; }
  .admin-top { align-items: flex-start; flex-direction: column; gap: 8px; }
  .admin-top-actions { width: 100%; }
  .admin-top-actions a { min-height: 36px; padding: 8px 10px; }
  .admin-user { width: 100%; gap: 8px; }
  .admin-user > span { margin-left: auto; margin-right: auto; text-align: right; }
  .admin-preview-link { display: none; }
  .admin-user form button { padding: 7px 11px; }
  .admin-main { width: calc(100% - 28px); padding: 22px 0 48px; }
  .admin-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .admin-heading h1 { font-size: 30px; }
  .admin-heading .admin-button { width: 100%; }
  .admin-metrics { gap: 8px; }
  .admin-metric-card { min-height: 124px; padding: 13px; }
  .admin-metric-card strong { margin: 9px 0; font-size: 30px; }
  .admin-metric-card > span { min-height: 30px; font-size: 10px; }
  .admin-metric-card small { font-size: 9px; }
  .admin-dashboard-grid { gap: 12px; }
  .admin-card { padding: 16px; }
  .admin-card-heading { align-items: flex-start; }
  .admin-card-heading h2 { font-size: 19px; }
  .admin-inbox-row { gap: 8px; }
  .admin-inbox-row > .admin-state-badge { max-width: 84px; white-space: normal; }
  .admin-quick-actions { padding: 15px; }
  .admin-quick-actions > div { grid-template-columns: 1fr; }
  .admin-subtabs, .admin-filter-tabs { gap: 6px; }
  .admin-subtabs a, .admin-filter-tabs a { min-height: 36px; padding: 8px 9px; font-size: 10px; }
  .admin-export-actions { width: 100%; }
  .admin-export-actions a { flex: 1; justify-content: center; }
  .admin-search { display: grid; grid-template-columns: 1fr auto; }
  .admin-search input { max-width: none; grid-column: 1 / -1; }
  .admin-search button { grid-column: 1; }
  .admin-search a { grid-column: 2; }
  .admin-table { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .admin-table table, .admin-table tbody { width: 100%; min-width: 0; display: grid; gap: 10px; }
  .admin-table thead { display: none; }
  .admin-table tr { min-width: 0; padding: 7px 13px; display: block; border: 1px solid #e3e8ee; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px #1c304507; }
  .admin-table td { min-width: 0; padding: 9px 0; display: grid; grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr); gap: 8px; border-bottom: 1px solid #f0f2f5; overflow-wrap: anywhere; }
  .admin-table td::before { content: attr(data-label); color: #8793a3; font-size: 9px; font-weight: 800; }
  .admin-table td:last-child { border-bottom: 0; }
  .admin-table td > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .admin-table td[data-label="Контакты"] > * { display: block; }
  .admin-table .admin-no-results { min-height: 130px; display: block; padding: 30px 14px !important; }
  .admin-table .admin-no-results::before { display: none; }
  .admin-pagination { justify-content: flex-start; }
  .admin-form-actions { margin: 4px -16px -16px; padding: 12px 16px; }
  .admin-form-actions .admin-button { flex: 1; }
  .admin-details > div { grid-template-columns: 1fr; gap: 5px; }
  .admin-application-detail { gap: 12px; }
  .admin-richtext-surface { min-height: 220px; padding: 12px; }
  .admin-editor-toolbar button { font-size: 10px; }
}
.nav-shell { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); }
.nav-panel nav a { border-bottom-width: 2px; color: var(--ink); }
.nav-panel nav a:hover { background: transparent; color: var(--red); }
.header-search { border-color: var(--line); background: #fff; }
.header-search input { color: var(--ink); }
.header-search input::placeholder { color: #77859a; }
.header-search button { color: var(--navy-800); }
.home-hero { min-height: 560px; padding-top: 58px; padding-bottom: 58px; background: var(--navy-950); }
.home-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.home-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d2039 0%, #0d2039f2 30%, #0d2039a8 57%, #0d203926 100%); }
.home-hero-copy { width: min(670px, 58%); }
.home-hero-copy > span { color: #ff7a80; }
.home-hero h1 { max-width: 660px; font-size: clamp(48px, 5vw, 72px); line-height: 1.04; letter-spacing: -1.7px; }
.home-hero h1 span { color: #f14b5c; }
.home-hero-copy p { max-width: 52ch; font-size: 17px; line-height: 1.65; }
.home-hero .secondary { border-color: #c5d0df; }
.hero-image-caption, .hero-location { position: absolute; z-index: 2; bottom: 22px; color: #fff; font-size: 11px; }
.hero-image-caption { right: max(24px, calc((100% - 1280px) / 2)); padding: 7px 10px; background: #0d2039c9; }
.hero-location { left: max(24px, calc((100% - 1280px) / 2)); color: #dce5ef; }
.facts-strip { margin-top: -32px; border: 1px solid #e5e9ee; box-shadow: 0 12px 34px #10254312; }
.facts-strip > div { min-height: 112px; padding: 20px 26px; }
.facts-strip strong { color: var(--navy-900); font-size: 20px; font-weight: 800; line-height: 1.2; }
.facts-strip strong::before { width: 22px; height: 3px; margin-bottom: 10px; }
.facts-strip span { font-size: 12px; }
.home-section { padding-top: 72px; }
.section-head { margin-bottom: 28px; }
.section-head span, .home-about-copy > span, .participation-band > div > span, .home-contact > div > span { color: var(--red); }
.section-head h2 { letter-spacing: -1.2px; }
.section-head > a { color: var(--blue); border-bottom: 1px solid #bd1e2d80; }
.event-grid { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: 24px; }
.event-card, .event-card:first-child { min-height: 300px; grid-row: auto; display: grid; grid-template-columns: minmax(210px, .95fr) 1.05fr; grid-template-rows: auto auto 1fr auto; align-content: stretch; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.event-card:hover { transform: none; box-shadow: none; }
.event-card > img, .event-card:first-child > img { width: 100%; height: 100%; min-height: 280px; grid-column: 1; grid-row: 1 / 5; object-fit: cover; }
.event-label { margin: 18px 0 0 24px; padding: 6px 10px; justify-self: start; border-radius: 2px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.event-card h3, .event-card:first-child h3 { margin: 14px 22px 0 24px; text-align: left; font-size: clamp(22px, 2.1vw, 30px); }
.event-meta { margin: 12px 22px 0 24px; color: var(--muted); font-size: 13px; }
.event-link { margin: 12px 22px 20px 24px; color: var(--blue); }
.home-cta { align-self: stretch; border-radius: 0; background: var(--navy-950); }
.home-cta > span { color: #ff8790; }
.upcoming-empty { min-height: 190px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-left: 4px solid var(--red); background: var(--surface); }
.upcoming-empty > div:first-child { max-width: 660px; }
.upcoming-empty > div > span { color: var(--red); font-size: 12px; font-weight: 800; }
.upcoming-empty h2, .upcoming-empty h3 { margin-top: 8px; font-size: clamp(24px, 3vw, 34px); }
.upcoming-empty p { margin: 10px 0 0; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.secondary-light { border: 1px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.secondary-light:hover { background: #e9eef5; }
.participation-band { margin-top: 72px; padding-top: 56px; padding-bottom: 56px; }
.participation-band h2 { max-width: 14ch; }
.participation-band ol { gap: 20px; }
.participation-band ol li { padding-top: 14px; border-top: 1px solid #ffffff32; }
.home-about { padding-top: 88px; padding-bottom: 88px; }
.home-about h2 { max-width: 15ch; }
.home-video-section::before { background: #f4f6f8; }
.home-video-card { border-radius: 3px; box-shadow: none; }
.home-gallery-grid a, .photo-grid a { border-radius: 2px; }
.detail-hero { min-height: 560px; background: var(--navy-950); }
.detail-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.detail-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d2039f2 0%, #0d2039d9 48%, #0d20394a 100%); }
.detail-hero-content { width: min(760px, 68%); }
.detail-hero-content > span { color: #ff858d; }
.detail-hero h1 { font-size: clamp(40px, 4.6vw, 62px); }
.event-details { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.event-details p { margin: 0; display: grid; gap: 3px; }
.event-details span { color: #ff858d; font-size: 11px; font-weight: 800; }
.event-details strong { color: #fff; font-size: 14px; font-weight: 650; }
.detail-image-caption { position: absolute; z-index: 2; right: max(24px, calc((100% - 1280px) / 2)); bottom: 20px; color: #fff; font-size: 11px; }
.partner-section { padding-top: 16px; }
.partner-section .section-head h2 { font-size: 26px; }
.logo-grid > a, .logo-grid > div { border-radius: 2px; box-shadow: none; }
.site-footer { border-top: 4px solid var(--red); }
.button { border-radius: 3px; }
.contact-card, .public-form { border-radius: 3px; }
@media (max-width: 900px) {
  .nav-panel.is-open { border-top: 1px solid var(--line); background: #fff; }
  .nav-panel nav a { border-bottom-color: var(--line); }
  .home-hero { min-height: 540px; }
  .home-hero-copy { width: 75%; }
  .home-hero-shade { background: linear-gradient(90deg, #0d2039f2 0%, #0d2039d9 56%, #0d203952 100%); }
  .event-grid { grid-template-columns: 1fr; }
  .event-card, .event-card:first-child { min-height: 280px; }
  .upcoming-empty { align-items: flex-start; flex-direction: column; }
  .detail-hero-content { width: 100%; }
}
@media (max-width: 640px) {
  .home-hero { min-height: 590px; padding: 54px 24px 82px; }
  .home-hero-image { object-position: 62% center; }
  .home-hero-shade { background: linear-gradient(180deg, #0d2039ef 0%, #0d2039dd 55%, #0d20396b 100%); }
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 13ch; font-size: clamp(42px, 12vw, 54px); }
  .hero-image-caption { right: 16px; bottom: 14px; font-size: 10px; }
  .hero-location { left: 16px; bottom: 14px; font-size: 10px; }
  .facts-strip { margin-top: -20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip > div { min-height: 96px; padding: 16px; }
  .facts-strip > div:nth-child(2) { border-right: 0; }
  .facts-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts-strip strong { font-size: 17px; }
  .home-section { padding-top: 56px; }
  .event-card, .event-card:first-child { grid-template-columns: 1fr; grid-template-rows: auto; }
  .event-card > img, .event-card:first-child > img { height: 220px; min-height: 0; grid-column: 1; grid-row: 1; }
  .event-label { margin: 18px 0 0; }
  .event-card h3, .event-card:first-child h3, .event-meta, .event-link { margin-left: 0; }
  .upcoming-empty { padding: 26px 22px; }
  .empty-actions { width: 100%; }
  .empty-actions .button { width: 100%; }
  .detail-hero { min-height: 540px; padding: 32px 24px; }
  .detail-hero h1 { max-width: 100%; font-size: clamp(26px, 7vw, 32px); line-height: 1.08; letter-spacing: -.5px; }
  .event-details { align-items: flex-start; flex-direction: column; gap: 10px; }
  .detail-hero-shade { background: linear-gradient(180deg, #0d2039ed 0%, #0d2039cf 65%, #0d203962 100%); }
  .detail-image-caption { right: 16px; bottom: 14px; }
}

/* Public homepage direction follows the supplied light-header / photo-hero reference. */
.nav-panel nav a:first-child { min-height: 38px; padding: 8px 22px; border: 0; border-radius: 6px; background: var(--red); color: #fff; }
.nav-panel nav a:first-child:hover { background: var(--red-dark); }
.home-hero { min-height: 372px; padding-top: 42px; padding-bottom: 42px; }
.home-hero-copy { width: min(660px, 58%); }
.home-hero h1 { max-width: 650px; font-size: clamp(42px, 4vw, 58px); line-height: 1.08; letter-spacing: -1.2px; }
.home-hero h1 span { color: #fff; }
.home-hero-copy p { margin-top: 15px; }
.hero-actions { margin-top: 22px; }
.facts-strip { width: min(1536px, calc(100% - 80px)); margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 0; box-shadow: none; }
.facts-strip > div { min-height: 82px; padding: 14px 26px; display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 12px; border-right: 1px solid var(--line); }
.facts-strip > div:last-child { border-right: 0; }
.facts-strip > div .facts-icon { grid-row: 1 / 3; align-self: center; display: grid; place-items: center; color: var(--navy-900); }
.facts-icon svg { display: block; width: 26px; height: 26px; }
.facts-strip strong { color: var(--ink); font-size: 15px; line-height: 1.3; }
.facts-strip strong::before { display: none; }
.facts-strip span { margin-top: 3px; font-size: 11px; line-height: 1.35; }
.home-featured { padding-top: 32px; padding-bottom: 48px; }
.home-featured .section-head { margin-bottom: 18px; }
.home-featured .section-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.home-feature-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(260px, .9fr); gap: 16px; align-items: stretch; }
.recent-event-card { min-width: 0; min-height: 320px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e8ebf0; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px #1429440a; transition: transform 160ms ease, box-shadow 160ms ease; }
.recent-event-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px #14294415; }
.recent-event-image { position: relative; height: 158px; overflow: hidden; background: #e8edf3; }
.recent-event-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0b1b3373); content: ""; }
.recent-event-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.recent-event-image > span { position: absolute; z-index: 1; left: 16px; bottom: 12px; padding: 5px 9px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; }
.recent-event-copy { min-height: 160px; padding: 15px 18px 16px; display: flex; flex: 1; flex-direction: column; }
.recent-event-copy h3 { font-size: 21px; line-height: 1.2; }
.recent-event-copy p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.recent-event-copy b { margin-top: auto; padding-top: 10px; color: var(--blue); font-size: 12px; }
.home-about-card { min-height: 320px; padding: 23px 24px; display: flex; flex-direction: column; border: 1px solid #e8ebf0; border-radius: 8px; background: #f8f9fb; }
.home-about-card > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.home-about-card h3 { margin-top: 12px; color: var(--navy-900); font-size: 23px; line-height: 1.22; }
.home-about-card p { margin: 11px 0 0; color: #3d4b60; font-size: 12px; line-height: 1.55; }
.home-about-card > a { margin-top: 12px; color: var(--blue); font-size: 12px; font-weight: 800; }
.home-about-tags { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.home-about-tags b { padding: 5px 8px; border: 1px solid #dce3ec; border-radius: 4px; color: var(--navy-800); background: #fff; font-size: 10px; font-weight: 700; }
.home-featured .upcoming-empty { grid-column: 1 / 3; min-height: 320px; }
@media (max-width: 1000px) {
  .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-card { grid-column: 1 / -1; min-height: 250px; }
  .home-about-tags { margin-top: 18px; }
  .facts-strip { width: calc(100% - 48px); }
  .facts-strip > div { padding-right: 14px; padding-left: 14px; }
}
@media (max-width: 640px) {
  .home-hero { min-height: 510px; padding: 48px 24px 68px; }
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 14ch; font-size: clamp(40px, 11vw, 52px); }
  .home-hero-copy p { max-width: 38ch; }
  .facts-strip { width: calc(100% - 24px); }
  .facts-strip > div { min-height: 84px; padding: 12px 8px; grid-template-columns: 30px minmax(0, 1fr); column-gap: 7px; }
  .facts-icon svg { width: 20px; height: 20px; }
  .facts-strip strong { font-size: 12px; }
  .facts-strip span { font-size: 10px; }
  .home-featured { padding-top: 34px; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .recent-event-card { min-height: 0; }
  .recent-event-image { height: 190px; }
  .home-about-card, .home-featured .upcoming-empty { grid-column: auto; min-height: 0; }
  .home-about-card { padding: 22px; }
  .section-head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Keep the photographic homepage treatment as the final cascade layer. */
.home-hero { min-height: 440px; padding-top: 48px; padding-bottom: 48px; }
.home-hero-image { object-position: center 42%; }
.home-hero-shade { background: linear-gradient(90deg, #0d2039f2 0%, #0d2039e8 28%, #0d2039a3 58%, #0d203928 100%); }
.home-hero h1 { max-width: 620px; font-size: clamp(42px, 4.4vw, 62px); }
.hero-image-caption { bottom: 16px; color: #fff; text-shadow: 0 1px 8px #0008; }
.home-feature-grid.single-feature { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
.home-feature-grid.single-feature .recent-event-card, .home-feature-grid.single-feature .event-card { min-height: 320px; }
.home-feature-grid.single-feature .recent-event-image { height: 190px; }
@media (max-width: 1120px) {
  .home-feature-grid.single-feature { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); }
}
@media (max-width: 640px) {
  .home-hero { min-height: 520px; padding: 44px 22px 78px; }
  .home-hero-image { object-position: 56% center; }
  .home-hero-shade { background: linear-gradient(180deg, #0d2039e8 0%, #0d2039d9 48%, #0d20396b 100%); }
  .home-hero h1 { max-width: 12ch; font-size: clamp(39px, 10.5vw, 50px); }
  .hero-image-caption { display: none; }
  .home-feature-grid.single-feature { grid-template-columns: 1fr; }
}
.admin-error { padding: 12px 14px; border: 1px solid #f1cdd2; border-radius: 7px; background: #fff3f4; color: #9e1a28; font-size: 12px; font-weight: 750; }
.admin-help-note { margin: 0 0 14px; padding: 12px 14px; border: 1px solid #e3e8ee; border-radius: 7px; background: #fff; color: #66758a; font-size: 11px; line-height: 1.5; }
.admin-media-field { max-width: 620px; display: grid; gap: 10px; }
.admin-media-field > label { display: grid; gap: 7px; color: #34475f; font-size: 12px; font-weight: 800; }
.admin-media-field > label input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #dce2e9; border-radius: 7px; background: #f7f8fa; color: #506176; font-size: 11px; }
.admin-media-preview { min-height: 126px; padding: 10px; display: grid; place-items: center; border: 1px dashed #d8dfe7; border-radius: 8px; background: #f8f9fb; color: #8a96a5; font-size: 11px; }
.admin-media-preview img { max-width: min(100%, 300px); max-height: 160px; object-fit: contain; }
.admin-media-field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.admin-media-field-actions button, .admin-media-field-actions a { min-height: 38px; padding: 9px 12px; display: inline-flex; align-items: center; border: 1px solid #e0e6ed; border-radius: 6px; background: #fff; color: #40556d; font-size: 10px; font-weight: 750; }
.admin-media-field-actions button:hover, .admin-media-field-actions a:hover { border-color: #b5c3d2; color: #a51424; }
.admin-media-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 10px; }
.admin-media-picker-item { min-width: 0; padding: 8px; display: grid; gap: 8px; border: 1px solid #e1e6ec; border-radius: 8px; background: #fff; text-align: left; }
.admin-media-picker-item:hover { border-color: #b31b2a; box-shadow: 0 5px 16px #1c304511; }
.admin-media-picker-item img { width: 100%; height: 115px; border-radius: 5px; background: #f2f4f7; object-fit: contain; }
.admin-media-picker-item code { overflow: hidden; color: #65748a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-picker-upload { flex: none; }
.admin-document-manager { margin-top: 18px; }
.admin-document-manager > p { color: #738196; font-size: 11px; line-height: 1.55; }
.admin-document-list { margin: 12px 0; display: grid; }
.admin-document-row { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0f4; }
.admin-document-row > a { min-width: 0; flex: 1; display: flex; align-items: center; gap: 10px; }
.admin-document-row > a b { overflow: hidden; color: #344a64; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-document-row > a small { padding: 4px 6px; border-radius: 4px; background: #f0f3f7; color: #627187; font-size: 8px; font-weight: 800; }
.admin-document-row form { margin: 0; }
.admin-document-row form button { min-height: 32px; border: 0; background: transparent; color: #a51b2a; font-size: 10px; font-weight: 750; }
.admin-attach-document { margin-top: 12px; padding-top: 14px; display: flex; align-items: end; gap: 8px; border-top: 1px solid #edf0f4; }
.admin-attach-document label { min-width: 0; flex: 1; display: grid; gap: 6px; color: #34475f; font-size: 11px; font-weight: 800; }
.admin-attach-document select { min-height: 42px; min-width: 0; padding: 8px 10px; border: 1px solid #dce2e9; border-radius: 6px; background: #fff; color: #364a62; font-size: 11px; }
.admin-attach-document button { min-height: 42px; padding: 9px 13px; border: 0; border-radius: 6px; background: #243d5b; color: #fff; font-size: 10px; font-weight: 800; }
@media (max-width: 640px) {
  .admin-picker-upload-form { grid-template-columns: 1fr; }
  .admin-picker-upload-form small { grid-column: auto; }
  .admin-picker-upload-form .admin-button { width: 100%; }
  .admin-media-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-media-field-actions a { flex-basis: 100%; }
  .admin-attach-document { align-items: stretch; flex-direction: column; }
}

/* Event content, managed video and media-library workflows */
.detail-hero-content .back-link { width: fit-content; min-height: 36px; margin: 0 0 26px; color: #fff; opacity: .86; }
.detail-hero-content .back-link:hover { opacity: 1; }
.detail-hero-content p { color: #f2f4f8; }
.detail-hero-shade { background: linear-gradient(90deg, #0d2039f4 0%, #0d2039d9 48%, #0d203958 100%); }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }
.video-kind { display: inline-block; margin-bottom: 7px; color: #b51d2c; font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.event-video-section { padding-top: 36px; padding-bottom: 52px; }
.video-collection { padding-bottom: 48px; }
.video-collection > h2 { width: min(1240px, calc(100% - 48px)); margin: 28px auto 16px; color: #182a40; font-size: 25px; }
.gallery-links { width: min(1240px, calc(100% - 48px)); margin: 28px auto 56px; border-top: 1px solid var(--line); }
.gallery-links summary { padding: 18px 0; color: #334c67; cursor: pointer; font-size: 14px; font-weight: 750; }
.gallery-links .legacy-body { width: 100%; margin-bottom: 20px; }
.admin-event-manager { margin: 18px 0; }
.admin-event-manager > p { max-width: 820px; color: #6f7d90; font-size: 12px; line-height: 1.65; }
.admin-related-list { margin-top: 12px; display: grid; }
.admin-related-row { min-height: 64px; padding: 9px 0; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0f4; }
.admin-related-row > div { min-width: 0; flex: 1; display: grid; gap: 5px; }
.admin-related-row > div b { color: #263950; font-size: 12px; }
.admin-related-row small { color: #78869a; font-size: 10px; }
.admin-related-row > a { color: #315778; font-size: 10px; font-weight: 800; white-space: nowrap; }
.admin-related-row > img, .admin-related-placeholder { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 6px; background: #f2f4f7; object-fit: contain; }
.admin-related-placeholder { color: #8491a1; font-weight: 800; }
.admin-related-actions { display: flex !important; flex: none !important; gap: 14px !important; }
.admin-related-actions a { color: #315778; font-size: 10px; font-weight: 800; white-space: nowrap; }
.admin-event-manager .admin-button { min-height: 42px; padding: 11px 14px; }
.admin-video-upload > p { margin: 0; color: #6f7d90; font-size: 12px; line-height: 1.6; }
.admin-video-upload label { max-width: 600px; }
.admin-video-upload input[type="file"] { padding: 8px; }
.detail-hero-bg { filter: blur(3px) brightness(.65); transform: scale(1.035); }
.admin-event-shortcuts { margin: -14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-event-shortcuts a { min-height: 38px; padding: 10px 13px; border: 1px solid #dce4ec; border-radius: 7px; background: #fff; color: #315778; font-size: 11px; font-weight: 800; }
.admin-event-shortcuts a:hover { border-color: #b31b2a; color: #a51424; }
@media (max-width: 640px) {
  .detail-hero-content .back-link { margin-bottom: 18px; }
  .detail-hero-shade { background: linear-gradient(180deg, #0d2039f2 0%, #0d2039e8 58%, #0d2039c2 100%); }
  .admin-related-actions { align-items: flex-start; flex-direction: column; gap: 7px !important; }
  .admin-event-manager .admin-card-heading { align-items: flex-start; flex-direction: column; }
}

/* On-site photo viewer */
body.lightbox-open { overflow: hidden; padding-right: var(--lightbox-scrollbar, 0px); }
.site-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 20px clamp(18px, 4vw, 64px); overflow: hidden; border: 0; background: radial-gradient(ellipse at 50% 46%, #192e49 0%, #0b1b33 54%, #07111f 100%); color: #fff; }
.site-lightbox[open] { display: grid; grid-template-rows: 52px minmax(0, 1fr) 60px; gap: 12px; animation: lightbox-in 180ms ease-out both; }
.site-lightbox::backdrop { background: #06101de8; backdrop-filter: blur(12px); }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; }
.lightbox-context { display: flex; align-items: center; gap: 12px; }
.lightbox-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #ffffff26; border-radius: 9px; background: #ffffff0c; color: #f2f5fa; }
.lightbox-mark svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-context > div { display: grid; gap: 1px; }
.lightbox-context strong { color: #fff; font-size: 13px; font-weight: 700; }
.lightbox-context [data-lightbox-counter] { color: #aebbd0; font-size: 11px; font-variant-numeric: tabular-nums; }
.lightbox-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #ffffff35; border-radius: 50%; background: #ffffff0b; color: #f5f7fb; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.lightbox-close svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lightbox-close:hover { transform: rotate(90deg); border-color: #ffffff75; background: #ffffff20; }
.lightbox-stage { min-width: 0; min-height: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; gap: clamp(16px, 3vw, 44px); }
.lightbox-image-wrap { min-width: 0; min-height: 0; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.lightbox-image-wrap img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 4px; box-shadow: 0 26px 90px #0008; }
.lightbox-step { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #ffffff35; border-radius: 50%; background: #ffffff0b; color: #fff; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.lightbox-step svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-step:hover { transform: scale(1.05); border-color: #ffffff75; background: #ffffff20; }
.lightbox-step[hidden] { display: none; }
.lightbox-bottom { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 68px; }
.lightbox-caption-wrap { min-width: 0; display: grid; gap: 1px; }
.lightbox-caption-wrap > span { color: #99a9bf; font-size: 10px; }
.lightbox-caption-wrap p { margin: 0; overflow: hidden; color: #f3f5f8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.lightbox-hint { flex: none; color: #9aa9be; font-size: 10px; }
.lightbox-hint[hidden] { display: none; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.photo-grid a, .home-gallery-grid a, .event-album-grid a { cursor: zoom-in; }
.photo-grid a img, .event-album-grid a img { transition: transform 260ms cubic-bezier(.2,.7,.2,1), filter 260ms ease; }
.photo-grid a:hover img, .event-album-grid a:hover img { transform: scale(1.035); filter: saturate(1.08); }

/* Video archive */
.video-collection { padding-top: 22px; padding-bottom: 72px; }
.video-archive-group { width: min(1240px, calc(100% - 48px)); margin: 0 auto 50px; }
.video-archive-heading { margin-bottom: 22px; }
.video-archive-heading > span { color: var(--muted); font-size: 12px; }
.video-archive-heading h2 { margin: 3px 0 0; color: var(--navy-950); font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; }
.video-archive-group .video-grid { width: 100%; margin: 0; gap: 28px 22px; }
.video-archive-group .video-card { min-width: 0; padding: 15px; border: 1px solid #e4e9ef; background: #fff; box-shadow: 0 8px 24px #10254308; }
.video-archive-group .video-card h2 { margin: 5px 0 14px; color: #182a40; font-size: 17px; line-height: 1.45; }
.video-archive-group .video-kind { margin-bottom: 3px; font-size: 10px; }
.video-frame.video-youtube { background: radial-gradient(ellipse at 50% 42%, #294663 0%, #172f4c 46%, #0b1b33 100%); }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.video-youtube::before { position: absolute; inset: 12px; border: 1px solid #ffffff18; content: ""; pointer-events: none; }
.video-launch { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 0; background: linear-gradient(0deg, #07111f8a, #07111f18 54%, #07111f20); color: #fff; }
.video-play-icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #ffffff4a; border-radius: 50%; background: var(--red); box-shadow: 0 8px 24px #050c1690; transition: transform 180ms ease, background 180ms ease; }
.video-play-icon svg { width: 24px; height: 24px; margin-left: 2px; fill: currentColor; }
.video-launch-label { color: #e4ebf4; font-size: 11px; font-weight: 700; }
.video-launch:hover .video-play-icon { transform: scale(1.07); background: #e0213d; }
.video-archive-empty { width: min(1240px, calc(100% - 48px)); margin: 20px auto 0; padding: 36px; border: 1px solid var(--line); background: var(--surface); }
.video-archive-empty h2 { margin: 0 0 8px; color: var(--navy-950); font-size: 22px; }
.video-archive-empty p { margin: 0; color: var(--muted); font-size: 14px; }

/* Exhibition page builder */
.event-builder { display: grid; grid-template-columns: minmax(250px, 290px) minmax(0, 1fr); gap: 20px; align-items: start; }
.event-builder-palette, .event-builder-workspace { min-width: 0; border: 1px solid #dce4ed; border-radius: 12px; background: #fff; }
.event-builder-palette { position: sticky; top: 84px; padding: 20px; }
.event-builder-palette h2 { margin: 6px 0 8px; color: #172b43; font-size: 20px; }
.event-builder-palette > p { margin: 0 0 16px; color: #66768b; font-size: 12px; line-height: 1.65; }
.event-builder-palette > button { width: 100%; min-height: 58px; margin-top: 7px; padding: 10px 12px; display: grid; gap: 3px; border: 1px solid #e2e8ef; border-radius: 8px; background: #fff; color: #1b3049; text-align: left; transition: border-color 170ms ease, background 170ms ease, transform 170ms ease; }
.event-builder-palette > button:hover { border-color: #c8102e; background: #fffafb; transform: translateX(2px); }
.event-builder-palette > button b { font-size: 12px; }
.event-builder-palette > button small { color: #78889d; font-size: 10px; }
.event-builder-workspace { padding: 22px; background: #f6f8fb; }
.event-builder-workspace form { display: grid; gap: 16px; }
.event-builder-canvas-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 0 2px 4px; }
.event-builder-canvas-head h2 { margin: 4px 0 0; color: #13263e; font-size: 23px; }
.event-builder-canvas-head > span { padding: 6px 10px; border: 1px solid #dce4ec; border-radius: 999px; background: #fff; color: #52657c; font-size: 11px; font-weight: 700; }
.event-builder-canvas { display: grid; gap: 12px; }
.event-builder-block { min-width: 0; border: 1px solid #dce4ec; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px #12264409; transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.event-builder-block.is-dragging { opacity: .48; transform: scale(.99); }
.event-builder-block.is-drop-target { border-color: #c8102e; box-shadow: 0 0 0 3px #c8102e19; }
.event-builder-block-head { min-height: 54px; padding: 8px 10px 8px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf0f4; }
.builder-drag { color: #8795a6; cursor: grab; font-size: 20px; line-height: 1; user-select: none; }
.event-builder-block-head > div:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 2px; }
.event-builder-block-head strong { color: #20344d; font-size: 12px; }
.event-builder-block-head small { color: #8693a4; font-size: 10px; }
.builder-block-actions { display: flex; align-items: center; gap: 4px; }
.builder-block-actions button { min-width: 34px; min-height: 34px; padding: 5px 8px; border: 1px solid #e1e7ee; border-radius: 6px; background: #fff; color: #52657c; font-size: 12px; font-weight: 700; }
.builder-block-actions button:hover:not(:disabled) { border-color: #b9c6d5; background: #f6f8fa; }
.builder-block-actions button:last-child { padding-inline: 10px; color: #aa2233; }
.event-builder-fields { padding: 16px; display: grid; gap: 14px; }
.builder-field { min-width: 0; display: grid; gap: 6px; color: #30445c; font-size: 11px; font-weight: 750; }
.builder-field input, .builder-field textarea, .builder-field select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d6dee8; border-radius: 7px; background: #fff; color: #192c43; font-size: 12px; font-weight: 500; }
.builder-field textarea { resize: vertical; line-height: 1.65; }
.builder-field select[multiple] { min-height: 148px; padding: 5px; }
.builder-field select[multiple] option { padding: 6px 8px; border-radius: 4px; }
.builder-field select[multiple] option:checked { background: #173b67 linear-gradient(0deg, #173b67, #173b67); color: #fff; }
.builder-field small { color: #78889b; font-size: 10px; font-weight: 500; line-height: 1.5; }
.builder-label { display: block; margin-bottom: 7px; color: #30445c; font-size: 11px; font-weight: 750; }
.builder-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.builder-selected-images { min-height: 74px; padding: 10px; display: flex; flex-wrap: wrap; gap: 9px; border: 1px dashed #cad5e1; border-radius: 8px; background: #f8fafc; }
.builder-selected-images figure { position: relative; width: 108px; margin: 0; overflow: hidden; border: 1px solid #e0e6ed; border-radius: 7px; background: #fff; }
.builder-selected-images figure img { width: 108px; height: 72px; object-fit: cover; }
.builder-selected-images figcaption { padding: 4px 6px; overflow: hidden; color: #63758b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.builder-selected-images figure button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #0b1b33dd; color: #fff; font-size: 17px; line-height: 1; }
.builder-selection-empty { align-self: center; margin: 0; color: #8090a4; font-size: 11px; }
.builder-media-search { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.builder-media-search .admin-button { min-height: 40px; padding: 9px 12px; font-size: 10px; }
.builder-media-results { margin-top: 8px; }
.builder-media-option-list { max-height: 360px; overflow: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.builder-media-option { min-width: 0; padding: 4px; overflow: hidden; border: 1px solid #dce4ed; border-radius: 7px; background: #fff; color: #586b81; text-align: left; }
.builder-media-option:hover { border-color: #94a8bf; }
.builder-media-option.is-selected { border-color: #c8102e; box-shadow: 0 0 0 2px #c8102e22; }
.builder-media-option img { width: 100%; height: 76px; border-radius: 4px; object-fit: cover; }
.builder-media-option span { display: block; padding: 4px 2px 1px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.builder-more-images { grid-column: 1 / -1; justify-self: center; min-height: 38px; margin: 8px 0; padding: 8px 14px; border: 1px solid #d6dee8; border-radius: 6px; background: #fff; color: #315778; font-size: 11px; font-weight: 750; }
.event-builder-empty { min-height: 260px; padding: 36px; display: grid; align-content: center; justify-items: center; border: 1px dashed #bac7d6; border-radius: 10px; background: #fff; text-align: center; }
.event-builder-empty[hidden] { display: none; }
.event-builder-empty-mark { width: 48px; height: 48px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: #eef3f8; color: #173b67; font-size: 27px; }
.event-builder-empty b { color: #20344c; font-size: 15px; }
.event-builder-empty p { max-width: 400px; margin: 8px 0 0; color: #77869a; font-size: 12px; line-height: 1.6; }
.event-builder-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 5px; }
.event-builder-actions .admin-button-quiet { border: 1px solid #d5dee8; background: #fff; color: #38516d; }
.admin-event-manager .admin-related-row { flex-wrap: wrap; }
.admin-event-manager .admin-related-actions { flex-wrap: wrap; }

/* Event sections assembled in the admin builder */
.event-album { padding: 44px 0; }
.event-album-grid { padding-bottom: 0; }
.event-copy-block { width: min(980px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0; }
.event-copy-block .section-head { width: 100%; margin-bottom: 18px; }
.event-copy-block p { max-width: 820px; margin: 0 0 12px; color: #485b71; line-height: 1.8; }
.event-cta-block { width: min(1240px, calc(100% - 48px)); margin: 30px auto 56px; padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 10px; background: var(--navy-950); color: #fff; }
.event-cta-block h2 { margin: 0; font-size: clamp(21px, 3vw, 30px); }
.event-cta-block p { margin: 8px 0 0; color: #d5deea; font-size: 13px; }
.event-cta-block .button { flex: none; }

/* Intentional page-arrival motion; interactive actions keep their own short transitions. */
html { scroll-behavior: auto; scroll-padding-top: 18px; }
a, button, .event-card, .participant-card, .video-card, .archive-list > a { transition-duration: 180ms; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 380ms ease, transform 380ms cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .event-builder { grid-template-columns: minmax(210px, 250px) minmax(0, 1fr); gap: 12px; }
  .event-builder-palette { padding: 15px; }
  .event-builder-workspace { padding: 15px; }
  .builder-media-option-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .event-builder { grid-template-columns: 1fr; }
  .event-builder-palette { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .event-builder-palette > .admin-kicker, .event-builder-palette > h2, .event-builder-palette > p { grid-column: 1 / -1; }
  .event-builder-palette > button { min-height: 62px; margin: 0; }
  .event-builder-workspace { padding: 12px; }
  .event-builder-block-head { flex-wrap: wrap; }
  .builder-block-actions { margin-left: auto; }
  .builder-field-row { grid-template-columns: 1fr; }
  .builder-media-search { grid-template-columns: 1fr; }
  .builder-media-option-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-builder-empty { min-height: 190px; padding: 24px; }
  .event-builder-actions { position: sticky; bottom: 8px; z-index: 2; padding: 9px; border: 1px solid #dce4ed; border-radius: 9px; background: #ffffffed; box-shadow: 0 8px 28px #10254320; }
  .event-builder-actions a, .event-builder-actions button { min-height: 42px; flex: 1; justify-content: center; font-size: 10px; }
  .site-lightbox { padding: 10px 12px; }
  .site-lightbox[open] { grid-template-rows: 46px minmax(0, 1fr) 58px; gap: 4px; }
  .lightbox-context { gap: 9px; }
  .lightbox-mark { width: 34px; height: 34px; }
  .lightbox-close { width: 38px; height: 38px; }
  .lightbox-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lightbox-image-wrap img { max-width: 100%; max-height: calc(100dvh - 174px); }
  .lightbox-step { position: absolute; z-index: 1; top: 50%; width: 40px; height: 40px; transform: translateY(-50%); border-color: #ffffff4a; background: #07111fbf; }
  .lightbox-step:hover { transform: translateY(-50%) scale(1.04); }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-bottom { padding: 0 2px; }
  .lightbox-hint { display: none; }
  .video-archive-group, .video-archive-empty { width: calc(100% - 32px); }
  .video-archive-group .video-grid { width: 100%; }
  .video-archive-group .video-card { padding: 11px; }
  .event-cta-block { width: calc(100% - 32px); padding: 22px; align-items: flex-start; flex-direction: column; }
  .event-copy-block { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}

/* Editable homepage photo carousel and company story */
.home-hero-slides { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.home-hero .home-hero-image { z-index: 0; opacity: 0; transition: opacity 760ms ease; }
.home-hero .home-hero-image.is-active { z-index: 1; opacity: 1; }
.home-hero-shade { z-index: 2; }
.home-hero-copy, .home-hero .hero-image-caption, .home-hero .hero-location { z-index: 3; }
.home-hero .hero-image-caption { right: max(48px, calc((100% - 1280px) / 2)); bottom: 62px; max-width: min(280px, 52vw); padding: 7px 10px; border: 1px solid #ffffff3b; border-radius: 6px; background: #0d2039d9; color: #fff; font-size: 11px; line-height: 1.35; text-align: right; }
.home-hero-dots { position: absolute; z-index: 4; right: max(48px, calc((100% - 1280px) / 2)); bottom: 17px; padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #ffffff45; border-radius: 999px; background: #0d2039c9; backdrop-filter: blur(8px); }
.home-hero-dots button { width: 10px; height: 10px; min-width: 10px; min-height: 10px; padding: 0; border: 1px solid #ffffffbd; border-radius: 999px; background: #ffffff68; transition: width 180ms ease, background 180ms ease; }
.home-hero-dots button[aria-pressed="true"] { width: 24px; background: #fff; }
.home-hero-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.facts-strip .facts-icon { margin: 0; color: var(--navy-900); }
.about-story { width: min(1240px, calc(100% - 48px)); margin: 24px auto 70px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .62fr); gap: 34px; align-items: stretch; }
.about-story > article, .about-facts { border: 1px solid #e1e7ee; border-radius: 14px; background: #fff; }
.about-story > article { padding: clamp(25px, 5vw, 54px); }
.about-story > article h2 { max-width: 18ch; margin: 8px 0 18px; color: var(--navy-950); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; letter-spacing: -.7px; }
.about-story > article p { color: #58677a; font-size: 15px; line-height: 1.85; }
.about-story > article .about-lead { margin-bottom: 24px; color: #263b54; font-size: 19px; font-weight: 650; line-height: 1.6; }
.about-facts { padding: 12px 26px; display: grid; align-content: center; background: #f7f9fc; }
.about-facts div { padding: 24px 0; display: grid; gap: 6px; border-bottom: 1px solid #e1e7ee; }
.about-facts div:last-child { border-bottom: 0; }
.about-facts strong { color: var(--navy-950); font-size: 16px; }
.about-facts span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.home-slides-manager > p, .about-content-form > p { max-width: 850px; color: #63748a; font-size: 13px; line-height: 1.65; }
.home-slide-list { display: grid; gap: 12px; }
.home-slide-row { padding: 12px; display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid #e0e6ed; border-radius: 10px; background: #fff; }
.home-slide-row > img { width: 100%; aspect-ratio: 16 / 9; border-radius: 7px; background: #eef2f6; object-fit: cover; }
.home-slide-fields { min-width: 0; display: grid; gap: 9px; }
.home-slide-fields label { display: grid; gap: 5px; color: #35465c; font-size: 11px; font-weight: 700; }
.home-slide-fields input { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #d9e1e9; border-radius: 6px; background: #fff; color: #182a40; font: inherit; font-size: 12px; }
.home-slide-fields code { overflow: hidden; color: #78889a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.home-slide-actions { display: grid; grid-template-columns: 36px 36px; gap: 6px; }
.home-slide-actions button { min-height: 36px; padding: 4px 8px; justify-content: center; }
.home-slide-actions button.admin-button-quiet { border: 1px solid #d5dee8; background: #f7f9fc; color: #38516d; box-shadow: none; }
.home-slide-actions button:last-child { grid-column: 1 / -1; }
.home-slide-actions button:disabled { opacity: .4; cursor: not-allowed; }
.home-slides-manager .admin-form-actions > a.admin-button-quiet { border: 1px solid #d5dee8; background: #fff; color: #38516d; box-shadow: none; }
.home-slide-upload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .75fr) auto; gap: 20px; align-items: end; }
.home-slide-upload h2 { margin: 5px 0; color: #1b2d43; font-size: 20px; }
.home-slide-upload p { margin: 0; color: #67788e; font-size: 12px; line-height: 1.65; }
.home-slide-upload label { display: grid; gap: 7px; color: #35465c; font-size: 12px; font-weight: 700; }
.home-slide-upload input[type="file"] { width: 100%; min-height: 42px; padding: 8px; border: 1px dashed #c9d3df; border-radius: 7px; background: #f9fafc; font: inherit; font-size: 11px; }
.about-content-form textarea { min-height: 82px; }
@media (max-width: 760px) {
  .home-hero .hero-image-caption { display: none; }
  .home-hero-dots { right: 16px; bottom: 16px; }
  .about-story { width: calc(100% - 32px); margin: 16px auto 48px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about-story > article { padding: 25px 21px; }
  .about-story > article .about-lead { font-size: 17px; }
  .about-facts { padding: 8px 21px; }
  .about-facts div { padding: 16px 0; }
  .home-slide-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .home-slide-row > img { grid-column: 1 / -1; max-height: 210px; }
  .home-slide-actions { grid-column: 2; grid-row: 2; }
  .home-slide-fields { grid-column: 1; grid-row: 2; }
  .home-slide-upload { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .home-slide-upload .admin-button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .home-hero-image, .home-hero-dots button { transition: none; }
}

/* Homepage refresh based on the approved visual reference. */
.home-hero {
  min-height: 360px;
  padding: 38px max(24px, calc((100% - 1280px) / 2)) 42px;
  background: var(--navy-950);
}
.home-hero-image { object-position: center 48%; }
.home-hero-shade {
  background: linear-gradient(90deg, #0b1b33f5 0%, #0b1b33e8 31%, #0b1b33a3 57%, #0b1b3324 82%, #0b1b3308 100%);
}
.home-hero-copy { width: min(700px, 66%); }
.home-hero-copy > span { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 13px; color: #f1f4f8; font-size: 11px; letter-spacing: 1.15px; }
.home-hero-copy > span::before { width: 36px; height: 3px; border-radius: 99px; background: var(--red); content: ""; }
.home-hero h1 { max-width: 100%; margin-top: 0; font-size: clamp(38px, 3.2vw, 46px); line-height: 1.11; letter-spacing: -1.15px; }
.home-hero h1 span { color: #fff; }
.home-hero-copy p { max-width: 54ch; margin-top: 13px; color: #e2e9f2; font-size: 15px; line-height: 1.58; }
.home-hero .hero-actions { margin-top: 20px; gap: 10px; }
.home-hero .button { min-height: 45px; padding: 11px 19px; border-radius: 8px; font-size: 13px; }
.home-hero .secondary { border-color: #ffffff87; background: #1025433d; }
.home-hero .secondary:hover { background: #ffffff20; }
.home-hero .hero-image-caption { right: max(24px, calc((100% - 1280px) / 2)); bottom: 16px; max-width: min(260px, 32vw); padding: 6px 9px; border: 1px solid #ffffff35; border-radius: 5px; background: #0b1b33b8; font-size: 10px; }
.home-hero-dots { right: auto; bottom: 17px; left: max(24px, calc((100% - 1280px) / 2)); border: 0; border-radius: 0; background: transparent; padding: 5px 0; backdrop-filter: none; }
.home-hero-dots button { width: 10px; height: 10px; min-width: 10px; border-color: #ffffffb0; background: transparent; }
.home-hero-dots button[aria-pressed="true"] { width: 24px; border-color: #fff; }
.facts-strip {
  width: min(1280px, calc(100% - 48px));
  margin: 10px auto 0;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 14px;
  background: #f7f8fa;
  box-shadow: none;
}
.facts-strip > div { min-height: 68px; padding: 10px 20px; grid-template-columns: 36px minmax(0, 1fr); column-gap: 11px; border-color: #e0e4e9; }
.facts-strip > div .facts-icon { color: var(--navy-900); }
.facts-icon svg { width: 24px; height: 24px; }
.facts-strip strong { color: var(--ink); font-size: 14px; font-weight: 800; }
.facts-strip strong::before { display: none; }
.facts-strip > div > span:last-child { margin-top: 2px; color: #6c7888; font-size: 10px; line-height: 1.35; }
.home-featured { padding-top: 28px; padding-bottom: 52px; }
.home-featured .section-head { align-items: center; margin-bottom: 17px; }
.home-featured .section-head > div > span { color: var(--red); font-size: 10px; letter-spacing: 1px; }
.home-featured .section-head h2 { margin-top: 6px; color: var(--navy-950); font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.8px; }
.home-featured .section-head > a { min-height: 38px; border: 0; color: var(--blue); font-size: 12px; }
.home-feature-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(260px, .88fr); gap: 15px; }
.home-feature-grid.single-feature { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); }
.home-feature-grid .event-card,
.home-feature-grid .recent-event-card {
  position: relative;
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e7ebef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px #10254312;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.home-feature-grid .event-card:hover,
.home-feature-grid .recent-event-card:hover { transform: translateY(-3px); box-shadow: 0 15px 30px #10254324; }
.home-feature-grid .event-card:first-child { grid-row: auto; min-height: 280px; }
.home-feature-grid .event-card > img,
.home-feature-grid .event-card:first-child > img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 132px;
  min-height: 0;
  object-fit: cover;
  object-position: center 24%;
}
.home-feature-grid .event-card::after { display: none; }
.home-feature-grid .event-card .event-label { position: relative; z-index: 1; margin: 11px 15px 0; padding: 5px 8px; align-self: flex-start; border-radius: 5px; background: #fcebed; color: var(--red-dark); font-size: 10px; letter-spacing: .1px; text-transform: none; }
.home-feature-grid .event-card h3 { position: relative; z-index: 1; max-width: 24ch; margin: 7px 54px 0 15px; color: var(--navy-950); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.18; letter-spacing: -.45px; text-align: left; }
.home-feature-grid .event-card .event-meta { position: relative; z-index: 1; margin: 7px 54px 0 15px; color: #657287; font-size: 10px; line-height: 1.4; }
.home-feature-grid .event-card .event-link { position: absolute; z-index: 1; right: 12px; bottom: 12px; width: 36px; min-width: 36px; height: 36px; min-height: 36px; margin: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; background: var(--navy-950); color: #fff; font-size: 0; }
.home-feature-grid .event-card .event-link span { color: inherit; font-size: 18px; line-height: 1; }
.home-feature-grid .event-card .event-link span::first-letter { font-size: 18px; }
.home-feature-grid .event-card:not(.event-card--poster) { background: #17324f; }
.home-feature-grid .event-card:not(.event-card--poster) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center; }
.home-feature-grid .event-card:not(.event-card--poster)::after { position: absolute; z-index: 0; inset: 0; display: block; background: linear-gradient(180deg, #07182c1c 8%, #07182c47 43%, #07182ce8 100%); content: ""; }
.home-feature-grid .event-card:not(.event-card--poster) .event-label { margin: 16px 18px 0; background: var(--red); color: #fff; }
.home-feature-grid .event-card:not(.event-card--poster) h3 { max-width: 24ch; margin: auto 18px 0; color: #fff; font-size: clamp(19px, 1.75vw, 24px); }
.home-feature-grid .event-card:not(.event-card--poster) .event-meta { margin: 9px 18px 0; color: #e1e8f0; }
.home-feature-grid .event-card:not(.event-card--poster) .event-link { background: #fff; color: var(--navy-900); }
.home-feature-grid .recent-event-image { position: relative; height: 132px; flex: 0 0 132px; background: #f0f2f5; }
.home-feature-grid .recent-event-image::after { display: none; }
.home-feature-grid .recent-event-image img { width: 100%; height: 100%; object-position: center 24%; }
.home-feature-grid .recent-event-image > span { top: 10px; bottom: auto; left: 11px; padding: 5px 8px; border: 1px solid #ffffffae; border-radius: 5px; background: #fff; color: var(--navy-900); font-size: 9px; }
.home-feature-grid .recent-event-copy { position: relative; z-index: 1; min-height: 0; padding: 11px 15px 15px; display: flex; flex: 1; flex-direction: column; justify-content: flex-start; color: var(--ink); }
.home-feature-grid .recent-event-copy h3 { max-width: 24ch; margin: 0 46px 0 0; color: var(--navy-950); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.18; letter-spacing: -.45px; }
.home-feature-grid .recent-event-copy p { margin: 7px 46px 0 0; color: #657287; font-size: 10px; line-height: 1.4; }
.home-feature-grid .recent-event-copy b { margin: 0; padding: 0; position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-950); color: transparent; font-size: 0; }
.home-feature-grid .recent-event-copy b span { color: #fff; font-size: 18px; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) { background: #17324f; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-image { position: absolute; inset: 0; height: 100%; flex: initial; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-image::after { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, #07182c1c 8%, #07182c47 43%, #07182ce8 100%); content: ""; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-image > span { background: #0b1b33b8; color: #fff; border-color: #ffffff48; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-copy { position: absolute; inset: 0; padding: 18px; justify-content: flex-end; color: #fff; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-copy h3 { max-width: 23ch; margin: auto 46px 0 0; color: #fff; font-size: clamp(19px, 1.75vw, 24px); }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-copy p { color: #e1e8f0; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-copy b { background: #fff; }
.home-feature-grid .recent-event-card:not(.recent-event-card--poster) .recent-event-copy b span { color: var(--navy-900); }
.home-about-card { min-height: 280px; padding: 21px 22px; border: 1px solid #e7ebef; border-radius: 13px; background: #f7f8fa; }
.home-about-card > span { color: var(--red); font-size: 10px; letter-spacing: 1px; }
.home-about-card h3 { margin-top: 9px; color: var(--navy-950); font-size: 21px; line-height: 1.23; letter-spacing: -.5px; }
.home-about-card p { margin: 9px 0 0; color: #4f5d6f; font-size: 11px; line-height: 1.5; }
.home-about-card > a { margin-top: 10px; color: var(--blue); font-size: 11px; }
.home-about-tags { margin-top: auto; padding-top: 16px; gap: 6px; }
.home-about-tags b { padding: 5px 7px; border-color: #e2e6eb; border-radius: 5px; color: #35455b; font-size: 9px; }
.home-featured .upcoming-empty { min-height: 280px; border-radius: 13px; }
.button { border-radius: 8px; }
@media (max-width: 1000px) {
  .home-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-card { grid-column: 1 / -1; }
  .facts-strip { width: calc(100% - 48px); }
}
@media (max-width: 900px) {
  .home-hero { min-height: 420px; padding: 38px 28px 54px; }
  .home-hero-copy { width: min(620px, 75%); }
  .home-hero-shade { background: linear-gradient(90deg, #0b1b33f2 0%, #0b1b33df 56%, #0b1b3370 100%); }
}
@media (max-width: 640px) {
  .home-hero { min-height: 470px; padding: 40px 20px 76px; align-items: flex-start; }
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 17ch; font-size: clamp(36px, 10vw, 44px); line-height: 1.1; letter-spacing: -1px; }
  .home-hero-copy p { max-width: 39ch; margin-top: 13px; font-size: 14px; }
  .home-hero-shade { background: linear-gradient(180deg, #0b1b33f3 0%, #0b1b33e9 48%, #0b1b3390 100%); }
  .home-hero .hero-actions { max-width: 340px; margin-top: 19px; gap: 8px; }
  .home-hero .hero-actions .button { width: 100%; }
  .home-hero .hero-image-caption { display: none; }
  .home-hero-dots { left: 20px; bottom: 17px; }
  .facts-strip { width: calc(100% - 24px); margin-top: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip > div { min-height: 75px; padding: 11px 9px; grid-template-columns: 27px minmax(0, 1fr); column-gap: 7px; }
  .facts-icon svg { width: 19px; height: 19px; }
  .facts-strip strong { font-size: 11px; }
  .facts-strip > div > span:last-child { font-size: 9px; }
  .facts-strip > div:nth-child(2) { border-right: 0; }
  .facts-strip > div:nth-child(-n+2) { border-bottom: 1px solid #e0e4e9; }
  .home-featured { padding-top: 28px; padding-bottom: 38px; }
  .home-featured .section-head { align-items: flex-end; gap: 10px; }
  .home-featured .section-head h2 { max-width: 16ch; font-size: 25px; }
  .home-featured .section-head > a { min-height: 34px; font-size: 10px; }
  .home-feature-grid, .home-feature-grid.single-feature { grid-template-columns: 1fr; gap: 12px; }
  .home-feature-grid .event-card, .home-feature-grid .recent-event-card { min-height: 276px; }
  .home-feature-grid .event-card h3, .home-feature-grid .recent-event-copy h3 { font-size: 21px; }
  .home-about-card { grid-column: auto; min-height: 0; padding: 21px; }
  .home-about-tags { margin-top: 14px; }
  .cookie-banner { left: 12px; right: auto; bottom: 8px; width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 16px); padding: 12px; gap: 5px; transform: none; }
  .cookie-banner > * { min-width: 0; }
  .cookie-banner p { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
  .cookie-banner details { font-size: 11px; }
  .cookie-banner summary { min-height: 28px; }
  .cookie-banner .cookie-actions { width: 100%; max-width: 100%; min-width: 0; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 6px; }
  .cookie-banner .cookie-actions button { width: 100%; min-width: 0; min-height: 40px; padding: 7px 8px; font-size: 10px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .home-feature-grid .event-card, .home-feature-grid .recent-event-card { transition: none; }
}

/* Homepage layout and spacing copied from the supplied HTML reference. */
.site-header { border-bottom: 1px solid #eef0f3; background: #fff; }
.header-top { width: min(1280px, calc(100% - 48px)); min-height: 88px; padding: 12px 0; gap: 24px; border-bottom: 1px solid #f0f2f5; }
.brand img { width: 266px; }
.brand-description { max-width: 280px; padding-left: 24px; color: #64748b; font-size: 12px; }
.header-phones { gap: 2px; color: #111827; font-size: 14px; line-height: 1.45; }
.header-phones a { display: inline-flex; align-items: center; gap: 7px; }
.header-phones svg { width: 14px; height: 14px; color: var(--navy-800); }
.header-actions { gap: 12px; }
.header-actions a { min-height: 42px; padding: 9px 16px; gap: 8px; border-radius: 7px; font-size: 12px; font-weight: 650; }
.header-actions svg { width: 16px; height: 16px; }
.header-write { border-color: #1e293b; color: #111827; }
.header-write:hover { background: #f8fafc; }
.header-contacts { border: 1px solid var(--red); background: var(--red); }
.header-contacts:hover { background: var(--red-dark); }
.nav-shell { border-top: 0; border-bottom: 1px solid #eef0f3; background: #fff; color: #111827; }
.nav-panel { width: min(1280px, calc(100% - 48px)); min-height: 58px; gap: 22px; }
.nav-panel nav { gap: 23px; }
.nav-panel nav a { min-height: 38px; padding: 8px 2px; border: 0; color: #1f2937; font-size: 14px; font-weight: 550; transition: color 150ms ease, background 150ms ease; }
.nav-panel nav a:hover { background: transparent; color: var(--red); }
.nav-panel nav a.is-active { padding: 8px 22px; border-radius: 7px; background: var(--red); color: #fff; font-weight: 650; }
.nav-panel nav a.is-active:hover { background: var(--red-dark); color: #fff; }
.nav-panel nav a:first-child:not(.is-active) { min-height: 38px; padding: 8px 2px; border-radius: 0; background: transparent; color: #1f2937; font-weight: 550; }
.header-search { width: 260px; border: 1px solid #dce3ec; border-radius: 7px; background: #fff; }
.header-search input { height: 36px; padding-left: 12px; color: var(--ink); }
.header-search input::placeholder { color: #8a96a8; }
.header-search button { width: 36px; height: 36px; color: var(--navy-800); }
.header-search button svg { width: 16px; height: 16px; display: block; }

.home-hero { min-height: 375px; padding: 30px max(42px, calc((100% - 1280px) / 2)) 28px; align-items: center; background: #0b2c52; }
.home-hero-image { object-position: center 52%; }
.home-hero-shade { background: linear-gradient(90deg, #082242f5 0%, #0b2e56eb 32%, #0f3a668f 52%, #0f3a6610 76%, transparent 100%); }
.home-hero-copy { width: min(590px, 58%); }
.home-hero-copy > span { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #e2e8f0; font-size: 12px; font-weight: 650; letter-spacing: 1px; }
.home-hero-copy > span::before { width: 38px; height: 3px; border-radius: 2px; background: var(--red); content: ""; }
.home-hero h1 { max-width: 590px; margin: 0; color: #fff; font-size: 40px; font-weight: 750; line-height: 1.13; letter-spacing: -.8px; }
.home-hero h1 span { color: #fff; }
.home-hero-copy p { max-width: 485px; margin: 14px 0 0; color: #dce6f2; font-size: 15px; line-height: 1.48; }
.home-hero .hero-actions { margin: 22px 0 0; gap: 12px; }
.home-hero .button { min-height: 44px; padding: 10px 19px; border-radius: 7px; font-size: 13px; font-weight: 650; }
.home-hero .button.primary { background: var(--red); }
.home-hero .button.primary:hover { background: var(--red-dark); }
.home-hero .button.secondary { border: 1px solid #ffffff8c; background: #0c234059; color: #fff; }
.home-hero .button.secondary:hover { background: #ffffff20; border-color: #fff; }
.home-hero-dots { position: static; inset: auto; width: max-content; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.home-hero-dots button { width: 9px; height: 9px; min-width: 9px; padding: 0; border: 1px solid #ffffffa8; border-radius: 50%; background: transparent; transition: background 180ms ease, border-color 180ms ease; }
.home-hero-dots button[aria-pressed="true"] { width: 9px; border-color: #fff; background: #fff; }
.hero-image-caption { display: none; }

.facts-strip { position: relative; z-index: 3; width: min(1480px, calc(100% - 84px)); min-height: 78px; margin: 14px auto 24px; padding: 13px 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #edf0f5; border-radius: 12px; background: #f5f7fa; box-shadow: none; }
.facts-strip > div { min-height: 48px; padding: 2px 22px; display: grid; grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 14px; border-right: 1px solid #dde3ec; }
.facts-strip > div:last-child { border-right: 0; }
.facts-strip > div .facts-icon { grid-column: 1; grid-row: 1 / 3; align-self: center; color: #111827; }
.facts-icon svg { width: 25px; height: 25px; }
.facts-strip strong { grid-column: 2; grid-row: 1; color: #111827; font-size: 13px; line-height: 1.35; font-weight: 750; }
.facts-strip strong::before { display: none; }
.facts-strip > div > span:last-child { grid-column: 2; grid-row: 2; margin-top: 2px; color: #64748b; font-size: 11px; line-height: 1.35; }

.home-featured { width: min(1396px, calc(100% - 84px)); padding: 8px 0 46px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(350px, 1fr); gap: 28px; align-items: stretch; }
.home-feature-events { min-width: 0; }
.events-header { margin-bottom: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-title { color: #0c2340; font-size: 27px; font-weight: 750; letter-spacing: -.55px; }
.all-events-link { display: inline-flex; align-items: center; gap: 6px; color: #1d5aa6; font-size: 13px; font-weight: 650; white-space: nowrap; }
.all-events-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.events-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home-event-card { position: relative; min-width: 0; min-height: 220px; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 0; border-radius: 14px; background: #263749; color: #fff; box-shadow: 0 8px 24px #0f172a14; transition: transform 200ms ease, box-shadow 200ms ease; }
.home-event-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #0f172a24; }
.home-event-card .event-card-bg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-event-card--furniture .event-card-bg { object-position: center 47%; }
.home-event-card--construction .event-card-bg { object-position: center 54%; }
.home-event-card .event-card-overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #18120fe0 0%, #1c1619b8 52%, #1c16191a 100%); }
.home-event-card--construction .event-card-overlay { background: linear-gradient(90deg, #0c2240e8 0%, #0f2a4ec2 54%, #0f2a4e1f 100%); }
.home-event-card .date-badge { position: relative; z-index: 2; min-width: 58px; align-self: flex-start; padding: 8px 12px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; box-shadow: 0 4px 12px #c91e2759; }
.home-event-card .date-badge .days { font-size: 14px; font-weight: 750; line-height: 1.1; }
.home-event-card .date-badge .month { margin-top: 2px; color: #fff; font-size: 9px; font-weight: 650; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; opacity: .95; }
.home-event-card .event-card-bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.home-event-card .event-card-bottom > span:first-child { min-width: 0; }
.home-event-card .event-title { max-width: 280px; display: block; margin: 0 0 8px; color: #fff; font-size: 20px; font-weight: 750; line-height: 1.22; letter-spacing: -.25px; }
.home-event-card .event-location { display: inline-flex; align-items: flex-start; gap: 6px; color: #ffffffdf; font-size: 11px; line-height: 1.4; }
.home-event-card .event-location svg { width: 14px; height: 14px; flex: 0 0 auto; }
.home-event-card .event-arrow-btn { width: 36px; height: 36px; flex: 0 0 36px; margin: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #111827; box-shadow: 0 4px 10px #0003; transition: transform 200ms ease; }
.home-event-card .event-arrow-btn svg { width: 16px; height: 16px; }
.home-event-card:hover .event-arrow-btn { transform: translateX(2px); }
.home-about-card { min-width: 0; min-height: 220px; padding: 22px 25px 18px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid #eef1f6; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px #0f172a0d; }
.home-about-card h2 { color: #0c2340; font-size: 21px; font-weight: 750; letter-spacing: -.3px; }
.home-about-card p { margin: 10px 0 0; color: #334155; font-size: 13px; line-height: 1.52; }
.home-about-card p strong { color: #1e293b; font-weight: 700; }
.home-about-card > div:first-child > a { min-height: 32px; margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; color: #1d5aa6; font-size: 13px; font-weight: 650; }
.home-about-card > div:first-child > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-about-card > div:first-child > a span { font-size: 15px; }
.about-stats { margin-top: 16px; padding-top: 13px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #eef1f6; gap: 8px; }
.about-stats .stat-item { position: relative; min-width: 0; padding: 0 7px 0 0; display: flex; flex-direction: column; gap: 4px; }
.about-stats .stat-item:not(:first-child) { padding-left: 10px; }
.about-stats .stat-item:not(:last-child)::after { position: absolute; top: 3px; right: 0; bottom: 3px; width: 1px; background: #e9edf4; content: ""; }
.about-stats strong { color: var(--red); font-size: 22px; line-height: 1.12; font-weight: 800; white-space: nowrap; }
.about-stats span { color: #334155; font-size: 11px; line-height: 1.3; }
.home-featured .upcoming-empty { grid-column: 1 / -1; min-height: 220px; padding: 26px; border: 1px solid #eef1f6; border-radius: 14px; }

@media (max-width: 1180px) {
  .brand-description { display: none; }
  .nav-panel nav { gap: 14px; }
  .home-featured { width: min(100% - 48px, 1100px); }
  .content-grid { grid-template-columns: 1fr; gap: 20px; }
  .home-about-card { min-height: 210px; }
}
@media (max-width: 900px) {
  .nav-shell { padding: 8px 16px; }
  .nav-panel { width: 100%; }
  .nav-panel nav a { min-height: 42px; padding: 8px 4px; border-bottom: 1px solid #e6eaf0; }
  .nav-panel nav a.is-active { padding: 8px 12px; border-bottom: 0; }
  .header-search { width: 100%; }
  .home-hero { min-height: 375px; padding: 34px 28px; }
  .home-hero-copy { width: min(590px, 76%); }
  .home-hero-shade { background: linear-gradient(90deg, #082242f2 0%, #0b2e56df 56%, #0f3a6670 100%); }
  .facts-strip { width: calc(100% - 48px); }
  .events-cards { grid-template-columns: 1fr; gap: 14px; }
  .home-event-card { min-height: 220px; }
}
@media (max-width: 640px) {
  .header-top { width: calc(100% - 28px); min-height: 70px; gap: 10px; flex-wrap: wrap; }
  .brand img { width: 170px; }
  .header-actions { width: 100%; margin-left: 0; justify-content: space-between; }
  .header-write { display: inline-flex !important; }
  .header-actions a { min-height: 38px; padding: 7px 10px; font-size: 11px; }
  .header-actions svg { display: none; }
  .home-hero { min-height: 470px; padding: 42px 20px 34px; align-items: center; }
  .home-hero-image { object-position: 60% center; }
  .home-hero-shade { background: linear-gradient(180deg, #082242ed 0%, #0b2e56e3 52%, #0f3a6682 100%); }
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 100%; font-size: 30px; line-height: 1.13; letter-spacing: -.55px; }
  .home-hero-copy p { max-width: 38ch; margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .home-hero .hero-actions { margin-top: 18px; gap: 8px; }
  .home-hero .hero-actions .button { min-height: 42px; padding: 9px 12px; flex: 1; font-size: 11px; white-space: nowrap; }
  .home-hero-dots { margin-top: 18px; }
  .facts-strip { width: calc(100% - 24px); margin: 10px auto 18px; padding: 8px; grid-template-columns: 1fr; }
  .facts-strip > div { min-height: 65px; padding: 8px 7px; grid-template-columns: 22px minmax(0, 1fr); column-gap: 7px; border-right: 0; }
  .facts-strip > div:not(:last-child) { border-bottom: 1px solid #dde3ec; }
  .facts-icon svg { width: 19px; height: 19px; }
  .facts-strip strong { font-size: 11px; }
  .facts-strip > div > span:last-child { font-size: 9px; }
  .home-featured { width: calc(100% - 32px); padding: 6px 0 34px; }
  .content-grid { gap: 14px; }
  .events-header { align-items: flex-end; gap: 8px; margin-bottom: 12px; }
  .section-title { font-size: 24px; letter-spacing: -.5px; }
  .all-events-link { font-size: 10px; }
  .events-cards { gap: 10px; }
  .home-event-card { min-height: 220px; padding: 14px; border-radius: 12px; }
  .home-event-card .event-title { max-width: 24ch; font-size: 18px; }
  .home-event-card .event-location { max-width: 30ch; font-size: 10px; }
  .home-event-card .date-badge { padding: 7px 10px; font-size: 10px; }
  .home-about-card { min-height: 0; padding: 20px 18px 16px; border-radius: 14px; }
  .home-about-card h2 { font-size: 20px; }
  .about-stats { margin-top: 14px; padding-top: 11px; grid-template-columns: 1fr; gap: 12px; }
  .about-stats .stat-item, .about-stats .stat-item:not(:first-child) { padding: 0; }
  .about-stats .stat-item:not(:last-child)::after { display: none; }
  .about-stats strong { font-size: clamp(13px, 4vw, 17px); }
  .about-stats span { font-size: 10px; }
}
@media (max-width: 380px) {
  .header-actions .header-contacts { padding-inline: 8px; }
  .home-hero .hero-actions { align-items: flex-start; flex-direction: column; }
  .home-hero .hero-actions .button { width: max-content; min-width: 215px; flex: initial; }
  .facts-strip > div { grid-template-columns: 19px minmax(0, 1fr); column-gap: 5px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-event-card, .home-event-card .event-arrow-btn, .home-hero-dots button { transition: none; }
}

/* Exhibition detail pages: photo-led header, useful materials rail, compact company list. */
.home-hero-copy { width: min(780px, 68%); }
.home-hero h1 { max-width: 780px; font-size: clamp(42px, 4.1vw, 58px); }
.home-contact-action h3 { max-width: 24ch; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.home-contact-action .button { margin-top: 10px; }
.event-detail-hero { min-height: 420px; padding-top: 44px; padding-bottom: 44px; background: var(--navy-950); }
.event-detail-hero .detail-hero-bg { filter: none; transform: none; object-position: center 48%; }
.event-detail-hero .detail-hero-shade { background: linear-gradient(90deg, #0b1e35f2 0%, #0b1e35d8 42%, #0b1e3550 100%); }
.event-detail-hero .detail-hero-content { width: min(760px, 72%); }
.event-detail-hero h1 { max-width: 760px; font-size: clamp(38px, 4.2vw, 58px); }
.event-page-layout { width: min(1320px, calc(100% - 48px)); margin: 34px auto 72px; display: grid; grid-template-columns: minmax(250px, 292px) minmax(0, 1fr); gap: clamp(22px, 3vw, 38px); align-items: start; }
.event-sidebar { min-width: 0; position: sticky; top: 20px; display: grid; gap: 14px; }
.event-sidebar .event-documents { width: 100%; margin: 0; padding: 20px; border: 1px solid #e3e8ee; border-radius: 9px; background: #f7f9fb; }
.event-documents h2 { margin-bottom: 12px; color: #122641; font-size: 17px; line-height: 1.25; }
.event-document-list { display: grid; gap: 7px; }
.event-document-link { min-width: 0; padding: 10px 8px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 9px; align-items: center; border-bottom: 1px solid #e3e8ee; color: #18314f; text-decoration: none; }
.event-document-link:last-child { border-bottom: 0; }
.event-document-link:hover .document-download { color: var(--red); transform: translateY(2px); }
.document-type { min-height: 30px; display: grid; place-items: center; border: 1px solid #d6e0ea; border-radius: 4px; background: #fff; color: #365b7f; font-size: 8px; font-weight: 850; letter-spacing: .25px; }
.event-document-link > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.event-document-link b { color: #243a53; font-size: 11px; font-weight: 750; line-height: 1.35; }
.event-document-link small { color: #8592a2; font-size: 9px; }
.document-download { color: #77879a; font-size: 17px; transition: transform 140ms ease, color 140ms ease; }
.event-sidebar-catalog { min-height: 58px; padding: 13px 15px; display: grid; grid-template-columns: 1fr auto 16px; gap: 10px; align-items: center; border: 1px solid #e3e8ee; border-radius: 8px; background: #fff; color: #1b3553; text-decoration: none; }
.event-sidebar-catalog > span:first-child { font-size: 12px; font-weight: 800; }
.event-sidebar-catalog b { color: var(--red); font-size: 13px; }
.event-sidebar-catalog > span:last-child { color: #728399; }
.event-sidebar-cta { padding: 23px; border: 1px solid #243b58; border-radius: 12px; background: linear-gradient(145deg, #142c49, #0d2038); box-shadow: 0 12px 30px #0d20391c; color: #fff; }
.event-sidebar-cta > span { color: #ff8c97; font-size: 10px; font-weight: 850; letter-spacing: .8px; text-transform: uppercase; }
.event-sidebar-cta h2 { margin-top: 10px; color: #fff; font-size: 21px; line-height: 1.25; }
.event-sidebar-cta p { margin: 9px 0 17px; color: #d0d9e5; font-size: 13px; line-height: 1.55; }
.event-sidebar-cta .button { width: 100%; min-height: 52px; justify-content: center; padding: 13px 14px; font-size: 13px; }
.event-sidebar-secondary { min-height: 50px; margin-top: 10px; padding: 11px 13px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #ffffff8a; border-radius: 7px; background: #ffffff0a; color: #fff; font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.event-sidebar-secondary:hover { border-color: #fff; background: #fff; color: #10243d; }
.event-sidebar-secondary:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
.event-main { min-width: 0; }
.event-main > .legacy-body, .event-main > section { width: 100%; max-width: none; margin: 0 0 38px; }
.event-main .section-head { align-items: end; gap: 16px; }
.event-main .section-head h2 { font-size: clamp(22px, 2.5vw, 30px); }
.event-main .video-grid, .event-main .photo-grid, .event-main .participant-grid, .event-main .logo-grid { width: 100%; margin: 16px 0 0; }
.event-main .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.event-main .video-card { min-width: 0; padding: 0; }
.event-main .video-card h3, .event-main .video-card h2 { margin: 0 0 10px; color: #172b43; font-size: 16px; line-height: 1.35; }
.legacy-video-frame, .video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #08182b; }
.legacy-video-frame iframe, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.event-main .event-album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-main .participant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.participant-item { min-width: 0; min-height: 76px; padding: 9px 11px; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; border: 1px solid #e3e8ee; border-radius: 6px; background: #fff; }
.participant-item-logo { width: 62px; height: 48px; margin: 0; display: grid; place-items: center; overflow: hidden; }
.participant-item-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.participant-item-placeholder { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #eef2f6; color: #66788f; font-size: 13px; font-weight: 800; }
.participant-item-name { color: #20364f; font-size: 11px; font-weight: 750; line-height: 1.35; }
.participant-item-site { color: #365f88; font-size: 9px; font-weight: 750; white-space: nowrap; }
.participant-catalog-link { flex: none; color: #28527c; font-size: 11px; font-weight: 800; text-decoration: none; }
.participant-catalog-link:hover { color: var(--red); }
.participant-count { color: #728196; font-size: 11px; white-space: nowrap; }
.participant-search { width: min(440px, 100%); margin: 16px 0 18px; display: grid; gap: 7px; color: #52657c; font-size: 11px; font-weight: 750; }
.participant-search input { min-height: 44px; padding: 10px 12px; border: 1px solid #dbe2ea; border-radius: 6px; outline: none; background: #fff; color: #1b3048; font: inherit; }
.participant-search input:focus-visible { border-color: #52749a; box-shadow: 0 0 0 3px #3157781c; }
.participant-catalog .participant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.participant-empty { margin-top: 16px; color: #708095; font-size: 13px; }
.participant-back-link { width: min(1320px, calc(100% - 48px)); margin: -24px auto 18px; display: block; color: #385f83; }
.event-presentation { padding: 20px; border: 1px solid #e3e8ee; border-radius: 8px; background: #f7f9fb; }
.event-presentation h2 { margin-bottom: 14px; color: #172b43; font-size: 22px; }
.presentation-card { max-width: 740px; }
.presentation-preview { height: min(68vh, 680px); min-height: 360px; overflow: hidden; border: 1px solid #d9e0e8; border-radius: 5px; background: #e9edf2; }
.presentation-preview iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.presentation-card > a { margin-top: 10px; display: inline-flex; color: #28527c; font-size: 11px; font-weight: 800; }
.event-main .documents { width: 100%; }
.contact-locations { grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: stretch; }
.contact-map-card { min-width: 0; overflow: hidden; border: 1px solid #e0e6ed; border-radius: 12px; background: #f7f9fb; box-shadow: 0 12px 36px #1125440a; }
.contact-map-card > div { min-height: 106px; padding: 20px 24px 14px; display: grid; align-content: center; gap: 6px; }
.contact-map-card h2 { color: #172b43; font-size: 22px; }
.contact-map-card > div > a { width: fit-content; color: #28527c; font-size: 11px; font-weight: 800; }
.contact-map-card iframe { width: 100%; height: 360px; display: block; border: 0; background: #e9edf2; }
@media (max-width: 900px) {
  .event-page-layout { grid-template-columns: 245px minmax(0, 1fr); gap: 20px; }
  .event-sidebar { position: static; }
  .participant-item { grid-template-columns: 48px minmax(0, 1fr); }
  .participant-item-logo { width: 48px; }
  .participant-item-site { grid-column: 2; }
}
@media (max-width: 640px) {
  .home-hero-copy { width: 100%; }
  .home-hero h1 { max-width: 15ch; font-size: clamp(36px, 9.6vw, 48px); }
  .event-detail-hero { min-height: 390px; padding: 34px 22px; }
  .event-detail-hero .detail-hero-content { width: 100%; }
  .event-detail-hero .detail-hero-shade { background: linear-gradient(180deg, #0b1e35ed 0%, #0b1e35d9 60%, #0b1e356d 100%); }
  .event-detail-hero h1 { width: 100%; max-width: 100%; overflow-wrap: break-word; word-break: normal; font-size: clamp(25px, 7.3vw, 32px); }
  .event-page-layout { width: calc(100% - 32px); margin-top: 22px; grid-template-columns: 1fr; gap: 22px; }
  .event-sidebar { position: static; grid-template-columns: 1fr; }
  .event-main .video-grid { grid-template-columns: 1fr; }
  .event-main .event-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-main .participant-grid, .participant-catalog .participant-grid { grid-template-columns: 1fr; }
  .participant-item { grid-template-columns: 60px minmax(0, 1fr) auto; }
  .participant-item-logo { width: 60px; }
  .participant-item-site { grid-column: auto; }
  .event-main .section-head { align-items: flex-start; }
  .event-presentation { padding: 13px; }
  .presentation-preview { height: 62vh; min-height: 320px; }
  .contact-locations { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .contact-map-card iframe { height: 300px; }
  .participant-back-link { width: calc(100% - 32px); }
}

/* Local media additions: album navigation, portrait video, and a date-free 2027 card. */
.gallery-albums { width: min(1180px, calc(100% - 48px)); margin: -12px auto 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-albums a { min-height: 38px; padding: 9px 14px; display: inline-flex; align-items: center; border: 1px solid #dce3eb; border-radius: 999px; background: #fff; color: #34506f; font-size: 12px; font-weight: 750; text-decoration: none; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.gallery-albums a:hover, .gallery-albums a.is-active { border-color: #14365e; background: #14365e; color: #fff; }
.gallery-album-count { width: min(1180px, calc(100% - 48px)); margin: -6px auto 18px; color: #718198; font-size: 12px; }
.video-frame--portrait { width: min(100%, 380px); aspect-ratio: 9 / 16; margin-inline: auto; }
.event-detail-hero--future { min-height: 300px; background: radial-gradient(ellipse at 78% 20%, #284a70 0%, transparent 45%), linear-gradient(120deg, #0b1e35 0%, #142f4e 68%, #1b3c5e 100%); }
.event-detail-hero--future .detail-hero-shade { background: linear-gradient(90deg, #0b1e3525, #0b1e3500); }
.event-detail-hero--future .detail-hero-content { width: min(980px, 90%); }
.event-detail-hero--future .detail-hero-content > span { color: #e4b452; }
.event-card--undated { background: linear-gradient(135deg, #f4f7fa, #e6edf5); }
.event-card--undated .event-label { border-color: #d6e0ea; background: #fff; color: #294b70; }
.event-card--undated .event-link { color: #294b70; }
.home-event-card--undated { background: radial-gradient(ellipse at 84% 14%, #315778 0%, transparent 46%), linear-gradient(125deg, #0b1e35, #1b3a5b); }
.home-event-card--undated .event-card-overlay { background: linear-gradient(90deg, #0b1e3530, #0b1e3500); }
@media (max-width: 640px) {
  .gallery-albums, .gallery-album-count { width: calc(100% - 32px); }
  .gallery-albums { margin-top: -6px; margin-bottom: 18px; }
  .gallery-albums a { min-height: 36px; padding: 8px 12px; font-size: 11px; }
  .page-head h1 { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(28px, 8vw, 36px); line-height: 1.12; }
  .event-detail-hero--future { min-height: 250px; }
  .event-detail-hero--future .detail-hero-content { width: 100%; }
  .video-frame--portrait { width: min(100%, 340px); }
}

/* Exhibition detail polish: clearer wayfinding, calmer title wraps, and content-sized video cards. */
.event-detail-hero .detail-hero-content { width: min(1120px, 90%); }
.event-detail-hero h1 { max-width: 1100px; font-size: clamp(38px, 3.8vw, 56px); line-height: 1.12; }
.event-detail-hero .back-link {
  width: fit-content;
  min-height: 42px;
  margin: 0 0 22px;
  padding: 0 15px;
  gap: 8px;
  border: 1px solid #ffffff45;
  border-radius: 999px;
  background: #ffffff12;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  opacity: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.event-detail-hero .back-link:hover {
  border-color: #ffffff80;
  background: #ffffff22;
  transform: translateX(-2px);
}
.event-detail-hero .back-link:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
.event-page-layout { grid-template-columns: minmax(280px, 318px) minmax(0, 1fr); }
.event-sidebar .event-documents { padding: 21px; }
.event-documents h2 { margin-bottom: 15px; font-size: 18px; }
.event-document-list { gap: 3px; }
.event-document-link {
  min-height: 62px;
  padding: 10px 7px;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  border-radius: 6px;
  transition: background-color 140ms ease;
}
.event-document-link:hover { background: #fff; }
.document-type { min-height: 34px; font-size: 9px; }
.event-document-link b { font-size: 12px; }
.event-document-link small { font-size: 10px; }
.event-main .video-grid, .video-archive-group .video-grid { align-items: start; grid-auto-rows: min-content; }
.event-main .video-card, .video-archive-group .video-card { align-self: start; }
@media (max-width: 900px) and (min-width: 641px) {
  .event-page-layout { grid-template-columns: 245px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .event-detail-hero .detail-hero-content { width: 100%; }
  .event-detail-hero h1 { font-size: clamp(25px, 7.3vw, 32px); }
  .event-detail-hero .back-link { min-height: 40px; margin-bottom: 18px; padding-inline: 13px; }
  .event-page-layout { grid-template-columns: 1fr; }
  .event-document-link { min-height: 58px; }
}

/* One consistent, fine-stroke arrow family across public pages and the editor. */
.icon-arrow {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.22em;
  overflow: visible;
  transition: transform 160ms ease;
}
.icon-arrow--up-right { width: 14px; height: 14px; vertical-align: -0.16em; }
.event-detail-hero .back-link .icon-arrow--left { margin-left: -2px; margin-right: 1px; }
.event-document-link .icon-arrow--down { width: 17px; height: 17px; }
.builder-block-actions .icon-arrow { width: 15px; height: 15px; }
.lightbox-step .icon-arrow { width: 20px; height: 20px; }
.lightbox-hint { display: inline-flex; align-items: center; gap: 6px; }
.lightbox-hint .icon-arrow { width: 14px; height: 14px; }
.event-detail-hero .back-link:hover .icon-arrow--left,
.participant-back-link:hover .icon-arrow--left { transform: translateX(-2px); }
a:hover > .icon-arrow--right,
a:hover > span > .icon-arrow--right { transform: translateX(2px); }


/* Client revisions 20.11: readable facts, split exhibition rails, expandable media and annual results. */
.facts-strip strong { font-size: 17px; }
.facts-strip > div > span:last-child { font-size: 12px; }
.event-page-layout--split { grid-template-columns: minmax(210px, 240px) minmax(0, 1fr) minmax(230px, 260px); gap: 24px; }
.event-page-layout--split .event-sidebar--registration { grid-column: 1; }
.event-page-layout--split .event-main { grid-column: 2; }
.event-page-layout--split .event-sidebar--materials { grid-column: 3; }
.event-sidebar--materials .event-documents { background: #fff; border-color: #dce3eb; }
.event-sidebar--materials .event-documents h2 { color: var(--red); font-size: 20px; }
.event-sidebar--materials .event-document-link { min-height: 72px; padding: 12px 6px; }
.event-sidebar--materials .event-document-link b { color: var(--red); font-size: 14px; font-weight: 800; line-height: 1.4; }
.event-sidebar--materials .event-document-link small { color: #52657c; font-size: 11px; }
.event-sidebar--materials .document-type { color: var(--red); border-color: #d9a4ab; font-size: 10px; }
.event-album-description { margin: -10px 0 20px; color: #233c58; font-size: 17px; font-weight: 650; line-height: 1.6; white-space: normal; }
.event-album--single .event-album-grid { grid-template-columns: 1fr; }
.event-album--single .event-album-grid a { display: block; overflow: hidden; border-radius: 10px; }
.event-album--single .event-album-grid img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.event-video-more { margin-top: 18px; }
.event-video-more > summary { min-height: 54px; padding: 13px 17px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--red); border-radius: 8px; color: var(--red); cursor: pointer; font-size: 15px; font-weight: 800; list-style: none; transition: background-color 160ms ease, color 160ms ease; }
.event-video-more > summary::-webkit-details-marker { display: none; }
.event-video-more > summary:hover, .event-video-more[open] > summary { background: var(--red); color: #fff; }
.event-video-more > summary:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
.event-video-more > summary b { min-width: 26px; padding: 2px 7px; border-radius: 999px; background: #bd1e2d12; font-size: 12px; }
.event-video-more[open] > summary b { background: #ffffff24; }
.event-video-more[open] > summary .icon-arrow { transform: rotate(180deg); }
.event-video-more > .video-grid { margin-top: 22px !important; }
.event-rich-text { color: #1c3048; }
.event-report-intro { max-width: 72ch; margin: 0 0 24px; color: #40536a; font-size: 16px; line-height: 1.65; }
.event-report { display: grid; gap: 12px; }
.event-report > details { overflow: hidden; border: 1px solid #dfe5ec; border-radius: 10px; background: #fff; }
.event-report > details > summary { min-height: 62px; padding: 17px 52px 17px 19px; display: flex; align-items: center; color: #152d49; cursor: pointer; font-size: 18px; font-weight: 800; line-height: 1.35; list-style: none; position: relative; transition: background-color 160ms ease, color 160ms ease; }
.event-report > details > summary::-webkit-details-marker { display: none; }
.event-report > details > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 25px; font-weight: 500; }
.event-report > details[open] > summary { background: #f6f8fa; color: var(--red); }
.event-report > details[open] > summary::after { content: "−"; }
.event-report > details > summary:hover { background: #f6f8fa; }
.event-report > details > summary:focus-visible { outline: 3px solid #e4b452; outline-offset: -3px; }
.event-report-section { padding: 4px 20px 22px; }
.event-report-section p { max-width: 72ch; margin: 14px 0; color: #2e435b; font-size: 16px; line-height: 1.68; }
.event-report-section ul { max-width: 72ch; margin: 14px 0; padding-left: 22px; color: #2e435b; font-size: 16px; line-height: 1.62; }
.event-report-section li + li { margin-top: 8px; }
.event-report-section a { color: #155ca8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.event-report-section a:hover { color: var(--red); }
.event-report-photos { margin: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.event-report-photos a { min-width: 0; overflow: hidden; border-radius: 7px; }
.event-report-photos img { width: 100%; height: 230px; display: block; object-fit: cover; }
.event-report-photos--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-report-photos--three img { height: 180px; }
.event-report-facts { margin: 18px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.event-report-facts > div { padding: 17px; border-radius: 8px; background: #f3f6f9; text-align: center; }
.event-report-facts strong { display: block; color: var(--red); font-size: 26px; }
.event-report-facts span { display: block; margin-top: 5px; color: #40536a; font-size: 12px; line-height: 1.4; }
@media (max-width: 1240px) {
  .event-page-layout--split { grid-template-columns: 245px minmax(0, 1fr); }
  .event-page-layout--split .event-main { grid-column: 2; }
  .event-page-layout--split .event-sidebar--materials { position: static; grid-column: 2; }
  .event-sidebar--materials .event-document-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 900px) {
  .event-page-layout--split { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
  .event-report-photos--three { grid-template-columns: 1fr; }
  .event-report-photos--three img { height: 230px; }
}
@media (max-width: 640px) {
  .facts-strip strong { font-size: 14px; }
  .facts-strip > div > span:last-child { font-size: 11px; }
  .event-page-layout--split { grid-template-columns: 1fr; }
  .event-page-layout--split .event-sidebar--registration, .event-page-layout--split .event-main, .event-page-layout--split .event-sidebar--materials { grid-column: 1; }
  .event-page-layout--split .event-main { grid-row: 2; }
  .event-page-layout--split .event-sidebar--materials { grid-row: 3; }
  .event-sidebar--materials .event-document-list { grid-template-columns: 1fr; }
  .event-report > details > summary { min-height: 58px; padding-left: 15px; font-size: 16px; }
  .event-report-section { padding: 3px 15px 18px; }
  .event-report-section p, .event-report-section ul { font-size: 15px; }
  .event-report-photos, .event-report-photos--three { grid-template-columns: 1fr; }
  .event-report-photos img, .event-report-photos--three img { height: 210px; }
  .event-report-facts { grid-template-columns: 1fr; }
}


/* Client layout references 20.11: past events, split hero, wider rails and larger UI text. */
.event-collection { width: min(1320px, calc(100% - 48px)); margin: 0 auto 52px; }
.event-collection-heading { margin-bottom: 18px; }
.event-collection-heading > span { color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.event-collection-heading h2 { margin-top: 5px; color: var(--navy-950); font-size: 29px; }
.event-grid--upcoming { grid-template-columns: 1fr; margin-bottom: 0; }
.event-grid--upcoming .event-card { min-height: 330px; border: 1px solid #e1e6ed; border-radius: 12px; background: #fff; overflow: hidden; }
.event-grid--past { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.event-grid--past .event-card, .event-grid--past .event-card:first-child { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; border: 1px solid #e1e6ed; border-radius: 12px; background: #fff; overflow: hidden; }
.event-grid--past .event-card > img, .event-grid--past .event-card:first-child > img { height: 230px; min-height: 230px; grid-column: 1; grid-row: 1; }
.event-grid--past .event-label { grid-row: 2; }
.event-grid--past .event-card h3 { grid-row: 3; font-size: 24px; }
.event-grid--past .event-meta { grid-row: 4; font-size: 14px; line-height: 1.45; }
.event-grid--past .event-link { grid-row: 5; font-size: 14px; font-weight: 750; }
.event-collection-archive { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: #28527c; font-size: 14px; font-weight: 750; }

.event-detail-hero--split { min-height: 480px; padding: 0; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; background: var(--navy-950); }
.event-detail-hero--split .detail-hero-content { width: auto; max-width: none; min-height: 480px; padding: 42px 38px 42px max(40px, calc((100vw - 1440px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.event-detail-hero--split .detail-hero-content > span { font-size: 13px; }
.event-detail-hero--split h1 { max-width: 620px; font-size: clamp(38px, 3.4vw, 50px); letter-spacing: -1.1px; }
.event-detail-hero--split .detail-hero-content > p { max-width: 58ch; margin-top: 16px; font-size: 17px; line-height: 1.55; }
.event-detail-hero--split .event-details span { font-size: 13px; }
.event-detail-hero--split .event-details strong { font-size: 16px; line-height: 1.4; }
.event-detail-hero--split .hero-actions { gap: 12px; }
.event-detail-hero--split .hero-actions .button { min-height: 50px; font-size: 14px; }
.event-detail-hero--split .detail-hero-media { min-width: 0; min-height: 480px; overflow: hidden; background: #152d49; }
.event-detail-hero--split .detail-hero-bg { position: static; inset: auto; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: none; transform: none; }

.event-page-layout { width: min(1500px, calc(100% - 48px)); }
.event-page-layout--split { grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) minmax(280px, 320px); gap: 28px; }
.event-sidebar-cta { padding: 26px; }
.event-sidebar-cta > span { font-size: 12px; }
.event-sidebar-cta h2 { font-size: 24px; }
.event-sidebar-cta p { font-size: 16px; line-height: 1.55; }
.event-sidebar-cta .button, .event-sidebar-secondary { min-height: 54px; font-size: 15px; }
.event-sidebar-catalog { min-height: 64px; padding: 15px 16px; }
.event-sidebar-catalog > span:first-child, .event-sidebar-catalog b { font-size: 14px; }
.event-sidebar--materials .event-documents { padding: 20px; border: 1px solid #dde5ed; border-radius: 14px; box-shadow: 0 12px 32px #1125440c; }
.event-documents-kicker { display: block; margin-bottom: 6px; color: var(--red); font-size: 12px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.event-sidebar--materials .event-documents h2 { color: var(--navy-950); font-size: 23px; }
.event-documents-intro { margin: 8px 0 18px; color: #52657c; font-size: 14px; line-height: 1.5; }
.event-sidebar--materials .event-document-list { gap: 12px; }
.event-sidebar--materials .event-document-link { min-height: 92px; padding: 14px; grid-template-columns: 50px minmax(0, 1fr) 34px; gap: 12px; border: 1px solid #dfe5ec; border-radius: 12px; background: #f8fafc; box-shadow: 0 3px 10px #11254406; transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.event-sidebar--materials .event-document-link:hover { border-color: #bd1e2d80; background: #fff; box-shadow: 0 8px 20px #11254412; transform: translateY(-2px); }
.event-sidebar--materials .event-document-link:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
.event-sidebar--materials .document-type { width: 50px; min-height: 50px; border: 0; border-radius: 10px; background: #bd1e2d12; color: var(--red); font-size: 11px; }
.event-sidebar--materials .event-document-link b { color: #172b43; font-size: 16px; line-height: 1.35; }
.event-sidebar--materials .event-document-link small { color: #52657c; font-size: 13px; }
.event-sidebar--materials .document-download { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.event-sidebar--materials .event-document-link:hover .document-download { color: #fff; transform: translateY(2px); }
.event-main .section-head span { font-size: 12px; }
.event-main .video-card h3, .event-main .video-card h2 { font-size: 18px; }
.video-kind { font-size: 12px; }
.facts-strip > div > span:last-child { font-size: 13px; }
.home-about-card p { font-size: 15px; }
.home-about-card > div:first-child > a { font-size: 14px; }
.home-event-card .event-location { font-size: 13px; }
.about-stats span { font-size: 12px; }

@media (max-width: 1240px) {
  .event-page-layout--split { grid-template-columns: 280px minmax(0, 1fr); }
  .event-detail-hero--split .detail-hero-content { padding-left: 32px; padding-right: 28px; }
  .event-detail-hero--split h1 { font-size: 40px; }
  .event-detail-hero--split .hero-actions { align-items: stretch; flex-direction: column; }
}
@media (max-width: 900px) {
  .event-grid--past { grid-template-columns: 1fr; }
  .event-detail-hero--split { grid-template-columns: 1fr; }
  .event-detail-hero--split .detail-hero-content { min-height: 0; padding: 36px 32px 40px; }
  .event-detail-hero--split .detail-hero-media { min-height: 320px; }
  .event-detail-hero--split .hero-actions { flex-direction: row; }
  .event-page-layout--split { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .event-collection { width: calc(100% - 32px); margin-bottom: 38px; }
  .event-collection-heading h2 { font-size: 25px; }
  .event-grid--upcoming .event-card { grid-template-columns: 1fr; }
  .event-grid--upcoming .event-card > img { height: 220px; min-height: 220px; grid-row: 1; }
  .event-grid--upcoming .event-label { grid-row: 2; }
  .event-grid--upcoming .event-card h3 { grid-row: 3; }
  .event-grid--upcoming .event-meta { grid-row: 4; }
  .event-grid--upcoming .event-link { grid-row: 5; }
  .event-grid--past .event-card > img, .event-grid--past .event-card:first-child > img { height: 210px; min-height: 210px; }
  .event-detail-hero--split .detail-hero-content { padding: 28px 22px 32px; }
  .event-detail-hero--split h1 { font-size: clamp(27px, 7.5vw, 34px); letter-spacing: -.5px; }
  .event-detail-hero--split .detail-hero-content > p { font-size: 16px; }
  .event-detail-hero--split .hero-actions { align-items: stretch; flex-direction: column; }
  .event-detail-hero--split .detail-hero-media { min-height: 240px; height: 240px; }
  .event-page-layout { width: calc(100% - 32px); }
  .event-page-layout--split { grid-template-columns: 1fr; }
  .event-sidebar-cta { padding: 24px; }
  .event-sidebar--materials .event-document-link { min-height: 88px; padding: 12px; }
  .facts-strip > div > span:last-child { font-size: 11px; }
  .home-about-card p { font-size: 14px; }
  .home-event-card .event-location { font-size: 11px; }
}


/* Soft hero-to-banner blend, shared by upcoming and archived exhibitions. */
.event-detail-hero--split .detail-hero-media { position: relative; }
.event-detail-hero--split .detail-hero-media::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #0b1b33 0%, rgba(11, 27, 51, .88) 5%, rgba(11, 27, 51, .42) 14%, rgba(11, 27, 51, 0) 28%); }
@media (max-width: 900px) {
  .event-detail-hero--split .detail-hero-media::before { background: linear-gradient(180deg, #0b1b33 0%, rgba(11, 27, 51, .68) 7%, rgba(11, 27, 51, 0) 28%); }
}


/* Keep archive hero heights consistent regardless of source image ratio. */
@media (min-width: 901px) {
  .event-detail-hero--split, .event-detail-hero--split .detail-hero-content, .event-detail-hero--split .detail-hero-media { height: 480px; min-height: 480px; }
  .event-detail-hero--split .detail-hero-bg { position: absolute; inset: 0; }
}
@media (max-width: 900px) {
  .event-detail-hero--split { height: auto; }
  .event-detail-hero--split .detail-hero-content { height: auto; }
  .event-detail-hero--split .detail-hero-media { height: 320px; min-height: 320px; }
  .event-detail-hero--split .detail-hero-bg { position: absolute; inset: 0; }
}
@media (max-width: 640px) {
  .event-detail-hero--split .detail-hero-media { height: 240px; min-height: 240px; }
}


/* Local event albums: larger, touch-friendly navigation. */
.gallery-albums { gap: 10px; }
.gallery-albums a { min-height: 44px; padding: 10px 16px; font-size: 13px; }
.gallery-album-count { font-size: 14px; }
@media (max-width: 640px) {
  .gallery-albums a { min-height: 44px; padding: 10px 13px; font-size: 12px; }
}


/* Album selector in the administration gallery. */
.admin-search select { min-height: 44px; min-width: min(320px, 100%); padding: 9px 36px 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #243a53; font: inherit; font-size: 13px; }
.admin-search > label:not(.visually-hidden) { align-self: center; color: #52657c; font-size: 13px; font-weight: 750; }
.admin-search select:focus-visible { outline: 3px solid #bd1e2d2b; border-color: #b31b2a; }


/* Photo viewer: prevent accidental selection and expose the current-image download. */
.site-lightbox, .site-lightbox * { -webkit-user-select: none; user-select: none; }
.site-lightbox img { -webkit-user-drag: none; user-drag: none; }
.lightbox-top { gap: 14px; }
.lightbox-actions { display: flex; align-items: center; gap: 10px; }
.lightbox-download { min-height: 42px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ffffff35; border-radius: 999px; background: #ffffff0b; color: #f5f7fb; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.lightbox-download svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-download:hover { transform: translateY(-1px); border-color: #ffffff75; background: #ffffff20; }
.lightbox-download:focus-visible, .lightbox-close:focus-visible, .lightbox-step:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
@media (max-width: 480px) {
  .lightbox-top { gap: 7px; }
  .lightbox-actions { gap: 7px; }
  .lightbox-download { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; }
  .lightbox-download > span { display: none; }
  .lightbox-context strong { font-size: 12px; }
}


/* Client fixes 25.11: mobile navigation, venue address and discoverable accordions. */
@media (max-width: 900px) {
  .site-header .header-top { padding-right: 58px; }
  .site-header .nav-shell { padding: 0; border: 0; }
  .site-header .menu-toggle { position: absolute; top: 12px; right: 16px; z-index: 32; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; flex-direction: column; gap: 4px; border: 1px solid #dce3ec; border-radius: 9px; background: #fff; color: #142c49; box-shadow: 0 3px 12px #10254312; }
  .site-header .menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
  .site-header .menu-toggle b { display: none; }
  .site-header .menu-toggle:hover { background: #f3f6fa; border-color: #bd1e2d80; }
  .site-header .menu-toggle:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
  .site-header .nav-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 29; padding: 16px; border-top: 1px solid #e3e8ee; border-bottom: 1px solid #e3e8ee; background: #fff; box-shadow: 0 18px 34px #1025431f; }
  .site-header .nav-panel.is-open { display: grid; gap: 14px; }
  .site-header .nav-panel nav { gap: 2px; }
  .site-header .nav-panel nav a { min-height: 44px; padding: 10px 12px; border-radius: 7px; }
  .site-header .nav-panel nav a.is-active { padding: 10px 12px; }
  .site-header .header-search { margin-top: 4px; }
}
.event-venue-name { margin: -4px 0 18px; color: #233c58; font-size: 22px; font-weight: 800; line-height: 1.4; }
.event-venue-address { margin: 18px 0 0; padding: 16px 18px; display: flex; align-items: flex-start; gap: 12px; border-left: 4px solid var(--red); border-radius: 8px; background: #bd1e2d0a; color: var(--red); font-size: 20px; font-weight: 800; line-height: 1.45; }
.event-venue-address svg { width: 25px; height: 25px; flex: 0 0 25px; margin-top: 2px; }
.event-report > details > summary { padding-right: 128px; }
.event-report > details > summary::before { content: "Подробнее"; position: absolute; right: 44px; top: 50%; transform: translateY(-50%); padding: 5px 9px; border-radius: 999px; background: #bd1e2d12; color: var(--red); font-size: 11px; font-weight: 850; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.event-report > details[open] > summary::before { content: "Скрыть"; background: #bd1e2d; color: #fff; }
@media (max-width: 640px) {
  .site-header .menu-toggle { top: 12px; right: 14px; }
  .event-venue-name { font-size: 20px; }
  .event-venue-address { padding: 14px 15px; font-size: 18px; }
  .event-report > details > summary { padding-right: 116px; }
  .event-report > details > summary::before { right: 40px; font-size: 10px; }
}


/* Mobile header: only the brand and working menu button remain. */
@media (max-width: 640px) {
  .site-header .header-actions { display: none; }
}


.about-presentation { width: min(1180px, calc(100% - 48px)); margin: 8px auto 64px; padding: clamp(26px, 4vw, 46px); display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 14px; background: linear-gradient(125deg, #101f35, #1a416b); color: var(--white); box-shadow: 0 18px 48px #11254424; }
.about-presentation > div > span { color: #f39aa6; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.about-presentation h2 { margin: 9px 0 12px; font-size: clamp(28px, 3.4vw, 42px); }
.about-presentation p { margin: 0; color: #cbd8e8; font-size: 15px; line-height: 1.7; }
.about-presentation-download { flex: 0 0 auto; gap: 12px; box-shadow: 0 8px 24px #0002; }
.about-presentation-download small { font-size: 12px; font-weight: 500; opacity: .82; }
.about-presentation-download svg { width: 19px; height: 19px; }
@media (max-width: 640px) {
  .about-presentation { width: calc(100% - 32px); margin-bottom: 48px; flex-direction: column; align-items: stretch; gap: 24px; }
  .about-presentation-download { width: 100%; flex-wrap: wrap; text-align: center; }
}


.section-head > a.section-head-action { align-self: center; min-height: 44px; border-bottom: 0; color: var(--white); white-space: nowrap; box-shadow: 0 6px 16px #bd1e2d26; }
.home-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-video-card h3 { font-size: 18px; }
.about-legacy { width: min(1180px, calc(100% - 48px)); margin: 0 auto 56px; }
.about-legacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about-legacy-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 10px 32px #11254408; }
.about-legacy-number { display: inline-block; margin-bottom: 16px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 1.2px; }
.about-legacy-card h3 { margin: 0 0 14px; color: var(--navy-900); font-size: 22px; line-height: 1.35; }
.about-legacy-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.about-legacy-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.about-legacy-card li { position: relative; margin-top: 12px; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-legacy-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.about-presentation { display: block; }
.about-presentation-summary { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.about-presentation-summary > div > span { color: #f39aa6; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.presentation-viewer { margin-top: 32px; padding-top: 28px; border-top: 1px solid #ffffff24; }
.presentation-viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--white); }
.presentation-viewer-heading > span { font-size: 14px; font-weight: 750; }
.presentation-viewer-heading small { color: #cbd8e8; font-size: 12px; }
.presentation-stage { margin-top: 18px; padding: 12px; border-radius: 9px; background: var(--white); box-shadow: 0 12px 32px #0003; }
.presentation-stage img { width: 100%; height: auto; display: block; border-radius: 4px; }
.presentation-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; color: var(--white); }
.presentation-controls button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff40; border-radius: 50%; background: transparent; color: var(--white); }
.presentation-controls button:hover:not(:disabled) { background: #ffffff12; }
.presentation-controls button:disabled { opacity: .35; cursor: default; }
.presentation-controls button svg { width: 20px; height: 20px; }
.presentation-controls span { min-width: 62px; text-align: center; font-size: 13px; }
@media (max-width: 900px) {
  .home-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; gap: 14px; }
  .section-head > a.section-head-action { margin-left: auto; padding: 10px 14px; font-size: 12px; }
  .about-legacy { width: calc(100% - 32px); }
  .about-legacy-grid { grid-template-columns: 1fr; }
  .about-legacy-card { padding: 22px; }
  .about-presentation-summary { flex-direction: column; align-items: stretch; gap: 24px; }
  .presentation-viewer-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
  .presentation-stage { padding: 7px; }
}


/* November 2026 content and exhibition revisions. */
.form-source { grid-column: 1 / -1; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.form-source legend { padding: 0 8px; color: var(--navy-800); font-size: 14px; font-weight: 750; }
.form-source > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.form-source label { min-height: 44px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 550; cursor: pointer; }
.form-source input { width: 18px; min-height: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--red); }

.event-detail-hero--split { min-height: 0; align-items: center; }
.event-detail-hero--split .detail-hero-media { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; align-self: center; }
.event-detail-hero--split .detail-hero-bg { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.event-detail-hero--split .detail-hero-media::before { background: linear-gradient(90deg, #0b1b33 0%, rgba(11, 27, 51, .4) 3%, rgba(11, 27, 51, 0) 10%); }

.logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.logo-grid > a, .logo-grid > div { min-height: 148px; padding: 22px; }
.logo-grid img { max-height: 112px; }

@media (max-width: 1100px) {
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .event-detail-hero--split .detail-hero-media { height: auto; min-height: 0; }
  .event-detail-hero--split .detail-hero-media::before { background: linear-gradient(180deg, #0b1b33 0%, rgba(11, 27, 51, .32) 3%, rgba(11, 27, 51, 0) 12%); }
}
@media (max-width: 640px) {
  .form-source { padding: 16px 12px; }
  .form-source > div { grid-template-columns: 1fr; gap: 4px; }
  .event-detail-hero--split .detail-hero-media { height: auto; min-height: 0; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-grid > a, .logo-grid > div { min-height: 124px; padding: 16px; }
  .logo-grid img { max-height: 88px; }
}

.event-album-actions { margin-top: 20px; display: flex; justify-content: flex-start; }
.event-album-actions .button { min-height: 48px; }


/* November 2027 client typography and presentation refinements. */
.brand-description { max-width: none; color: #243a55; font-size: 16px; font-weight: 750; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1280px) {
  .brand-description { display: none; }
}

.about-story > article p { color: #35485f; font-size: 17px; line-height: 1.85; }
.about-story > article .about-lead { color: #1b334f; font-size: 21px; line-height: 1.65; }
.about-facts strong { font-size: 20px; line-height: 1.4; }
.about-facts span { color: #43566d; font-size: 15px; line-height: 1.65; }
.about-legacy .section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.about-legacy-card { padding: 32px; border-color: #e0e6ed; border-radius: 14px; box-shadow: 0 12px 34px #1125440b; }
.about-legacy-number { font-size: 13px; }
.about-legacy-card h3 { margin-bottom: 16px; font-size: 24px; line-height: 1.4; }
.about-legacy-card p, .about-legacy-card li { color: #3d5067; font-size: 17px; line-height: 1.85; }
.about-legacy-card li { margin-top: 14px; padding-left: 22px; }
.about-presentation p { font-size: 16px; }

.event-grid--upcoming .event-card { min-height: 0; grid-template-rows: auto auto auto auto; }
.event-grid--upcoming .event-card > img { height: 100%; min-height: 260px; grid-row: 1 / 5; }
.event-grid--upcoming .event-label { margin: 24px 26px 0; font-size: 14px; }
.event-grid--upcoming .event-card h3 { margin: 12px 26px 0; font-size: clamp(26px, 2.6vw, 34px); }
.event-grid--upcoming .event-meta { margin: 14px 26px 22px; color: #40536a; font-size: 16px; line-height: 1.6; }
.event-grid--upcoming .event-link { width: max-content; max-width: calc(100% - 52px); min-height: 50px; margin: auto 26px 26px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 6px; background: var(--red); color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px #bd1e2d26; }
.event-grid--upcoming .event-link svg { width: 20px; height: 20px; }

.event-detail-hero--split .event-details { margin-top: 26px; padding-top: 22px; gap: 18px 32px; border-top: 1px solid #ffffff24; }
.event-detail-hero--split .event-details span { margin-bottom: 5px; font-size: 14px; letter-spacing: .4px; }
.event-detail-hero--split .event-details strong { font-size: 20px; font-weight: 750; line-height: 1.5; }
.event-documents-title { margin: 0 0 20px; color: var(--navy-900); font-size: 22px; line-height: 1.45; }

.presentation-document { margin-top: 32px; padding-top: 28px; border-top: 1px solid #ffffff24; }
.presentation-document-heading { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.presentation-document-heading > div > span { color: #fff; font-size: 16px; font-weight: 750; }
.presentation-document-heading p { margin-top: 4px; font-size: 14px; }
.presentation-document-heading > a { min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; flex: none; gap: 8px; border: 1px solid #ffffff50; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 700; }
.presentation-document-heading > a:hover { background: #ffffff10; }
.presentation-pdf { width: 100%; height: min(78vh, 800px); min-height: 600px; display: block; border: 0; border-radius: 8px; background: #f1f4f7; box-shadow: 0 12px 32px #0003; }

@media (max-width: 640px) {
  .about-story > article p { font-size: 16px; line-height: 1.8; }
  .about-story > article .about-lead { font-size: 19px; }
  .about-facts strong { font-size: 19px; }
  .about-facts span { font-size: 15px; }
  .about-legacy-card { padding: 24px; }
  .about-legacy-card h3 { font-size: 22px; }
  .about-legacy-card p, .about-legacy-card li { font-size: 16px; line-height: 1.8; }
  .event-grid--upcoming .event-card > img { height: 210px; min-height: 210px; grid-row: 1; }
  .event-grid--upcoming .event-label { margin: 20px 22px 0; }
  .event-grid--upcoming .event-card h3 { margin: 10px 22px 0; font-size: 26px; }
  .event-grid--upcoming .event-meta { margin: 12px 22px 20px; font-size: 16px; }
  .event-grid--upcoming .event-link { min-height: 50px; margin: 0 22px 22px; max-width: calc(100% - 44px); }
  .event-detail-hero--split .event-details { gap: 18px; }
  .event-detail-hero--split .event-details span { font-size: 13px; }
  .event-detail-hero--split .event-details strong { font-size: 17px; }
  .event-documents-title { font-size: 20px; }
  .presentation-document-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .presentation-document-heading > a { width: 100%; justify-content: center; }
  .presentation-pdf { height: 70dvh; min-height: 520px; }
}


/* Exhibition document opening and clearer CTA spacing. */
.event-sidebar-cta .button.primary { word-spacing: .18em; }
.event-document-link { grid-template-columns: 42px minmax(0, 1fr) 44px; }
.event-document-open { grid-column: 1 / 3; min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 9px; align-items: center; }
.event-document-open .document-info { min-width: 0; display: grid; gap: 4px; }
.event-document-open:hover b { text-decoration: underline; text-underline-offset: 3px; }
.event-document-open:focus-visible, .document-download:focus-visible { outline: 3px solid #e4b452; outline-offset: 3px; }
.event-sidebar--materials .event-document-link { grid-template-columns: 50px minmax(0, 1fr) 44px; }
.event-sidebar--materials .event-document-open { grid-template-columns: 50px minmax(0, 1fr); gap: 12px; }
.document-download { width: 44px; height: 44px; display: grid; place-items: center; }
