/* =========================================
   Fonts (Primary: Atkinson Hyperlegible)
   ========================================= */
@font-face {
  font-family: 'AtkinsonHyperlegible';
  src: url('../fonts/AtkinsonHyperlegible-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AtkinsonHyperlegible';
  src: url('../fonts/AtkinsonHyperlegible-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   Design Tokens / Base
   ========================================= */
:root {
  --brand: #c2086e;
  --brand-700: #8f0751;

  --text: #0b0b0c;
  --bg: #ffffff;
  --muted: #6b7280;
  --black: #000000;

  /* WCAG 2.2 Focus Appearance (brand variant) */
  --focus-width: 3px;                 /* ≥2px */
  --focus-gap: 2px;                   /* ring stands off element */
  --focus-ring-color: #a0075e;        /* darker brand-magenta for contrast */
  --focus-halo-color: #ffffff;        /* outer halo to separate on dark/brand areas */
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f5f5f5;
    --bg: #0e0e0e;
    --muted: #c2c2c2;
    --brand-700: #db0a7a;

    /* Invert for dark UI */
    --focus-ring-color: #ff5fb1;      /* lighter magenta pops on dark */
    --focus-halo-color: #000000;
  }
}

/* Keep halo strong on brand/dark sections */
:where(header, .value-split .text-panel, .on-brand) {
  --focus-halo-color: rgba(255,255,255,.96);
}
/* Optional: turn halo off on very light areas */
:where(.on-light) { --focus-halo-color: transparent; }

/* Reset / Base */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { margin: 0; }

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  font-family: 'AtkinsonHyperlegible', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Headings / text */
p,
.default-list li,
.agenda-component.container,
.agenda-component .session h4,
.fw-bold .h3,
h1, h2, h3, h4, h5, li {
  font-family: 'AtkinsonHyperlegible', sans-serif;
}

p { font-size: 1.2rem; }
h1 { font-size: 3rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 500; }

/* Visually hidden (accessible) */
.visually-hidden,
.sr-only {
  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;
}

/* =========================================
   Focus styles — WCAG 2.2 compliant
   ========================================= */
:where(a, button, input, select, textarea, summary, [role="button"], [role="tab"], [role="link"], [tabindex]):focus-visible {
  outline: var(--focus-width) solid var(--focus-ring-color)!important;
  outline-offset: var(--focus-gap);
  box-shadow: 0 0 0 calc(var(--focus-width) + var(--focus-gap)) var(--focus-halo-color);
  border-color: var(--focus-ring-color);
}
a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 2px;
  border-radius: 4px;
}

.nav-link:focus-visible {
    outline: var(--focus-width) solid var(--focus-ring-color)!important;
    boutline-offset: var(--focus-gap);
  box-shadow: 0 0 0 calc(var(--focus-width) + var(--focus-gap)) var(--focus-halo-color);
	border-color: var(--focus-ring-color);}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100%;
  background: #000;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  z-index: 10000;
}
.skip-link:focus { top: 0.5rem; outline: none; }

/* Sections */
section { padding: .5rem; }

/* =========================================
   Header
   ========================================= */
#site-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: var(--brand);
  height: auto;
  transition: height 0.4s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
}
#site-header.shrink {
  height: 120px;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  z-index: 1000;
}
.logo img {
  height: 100%;
  max-height: 180px;
  max-width: 350px;
  width: 100%;
  transition: max-height 0.4s ease;
}
#site-header.shrink .logo img { max-height: 100px; }

a.nav-link { color: #fff !important; }
.navbar-expand-lg .navbar-nav { gap: 2rem; }

main { margin-top: 147px; }

@media (max-width: 991.98px) {
  #site-header .navbar { padding-top: .5rem !important; padding-bottom: .5rem !important; }
  #site-header .logo img {
    height: auto !important; width: auto !important;
    max-height: 56px !important; max-width: 220px !important;
    transition: none !important;
  }
  #site-header .navbar-toggler {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
  }
  #site-header .navbar-toggler-icon {
    width: 24px !important;
    height: 24px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  .collapse:not(.show) { display: none !important; }
  .navbar .navbar-collapse.show { display: block !important; }

  .hero { padding: 2rem 0rem !important; min-height: 500px !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  main { margin-top: 92px !important; }

  .accessibility img { max-width: 200px !important; }

  h1 { font-size: 2rem; font-weight: 700; }
  section { padding: 0rem !important; }
  .navbar-expand-lg .navbar-nav { gap: 0rem !important; }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse { display: flex !important; }
}

nav a,
.primary-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
nav a:hover,
nav a:focus-visible,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(255,255,255,0.15);
}

/* Respect reduced motion in header */
@media (prefers-reduced-motion: reduce) {
  #site-header, #site-header * { transition: none !important; }
}

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  background-image: url('../img/Grand Hall-Pano.jpeg');
  background-size: cover;
  background-position: right;
  background-attachment: scroll;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: left;
  text-align: center;
  color: white;
  padding: 2rem;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 550px !important;
  background: rgba(0, 0, 0, 0.8) !important;
  border-radius: 50px;
  padding: 50px;
  border: 3px solid #ffffff;
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
}
.hero-content.container { float: left; }

.hero h2 { font-size: 2rem; margin-bottom: 1rem; font-weight: 700; }
.hero p  { font-size: 1.2rem; margin-bottom: 2rem; }

h2 { font-weight: 700; }

.hero-button,
.btn.btn-cta {
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: background 0.3s ease, transform 0.05s ease;
  font-weight: 600;
  display: inline-block;
}
.hero-button:hover,
.btn.btn-cta:hover,
.hero-button:focus-visible,
.btn.btn-cta:focus-visible {
  background: #642885;
  color: #fff;
}

/* Optional outlined button */
.btn.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
  padding: 0.8rem 1.1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}
.btn.btn-outline:hover,
.btn.btn-outline:focus-visible {
  background: var(--text);
  color: #fff;
}

/* Pink pill button variant */
.btn-pink {
  background-color: var(--brand);
  color: white;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: background-color 0.3s ease;
}
.btn-pink:hover,
.btn-pink:focus-visible { background-color: #a0075e; color: #fff; }
.btn-pink .icon-circle {
  background-color: white; color: var(--brand);
  border-radius: 50%; width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* Clicky image-button */
.image-button { height: 60px; border-radius: 999px; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.image-button-link:active .image-button,
.image-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 2px rgba(0,0,0,.2) inset;
}

/* =========================================
   Layout helpers
   ========================================= */
.flex-container { display: flex; flex-direction: column; gap: 1.5rem; }
.flex-column1 { flex: 1; padding: 1rem; background-color: #f4f4f4; border-radius: 8px; }
.flex-column2 { flex: 1; padding: 1rem; border-radius: 8px; }
@media (min-width: 900px) { .flex-container { flex-direction: row; } }
.center-content { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.side { display: flex; flex-direction: column; }

.responsive-logo { max-height: 180px; width: auto; height: auto; }
@media (min-width: 992px) {
  .responsive-logo { max-height: 180px; width: auto; height: auto; }
}

/* =========================================
   Lists
   ========================================= */
.default-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: start;
}
.default-list li { margin-bottom: 0.75rem; font-size: 1.2rem; }

/* Your icon list class (kept) */
.custom-list {
  list-style: none;
  list-style-position: inside;
  margin: 0;
  padding-left: 2.5rem;
}
.custom-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.custom-list .icon-bullet {
  position: absolute; left: 0; top: 0.15rem;
  width: 28px; height: 28px;
}

/* New icon-list */
.icon-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
}
.icon-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 0.75rem;
}
.icon-bullet { width: 28px; height: 28px; object-fit: contain; margin-top: 0.2rem; }

/* =========================================
   Imagery
   ========================================= */
.object-fit-cover { object-fit: cover; }
.img-fluid.custom-image { border: 4px solid #000; border-radius: 50px !important; max-height: 350px !important; }

/* =========================================
   Value Split + Sponsors (base)
   ========================================= */
.value-split .text-panel { background: var(--brand); color: #fff; }

.sponsors-section {
  width: 100%;
  margin-left: auto; margin-right: auto;
  background: #f4f4f4;
  border-radius: 15px;
  padding: 2rem 0;
}
.sponsors-box { position: relative; }
.sponsors-component.container .row { width: 100% !important; }
.sponsors-component h4 { display: none !important; z-index: 10; }

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: #000;
  color: #fff;
  margin-top: 50px;
}
.footer-tagline { padding-top: 20px; font-size: 1.25rem; }
.footer-logo { height: 150px !important; margin: 30px 0 0 20px; }
.footer-legal { color: #fff; }

/* =========================================
   Runevents / Agenda embed tweaks
   ========================================= */
.re-tickets .btn-container { display: none !important; }
.container .card-sidebar { z-index: -10 !important; }
.card-sidebar { display: none; }

.card h4 { display: none; } /* hide label text */
.card .label-buttons-container hr { display: none; } /* hide underline */

.agenda-box runevents-agenda .session {
  background-color: #DEDEDE;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 960px) !important;
  padding: 20px;
  border-radius: 15px;
  gap: 16px !important;
  align-items: start !important;
  margin: 28px 0 !important;
}
.agenda-box runevents-agenda .session:hover { background-color: #CCADBE; box-shadow: 16px 16px 29px -4px #00000026 !important; }
.agenda-component .session .session-content:hover { box-shadow: 16px 16px 29px -4px #00000000 !important; }
.agenda-component .session .speakers-images-container { overflow: visible !important; }
.agenda-box runevents-agenda .session .content-container {
  width: 100% !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}
.agenda-component.container {
  margin: 0 auto;
  display: grid !important;
  flex-wrap: wrap;
  width: 100%;
  overflow-x: hidden;
}
.agenda-component .session h3 {
  background-color: var(--brand) !important;
  border-radius: 8px;
  padding: 5px !important;
  width: auto;
  display: inline-block;
  margin: 0 0 20px;
  font-size: 20px;
}
.agenda-component .session h4 { font-size: 1.4rem !important; margin: 0 0 5px; }
.agenda-component .session .content-container p { text-align: left; }

/* =========================================
   Runevents / Registration tweaks
   ========================================= */

.re-tickets select:focus, .re-tickets select:focus-visible {
    outline: 4px solid var(--brand)!important;background-color: #fff!important;
}

.re-tickets select {
       margin-top: 8px;
    margin-right: 8px;
}


/* Container width for XL+ */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { max-width: 1110px; }
}

/* =========================================
   Anchors / Scroll offset for fixed header
   ========================================= */
:target { scroll-margin-top: 130px; }

/* =========================================
   High contrast & Reduced motion helpers
   ========================================= */
@media (prefers-contrast: more) {
  .btn.btn-cta,
  .btn.btn-outline,
  .btn-pink {
    outline: var(--focus-width) solid var(--focus-ring-color);
    outline-offset: var(--focus-gap);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =========================================
   Misc utilities
   ========================================= */
.container .image-button { cursor: pointer; height: auto; }

/* --- page-specific tiny utilities --- */
.header-spacer { height: 200px; }          /* offset for fixed header */
.panel-bordered { border: 3px solid #000; }/* replaces inline panel borders */
.rounded-5 { border-radius: 50px; }        /* keep your large radius */

/* ====== Live page layout ====== */
.live-shell { --sidebar-w: 380px; --gap: 1.25rem; }

/* Tabs */
.live-tabs .nav-link { font-weight: 700; border-radius: 0.75rem; }
.live-tabs .nav-link.active { background: var(--brand); color: #fff; }

/* Video panel */
.live-video-card {
  background: #0b0b0c;
  border-radius: 1rem;
  overflow: hidden;
  border: 3px solid #000;
}
.live-video-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.live-video-aspect iframe,
.live-video-aspect video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-meta {
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
}
.video-meta .subtle-h2 { color: #eaeaea; }
.video-meta a { color: #fff; text-decoration: underline; }

/* Agenda tab content shell */
.live-agenda-wrap {
  border: 3px solid #000;
  border-radius: 1rem;
  padding: 1rem;
  background: #f8f8f8;
}

/* Slido sidebar */
.slido-sidebar { width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); padding-top: 3.5rem; }
.slido-sticky { position: sticky; top: 1rem; }
.slido-card {
  background: #fff;
  border: 3px solid #000;
  border-radius: 1rem;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.slido-card header { background: var(--brand); color: #fff; padding: 0.75rem 1rem; font-weight: 700; }
.slido-frame { width: 100%; height: 70vh; min-height: 520px; border: 0; }
.slido-card .p-3 { flex: 0 0 auto; }

/* Responsive: stack sidebar under main on smaller screens */
@media (max-width: 1199px) {
  .slido-sidebar { width: 100%; flex: 1 1 auto; }
  .slido-sticky { position: static; }
}

/* Page header spacing since site header is fixed */
.live-header-spacer { height: 20px; }

/* Utility for subtle section headings */
.subtle-h2 { font-size: 1.25rem; color: var(--muted); }

/* Buttons */
.btn-live {
  background: var(--brand);
  color: #fff;
  border: 2px solid #000;
  border-radius: 0.75rem;
  font-weight: 700;
}
.btn-live:hover,
.btn-live:focus-visible {
  background: var(--brand-700);
  color: #fff;
}

/* Dark mode niceties */
@media (prefers-color-scheme: dark) {
  .live-video-card { border-color: #222; }
  .live-agenda-wrap { background: #151515; border-color: #333; }
  .slido-card { background: #0e0e0e; border-color: #333; }
  .video-meta { background: #0e0e0e; }
}

/* Expandable section */
.expand-wrap[hidden] { display: none !important; }

/* Session card */
.session-card { background: #F8F8F8; border-radius: 14px; }
.session-card h3 {
  color: #000;
  font-family: "AtkinsonHyperlegible";
  font-size: 32px;
  font-weight: 700;
}

/* Time/location badge */
.time-loc {
  font-size: 1.2rem;
  background-color: #2F2F2F !important;
  color: #fff !important;
  font-family: 'AtkinsonHyperlegible', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
}

/* Avatar */
.avatar {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #111;
  padding: 2px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

/* Text column: consistent reading width on lg+ */
.text-col { max-width: 100%; }
@media (min-width: 992px) { .text-col { flex: 0 0 50ch; max-width: 50ch; } }
@media (min-width: 1200px) { .text-col { flex: 0 0 60ch; max-width: 60ch; } }
@media (min-width: 1800px) { .text-col { flex: 0 0 80ch; max-width: 80ch; } }

/* Speaker grid */
.speakers-grid {
  display: grid;
  gap: 6px 6px;
  justify-content: start;
  grid-template-columns: repeat(2, 140px);
  direction: ltr;
}
.badge-custom { font-size: 1rem; }

@media (min-width: 768px) {
  .speakers-grid { grid-template-columns: repeat(3, 140px); }
  .speakers-grid:has(> :nth-child(1):last-child) { grid-template-columns: 140px; }
  .speakers-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 140px); }
}
@media (min-width: 992px) {
  .speakers-grid { grid-template-columns: repeat(2, 140px); justify-content: end; }
  .speakers-grid:has(> :nth-child(1):last-child) { grid-template-columns: 140px; }
}
@media (min-width: 1600px) {
  .speakers-grid { grid-template-columns: repeat(4, 140px); justify-content: end; }
  .speakers-grid:has(> :nth-child(1):last-child) { grid-template-columns: 140px; }
  .speakers-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 140px); }
  .speakers-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 140px); }
}
.speaker { width: 140px; display: flex; flex-direction: column; align-items: center; }
.speaker-name {
  margin-top: 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: wrap;
}
.expand-wrap[hidden] { display: none !important; }
.speaker { display: flex; flex-direction: column; align-items: center; }
.speaker-name { line-height: 1.1; }

/* Toggle button */
.read-toggle {
  font-weight: 600;
  text-decoration: underline;
  color: #000;
  font-size: 18px;
  text-align: left;
}

/* Text column width inside cards */
.session-card .flex-grow-1 { max-width: 100%; }
@media (min-width:768px)  { .session-card .flex-grow-1 { max-width: 70ch; } }
@media (min-width:1200px) { .session-card .flex-grow-1 { max-width: 80ch; } }

/* ============================================================
   HARD CLAMPS: keep ALL agenda content inside the 16:9 viewport
   ============================================================ */
.live-agenda-card { background: #f8f8f8; border-color: #000; }
.live-agenda-card .live-video-aspect { background: #f8f8f8; }

.live-agenda-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.25rem;
  overscroll-behavior: contain;
}
.live-agenda-scroll .default-list,
.live-agenda-scroll ul { margin-bottom: 1rem; }

/* Clamp media */
.live-agenda-scroll img,
.live-agenda-scroll svg,
.live-agenda-scroll video,
.live-agenda-scroll iframe,
.live-agenda-scroll picture,
.live-agenda-scroll canvas {
  max-width: 100% !important;
  
  display: block;
}

/* Prevent any child from exceeding the frame width */
.live-agenda-scroll *,
.live-agenda-scroll *::before,
.live-agenda-scroll *::after {
  box-sizing: border-box;
  max-width: 100%;
}

/* Long words/URLs won’t blow width */
.live-agenda-scroll p,
.live-agenda-scroll li,
.live-agenda-scroll a,
.live-agenda-scroll h1,
.live-agenda-scroll h2,
.live-agenda-scroll h3,
.live-agenda-scroll h4 {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Bootstrap containers inside the frame: no side padding */
.live-agenda-scroll .container,
.live-agenda-scroll .container-fluid {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Session card and internal grid should never overflow */
.live-agenda-scroll .session-card { width: 100%; }

/* Speaker layout inside agenda list */
.agenda-list { list-style: none; padding: 0; margin: 0; }
.agenda-list .session-card { margin-bottom: 0.75rem; }

.layout-row { display: flex; flex-direction: column !important; gap: 0.75rem; }
.layout-row .text-col { max-width: 100% !important; flex: 1 1 auto !important; }

.speakers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 6px;
  align-items: flex-start;
}
.speaker { width: 124px; display: flex; flex-direction: column; align-items: center; }
.avatar {
  width: 112px; height: 112px; object-fit: cover;
  border-radius: 16px; border: 2px solid #111; padding: 2px; background: #fff;
}
.speaker-name { margin-top: 6px; text-align: center; line-height: 1.15; }

/* Tighten card internals to fit more in 16:9 viewport */
.session-card .card-body { padding: 0.9rem 1rem !important; }
.session-card h3 { margin-bottom: 0.5rem !important; font-size: 1.5rem !important; }
.time-loc { font-size: 1rem !important; }

/* Dark mode tweaks for sticky day header if used */
.live-agenda-scroll .fs-4 {
  position: sticky;
  top: 0;
  background: #f8f8f8;
  padding: 0.5rem 0;
  z-index: 2;
}
@media (prefers-color-scheme: dark) {
  .live-agenda-scroll .fs-4 { background:#151515; }
}

/* Safety: no unintended spacing inside the agenda scroll */
#pane-agenda .container,
#pane-agenda .container-fluid { padding-left: 0 !important; padding-right: 0 !important; }

/* Ensure badges don’t force extra height */
.badge-custom { font-size: 0.9rem; }

/* Reduce whitespace on very large screens inside the scroll area */
@media (min-width: 1400px) {
  .session-card .card-body { padding: 0.9rem 1rem !important; }
  .layout-row { gap: 0.6rem; }
}

/* Override Bootstrap container max-widths for a more spacious feel */
@media (min-width: 576px)  { .container, .container-sm { max-width: 600px; } }
@media (min-width: 768px)  { .container, .container-sm, .container-md { max-width: 800px; } }
@media (min-width: 992px)  { .container, .container-sm, .container-md, .container-lg { max-width: 1080px; } }
@media (min-width: 1200px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1240px; } }
@media (min-width: 1400px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1440px; } }
@media (min-width: 1600px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1560px; } }
@media (min-width: 1800px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1680px; } }
@media (min-width: 2000px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1800px; } }

/* Ensure the mobile collapse actually collapses/expands (single source of truth) */
.collapse:not(.show) { display: none !important; }
.navbar .navbar-collapse.show { display: block !important; }
.navbar-dark .navbar-toggler-icon { background-image: var(--bs-navbar-toggler-icon-bg) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.55) !important; }

.meta-note { color: #eaeaea; font-size: 0.95rem; }

/* =========================================================
   VALUE-SPLIT (updated): side-by-side, max-height 360px,
   vertically-centred text, mobile-friendly
   ========================================================= */

/* Layout wrapper: 2 columns on ≥768px, equal heights */
.value-split .value-split-inner {
  display: flex;
  align-items: stretch;   /* make panels equal height */
  gap: 0;
  max-height: 360px;      /* cap height on desktop/tablet */
}

/* Panels share width on ≥768px */
@media (min-width: 768px) {
  .value-split .text-panel,
  .value-split .image-panel {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

img {width:100%;}

/* Text panel: centre vertically, left-align text */
.value-split .text-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centring */
  align-items: flex-start;
  background: var(--brand);
  color: #fff;
  padding: 2rem;
}

/* Image panel: fill available height, crop nicely */
.value-split .image-panel {
  position: relative;
  overflow: hidden;          /* crop image to the cap */
}
.value-split .image-panel .value-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}

/* Mobile: stack, remove height cap to avoid clipping */
@media (max-width: 767.98px) {
  .value-split .value-split-inner {
    flex-direction: column;
    max-height: none;        /* let content size naturally on mobile */
  }
  .value-split .text-panel,
  .value-split .image-panel {
    flex: 0 0 auto;
    max-width: 100%;
  }
  .value-split .image-panel .value-image {
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* ===== Header menu fix: allow collapsed menu to expand ===== */

/* 1) Never lock the header height (even when .shrink is applied) */
#site-header,
#site-header.shrink {
  height: auto !important;
  overflow: visible; /* let the dropdown flow */
}

/* 2) Make sure the collapse can show */
.collapse:not(.show) { display: none !important; }
.navbar .navbar-collapse.show { display: block !important; }

/* 3) Mobile-specific niceties: full-width dropdown under the bar */
@media (max-width: 991.98px) {
  #site-header { z-index: 1000; } /* stay above content */
  #primaryNav {
    background: var(--brand);   /* same as header */
    padding: .5rem 0;           /* breathing room */
  }
  /* optional: make tap targets comfy */
  #primaryNav .nav-link {
    padding: .65rem 1rem;
    font-size: 1.05rem;
  }
}

/* 4) Keep desktop behavior (expanded nav visible) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse { display: flex !important; }
}

/* CC Button focus */

.lang__btn:focus {
    outline: var(--focus-width) solid var(--focus-ring-color)!important;
    outline-offset: var(--focus-gap)!important;
  box-shadow: 0 0 0 calc(var(--focus-width) + var(--focus-gap)) var(--focus-halo-color)!important;
	border-color: var(--focus-ring-color)!important;}


