/* Light variant: data-theme="light" on <html> keeps the light design even when the device is in dark mode */
/* LEC palette: grey and blue replace the green of the original site */
:root {
  --blue: #275C88;   /* banner, active menu, links, slider overlay */
  --navy: #1F4E79;   /* footer, hover */
  --dark: #214C6E;
  --light: #DCE6F2;
  --slate: #879AA1;  /* lines, decorative only */
  --soft: #F2F2F2;   /* navigation bar */
  --line: #D9D9D9;
  --text: #404040;
  --bg: #FFFFFF;
  --on-blue-muted: #C9D6E0;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #12202C; --soft: #172735; --text: #E3E8EC; --line: #2E4558; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #12202C; --soft: #172735; --text: #E3E8EC; --line: #2E4558; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Verdana, "DejaVu Sans", Geneva, Tahoma, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #8DB4DE; outline-offset: 2px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { background: #fff; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #404040; text-decoration: none; }
.topbar a:hover { color: #275C88; }
.topbar .lang { display: inline-flex; align-items: center; gap: 6px; padding-left: 16px; border-left: 1px solid #D9D9D9; color: #404040; }
.topbar .lang strong { color: #275C88; }
.topbar .lang-sep { color: #BFBFBF; }
.topbar a[aria-current="page"] { color: #275C88; font-weight: bold; }

/* Logo bar: stays white so the original logos read correctly */
.logobar { background: #fff; border-bottom: 1px solid #D9D9D9; }
.logobar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 16px; flex-wrap: wrap; }
.smtp-logo img { height: 64px; width: auto; }
.partner { display: flex; align-items: center; gap: 28px; }
.partner img { height: 42px; width: auto; }
.smtp-logo, .partner a, .f-logos a { text-decoration: none; }
.alt { font-weight: bold; color: #275C88; font-size: 14px; text-decoration: none; }
.smtp-logo .alt { font-size: 32px; }

/* Page title banner (was green) */
.banner { background: var(--blue); color: #fff; }
.banner h1 { margin: 0; font-size: 26px; padding: 14px 0; font-weight: bold; }

/* Main navigation with dropdowns */
.mainnav { background: var(--soft); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.mainnav ul { list-style: none; margin: 0; padding: 0; }
.mainnav > .wrap > ul { display: flex; }
.mainnav li { position: relative; }
.mainnav > .wrap > ul > li > a, .mainnav button.sub {
  display: flex; align-items: center; gap: 6px; padding: 12px 18px; text-decoration: none; color: var(--text);
  font: inherit; font-size: 15px; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
}
.mainnav a[aria-current="page"] { color: var(--blue); font-weight: bold; border-bottom-color: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mainnav a[aria-current="page"] { color: #9DC1E3; border-bottom-color: #9DC1E3; } }
.mainnav > .wrap > ul > li:hover > a, .mainnav button.sub:hover { color: var(--blue); }
.caret { font-size: 10px; }
.dropdown { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); border-top: 3px solid var(--blue); }
.dropdown a { display: block; padding: 10px 18px; color: #404040; text-decoration: none; font-size: 14px; }
.dropdown a:hover { background: var(--light); color: var(--dark); }
li.has-sub:hover .dropdown, li.has-sub:focus-within .dropdown, li.has-sub.open .dropdown { display: block; }
li.has-sub.suppress .dropdown { display: none !important; }
.menu-toggle { display: none; }

/* Slider */
.slider { position: relative; overflow: hidden; background: #1F4E79; width: calc(100% - 48px); max-width: 1092px; margin: 32px auto 0; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; }
.overlay { pointer-events: none; }
.overlay a { pointer-events: auto; }
.no-js .ctrl, .no-js .slider-controls { display: none; }
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } }
.slide { min-width: 100%; aspect-ratio: 16 / 8; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.credit { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.overlay {
  position: absolute; left: 72px; top: 50%; transform: translateY(-50%);
  background: rgba(39, 92, 136, .92); color: #fff; padding: 26px 32px; max-width: min(540px, calc(100% - 48px));
}
.overlay h2 { margin: 0; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.2; }
.overlay h2 a { text-decoration: none; display: block; color: var(--on-blue-muted); font-size: .55em; margin-bottom: 6px; }
.overlay h2 a:hover { color: #fff; text-decoration: underline; }
.overlay .venue { margin: 8px 0 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: bold; }
.ctrl { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.85); color: #275C88; font-size: 22px; cursor: pointer; }
.ctrl:hover { background: #fff; }
.prev { left: 12px; } .next { right: 12px; }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.dots { display: flex; }
.dots button { position: relative; width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.dots button::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid #fff; }
.dots button[aria-current="true"]::before { background: #fff; }
.slider-controls .pause { width: 24px; height: 24px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(0,0,0,.25); color: #fff; font-size: 9px; line-height: 1; cursor: pointer; }
.slider-controls .pause:hover { background: rgba(0,0,0,.45); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.spacer { height: 56px; }

/* Footer (was green) */
footer { background: var(--navy); color: #fff; padding: 36px 0 28px; }
footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.f-logos { display: flex; gap: 10px; flex-wrap: nowrap; }
.f-logos a { background: #fff; padding: 10px 14px; min-height: 58px; display: flex; align-items: center; }
.f-logos img { height: 36px; width: auto; }
.f-smtp { background: #fff; padding: 10px 16px; justify-self: center; }
.f-smtp img { height: 40px; width: auto; }
.f-text { text-align: right; font-size: 14px; }
.f-text p { margin: 0 0 6px; }
.f-text a { text-decoration: none; }
.f-text a:hover { text-decoration: underline; }



/* ---------- Save the date view (original content, adapted design) ---------- */
[hidden] { display: none !important; }
.mainnav button.sub.active { color: var(--blue); font-weight: bold; border-bottom-color: var(--blue); }
.dropdown a[aria-current="page"] { background: var(--light); color: var(--dark); font-weight: bold; }
.std-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.std-hero .wrap { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.std-kicker { color: #5F7178; font-size: 15px; font-weight: bold; margin: 0 0 6px; }
.std-hero h2 { font-size: clamp(40px, 6vw, 64px); color: var(--blue); letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.std-hero .sub { font-size: 19px; max-width: 38ch; margin: 12px 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 22px; font-size: 15px; font-weight: bold; text-decoration: none; border: 2px solid var(--blue); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); }
.btn-secondary { color: var(--blue); background: transparent; }
.btn-secondary:hover { background: var(--light); }
.date-card { background: var(--blue); color: #fff; padding: 28px 30px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.date-card .days { font-size: 64px; font-weight: bold; line-height: 1; letter-spacing: -0.03em; }
.date-card .month { font-size: 21px; font-weight: bold; margin-top: 8px; }
.date-card .place { margin-top: 6px; color: var(--on-blue-muted); }
.std section { padding: 52px 0; }
.std .section-title { font-size: 26px; color: var(--blue); margin: 0 0 12px; line-height: 1.2; }
.lead { max-width: 68ch; margin: 0; }
.fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; padding: 0; list-style: none; }
.fields li { background: var(--light); color: var(--dark); padding: 22px 20px; font-weight: bold; min-height: 104px; display: flex; align-items: flex-end; }
.program { background: var(--soft); }
.notice { display: inline-block; background: var(--light); color: var(--dark); padding: 6px 12px; font-size: 14px; margin: 0 0 20px; }
.days-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day { background: var(--bg); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.day header { background: var(--blue); color: #fff; padding: 14px 20px; }
.day .weekday { color: var(--on-blue-muted); font-size: 14px; display: block; }
.day .date { font-size: 20px; font-weight: bold; }
.day dl { margin: 0; padding: 6px 20px 14px; }
.day .slot { padding: 12px 0; }
.day .slot + .slot { border-top: 1px solid var(--line); }
.day dt { color: var(--blue); font-weight: bold; font-size: 18px; }
.day dd { margin: 2px 0 0; font-size: 15px; }
.organizers { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 40px; align-items: center; }
.photo { position: relative; margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.closing { font-size: 19px; font-weight: bold; color: var(--blue); margin: 20px 0 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .std-hero h2, :root:not([data-theme="light"]) .std .section-title,
  :root:not([data-theme="light"]) .day dt, :root:not([data-theme="light"]) .closing { color: #9DC1E3; }
  :root:not([data-theme="light"]) .fields li, :root:not([data-theme="light"]) .notice { background: #22394D; color: #DCE6F2; }
  :root:not([data-theme="light"]) .btn-secondary { color: #DCE6F2; border-color: #9DC1E3; }
  :root:not([data-theme="light"]) .btn-secondary:hover { background: #22394D; }
}
@media (max-width: 900px) {
  .std-hero .wrap, .organizers { grid-template-columns: 1fr; gap: 28px; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .days-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } .fields li { min-height: 0; } }


/* ---------- Location and journey views ---------- */
.page-intro { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-intro .wrap { padding-top: 26px; padding-bottom: 26px; }
.page-intro h2 { font-size: clamp(32px, 5vw, 48px); color: var(--blue); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
.page-intro p { margin: 0; max-width: 62ch; font-size: 17px; }
.venues { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.venue-card { background: var(--bg); box-shadow: 0 2px 8px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.venue-card header { background: var(--blue); color: #fff; padding: 16px 22px; }
.venue-card .role { color: var(--on-blue-muted); font-size: 14px; display: block; }
.venue-card .name { font-size: 21px; font-weight: bold; }
.venue-card .map { position: relative; aspect-ratio: 16 / 10; background: var(--light); }
.venue-card .map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.venue-card .body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.venue-card address { font-style: normal; }
.venue-card .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.btn-small { padding: 8px 14px; font-size: 14px; }
.transport { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 36px; align-items: start; }
.transport aside { background: var(--blue); color: #fff; padding: 24px 26px; }
.transport aside .role { color: var(--on-blue-muted); font-size: 14px; }
.transport aside .name { font-size: 22px; font-weight: bold; margin: 2px 0 10px; }
.transport aside address { font-style: normal; margin-bottom: 18px; }
.transport aside .btn { border-color: #fff; }
.transport aside .btn-primary { background: #fff; color: #275C88; }
.transport aside .btn-primary:hover { background: #DCE6F2; border-color: #DCE6F2; }
.transport aside .btn-secondary { color: #fff; }
.transport aside .btn-secondary:hover { background: #1F4E79; }
.transport aside .stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.netmap { margin: 0; background: #fff; border: 1px solid var(--line); padding: 16px; }
.netmap img { width: 100%; height: auto; }
.netmap .ph { min-height: 280px; display: flex; align-items: center; justify-content: center; color: #214C6E; background: #DCE6F2; text-align: center; padding: 24px; font-size: 14px; }
.netmap figcaption { font-size: 13px; color: #5F7178; margin-top: 10px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-intro h2 { color: #9DC1E3; }
}
@media (max-width: 900px) {
  .venues, .transport { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  footer .wrap { grid-template-columns: 1fr; }
  .f-smtp { justify-self: start; }
  .f-logos { flex-wrap: wrap; }
  .f-text { text-align: left; }
  .slide { aspect-ratio: 4 / 3; }
  .slider { width: calc(100% - 36px); margin-top: 18px; }
  .overlay { left: 16px; right: 16px; max-width: none; padding: 18px 20px; }
  .ctrl { top: auto; bottom: 8px; transform: none; width: 36px; height: 36px; font-size: 18px; }
}
@media (max-width: 680px) {
  .partner { gap: 16px; }
  .partner img { height: 30px; }
  .smtp-logo img { height: 48px; }
  .menu-toggle { display: block; margin: 8px 0; background: none; border: 1px solid var(--line); padding: 8px 14px; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; }
  .mainnav > .wrap > ul { display: none; flex-direction: column; padding-bottom: 8px; }
  .mainnav.open > .wrap > ul, .no-js .mainnav > .wrap > ul { display: flex; }
  .no-js .menu-toggle { display: none !important; }
  .dropdown { position: static; box-shadow: none; border-top: 0; background: transparent; }
  .dropdown a { color: var(--text); padding-left: 34px; }
  li.has-sub .dropdown, li.has-sub:hover .dropdown { display: block; }
  .mainnav button.sub { cursor: default; }
  .mainnav button.sub .caret { display: none; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mainnav button.sub.active { color: #9DC1E3; border-bottom-color: #9DC1E3; }
  :root:not([data-theme="light"]) .std-kicker { color: #B8C4CA; }
}

.contact-list { margin: 0; display: grid; gap: 12px; }
.contact-list div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.contact-list dt { color: #5F7178; }
.contact-list dd { margin: 0; font-weight: bold; }
.contact-list a { color: var(--blue); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
/* ---------- Footer proposal: white logo band + slim navy bar ---------- */
footer { background: none; color: inherit; padding: 0; }
footer .wrap { display: block; }
.f-band { background: #fff; border-top: 1px solid #D9D9D9; }
.f-band-inner { display: flex !important; align-items: center; justify-content: space-between; gap: 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.f-label { margin: 0 0 10px; font-size: 13px; color: #5F7178; }
.f-logos { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.f-logos a { background: none; padding: 0 28px; min-height: 0; border-left: 1px solid #D9D9D9; box-shadow: none; text-decoration: none; }
.f-logos a:first-child { padding-left: 0; border-left: 0; }
.f-logos img { height: 44px; width: auto; }
.f-smtp { background: none; padding: 0; box-shadow: none; justify-self: auto; text-decoration: none; }
.f-smtp img { height: 52px; width: auto; }
.f-bar { background: var(--navy); color: #fff; font-size: 14px; }
.f-bar-inner { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.f-bar a { text-decoration: none; }
.f-bar a:hover { text-decoration: underline; }
.f-sep { margin: 0 10px; opacity: .5; }
@media (max-width: 720px) {
  .f-logos a { padding: 0 16px; }
  .f-logos img { height: 34px; }
  .f-smtp img { height: 42px; }
  .f-sep { display: block; height: 0; overflow: hidden; margin: 4px 0; }
}

/* ---------- Header: date and calendar action ---------- */
.head-event { display: flex; align-items: center; gap: 20px; }
.head-date { font-size: 14px; line-height: 1.4; color: #404040; text-align: right; }
.head-date strong { color: #275C88; }
.logobar .btn { display: inline-block; padding: 10px 18px; font-size: 14px; font-weight: bold; text-decoration: none; border: 2px solid #275C88; background: #275C88; color: #fff; white-space: nowrap; }
.logobar .btn:hover { background: #1F4E79; border-color: #1F4E79; }
@media (max-width: 720px) {
  .head-date { display: none; }
  .logobar .btn { padding: 8px 12px; font-size: 13px; }
}

.menu-toggle { user-select: none; -webkit-user-select: none; touch-action: manipulation; }
@media (max-width: 680px) { .menu-toggle { display: inline-block !important; } }
/* Field tiles: same two-line layout for all four labels at every screen width */
.fields li span { display: block; max-width: 15.5ch; }

/* ---------- Fields: title + short description, "New" badge ---------- */
.fields.fields-v3 li { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 22px 20px 20px; font-weight: normal; }
.fields-v3 li span { max-width: none; }
.fields-v3 .ft { display: block; font-weight: bold; font-size: 17px; line-height: 1.35; max-width: 17ch; min-height: 2.7em; margin-bottom: 12px; }
.fields-v3 .fd { display: block; padding-top: 12px; border-top: 1px solid rgba(33, 76, 110, .25); font-size: 14px; line-height: 1.45; color: #214C6E; }
.fields-v3 .badge { position: absolute; top: -11px; right: 14px; line-height: 1.2; box-shadow: 0 2px 6px rgba(0,0,0,.15); background: #275C88; color: #fff; font-size: 12px; font-weight: bold; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; }
@media (max-width: 480px) { .fields-v3 .ft { min-height: 0; } }

/* ---------- Exhibition and sponsoring ---------- */
.why { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.why li { padding-left: 18px; position: relative; max-width: 60ch; }
.why li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: #275C88; }
.why strong { color: var(--blue); }
.on-request { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-weight: bold; color: var(--blue); }
.expo-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--light); padding: 28px 30px; }
.expo-contact .section-title { margin-bottom: 8px; }
.expo-contact a { color: var(--blue); }
.expo-contact .btn-primary { color: #fff; }

/* ---------- Package cards ---------- */
.pkgs { display: grid; gap: 24px; margin-top: 8px; }
.pkgs-2 { grid-template-columns: repeat(2, 1fr); }
.pkgs-3 { grid-template-columns: repeat(3, 1fr); }
.pkg { position: relative; background: var(--bg); box-shadow: 0 2px 8px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.pkg header { background: var(--light); color: #214C6E; padding: 16px 22px; }
.pkg .role { display: block; font-size: 14px; color: #5F7178; }
.pkg .name { font-size: 21px; font-weight: bold; }
.pkg-feature header { background: #275C88; color: #fff; }
.pkg-feature .role { color: #C9D6E0; }
.pkg-feature { box-shadow: 0 6px 20px rgba(39, 92, 136, .28); }
.pkg .badge { position: absolute; top: -11px; right: 14px; background: #1F4E79; color: #fff; font-size: 12px; font-weight: bold; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; line-height: 1.2; box-shadow: 0 2px 6px rgba(0,0,0,.15); z-index: 1; }
.pkg-list { list-style: none; margin: 0; padding: 18px 22px 22px; display: grid; gap: 10px; }
.pkg-list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: #275C88; }
.pkg-all { margin-top: 28px; }
.pkg-all-title { margin: 0 0 10px; font-weight: bold; color: #5F7178; font-size: 14px; }
.on-request-note { margin: 22px 0 0; font-weight: bold; color: var(--blue); }
@media (max-width: 900px) { .pkgs-2, .pkgs-3 { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid #275C88; color: #275C88; padding: 6px 12px; font-size: 14px; line-height: 1.35; background: #fff; }

/* ---------- Sponsorship tiers: three LEC blue tones ---------- */
.pkg-gold header { background: #1F4E79; color: #fff; }
.pkg-gold .role { color: #C9D6E0; }
.pkg-gold { border-top: 4px solid #163A5C; }
.pkg-gold .pkg-list li::before { background: #1F4E79; }
.pkg-gold .badge { background: #275C88; }
.pkg-silver header { background: #4A78A3; color: #fff; }
.pkg-silver .role { color: #fff; }
.pkg-silver { border-top: 4px solid #3A6890; }
.pkg-silver .pkg-list li::before { background: #4A78A3; }
.pkg-bronze header { background: #B9CFE5; color: #214C6E; }
.pkg-bronze .role { color: #214C6E; }
.pkg-bronze { border-top: 4px solid #8FB0D2; }
.pkg-bronze .pkg-list li::before { background: #8FB0D2; }
.pkg-gold, .pkg-silver, .pkg-bronze { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.std-hero sup { font-size: .6em; line-height: 0; vertical-align: super; }
.date-card .month-top { font-size: 21px; font-weight: bold; margin-bottom: 6px; }
.fields-v3 .ft { max-width: none; }
@media (min-width: 481px) and (max-width: 1100px) { .fields.fields-v3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 481px) { .fields-v3 .ft { min-height: 4.05em; } }
.date-card .days-line { font-size: 32px; white-space: nowrap; letter-spacing: -0.01em; }
.std-hero .wrap { grid-template-columns: 1fr minmax(260px, 380px); }
@media (max-width: 900px) { .std-hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 360px) { .date-card .days-line { font-size: 28px; } }

/* ---------- Three fields: two main fields + focus topic ---------- */
.fields.fields-v3.fields-3 { grid-template-columns: repeat(3, 1fr); }
.fields-3 .ft { min-height: 2.7em !important; }
.fields-3 .is-focus { background: #fff; outline: 2px solid #275C88; outline-offset: -2px; }
@media (max-width: 900px) {
  .fields.fields-v3.fields-3 { grid-template-columns: 1fr; }
  .fields-3 .ft { min-height: 0 !important; }
}

/* ---------- Split slot: two parallel tracks ---------- */
.split-label { display: block; font-size: 13px; color: #5F7178; margin: 2px 0 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--light); }
.split .track { display: block; padding: 10px 12px; font-size: 14px; line-height: 1.45; color: #214C6E; }
.split .track + .track { border-left: 2px solid #fff; }
.split .track strong { display: block; color: #275C88; font-size: 15px; margin-bottom: 2px; }
.day-opening header { background: #4A78A3; }
.day-opening header .weekday { color: #fff; }
/* ---------- Opening day: Defence tile and Forum track share one look ---------- */
.fields-3 .is-focus { background: #fff; outline: 2px solid #4A78A3; outline-offset: -2px; }
.fields-3 .is-focus .badge { background: #4A78A3; }
.split .track-forum { background: #fff; outline: 2px solid #4A78A3; outline-offset: -2px; }
.split .track-forum + .track { border-left: 0; margin-left: 4px; }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split .track strong { font-size: 14px; overflow-wrap: break-word; hyphens: manual; }
/* ---------- Plenary slots (full width) ---------- */
.plenary { display: block; background: #275C88; color: #fff; padding: 10px 12px; font-size: 14px; line-height: 1.45; margin: 8px 0; }
.plenary strong { display: block; font-size: 15px; margin-bottom: 2px; }
.split + .plenary { margin-top: 8px; }
.h-with-sub { margin-bottom: 4px !important; }
.h-sub { margin: 0 0 14px; font-size: 18px; font-weight: bold; color: #4A78A3; }
.venues.venues-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .venues.venues-3 { grid-template-columns: 1fr; } }

/* ---------- Multi-page refactor additions ---------- */
/* Skip link: first focusable element, visible only on keyboard focus */
.skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; font-weight: bold; text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
/* Card titles are headings now (were spans): keep the span look */
h2.name, h3.name, h3.date { margin: 0; }
.lead-cta { margin: 0 0 16px; }

/* ---------- Archive pages: text, gallery, lightbox ---------- */
.prose p { max-width: 75ch; margin: 0 0 14px; }
.prose h3 { font-size: 18px; color: var(--blue); margin: 24px 0 0; }
.prose a, .gallery-caption a { color: var(--blue); }
.gallery { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 440 / 320; object-fit: cover; transition: opacity .15s; }
.gallery a:hover img { opacity: .85; }
.gallery-caption { margin: 12px 0 0; font-size: 13px; color: #5F7178; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 30, 45, .94); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 64px 72px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100% - 30px); width: auto; height: auto; object-fit: contain; }
.lightbox .lb-count { font-size: 14px; color: #C9D6E0; }
.lightbox button { position: absolute; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .85); color: #275C88; font-size: 22px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: #fff; }
.lb-close { top: 12px; right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 680px) {
  .lightbox figure { padding: 64px 8px 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
