@charset "UTF-8";
/* style.scss — entrypoint */
/* 1) Settings (must come first) */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
.font-sans {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.font-mono {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-700 {
  font-weight: 700;
}

:root {
  /* Brand palette */
  --brand-primary: #013f87; /* TBICS blue */
  --brand-cte: #2f67b2;
  --brand-ai3l: #00647E;
  --brand-meta: #c49a2c;
  --brand-iclea: #d0666f;
  /* Surfaces & text */
  --page-bg: #DDEBF7;
  --surface: #ffffff;
  --surface-2: #FAF5EE; /* cream table background */
  --text: #1f2d3d;
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 18px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 24px rgba(0,0,0,.12);
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  /* Spacing (light scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  /* Navbar tokens (used by navbar.scss) */
  --tbics-solid: var(--brand-primary);
  --nav-pad-y: 14px; /* animated */
  --logo-h: 60px;
  --nav-offset: 72px;
  /* Hero glass defaults (used by hero-glass & hero-banner) */
  --hero-glass-bg: rgba(1, 27, 64, .28);
  --hero-glass-radius: 16px;
  --hero-glass-pad: 1rem 1.5rem 1.1rem;
  --hero-glass-blur: 4px;
  --hero-glass-sat: 130%;
  /* Inline link tokens (body text) */
  --link-inline: #0645ad; /* readable “link blue” */
  --link-hover: #0b5fff; /* brighter on hover */
  --link-visited: #5a3696; /* accessible visited */
}

/* Brand scopes (used by cards, pills, hero-glass--brand) */
.is-cte {
  --brand:#2f67b2;
  --bg1: rgba(47,103,178,.30);
  --bg2: rgba(47,103,178,.18);
}

.is-ai3l {
  --brand:#00647E;
  --bg1: rgb(0 100 126 / 0.32);
  --bg2: rgb(0 100 126 / 0.18);
}

.is-meta {
  --brand:#c49a2c;
  --bg1: rgba(196,154,44,.30);
  --bg2: rgba(196,154,44,.18);
}

.is-iclea {
  --brand:#d0666f;
  --bg1: rgba(208,102,111,.30);
  --bg2: rgba(208,102,111,.18);
}

/* Default brand-tinted glass anywhere */
.hero-glass--brand {
  --hero-glass-bg: color-mix(in oklab, var(--brand, var(--brand-primary)), #000 12%);
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #DDEBF7;
    --surface: #ffffff;
    --text: #1f2d3d;
    /* optional: keep the lighter shadow set */
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 6px 18px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 24px rgba(0,0,0,.12);
  }
}
/* 2) Base */
/* style.scss — entrypoint */
/* 1) Settings (must come first) */
/* 1) Modern, gentle reset */
*, *::before, *::after {
  box-sizing: border-box;
}

:where(html) {
  -webkit-text-size-adjust: 100%;
}

:where(body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) {
  margin: 0;
}

:where(ul[role=list], ol[role=list]) {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 2) Root & body */
html, body {
  height: 100%;
}

body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100%;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.55;
  font-weight: 400;
}

/* 3) App shell (matches your old #page / .wrapper pattern) */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrapper {
  flex: 1 1 auto;
}

/* 4) Type scale (lightweight, safe with Bootstrap) */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.75rem, 1.75rem + (1rem) * (100vw - 360px) / (1080px), 2.75rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.5rem, 1.5rem + (0.75rem) * (100vw - 360px) / (1080px), 2.25rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 1.25rem + (0.5rem) * (100vw - 360px) / (1080px), 1.75rem);
}

p {
  margin-block: 0.65rem;
}

/* 5) Links */
a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 6) Media */
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

img {
  height: auto;
}

/* 7) Forms (inherit fonts) */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button, [type=button], [type=submit] {
  cursor: pointer;
}

/* 8) Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

/* 9) Misc */
:focus-visible {
  outline-offset: 2px;
}

::selection {
  background: color-mix(in oklab, var(--brand-primary), #fff 70%);
  color: #0b1320;
}

/* 10) Utility wrapper for flowing content blocks (optional) */
.prose {
  /* vertical rhythm for loose content (e.g., WP post body) */
}
.prose > * + * {
  margin-top: 0.65em;
}

/* Visibility & accessibility */
.u-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;
}

.no-scroll, .u-no-scroll {
  overflow: hidden !important;
} /* for body when menus open */
/* Text helpers */
.u-balance {
  text-wrap: balance;
} /* nicer multi-line headings */
.u-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.u-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Alignment */
.u-text-center {
  text-align: center !important;
}

.u-text-right {
  text-align: right !important;
}

.u-text-left {
  text-align: left !important;
}

/* Display (responsive show/hide) */
@media (max-width: calc(768px - 0.02px)) {
  .u-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .u-hide-desktop {
    display: none !important;
  }
}

/* Spacing shorthands (light set; lean on Bootstrap where possible) */
.u-mx-auto {
  margin-inline: auto !important;
}

.u-center {
  display: grid !important;
  place-items: center !important;
}

/* Radii & shadows bound to tokens */
.u-rounded-sm {
  border-radius: var(--radius-sm) !important;
}

.u-rounded-md {
  border-radius: var(--radius-md) !important;
}

.u-rounded-lg {
  border-radius: var(--radius-lg) !important;
}

.u-rounded-xl {
  border-radius: var(--radius-xl) !important;
}

.u-rounded-pill {
  border-radius: var(--radius-pill) !important;
}

.u-shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.u-shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.u-shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Surfaces */
.u-bg-surface {
  background: var(--surface) !important;
}

.u-bg-page {
  background: var(--page-bg) !important;
}

/* Focus ring (consistent, high-contrast) */
.u-focus-ring:focus-visible {
  outline: 3px solid #003a49;
  outline-offset: 2px;
}

/* Generic “glass” wrapper (matches your hero glass look) */
.u-glass {
  background: var(--hero-glass-bg);
  backdrop-filter: blur(var(--hero-glass-blur)) saturate(var(--hero-glass-sat));
  -webkit-backdrop-filter: blur(var(--hero-glass-blur)) saturate(var(--hero-glass-sat));
  border-radius: var(--hero-glass-radius);
  padding: var(--hero-glass-pad);
}

.u-glass--light {
  background: rgba(255, 255, 255, 0.24) !important;
  color: #0d1b2a;
}

.u-glass--dark {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #fff;
}

/* Brand-tinted glass (picks up nearest --brand) */
.u-glass--brand {
  --hero-glass-bg: color-mix(in oklab, var(--brand, var(--brand-primary)), #000 12%);
  color: #fff;
}

/* Flow utility: add vertical space between children without first/last hacks */
.u-flow > * + * {
  margin-top: 0.6rem;
}

/* Aspect helper (class version of the mixin) */
.u-aspect-16x9 {
  aspect-ratio: 16/9;
}

.u-aspect-4x3 {
  aspect-ratio: 4/3;
}

.u-aspect-1x1 {
  aspect-ratio: 1/1;
}

/* Quick containers (namespaced to avoid Bootstrap .container) */
.u-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

.u-container-wide {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* 3) Components */
/*
:root{
  --hero-glass-bg:     rgba(1, 27, 64, .28);
  --hero-glass-radius: 16px;
  --hero-glass-pad:    1rem 1.5rem 1.1rem;
  --hero-glass-blur:   4px;
  --hero-glass-sat:    130%;
}
*/
.hero-glass,
.page-hero .hero-titles {
  display: block;
  width: max-content;
  margin-inline: auto;
  padding: var(--hero-glass-pad);
  border-radius: var(--hero-glass-radius);
  background: var(--hero-glass-bg);
  backdrop-filter: blur(var(--hero-glass-blur)) saturate(var(--hero-glass-sat));
  -webkit-backdrop-filter: blur(var(--hero-glass-blur)) saturate(var(--hero-glass-sat));
}

.hero-glass h1,
.page-hero .hero-titles h1 {
  margin-bottom: 0.35rem;
}

.hero-glass--light {
  --hero-glass-bg: rgba(255,255,255,.24);
  color: #0d1b2a;
}

.hero-glass--dark {
  --hero-glass-bg: rgba(0,0,0,.35);
  color: #fff;
}

.page-hero h1.hero-split {
  margin: 0;
  line-height: 1.15;
}

.page-hero h1.hero-split .kicker {
  display: block;
  font-weight: 700;
}

.page-hero h1.hero-split .title {
  display: block;
  font-weight: 300;
  font-size: 36px;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .hero-glass,
  .page-hero .hero-titles {
    --hero-glass-pad: .75rem 1rem .85rem;
    --hero-glass-radius: 14px;
    --hero-glass-blur: 3px;
  }
}
/* Mobile-only typography inside the hero glass */
@media (max-width: 600px) {
  .page-hero-banner .hero-glass {
    /* main heading in glass */
    /* split-title variant pieces, if used */
    /* lead/body text in glass */
  }
  .page-hero-banner .hero-glass h1 {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.12;
  }
  .page-hero-banner .hero-glass h1.hero-split .kicker {
    font-size: clamp(20px, 3.6vw, 16px);
    font-weight: 700;
  }
  .page-hero-banner .hero-glass h1.hero-split .title {
    font-size: clamp(24px, 5.2vw, 28px);
    font-weight: 300;
  }
  .page-hero-banner .hero-glass .lead, .page-hero-banner .hero-glass p {
    font-size: clamp(13px, 3.4vw, 16px);
    line-height: 1.35;
  }
  .page-hero-banner .hero-glass small {
    font-size: clamp(11px, 3vw, 12.5px);
  }
}
/* very small phones */
@media (max-width: 380px) {
  .page-hero-banner .hero-glass h1 {
    font-size: clamp(20px, 6.4vw, 26px);
  }
  .page-hero-banner .hero-glass h1.hero-split .title {
    font-size: clamp(18px, 5.6vw, 24px);
  }
}
.section-title {
  position: relative;
  color: #000;
  display: block;
  inline-size: max-content; /* shrink to text width */
  max-inline-size: 100%;
  margin: clamp(10px, 2vw, 14px) auto clamp(14px, 2.2vw, 18px);
  padding-inline: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inline-size: 120px; /* width */
  block-size: 2px; /* height */
  background: #c94b4b;
  border-radius: 2px;
}

.section-title::before {
  right: 100%;
  margin-right: 12px;
}

.section-title::after {
  left: 100%;
  margin-left: 12px;
}

/* Phones: flex row, lines inside heading width (no overflow) */
/* Mobile: show red lines safely (no overflow) */
/* Mobile: show lines without forcing horizontal scroll */
@media (max-width: 600px) {
  .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 3vw, 12px);
    inline-size: 100%;
    box-sizing: border-box; /* padding counted inside width */
    padding-inline: clamp(8px, 3.5vw, 12px);
    overflow: hidden; /* last-resort safety */
    font-size: clamp(1.1rem, 5.2vw, 1.35rem);
  }
  .section-title::before,
  .section-title::after {
    position: static;
    transform: none;
    margin: 0;
    display: block;
    block-size: 2px;
    /* bars can shrink on tiny widths, grow on larger phones */
    flex: 1 1 clamp(20px, 12vw, 64px);
    min-inline-size: 0; /* allow shrinking to avoid overflow */
    background: #c94b4b;
    border-radius: 2px;
  }
}
/* ===== Venue page variant (as in original: later override) ===== */
.section-title {
  position: relative;
  display: block;
  width: max-content;
  margin: 0 auto 0.5rem;
  padding: 3.5rem 0.75rem;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 2px;
  background: #c94b4b;
}

.section-title::before {
  right: 100%;
  margin-right: 12px;
}

.section-title::after {
  left: 100%;
  margin-left: 12px;
}

/* Section titles with rules — responsive sizing */
h4.section-rule {
  /* scale sensibly across breakpoints */
  font-weight: 800;
  font-size: clamp(18px, 3.8vw, 26px); /* ~20–22px on phones, 24–26px desktop */
  text-wrap: balance; /* nicer multi-line wrapping */
  overflow-wrap: anywhere;
  /* existing styles… */
  --rule-width: 420px;
  --rule-color: #c94b4b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(var(--rule-width), 100%);
  margin: 5rem auto 5rem;
  line-height: 1.2;
  /* ultra-small phones */
}
h4.section-rule::before, h4.section-rule::after {
  content: "";
  flex: 1 1 0;
  height: 2px;
  background: var(--rule-color);
  border-radius: 2px;
}
@media (max-width: 991.98px) {
  h4.section-rule {
    --rule-width: 600px;
  }
}
@media (max-width: 576px) {
  h4.section-rule {
    --rule-width: 100%;
    gap: 8px; /* was 10–12px */
    line-height: 1.15;
    margin: 3rem auto 2.25rem;
    /* slimmer rules */
  }
  h4.section-rule::before, h4.section-rule::after {
    height: 2px;
  }
}
@media (max-width: 380px) {
  h4.section-rule {
    font-size: clamp(17px, 4.4vw, 22px);
    /* if a title wraps awkwardly, you can hide the rules: */
    /* &::before, &::after{ display:none; } */
  }
}
h4.section-rule.rule-wide {
  --rule-width: 840px;
}
h4.section-rule.rule-narrow {
  --rule-width: 640px;
}
h4.section-rule.rule-blue {
  --rule-color: #013f87;
}

.cfp-intro-title {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  flex-wrap: wrap;
  text-align: center;
  margin: 0 auto 1rem;
  max-width: 92ch;
  position: relative;
}

/* tiny brand dot */
.cfp-intro-title .label-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--brand, #c94b4b);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand, #c94b4b), #fff 70%);
  transform: translateY(1px);
}

/* lightweight kicker */
.kicker-inline {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(12px, 1.6vw, 14px);
  color: color-mix(in oklab, var(--brand, #c94b4b), #000 15%);
  opacity: 0.9;
}

/* main title inline, wraps safely */
.title-inline {
  display: inline;
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(20px, 3.8vw, 34px);
  letter-spacing: 0.2px;
  color: #14212b;
}

@media (max-width: 720px) {
  .cfp-intro-title {
    gap: 0.4rem 0.5rem;
    max-width: 80ch;
  }
  .title-inline {
    display: block;
    font-size: clamp(20px, 6vw, 26px);
  }
}
#main-nav {
  width: 100%;
  z-index: 1000;
}
#main-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Static front page OR blog home starts transparent */
body.home #main-nav,
body.front-page #main-nav {
  background-color: transparent;
}

/* Everything else starts solid */
body:not(.home):not(.front-page) #main-nav {
  background-color: #013f87;
}

/* Tokens (defined in settings/_tokens.scss)
:root{
  --tbics-solid: #013f87;
  --nav-pad-y: 14px;
  --logo-h: 60px;
}
*/
/* SCROLLED state (JS adds .is-scrolled) */
#main-nav.tbics-nav.is-scrolled {
  background-color: #013f87;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* HOME/blog HOME: force fully transparent until scrolled */
body.home #main-nav.tbics-nav.navbar:not(.is-scrolled),
body.front-page #main-nav.tbics-nav.navbar:not(.is-scrolled) {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Non-home: solid */
body:not(.home):not(.front-page) #main-nav.tbics-nav {
  background-color: var(--tbics-solid);
  --nav-pad-y: 14px;
  --logo-h: 60px;
}

/* Smaller logo on narrow screens (home state) */
@media (max-width: 1030px) {
  body.home #main-nav.tbics-nav {
    --nav-pad-y: 12px;
    --logo-h: 40px; /* mobile */
  }
}
/* Respect accessibility settings */
@media (prefers-reduced-motion: reduce) {
  #main-nav.tbics-nav {
    transition: none;
  }
  #main-nav .navbar-brand img {
    transition: none;
  }
}
/* Layout */
#main-nav.tbics-nav.navbar {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-inline: 0 !important;
  padding-block: var(--nav-pad-y, 14px) !important; /* animates */
  transition: background-color 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1), padding 0.26s cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 0.36s cubic-bezier(0.22, 1, 0.36, 1), -webkit-backdrop-filter 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: background-color, box-shadow, padding, backdrop-filter;
}

@media (max-width: 1500px), (max-width: 1030px), (max-width: 480px) {
  #main-nav.tbics-nav.navbar {
    height: auto !important;
  }
}
/* Match/beat Bootstrap fixed-top z-index */
#main-nav.tbics-nav {
  z-index: 1030;
}

/* Internal anchors won’t hide beneath the bar */
[id] {
  scroll-margin-top: calc(var(--nav-offset, 72px) + 12px);
}

/* Links & spacing */
#main-nav .navbar-nav {
  gap: 1rem;
}

#main-nav .nav-link {
  margin-right: 0 !important;
  color: #fff !important;
}
#main-nav .nav-link:hover {
  color: #ddebf7 !important;
}

/* ===== Desktop (≥ 1030px): keep expanded ===== */
@media (min-width: 1030.02px) {
  .navbar-toggler {
    display: none !important;
  }
  #main-nav .navbar-collapse {
    display: flex !important;
  }
  #main-nav .navbar-nav {
    flex-direction: row;
    align-items: center !important;
    margin-left: 16rem !important; /* your original offset */
  }
}
/* ===== Mobile & mid (≤ 1030px): collapse to hamburger ===== */
@media (max-width: 1030px) {
  :root {
    --nav-offset: 104px;
  }
  .navbar-toggler {
    display: inline-flex !important;
    margin-left: auto;
    border: none;
    background: none;
    box-shadow: none;
  }
  /* Force collapsed state under 1030px even if markup has navbar-expand-lg */
  #main-nav .navbar-collapse {
    display: none !important;
  }
  #main-nav .navbar-collapse.show {
    display: block !important;
  }
  #main-nav .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-left: 0 !important;
    padding: 0.75rem 0;
  }
}
/* Brand block */
#main-nav .navbar-brand {
  margin-right: auto !important;
  padding: 0;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
}

/* Make the image scale to the anchor size */
#main-nav .navbar-brand img,
#main-nav .navbar-brand .custom-logo {
  height: var(--logo-h, 60px);
  max-height: var(--logo-h, 60px);
  width: auto;
  transition: height 0.26s cubic-bezier(0.22, 1, 0.36, 1), transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left center;
}

/* Smaller logo on mobile */
@media (max-width: 1030px) {
  #main-nav .navbar-brand img,
  #main-nav .navbar-brand .custom-logo {
    height: var(--logo-h, 40px);
    max-height: var(--logo-h, 40px);
  }
}
/* (previous behavior) hide brand on HOME only under 768px */
@media (max-width: 768px) {
  body.home #main-nav .navbar-brand {
    display: none;
  }
}
/* Desktop ( > 1030px ): open on hover + keyboard focus */
@media (min-width: 1031px) {
  #main-nav .navbar-nav .dropdown:hover > .dropdown-menu,
  #main-nav .navbar-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  #main-nav .dropdown-menu {
    display: none;
    margin-top: 0.35rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1100; /* above hero image on the home page */
  }
  /* Optional: keep parent link styled as "active" while menu is open */
  #main-nav .navbar-nav .dropdown:hover > .nav-link,
  #main-nav .navbar-nav .dropdown:focus-within > .nav-link {
    color: #fff;
  }
}
/* Align nav + make a mobile row with: brand | mobile title | hamburger */
#main-nav.tbics-nav.navbar {
  padding-inline: 0 !important; /* align with containers */
}

@media (max-width: 1030px) {
  #main-nav .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap; /* allow pill to move to its own row */
  }
  .tbics-mobile-title {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    font-size: clamp(14px, 4vw, 18px);
  }
  .tbics-mobile-title .line1, .tbics-mobile-title .line2 {
    white-space: nowrap;
  }
  /* push burger to the far right */
  #main-nav .navbar-toggler {
    order: 2;
    margin-left: auto;
  }
}
/* --------------------------- */
/* Anniversary pill IN NAVBAR  */
/* --------------------------- */
.nav-anniv {
  display: none;
}

@media (max-width: 1030px) {
  .nav-anniv {
    order: 3;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 0.15rem;
  }
  .nav-anniv .anniv-wrap {
    margin: 0;
  }
  .nav-anniv .anniv-pill {
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1;
    padding: 0.28rem 0.6rem;
    gap: 0.25rem;
    border-radius: 999px;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.16);
  }
  .nav-anniv .anniv-star {
    font-size: 0.9em;
  }
  .nav-anniv .sparkle {
    font-size: 12px;
  }
  .nav-anniv .anniv-wrap::before {
    inset: -10px -12px;
  }
}
@media (min-width: 1030.02px) {
  .nav-anniv {
    display: none !important;
  }
}
/* Hide the mobile title on desktop */
@media (min-width: 1030.02px) {
  .tbics-mobile-title {
    display: none !important;
  }
}
/* Avoid duplicate headings on mobile: hide the big hero H1 only on small */
@media (max-width: 1030px) {
  .hero-content .hero-title {
    display: none;
  }
}
/* Custom hamburger icon (keeps your white bars) */
body.home .navbar-toggler-icon,
body:not(.home) .navbar-toggler-icon {
  background: none;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #fff; /* middle bar */
  display: inline-block;
  transition: all 0.3s ease;
  /* top bar */
  /* bottom bar */
}
body.home .navbar-toggler-icon::before, body.home .navbar-toggler-icon::after,
body:not(.home) .navbar-toggler-icon::before,
body:not(.home) .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
body.home .navbar-toggler-icon::before,
body:not(.home) .navbar-toggler-icon::before {
  top: -8px;
}
body.home .navbar-toggler-icon::after,
body:not(.home) .navbar-toggler-icon::after {
  top: 8px;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #013f87;
  color: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  will-change: transform;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}
.side-menu.open {
  transform: translateX(0);
}
.side-menu .menu-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}
.side-menu .side-menu-links {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
}
.side-menu .side-menu-links a {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.side-menu .side-menu-links a:hover {
  color: #ddebf7;
}

/* Optional: prevent background scroll when menu is open (add to <body>) */
.no-scroll {
  overflow: hidden;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  background: #2f67b2; /* brand-cte */
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(47, 103, 178, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-primary:focus-visible {
  outline: 3px solid #cfe0ff;
  outline-offset: 2px;
}

#cfp-page .btn-primary {
  background-color: #013f87;
  border-color: #013f87;
}

.intro-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.intro-ctas .btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
}

.intro-ctas .btn-outline {
  background: #fff;
  border: 1px solid #013f87;
  color: #013f87;
}

.intro-ctas .btn-outline:hover {
  background: #013f87;
  color: #fff;
}

.intro-ctas .btn-primary {
  background-color: #013f87;
  border-color: #013f87;
}

.intro-ctas .btn-primary:hover {
  filter: brightness(1.08);
}

.conf-cards-cta {
  margin-top: 1rem;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.54rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand, #013f87), #000 12%) 0%, color-mix(in oklab, var(--brand, #013f87), #fff 10%) 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.08s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.btn-brand:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.btn-brand:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  a.btn-brand,
  .btn.btn-brand {
    padding-block: 0.42rem !important;
    padding-inline: 0.64rem !important;
    gap: 0.25rem;
    font-size: 0.95rem;
    /* prevent 100% width from utilities/frameworks */
    width: 75% !important;
    max-width: max-content;
    white-space: normal;
    display: inline-flex;
    align-self: flex-start;
    justify-self: start;
  }
  /* if Bootstrap/utility sets .w-100 on buttons, neutralize it here */
  .btn-brand.w-100 {
    width: auto !important;
  }
}
.btn-symposia {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  background: var(--brand, #013f87);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.btn-symposia:hover {
  filter: brightness(1.05);
}
.btn-symposia:focus-visible {
  outline: 3px solid #cfe0ff;
  outline-offset: 2px;
}

.page-hero-banner {
  --pad-x: clamp(12px, 4vw, 24px);
  --pad-top: clamp(164px, 18svh, 120px);
  --pad-btm: clamp(20px, 8svh, 72px);
  --card-pad: clamp(12px, 3.2vw, 24px);
  --card-radius: 16px;
  --min-h: clamp(260px, 55svh, 520px);
  position: relative;
  color: inherit;
  overflow: hidden; /* fallback */
  isolation: isolate;
  background: center/cover no-repeat;
  min-height: var(--min-h);
  padding: var(--pad-top) 0 calc(var(--pad-btm) + 1px);
  /* anti-hairline */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  background-clip: padding-box;
  /* base (desktop) */
  /* --- Mobile tweaks (use & to avoid double .page-hero-banner) --- */
}
@supports (overflow: clip) {
  .page-hero-banner {
    overflow: clip;
  }
}
.page-hero-banner::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: rgba(1, 63, 135, 0.18);
  backdrop-filter: blur(3px) saturate(100%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  z-index: 1;
}
.page-hero-banner::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: clamp(64px, 16svh, 160px);
  background: linear-gradient(to bottom, rgba(221, 235, 247, 0) 0%, #ddebf7 100%);
  z-index: 1;
}
.page-hero-banner .container {
  position: relative;
  z-index: 2;
  padding-inline: var(--pad-x);
}
.page-hero-banner .hero-glass {
  display: inline-block;
  max-width: min(48rem, 100%);
  width: 100%;
  box-sizing: border-box;
  padding: var(--card-pad);
  background: var(--hero-glass-bg) !important;
  border-radius: var(--card-radius);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.page-hero-banner h1 {
  font-size: clamp(24px, 6.5vw, 44px);
  line-height: 1.1;
  margin: 0 0 0.4rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.page-hero-banner .lead {
  font-size: clamp(13px, 3.6vw, 18px);
  line-height: 1.35;
  margin: 0;
}
@media (max-width: 600px) {
  .page-hero-banner {
    /* more breathing room under the navbar */
  }
  .page-hero-banner {
    --card-radius: 12px;
    --pad-top: clamp(104px, 22svh, 148px); /* was clamp(64px, 18svh, 120px) */
    padding-top: var(--pad-top); /* already used via shorthand above */
    /* optionally include notch safe area: */
    padding-top: calc(var(--pad-top) + env(safe-area-inset-top, 0px));
  }
  .page-hero-banner .hero-glass {
    max-width: clamp(18rem, 86vw, 24rem);
    margin-inline: auto;
    padding: clamp(10px, 3.2vw, 14px) clamp(12px, 4vw, 16px);
    /* if you prefer nudging only the glass instead of global pad: */
    /* margin-top: clamp(8px, 2.4vw, 16px); */
  }
  .page-hero-banner h1 {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-hero-banner .lead {
    font-size: clamp(12px, 3.2vw, 16px);
  }
}
@media (max-width: 380px) {
  .page-hero-banner .hero-glass {
    max-width: clamp(16rem, 92vw, 22rem);
  }
}

/* Phones: center text + tweak filters & bg position */
/* Keep this, but don't override hero-glass max-width again */
@media (max-width: 600px) {
  .page-hero-banner {
    text-align: center;
    align-items: flex-end;
    background-position: 50% 35%;
  }
  .page-hero-banner::before {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-color: rgba(1, 63, 135, 0.35);
  }
  .page-hero-banner .hero-glass {
    margin-inline: auto; /* removed the old max-width override */
  }
}
/* ===== Shared anniversary pill styles (hero & navbar) ====================== */
.anniv-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
  margin: 0; /* spacing is applied by .anniv-hero only */
}

.anniv-pill {
  --gold: var(--brand, #c49a2c);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--gold), #000 8%) 0%, color-mix(in oklab, var(--gold), #fff 10%) 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 2;
}

.anniv-star {
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.anniv-wrap::after {
  content: none !important;
}

.anniv-wrap::before {
  content: "";
  position: absolute;
  inset: -28px -36px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(0.5px 0.5px at 4% 10%, rgba(255, 218, 130, 0.95) 99%, transparent 100%), radial-gradient(0.75px 0.75px at 11% 24%, rgba(255, 235, 185, 0.85) 99%, transparent 100%), radial-gradient(0.25px 0.25px at 18% 6%, rgba(244, 210, 110, 0.9) 99%, transparent 100%), radial-gradient(0.15px 0.15px at 23% 18%, rgba(255, 230, 170, 0.9) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 29% 30%, rgba(255, 220, 145, 0.92) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 36% 12%, rgba(255, 235, 185, 0.8) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 42% 26%, rgba(255, 215, 130, 0.92) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 49% 8%, rgba(255, 232, 175, 0.82) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 56% 20%, rgba(255, 225, 155, 0.9) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 62% 10%, rgba(255, 240, 195, 0.82) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 70% 22%, rgba(244, 210, 110, 0.92) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 78% 6%, rgba(255, 235, 185, 0.85) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 84% 18%, rgba(255, 220, 145, 0.9) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 92% 12%, rgba(255, 230, 170, 0.85) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 7% 58%, rgba(255, 235, 185, 0.85) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 16% 66%, rgba(255, 215, 130, 0.92) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 24% 52%, rgba(255, 232, 175, 0.8) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 33% 62%, rgba(255, 225, 155, 0.9) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 43% 70%, rgba(255, 235, 185, 0.85) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 52% 58%, rgba(255, 220, 145, 0.92) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 63% 66%, rgba(255, 230, 170, 0.85) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 72% 54%, rgba(255, 240, 195, 0.82) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 81% 64%, rgba(255, 225, 155, 0.88) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 90% 56%, rgba(244, 210, 110, 0.92) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 10% 86%, rgba(255, 220, 145, 0.9) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 20% 78%, rgba(255, 235, 185, 0.85) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 31% 88%, rgba(255, 215, 130, 0.95) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 44% 80%, rgba(255, 230, 170, 0.85) 99%, transparent 100%), radial-gradient(0.5px 0.5px at 57% 90%, rgba(255, 240, 195, 0.8) 99%, transparent 100%), radial-gradient(0.2px 0.2px at 71% 82%, rgba(255, 225, 155, 0.88) 99%, transparent 100%), radial-gradient(0.3px 0.3px at 86% 90%, rgba(244, 210, 110, 0.92) 99%, transparent 100%);
}

/* star sprites around the pill */
.sparkle {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  font-size: clamp(14px, 2.2vw, 20px);
  color: color-mix(in oklab, var(--brand, #c49a2c), #fff 25%);
  text-shadow: 0 0 8px rgba(255, 215, 130, 0.85), 0 0 18px rgba(255, 215, 130, 0.55);
  opacity: 0.85;
}

.s1 {
  top: -14px;
  left: -18px;
}

.s2 {
  top: -10px;
  right: -22px;
}

.s3 {
  bottom: -16px;
  left: 12px;
  transform: rotate(12deg);
}

.s4 {
  bottom: -18px;
  right: 10px;
}

.s5 {
  top: -26px;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
}

/* Wrapper when the pill lives in the HERO */
.anniv-hero {
  display: inline-block;
  margin: 0 0 0.9rem;
}

/* Home page hero uses .hero-section (not .page-hero-banner) */
@media (max-width: 1030px) {
  .hero-section .anniv-wrap {
    display: none !important;
  }
}
/* Desktop spacing for the home pill */
@media (min-width: 1030.02px) {
  .hero-section .anniv-wrap {
    margin: 0 0 0.9rem;
  }
}
/* Hide the HERO pill on mobile so it doesn't clash with the title */
@media (max-width: 1030px) {
  .page-hero-banner .anniv-hero,
  .page-hero-banner .anniv-wrap {
    display: none !important;
  }
}
/* HOME (mobile): pill under title */
@media (max-width: 1030px) {
  body.home .hero-section .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  body.home .hero-section .hero-title {
    order: 1;
  }
  body.home .hero-section .anniv-wrap {
    display: inline-flex !important;
    order: 2;
    margin: 2rem 0 0;
  }
  body.home .hero-section .anniv-pill {
    font-size: clamp(12px, 3.4vw, 14px);
    padding: 0.28rem 0.55rem;
    gap: 0.25rem;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.16);
  }
  body.home .hero-section .sparkle {
    font-size: 12px;
  }
  body.home .hero-section .anniv-wrap::before {
    inset: -10px -12px;
  }
  body.home .nav-anniv {
    display: none !important;
  }
}
/* Tiny desktop tweak */
@media (min-width: 1030.02px) {
  body.home .hero-section .anniv-wrap {
    margin: 0.35rem 0 0;
  }
}
/* Phones: center text + tweak filters & bg position */
@media (max-width: 600px) {
  .page-hero-banner {
    text-align: center;
    align-items: flex-end;
    background-position: 50% 35%;
  }
  .page-hero-banner::before {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-color: rgba(1, 63, 135, 0.35);
  }
  .page-hero-banner .hero-glass {
    margin-inline: auto;
    max-width: calc(100% - 2 * var(--pad-x));
  }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .page-hero-banner::before {
    backdrop-filter: none;
  }
}
.conf-cards {
  padding: 2.25rem 0 3rem;
}

.conf-cards-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  align-items: stretch; /* equal track height */
  grid-auto-rows: 1fr; /* equal row height */
}

@media (max-width: 1200px) {
  .conf-cards-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (max-width: 640px) {
  .conf-cards-grid {
    grid-template-columns: 1fr;
  }
}
/* Base card: full tinted background + soft highlight */
.conf-card {
  --brand: #013f87;
  --bg1: rgba(1,63,135,.26); /* top tint   */
  --bg2: rgba(1,63,135,.16); /* bottom tint */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: radial-gradient(140% 140% at 100% 0%, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px) saturate(120%);
  color: #15273d;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%; /* equal-height within grid */
}

.conf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

/* Title pill (small glossy ribbon) */
.conf-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand), #000 14%) 0%, color-mix(in oklab, var(--brand), #fff 10%) 100%);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.12);
  width: auto !important;
  max-width: none;
}

.conf-desc {
  margin: 0.3rem 0 0.35rem;
  line-height: 1.35;
  font-size: 0.97rem;
}

.conf-cta {
  margin-top: auto;
  font-weight: 800;
  color: var(--brand);
}

/* Brand variants (direct usage on the card, if not wrapped by .is-*) */
.conf-card.is-cte {
  --brand:#2f67b2;
  --bg1: rgba(47,103,178,.30);
  --bg2: rgba(47,103,178,.18);
}

.conf-card.is-ai3l {
  --brand:#00647E;
  --bg1: rgb(0 100 126 / 0.32);
  --bg2: rgb(0 100 126 / 0.18);
}

.conf-card.is-meta {
  --brand:#c49a2c;
  --bg1: rgba(196,154,44,.30);
  --bg2: rgba(196,154,44,.18);
}

.conf-card.is-iclea {
  --brand:#d0666f;
  --bg1: rgba(208,102,111,.30);
  --bg2: rgba(208,102,111,.18);
}

/* Safety override in case theme rules stretch spans */
.conf-card .conf-tag,
.conf-card span.conf-tag {
  display: inline-flex !important;
}

/* Block-style pill for long text */
.conf-tag--block {
  display: inline-block;
  white-space: normal;
  line-height: 1.15;
  padding: 0.85rem 1.25rem;
  border-radius: 9999px;
  margin: 0 auto;
  max-width: 78ch;
}

/* Intro panel “wide” variant: let the cards fill full width */
.intro-panel--wide {
  padding-inline: clamp(16px, 2vw, 28px);
}

.intro-panel--wide .conf-cards .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1200px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 1199.98px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.intro-panel--wide .conf-cards-grid > * {
  min-width: 0;
} /* avoid track overflow */
.contact-card {
  --ring: rgba(1,63,135,.10);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2vw, 20px);
  align-items: center;
  padding: clamp(14px, 2.2vw, 22px) clamp(16px, 2.6vw, 28px);
  margin-inline: auto;
  margin-top: clamp(6px, 1vw, 12px);
  max-width: min(100%, 840px);
  border-radius: 16px;
  border: 1px solid var(--ring);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72)), radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--brand), #fff 70%) 18%, transparent 60%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  inline-size: 46px;
  block-size: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand), #000 12%), var(--brand));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.contact-copy {
  text-align: left;
}

.contact-copy .eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--brand), #000 20%);
  text-transform: uppercase;
}

.contact-copy .contact-head {
  margin: 0 0 0.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
}

.contact-copy .micro {
  margin: 0 0 0.6rem;
  opacity: 0.9;
}

.fineprint {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Stack nicely on phones */
@media (max-width: 560px) {
  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .contact-copy {
    text-align: inherit;
  }
  .contact-icon {
    margin-inline: auto;
  }
}
.chair-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.72)), linear-gradient(180deg, var(--bg1, rgba(1, 63, 135, 0.26)) 0%, var(--bg2, rgba(1, 63, 135, 0.16)) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.chair-card .role-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: color-mix(in oklab, var(--brand, #013f87), #000 22%);
  opacity: 0.9;
}

.chair-card .role-name {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
  color: #14212b;
}

.chair-card .role-affil {
  margin: 0;
  color: #2f3d4a;
  line-height: 1.35;
}

/* Tighter spacing below the H4 when followed by the grid */
#subconf-chairs .section-rule {
  margin-bottom: 1.25rem;
}

/* ===== Discover Kumamoto section ===== */
.discover-kumamoto {
  /* Title row: mascot + red rules + heading */
  /* desired tile size (CSS custom props) */
  --tile-w: 364px; /* ~364 wide */
  --tile-ar: 364 / 317; /* aspect ≈ 1.148 (364×317) */
  /* Both Discover galleries */
  /* responsive */
  /* optional: fix tiny rounding seam when needed — add .dk-edgefix on that figure */
}
.discover-kumamoto .paws-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* tiny spacer rule between mascot & text */
}
.discover-kumamoto .paws-title .rule {
  flex: 1 1 120px;
  max-width: 220px;
  height: 2px;
  background: #c94b4b;
}
.discover-kumamoto .paws-title .rule--short {
  flex: 0 0 48px;
}
.discover-kumamoto .paws-title .kumamon {
  width: 96px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}
.discover-kumamoto .paws-title h2 {
  font-weight: 800;
  margin: 0;
}
@media (max-width: 576px) {
  .discover-kumamoto .paws-title .kumamon {
    width: 64px;
  }
  .discover-kumamoto .paws-title .rule {
    max-width: 140px;
  }
}
.discover-kumamoto .intro {
  max-width: 860px;
}
.discover-kumamoto .more-link {
  font-weight: 600;
  text-decoration: underline;
}
.discover-kumamoto .dk-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, var(--tile-w));
  gap: 48px !important;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  overflow: visible !important; /* let pills hang out */
  /* each tile */
  /* whole tile clickable */
  /* image fill */
  /* caption pill — hard override Gutenberg */
  /* kill WP’s gradient overlay on captions */
  /* right-edge tiles (3rd in each row): flip pill outward */
  /* subtle hover lift */
}
.discover-kumamoto .dk-gallery.is-cropped {
  overflow: visible !important;
}
.discover-kumamoto .dk-gallery .wp-block-image,
.discover-kumamoto .dk-gallery .blocks-gallery-item,
.discover-kumamoto .dk-gallery .blocks-gallery-item figure {
  width: 100% !important;
  max-width: none !important;
  flex: initial !important;
  position: relative;
  margin: 0 !important;
  overflow: visible !important;
  isolation: isolate; /* cleaner shadow */
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  aspect-ratio: var(--tile-ar);
}
.discover-kumamoto .dk-gallery figure.wp-block-image > a {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  border-radius: inherit;
}
.discover-kumamoto .dk-gallery .wp-block-image > img,
.discover-kumamoto .dk-gallery .blocks-gallery-item > figure > img,
.discover-kumamoto .dk-gallery .wp-block-image > a,
.discover-kumamoto .dk-gallery .blocks-gallery-item > figure > a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.discover-kumamoto .dk-gallery figure.wp-block-image figcaption {
  /* use inset to beat any earlier 'inset: 0' */
  inset: auto auto -12px -12px !important; /* bottom:-12, left:-12 */
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0.8rem 0.8rem !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 12px) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #1f2d3d !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  z-index: 3 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.discover-kumamoto .dk-gallery figure.wp-block-image figcaption::before {
  content: none !important;
}
.discover-kumamoto .dk-gallery figure.wp-block-image:nth-child(3n) > figcaption {
  inset: auto -12px -12px auto !important; /* bottom:-12, right:-12 */
}
.discover-kumamoto .dk-gallery figure.wp-block-image:hover figcaption,
.discover-kumamoto .dk-gallery figure.wp-block-image:focus-within figcaption {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}
@media (max-width: 1200px) {
  .discover-kumamoto .dk-gallery {
    --tile-w:340px;
  }
}
@media (max-width: 992px) {
  .discover-kumamoto .dk-gallery {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .discover-kumamoto .dk-gallery {
    grid-template-columns: minmax(280px, 1fr);
  }
}
.discover-kumamoto .dk-gallery .wp-block-image.dk-edgefix > img {
  position: absolute !important;
  inset: -1px !important;
  object-fit: cover;
  border-radius: inherit;
}

/* ===== Global caption pill hard overrides (outside the Discover scope) ===== */
.dk-gallery figure.wp-block-image {
  position: relative !important; /* ensure abs-positioning context */
}

.dk-gallery figure.wp-block-image > figcaption,
.dk-gallery figure.wp-block-image > figcaption.wp-element-caption {
  /* neutralize WP defaults */
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  translate: none !important;
  margin: 0 !important;
  /* our placement */
  position: absolute !important;
  bottom: -12px !important;
  left: -12px !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% - 12px) !important;
  padding: 0.8rem 0.8rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #1f2d3d !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
  z-index: 3 !important; /* above the link layer */
  pointer-events: none !important; /* keep the whole tile clickable */
  opacity: 1 !important;
}

/* kill WP’s gradient overlay that figcaption sometimes gets */
.dk-gallery figure.wp-block-image > figcaption::before {
  content: none !important;
}

/* subtle hover lift */
.dk-gallery figure.wp-block-image:hover > figcaption,
.dk-gallery figure.wp-block-image:focus-within > figcaption {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18) !important;
}

/* --- Force ALL Discover pills to bottom-left, even 3rd/6th tiles --- */
.discover-kumamoto .dk-gallery.wp-block-gallery > figure.wp-block-image:nth-child(3n) > figcaption,
.discover-kumamoto .dk-gallery.wp-block-gallery-2 > figure.wp-block-image:nth-child(3n) > figcaption,
.discover-kumamoto .dk-gallery.wp-block-gallery-3 > figure.wp-block-image:nth-child(3n) > figcaption,
.discover-kumamoto .dk-gallery figure.wp-block-image:last-child > figcaption,
.discover-kumamoto .dk-gallery figure.wp-block-image > figcaption {
  left: -12px !important;
  right: auto !important;
  bottom: -12px !important;
}

/* =========================================
   1) Generic “TBICS table” chrome
   ========================================= */
.tbics-table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden; /* rounds the header corners */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  /* very light zebra */
  /* hover highlight */
  /* First column a bit bolder for readability */
  /* Compact on small screens */
}
.tbics-table thead th {
  background: var(--tbics-solid, #013f87);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 0 !important;
  padding: 0.95rem 1.1rem;
}
.tbics-table tbody tr {
  transition: background 0.15s ease;
}
.tbics-table tbody tr:nth-child(even) {
  background: #f7faff;
}
.tbics-table tbody tr:hover {
  background: #eef5ff;
}
.tbics-table th, .tbics-table td {
  border: 0 !important;
  padding: 0.9rem 1.1rem;
  vertical-align: middle;
  color: #2f2f2f;
}
.tbics-table tbody td:first-child,
.tbics-table tbody th[scope=row] {
  font-weight: 600;
}
@media (max-width: 640px) {
  .tbics-table th, .tbics-table td {
    padding: 0.75rem 0.9rem;
  }
}

/* Optional section heading spacing often used above tables */
#submission-dates h2.h4 {
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 1rem;
}

/* Primary/outline buttons in TBICS palette (used near tables sometimes) */
#cfp-page .btn-primary,
#submission-dates .btn-primary {
  background-color: var(--tbics-solid, #013f87);
  border-color: var(--tbics-solid, #013f87);
}

#submission-dates .btn-outline-primary {
  color: var(--tbics-solid, #013f87);
  border-color: var(--tbics-solid, #013f87);
}

#submission-dates .btn-outline-primary:hover {
  background-color: var(--tbics-solid, #013f87);
  color: #fff;
}

/* =========================================
   2) Org KV Table (card-less, centered, accessible)
   ========================================= */
#about-tbics {
  /* rows/cells */
  /* remove top border on first row */
  /* label column */
  /* value column */
  /* lists inside values — restore bullets */
  /* subtle zebra + hover for readability */
  /* ------ Mobile: stack label above value ------ */
}
#about-tbics .org-kv-wrap {
  max-width: min(100%, 980px);
  margin-inline: auto;
}
#about-tbics .org-kv-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-size: clamp(15px, 1.9vw, 18px);
}
#about-tbics .org-kv-table th,
#about-tbics .org-kv-table td {
  padding: 10px 16px;
  vertical-align: top;
  border-top: 1px solid rgba(1, 63, 135, 0.14);
}
#about-tbics .org-kv-table tbody tr:first-child th,
#about-tbics .org-kv-table tbody tr:first-child td {
  border-top: 0;
}
#about-tbics .org-kv-table th {
  width: clamp(180px, 26ch, 340px);
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
  color: #1c2733;
  padding-right: clamp(12px, 2vw, 22px);
}
#about-tbics .org-kv-table td {
  color: #22303c;
}
#about-tbics .org-kv-table .committee-list {
  list-style: disc !important;
  margin: 0;
  padding-left: 1.25rem;
}
#about-tbics .org-kv-table .committee-list li {
  margin: 0.35rem 0;
}
#about-tbics .org-kv-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.025);
}
#about-tbics .org-kv-table tr:hover td {
  background: rgba(1, 63, 135, 0.04);
}
@media (max-width: 720px) {
  #about-tbics {
    /* divider between stacked rows */
  }
  #about-tbics .org-kv-table,
  #about-tbics .org-kv-table tbody,
  #about-tbics .org-kv-table tr,
  #about-tbics .org-kv-table th,
  #about-tbics .org-kv-table td {
    display: block;
    width: 100%;
  }
  #about-tbics .org-kv-table th {
    text-align: left;
    padding-bottom: 0.25rem;
    border-top: 0;
  }
  #about-tbics .org-kv-table td {
    padding-top: 0;
    border-top: 0;
  }
  #about-tbics .org-kv-table tr + tr {
    border-top: 1px solid rgba(1, 63, 135, 0.14);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }
}

/* =========================================
   3) Program Chairs table — cream on the grid, no outer halo
   ========================================= */
#about-tbics {
  /* Gutenberg figure variant */
  /* Bootstrap table inside a tight card */
  /* Shared table chrome */
}
#about-tbics .wp-block-table.org-table {
  border: 1px solid rgba(1, 63, 135, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
#about-tbics .wp-block-table.org-table > table {
  background: #FAF5EE !important; /* cream inside */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
#about-tbics .org-card--tight {
  padding: 0;
}
#about-tbics .org-card--tight .table-responsive {
  border: 1px solid rgba(1, 63, 135, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0;
}
#about-tbics .org-card--tight table.org-table {
  background: #FAF5EE;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
#about-tbics .org-table thead th {
  background: rgba(255, 255, 255, 0.66);
  color: #3a3a3a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 14px 16px 16px;
  border-bottom: 1px solid rgba(1, 63, 135, 0.16);
}
#about-tbics .org-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid rgba(1, 63, 135, 0.1);
  overflow-wrap: anywhere;
  hyphens: auto;
}
#about-tbics .org-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.035);
}
#about-tbics .org-table tbody tr:hover {
  background: rgba(1, 63, 135, 0.06);
}

/* Remove default WP/Bootstrap bottom margins in these contexts */
.table,
.wp-block-table table {
  margin-bottom: 0;
}

/* =========================================
   4) International Connections table (+ mobile cards)
   ========================================= */
/* Section container */
.intl-connections .table-responsive {
  overflow-x: auto;
}

/* Table base */
.intl-connections table {
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  overflow: hidden; /* keep rounded corners clean */
}

.intl-connections thead th {
  background: var(--tbics-solid, #013f87);
  color: #fff;
  font-weight: 700;
  vertical-align: middle;
  padding: 0.9rem 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

.intl-connections tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.intl-connections tbody td:last-child,
.intl-connections thead th:last-child {
  border-right: 0;
}

/* Country cell: flag + name */
.intl-connections .flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  margin-right: 10px;
  border-radius: 2px;
  overflow: hidden;
  background: #f1f1f1; /* fallback before img loads */
}

.intl-connections .flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intl-connections .flag-emoji {
  font-size: 18px;
  line-height: 1;
}

.intl-connections .country-name {
  font-weight: 600;
}

/* Duration cell: icon + text */
.intl-connections td.duration {
  white-space: nowrap;
}

.intl-connections td.duration img {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 8px;
}

/* --- Mobile card layout for the International Connections table --- */
@media (max-width: 680px) {
  .intl-connections .table-responsive {
    overflow: visible;
  } /* no horiz scroll in card mode */
  /* Keep desktop semantics but visually hide the header for phones (accessible) */
  .intl-connections thead {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .intl-connections tbody tr {
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    overflow: hidden;
  }
  .intl-connections tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border: 0; /* kill table borders */
  }
  .intl-connections tbody td + td {
    border-top: 1px solid rgba(0, 0, 0, 0.06); /* subtle divider between rows */
  }
  /* Print the column name for each value */
  .intl-connections tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #5b6b83;
    margin-right: 12px;
    flex: 0 0 9ch; /* consistent label width */
  }
  /* Country cell: keep flag next to country name */
  .intl-connections tbody td[data-label=Country] {
    justify-content: flex-start;
    gap: 8px;
  }
  .intl-connections .flag {
    flex: 0 0 28px;
    margin-right: 8px;
  }
  /* Tidy duration cell */
  .intl-connections td.duration img {
    margin-right: 8px;
  }
}
.custom-footer {
  position: relative;
  background: linear-gradient(to bottom, #d3e5f2 0%, var(--tbics-solid, #013f87) 5%);
  color: #fff;
  padding: 4rem 2rem;
  font-family: "Lato", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  overflow: hidden;
}
.custom-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #d3e5f2);
  z-index: 1;
  pointer-events: none;
}
.custom-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("./img/kumamoto_footer_image.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}
.custom-footer .footer-text {
  position: relative;
  z-index: 2; /* above overlays */
  max-width: 600px;
  margin-left: 2rem;
}
@media (max-width: 480px) {
  .custom-footer .footer-text {
    margin-left: 0;
  }
}
.custom-footer .footer-text .footer-title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.custom-footer .footer-text .footer-location,
.custom-footer .footer-text .footer-dates,
.custom-footer .footer-text .footer-copy {
  font-size: 1rem;
  margin: 0.3rem 0;
}

/* 4) Pages */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url("./img/kumamoto_castle.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 4rem 2rem;
}
.hero-section .hero-content {
  max-width: 600px;
  z-index: 2;
  text-align: left;
  margin-left: 8rem;
  margin-top: 7rem;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(221, 235, 247, 0) 0%, #ddebf7 100%);
  z-index: 1;
}
.hero-section .hero-title {
  font-weight: 600;
  font-size: 48px;
}
.hero-section .hero-location {
  font-size: 36px;
  margin-top: 1rem;
}
.hero-section .hero-date {
  font-size: 36px;
}

/* Large tablet / small desktop tweaks */
@media (max-width: 1500px) {
  .hero-section .hero-title {
    font-size: 38px;
  }
  .hero-section .hero-location,
  .hero-section .hero-date {
    font-size: 28px;
  }
  .hero-section .hero-content {
    margin-left: 4rem;
    margin-top: 3rem;
  }
}
/* Custom nav breakpoint kept in navbar partial; only hero + page sections here */
@media (max-width: 1030px) {
  .hero-section .hero-title {
    font-size: 30px;
  }
  .hero-section .hero-location,
  .hero-section .hero-date {
    font-size: 22px;
  }
  .hero-section .hero-content {
    margin-left: 2rem;
    margin-top: 2rem;
  }
  /* Optional home blocks that appear near hero on medium screens */
  .welcome-section {
    padding: 2rem 1.2rem;
    text-align: center;
  }
  .welcome-section .welcome-title {
    font-size: 1.5rem;
  }
  .custom-footer {
    min-height: 280px;
  }
  .custom-footer .footer-title {
    font-size: 1.2rem;
    text-align: center;
  }
  .custom-footer .footer-location,
  .custom-footer .footer-dates,
  .custom-footer .footer-copy {
    font-size: 0.9rem;
    text-align: center;
  }
}
/* Tablets */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .hero-section .hero-content {
    margin-left: 1rem;
    margin-top: 1rem;
    max-width: 100%;
  }
  .hero-section .hero-title {
    font-size: 28px;
  }
  .hero-section .hero-location,
  .hero-section .hero-date {
    font-size: 18px;
  }
}
/* Phones */
@media (max-width: 480px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 1rem;
  }
  .hero-section .hero-content {
    margin-left: 0.5rem;
    margin-top: 0;
    text-align: left;
  }
  .hero-section .hero-title {
    font-size: 22px;
    line-height: 1.3;
  }
  .hero-section .hero-location,
  .hero-section .hero-date {
    font-size: 16px;
  }
  .welcome-section {
    padding: 1.5rem 1rem;
    text-align: left;
  }
  .welcome-section .welcome-title {
    font-size: 1.3rem;
  }
  .welcome-section .welcome-subtitle {
    font-size: 1rem;
  }
  .welcome-section .welcome-content {
    font-size: 0.95rem;
  }
}
.home-intro {
  /* uses body bg (#DDEBF7) */
  background: transparent;
  padding: 7.5rem 1rem 3.25rem;
}

.intro-panel {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.64)), radial-gradient(120% 120% at 0% 0%, rgba(1, 63, 135, 0.08), transparent 60%);
  border: 1px solid rgba(1, 63, 135, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px) saturate(130%);
  -webkit-backdrop-filter: blur(4px) saturate(130%);
}

/* Intro heading — responsive sizing + friendlier rules on mobile */
.intro-heading.ruled {
  /* scales down on phones, caps at desktop size */
  font-size: clamp(18px, 4.8vw, 32px);
  text-wrap: balance; /* nicer multi-line wrapping */
  overflow-wrap: anywhere; /* prevent overflow on very long words */
}

@media (max-width: 600px) {
  .intro-heading.ruled {
    gap: 8px;
    line-height: 1.15;
  }
  .intro-heading.ruled::before,
  .intro-heading.ruled::after {
    height: 2px;
    max-width: 96px; /* shorter rules so the text has room */
    flex: 1 1 24px;
    opacity: 0.9;
  }
}
@media (max-width: 380px) {
  .intro-heading.ruled {
    font-size: clamp(17px, 5.2vw, 21px);
  }
  /* If it still feels cramped, you can hide the rules on ultra-narrow screens: */
  /* .intro-heading.ruled::before,
     .intro-heading.ruled::after{ display:none; } */
}
/* Intro badge — scale down on phones */
.intro-badge {
  inline-size: clamp(150px, 48vw, 220px); /* width */
  block-size: auto;
  padding-block: clamp(0.5rem, 3vw, 2rem); /* was 3rem top/btm */
  display: block;
  margin: 0.5rem auto 1rem; /* a touch tighter */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Extra small phones */
@media (max-width: 380px) {
  .intro-badge {
    inline-size: clamp(130px, 60vw, 190px);
    padding-block: clamp(0.4rem, 2.5vw, 0.8rem);
  }
}
.intro-body {
  text-align: left;
  max-width: 960px;
  margin: 0 auto;
}

.intro-note {
  background: #fff;
  border: 1px solid rgba(1, 63, 135, 0.14);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 1rem 0 1.25rem;
}

.intro-sub {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1rem 0 0.5rem;
}

.intro-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.intro-list li {
  margin: 0.45rem 0;
}

/* CTA cluster (button visuals for .btn/.btn-outline live in components/_buttons.scss) */
.intro-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}
.intro-ctas .btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
}
.intro-ctas .btn-outline {
  background: #fff;
  border: 1px solid #013f87;
  color: #013f87;
}
.intro-ctas .btn-outline:hover {
  background: #013f87;
  color: #fff;
}

/* Space the CTA under the cards section when used */
.conf-cards-cta {
  margin-top: 1rem;
}

.conf-cards {
  padding: 2.25rem 0 3rem;
}

/* Make ONLY the home-intro container wider on large screens */
@media (min-width: 1200px) {
  .home-intro .container {
    max-width: 1320px;
  }
}
/* Wide intro variant (keeps card shadows unclipped and grid wider) */
.intro-panel--wide {
  max-width: 100%;
  overflow: visible;
  /* Don’t let the inner .container shrink the cards */
  /* Grid: 4 → 2 → 1, with consistent gaps */
  /* Ensure grid children don’t force track width */
  /* Optional: little inner breathing room */
  padding-inline: clamp(16px, 2vw, 28px);
}
.intro-panel--wide .conf-cards .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1200px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 1199.98px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .intro-panel--wide .conf-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.intro-panel--wide .conf-cards-grid > * {
  min-width: 0;
}

.sponsor-image {
  padding-bottom: 3rem;
}
.sponsor-image img {
  width: 650px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

#news-archive {
  font-family: "Lato", sans-serif;
}
#news-archive .news-hero {
  background-color: #013f87;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
#news-archive .news-hero .news-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#news-archive .news-hero .news-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ddebf7;
}
#news-archive .list-news {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 800px;
}
#news-archive .list-news li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}
#news-archive .list-news li a {
  text-decoration: none;
  color: #013f87;
  display: flex;
  flex-direction: column;
}
#news-archive .list-news li a:hover {
  color: #457cbf;
}
#news-archive .list-news li a .news-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.3rem;
}
#news-archive .list-news li a .news-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}
#news-archive .pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
#news-archive .pagination .page-numbers {
  display: inline-block;
  margin: 0 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #013f87;
  color: #013f87;
  text-decoration: none;
  border-radius: 4px;
}
#news-archive .pagination .page-numbers:hover, #news-archive .pagination .page-numbers.current {
  background-color: #013f87;
  color: #fff;
}

#single-post .single-hero {
  background-color: #013f87;
  color: #fff;
  padding: 4rem 0;
}
#single-post .single-hero .post-title {
  font-size: 2.5rem;
  font-weight: bold;
}
#single-post .single-hero .post-meta {
  font-size: 1rem;
  opacity: 0.8;
}
#single-post .single-hero .btn {
  background-color: #fff;
  color: #013f87;
  font-weight: 500;
}
#single-post .single-content {
  max-width: 800px;
  margin: 0 auto;
}
#single-post .single-content .post-thumbnail img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}
#single-post .single-content .post-body {
  line-height: 1.7;
  font-size: 1.1rem;
  color: #333;
}
#single-post .post-navigation a {
  color: #457CBF;
  text-decoration: none;
  font-weight: 600;
}

#submission-dates {
  /* simple emphasis on header cells if native table is used */
}
#submission-dates .page-hero {
  background-color: #013f87;
}
#submission-dates .page-hero h1,
#submission-dates .page-hero .lead {
  color: #fff;
}
#submission-dates .btn-primary {
  background-color: #013f87;
  border-color: #013f87;
}
#submission-dates .btn-outline-primary {
  color: #013f87;
  border-color: #013f87;
  /* mobile: center + add vertical space */
}
#submission-dates .btn-outline-primary:hover {
  background-color: #013f87;
  color: #fff;
}
@media (max-width: 600px) {
  #submission-dates .btn-outline-primary {
    display: block; /* stop inline behavior */
    inline-size: fit-content; /* shrink to label width */
    margin-inline: auto; /* center horizontally */
    margin-block: 1.25rem; /* space above & below */
    text-align: center;
  }
}
#submission-dates table th {
  font-weight: 700;
}

.tbics-dates-list {
  list-style: none;
  padding: 0;
}
.tbics-dates-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.tbics-dates-list li::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  background: url("/TBICS2026/wp-content/themes/tbics-upload/img/calendar-days.svg") no-repeat center center;
  background-size: contain;
}
.tbics-dates-list li strong {
  color: #013f87;
}

.subconf-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
  grid-template-columns: repeat(4, minmax(240px, 1fr)); /* one line */
  align-items: stretch;
  max-width: 1200px;
  justify-content: center;
  margin-inline: auto;
  margin-top: 5rem;
}

.subconf-block {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
}

@media (max-width: 1180px) {
  .subconf-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}
@media (max-width: 640px) {
  .subconf-grid {
    grid-template-columns: 1fr;
  }
}
/* When a ruled H4 precedes the grid, tighten spacing */
#subconf-chairs .section-rule {
  margin-bottom: 1.25rem;
}

#cfp-page .btn-primary {
  background-color: #013f87;
  border-color: #013f87;
}

/* Topics list (inside CFP body copy) */
.cfp-body ul.topics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
}
@media (max-width: 768px) {
  .cfp-body ul.topics-list {
    grid-template-columns: 1fr;
  }
}
.cfp-body ul.topics-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.35;
}
.cfp-body ul.topics-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #2f67b2;
  box-shadow: 0 0 0 0.18rem rgba(47, 103, 178, 0.18);
}

/* Simple no-bullets helper (as in source) */
.no-bullets,
.no-bullets ul,
.no-bullets ol {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.no-bullets li,
.no-bullets ul li,
.no-bullets ol li {
  margin: 0.25rem 0;
}
.no-bullets li::marker,
.no-bullets ul li::marker,
.no-bullets ol li::marker {
  content: "";
}

/* Themes of Interest */
.themes-section {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Grid wrapper */
.themes-grid {
  width: 100% !important;
  max-width: none !important;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  /* Heading spans all columns */
  /* Kill Gutenberg constraints */
  /* Cards fill their tracks */
  /* Inner container as grid */
  /* Desktop: two generous columns */
}
.themes-grid > .themes-section {
  grid-column: 1/-1;
  margin-bottom: 4px;
}
.themes-grid .is-layout-constrained,
.themes-grid .wp-block-group.is-layout-constrained {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.themes-grid > .theme-card {
  width: 100%;
}
.themes-grid > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
.themes-grid > .wp-block-group__inner-container > .themes-section {
  grid-column: 1/-1;
}
.themes-grid > .wp-block-group__inner-container > .theme-card {
  width: 100%;
  height: 100%;
}
@media (min-width: 900px) {
  .themes-grid {
    grid-template-columns: 1fr 1fr;
    /* If there’s an odd number of cards, center the last one */
  }
  .themes-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
    column-gap: 32px;
    row-gap: 28px;
  }
  .themes-grid > .theme-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    justify-self: center;
    max-width: 560px; /* keeps it tidy */
    width: 100%;
  }
  .themes-grid > .wp-block-group__inner-container > .theme-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    justify-self: center;
    max-width: 560px;
    width: 100%;
  }
}

/* Card */
.theme-card {
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.64)), radial-gradient(120% 120% at 0% 0%, rgba(1, 63, 135, 0.08), transparent 60%);
  border: 1px solid rgba(1, 63, 135, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.theme-card::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0.25rem auto 0.75rem;
  background: #c94b4b;
  border-radius: 4px;
  opacity: 0.9;
}
.theme-card h6 {
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.theme-card ul {
  margin: 0;
  padding-left: 1.25rem;
}
.theme-card li {
  margin: 0.45rem 0;
}

/* Button used under the themes grid (from source; global) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  background: #2f67b2;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(47, 103, 178, 0.25);
  /* mobile: center the CTA button */
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-primary:focus-visible {
  outline: 3px solid #cfe0ff;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .btn-primary {
    display: block; /* stop behaving like inline content */
    inline-size: fit-content; /* shrink to label width */
    margin-inline: auto; /* centers the block */
    margin-block: 1.25rem;
    text-align: center; /* centers the label */
  }
}

/* Submission page: inline EasyChair URL + CTA */
.inline-url {
  word-break: break-all; /* wrap long URL on small screens */
  text-decoration: none;
}
.inline-url:hover, .inline-url:focus {
  text-decoration: underline;
}

.submission-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 576px) {
  .submission-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

#about-tbics {
  /* ------ Mobile: stack label above value ------ */
  /* Gutenberg table block variant */
  /* If inside a tight “card” wrapper */
  /* Shared table chrome */
}
#about-tbics .org-kv-wrap {
  max-width: min(100%, 980px);
  margin-inline: auto;
}
#about-tbics .org-kv-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  font-size: clamp(15px, 1.9vw, 18px);
  /* remove top border on first row */
  /* label column */
  /* value column */
  /* lists inside values — restore bullets */
  /* subtle zebra + hover */
}
#about-tbics .org-kv-table th,
#about-tbics .org-kv-table td {
  padding: 10px 16px;
  vertical-align: top;
  border-top: 1px solid rgba(1, 63, 135, 0.14);
}
#about-tbics .org-kv-table tbody tr:first-child th,
#about-tbics .org-kv-table tbody tr:first-child td {
  border-top: 0;
}
#about-tbics .org-kv-table th {
  width: clamp(180px, 26ch, 340px);
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
  color: #1c2733;
  padding-right: clamp(12px, 2vw, 22px);
}
#about-tbics .org-kv-table td {
  color: #22303c;
}
#about-tbics .org-kv-table .committee-list {
  list-style: disc !important;
  margin: 0;
  padding-left: 1.25rem;
}
#about-tbics .org-kv-table .committee-list li {
  margin: 0.35rem 0;
}
#about-tbics .org-kv-table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.025);
}
#about-tbics .org-kv-table tr:hover td {
  background: rgba(1, 63, 135, 0.04);
}
@media (max-width: 720px) {
  #about-tbics {
    /* divider between stacked rows */
  }
  #about-tbics .org-kv-table,
  #about-tbics .org-kv-table tbody,
  #about-tbics .org-kv-table tr,
  #about-tbics .org-kv-table th,
  #about-tbics .org-kv-table td {
    display: block;
    width: 100%;
  }
  #about-tbics .org-kv-table th {
    text-align: left;
    padding-bottom: 0.25rem;
    border-top: 0;
  }
  #about-tbics .org-kv-table td {
    padding-top: 0;
    border-top: 0;
  }
  #about-tbics .org-kv-table tr + tr {
    border-top: 1px solid rgba(1, 63, 135, 0.14);
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }
}
#about-tbics .wp-block-table.org-table {
  border: 1px solid rgba(1, 63, 135, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
#about-tbics .wp-block-table.org-table > table {
  background: #FAF5EE !important; /* cream */
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
#about-tbics .org-card--tight {
  padding: 0;
}
#about-tbics .org-card--tight .table-responsive {
  border: 1px solid rgba(1, 63, 135, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0;
}
#about-tbics .org-card--tight table.org-table {
  background: #FAF5EE;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
#about-tbics .org-table thead th {
  background: rgba(255, 255, 255, 0.66);
  color: #3a3a3a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 14px 16px 16px;
  border-bottom: 1px solid rgba(1, 63, 135, 0.16);
}
#about-tbics .org-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid rgba(1, 63, 135, 0.1);
  overflow-wrap: anywhere;
  hyphens: auto;
}
#about-tbics .org-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.035);
}
#about-tbics .org-table tbody tr:hover {
  background: rgba(1, 63, 135, 0.06);
}

/* Remove default WP/Bootstrap bottom gap on wrapped tables */
.table, .wp-block-table table {
  margin-bottom: 0;
}

.org-roles {
  --gap: clamp(14px, 2.2vw, 24px);
  --card-min: 220px;
  --card-max: 320px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: var(--gap);
  flex-wrap: nowrap;
}

.org-role-card {
  flex: 0 1 auto;
  width: var(--card-max);
}

.org-roles--cols-2 .org-role-card {
  width: clamp(var(--card-min), 42vw, var(--card-max));
}

.org-roles--cols-3 .org-role-card {
  width: clamp(var(--card-min), 28vw, var(--card-max));
}

/* solo chair row */
.org-roles--solo {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

/* 3 co-chairs as a grid */
.org-roles--grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  justify-content: center;
  align-items: stretch;
}

.org-roles--grid-3 > .org-role-card,
.org-roles--grid-4 > .org-role-card {
  width: auto !important; /* override flex child width */
  min-width: 0; /* allow tracks to shrink */
  margin: 0; /* just in case */
}

/* 4-up roomy grid */
.org-roles--grid-4 {
  --roles-max: 1220px;
  max-width: var(--roles-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  justify-content: center;
  align-items: stretch;
}

/* 5-up Program Co-Chair row */
.org-roles--grid-5 {
  --roles-max: 1400px;
  max-width: min(100%, var(--roles-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  justify-items: stretch;
  align-items: stretch;
}

/* Only the Program Co-Chair cards ignore the global width */
.org-roles--grid-5 > .org-role-card--pc {
  width: 100%; /* fill the grid track */
  min-width: 0;
  margin: 0;
}

/* Responsive fallbacks (optional / tweak breakpoints) */
@media (max-width: 1100px) {
  .org-roles--grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .org-roles--grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .org-roles--grid-5 {
    grid-template-columns: 1fr;
    --roles-max: 300px;
  }
}
/* fallbacks at breakpoints */
@media (max-width: 1180px) {
  .org-roles--grid-3 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
  .org-roles--grid-4 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (max-width: 980px) {
  .org-roles {
    flex-wrap: wrap;
  }
  .org-roles--cols-3 .org-role-card,
  .org-roles--cols-2 .org-role-card {
    width: clamp(var(--card-min), 46vw, var(--card-max));
  }
}
@media (max-width: 640px) {
  .org-roles {
    --card-max: 300px;
  }
  .org-roles--grid-3,
  .org-roles--grid-4 {
    grid-template-columns: 1fr;
    --roles-max: 300px;
  }
  .org-roles--cols-2 .org-role-card,
  .org-roles--cols-3 .org-role-card {
    width: 100%;
  }
}
/* the card body */
.org-role-card {
  background: #fff;
  border: 1px solid rgba(1, 63, 135, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  padding: clamp(14px, 2.2vw, 20px) clamp(16px, 2.4vw, 22px);
  text-align: center;
}
.org-role-card .role-label {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #263238;
  opacity: 0.85;
}
.org-role-card .role-name {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
}
.org-role-card .role-affil {
  margin: 0;
  color: #2f3d4a;
  line-height: 1.35;
}

/* tighten spacing when a ruled H4 precedes roles */
.org-section h4.section-rule + .org-roles {
  margin-top: clamp(8px, 1.6vw, 14px);
}

/* ---------- Mobile: consistent, smaller, and narrower cards ---------- */
/* ---------- Mobile: consistent, smaller, and narrower cards ---------- */
/* ---------- Mobile: identical width for ALL role cards ---------- */
/* ---------- FINAL OVERRIDE: identical mobile card width (solo + grid) ---------- */
/* ---------- Mobile hard-normalize: identical card width (solo + grid) ---------- */
@media (max-width: 640px) {
  /* Give both wrappers a full-viewport staging area, ignoring parent cols/padding */
  .org-roles--solo,
  .org-roles--grid-3 {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw !important; /* escape narrow ancestors */
    max-width: 100vw !important;
    transform: translateX(-50%);
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: clamp(10px, 2.6vw, 14px);
    justify-items: center; /* center children uniformly */
  }
  /* Apply the exact same visible width to every card in both groups */
  .org-roles--solo > .org-role-card,
  .org-roles--grid-3 > .org-role-card {
    box-sizing: border-box;
    width: min(92vw, 440px) !important; /* tweak 440px to taste */
    max-width: 300px !important;
    margin: 0 auto !important;
    border-radius: 14px;
    padding: clamp(12px, 3.4vw, 16px) clamp(14px, 4.2vw, 18px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  /* Typography stays consistent */
  .org-role-card .role-label {
    font-size: clamp(12px, 3.4vw, 14px);
  }
  .org-role-card .role-name {
    font-size: clamp(18px, 4.4vw, 20px);
  }
  .org-role-card .role-affil {
    font-size: clamp(13px, 3.6vw, 16px);
  }
}
.org-subtitle {
  text-align: center;
  font-weight: 600;
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.org-members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(10px, 2vw, 14px) clamp(20px, 3vw, 36px);
}
.org-members li {
  line-height: 1.35;
}
.org-members .name {
  display: block;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.org-members .affil {
  display: block;
  color: #2f3d4a;
}

.org-members.two-col {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: fit-content(38ch) fit-content(38ch);
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: clamp(8px, 1.2vw, 14px);
  justify-content: center;
  justify-items: start;
  text-align: left;
  margin-bottom: 5rem;
}
@media (max-width: 767.98px) {
  .org-members.two-col {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* Make sure list items don’t force full width */
ul.org-members.two-col li {
  text-align: left;
  padding-left: 5rem;
}

/* If the inner anchor was full-width, neutralize it */
ul.org-members.two-col > li > a {
  display: inline-block;
  inline-size: auto;
  text-align: left;
}

/* Mobile: 1 column, center items + text */
@media (max-width: 768px) {
  ul.org-members.two-col {
    grid-template-columns: 1fr;
    justify-content: stretch; /* track fills container */
    justify-items: center; /* items sit in the center */
    padding-inline: clamp(12px, 4vw, 20px);
  }
  ul.org-members.two-col > li {
    max-inline-size: 36ch; /* comfy line length */
    margin-inline: auto; /* center the box */
    text-align: center; /* center text */
  }
  /* if names/affils are wrapped in a link, keep it centered */
  ul.org-members.two-col > li > a {
    display: inline-block;
    text-align: inherit;
    inline-size: auto;
  }
  /* optional polish */
  ul.org-members.two-col .member-name {
    font-weight: 800;
    display: block;
  }
  ul.org-members.two-col .member-affil {
    opacity: 0.9;
  }
}
.getting-here .gh-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.getting-here .gh-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}
.getting-here .gh-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.getting-here .gh-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.domestic-access.v2 {
  /* brand colors */
  --air: #2f67b2;
  --train: #5b9e5b;
  --bus: #d19045;
  --dest: #f1dd77;
  /* layout constants shared by grid + arrows */
  --grid-gap: 24px;
  --dest-col: 180px; /* width of the 3rd grid column */
  --dest-clearance: 28px;
  /* ===== LANE GRID (DESKTOP) ===== */
  /* allows children to sit in grid areas */
  /* Header row styling (Origins list) */
  /* Data rows in origins list */
  /* Middle column (track) — step | arrow | step | arrow */
  /* connector arrow (horizontal by default) */
  /* Duration bubbles above the arrows */
  /* Right column (destination) */
  /* Bus lane special: long connector to destination */
  /* ===== MOBILE / TABLET (stack + vertical flow) ===== */
}
.domestic-access.v2 .lane {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr var(--dest-col);
  column-gap: var(--grid-gap);
  row-gap: 8px;
  align-items: center;
  margin-bottom: 40px;
  /* two-row desktop layout: label over origins */
  grid-template-areas: "label   track  dest" "origins track  dest";
  /* prevent tiny overhangs from creating a horizontal scrollbar */
  overflow: clip;
}
@supports not (overflow: clip) {
  .domestic-access.v2 .lane {
    overflow: hidden;
  }
}
.domestic-access.v2 .lane-label {
  display: contents;
}
.domestic-access.v2 .label-line {
  grid-area: label;
  align-self: start;
}
.domestic-access.v2 .origins {
  grid-area: origins;
  align-self: center;
}
.domestic-access.v2 .lane-track {
  grid-area: track;
  align-self: center;
}
.domestic-access.v2 .lane-dest {
  grid-area: dest;
  align-self: center;
}
.domestic-access.v2 .origins-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 0.35rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.domestic-access.v2 .origins-head .origins-head-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5b6b83;
  letter-spacing: 0.2px;
}
.domestic-access.v2 .origins-head .origins-head-title:last-child {
  margin-left: auto;
  text-align: right;
}
.domestic-access.v2 .origins {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.domestic-access.v2 .origins li:not(.origins-head) {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  padding: 0.25rem 0;
}
.domestic-access.v2 .origins .time {
  text-align: right;
  min-width: 7ch;
}
.domestic-access.v2 .lane-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  position: relative; /* badges float above */
  overflow: visible; /* desktop: allow small overlaps inside lane (lane itself clips) */
}
.domestic-access.v2 .step {
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 1.05rem 1.2rem;
  border-radius: 20px;
  min-width: 200px;
  line-height: 1.25;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.domestic-access.v2 .step-air {
  background: var(--air);
}
.domestic-access.v2 .step-train {
  background: var(--train);
}
.domestic-access.v2 .step-bus {
  background: var(--bus);
}
.domestic-access.v2 .leg {
  position: relative;
  display: flex;
  align-items: center;
}
.domestic-access.v2 .lane-arrow {
  --lane-color: #013f87;
  display: block;
  flex: 0 0 auto;
  height: 8px;
  width: 100%;
  background: var(--lane-color);
  border-radius: 4px;
  position: relative;
}
.domestic-access.v2 .lane-arrow::after {
  content: "";
  position: absolute;
  right: -10px; /* trimmed from -12px to avoid overshoot */
  top: 50%;
  transform: translateY(-50%);
  border-left: 14px solid var(--lane-color);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.domestic-access.v2 .leg.short .lane-arrow {
  width: 70%;
}
.domestic-access.v2 .leg.mid .lane-arrow {
  width: 60%;
}
.domestic-access.v2 .arrow-badge {
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #1f2d3d;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.35rem 1.3rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  max-inline-size: none;
  z-index: 3;
  pointer-events: none;
}
.domestic-access.v2 .arrow-badge span[aria-hidden=true] {
  margin-right: 0.35rem;
}
.domestic-access.v2 .lane-dest.dest {
  background: var(--dest);
  color: #1f2d3d;
  font-weight: 800;
  text-align: center;
  padding: 1.1rem 1.3rem;
  border-radius: 20px;
  min-width: 160px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}
.domestic-access.v2 .lane.bus .leg.to-dest .lane-arrow {
  width: calc(100% + var(--grid-gap) + var(--dest-col) - var(--dest-clearance)) !important;
  max-width: 100%; /* guard: never exceed lane box */
  background: var(--bus);
}
.domestic-access.v2 .lane.bus .leg.to-dest .lane-arrow::after {
  border-left-color: var(--bus);
}
@media (max-width: 991.98px) {
  .domestic-access.v2 {
    /* Track becomes vertical: step → arrow → step → arrow */
    /* vertical connector with downward pointer */
    /* bus lane: a bit longer for the final leg feels better */
  }
  .domestic-access.v2 .lane {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "origins" "track" "dest";
    gap: 16px;
  }
  .domestic-access.v2 .lane-track {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 12px;
    overflow: hidden; /* strict on mobile */
  }
  .domestic-access.v2 .step {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .domestic-access.v2 .leg {
    justify-content: center;
  }
  .domestic-access.v2 .leg .lane-arrow {
    width: 8px !important;
    height: 48px !important;
    margin: 2px auto;
    border-radius: 4px;
  }
  .domestic-access.v2 .leg .lane-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid var(--lane-color);
    border-bottom: 0;
  }
  .domestic-access.v2 .lane-dest.dest {
    justify-self: stretch;
    text-align: center;
  }
  .domestic-access.v2 .lane.bus .leg.to-dest .lane-arrow {
    height: 72px !important;
    width: 8px !important;
  }
}

/* Center the vertical connectors on mobile (fine-tune) */
@media (max-width: 991.98px) {
  .domestic-access.v2 .lane-track {
    justify-items: center;
  }
  .domestic-access.v2 .leg {
    display: grid;
    place-items: center;
    width: max-content;
    margin: 0 auto;
  }
  .domestic-access.v2 .leg .lane-arrow {
    margin: 0;
  }
  .domestic-access.v2 .leg .lane-arrow::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .domestic-access.v2 .arrow-badge {
    position: static;
    margin: 6px auto 0;
    transform: none;
    max-inline-size: 100%;
  }
}
/* ------------------------------------- */
/* Domestic Access: Mobile Tabs (<= 992) */
/* ------------------------------------- */
.da-tabbar {
  display: none;
  gap: 8px;
  margin: 0 0 12px;
  justify-content: center;
}

.da-tab {
  appearance: none;
  border: 1px solid #cfd9ea;
  background: #fff;
  color: #013f87;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}
.da-tab.is-active {
  background: #013f87;
  color: #fff;
  border-color: #013f87;
}

@media (max-width: 992px) {
  /* show tab buttons on mobile */
  .da-tabbar {
    display: flex;
  }
  /* hide all lanes in tabs mode, show only the active one */
  .domestic-access.v2.has-tabs .lane {
    display: none;
  }
  .domestic-access.v2.has-tabs .lane.is-active {
    display: grid;
  }
  /* vertical, top-to-bottom flow inside the active lane */
  .domestic-access.v2.has-tabs .lane-track {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    row-gap: 12px;
  }
  .domestic-access.v2.has-tabs .step {
    min-width: 0;
    width: 100%;
    text-align: center;
  }
  .domestic-access.v2.has-tabs .leg {
    justify-content: center;
  }
  /* vertical connector (down) */
  .domestic-access.v2.has-tabs .lane-arrow {
    width: 8px;
    height: 48px;
    margin: 2px auto;
    border-radius: 4px;
  }
  .domestic-access.v2.has-tabs .lane-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid var(--lane-color);
    border-bottom: 0;
  }
  /* duration chip sits inline between steps */
  .domestic-access.v2.has-tabs .arrow-badge {
    position: static;
    transform: none;
    margin: 25px auto;
    display: inline-block;
  }
  /* destination spans full width below the track */
  .domestic-access.v2.has-tabs .lane-dest.dest {
    justify-self: stretch;
    text-align: center;
  }
  /* bus lane: slightly longer final leg looks better */
  .domestic-access.v2.has-tabs .lane.bus .leg.to-dest .lane-arrow {
    height: 72px !important;
  }
}
/* =========================
   Venue: mobile image sizing
   Only affects <=600px and only the three targets we chose
   ========================= */
@media (max-width: 600px) {
  /* 1) Venue overview (left column image) */
  #venue .row .col-md-5 img.img-fluid.rounded.shadow-sm {
    display: block;
    inline-size: min(92vw, 270px); /* cap width on small screens */
    block-size: auto;
    margin-inline: auto; /* center the image */
  }
  /* 2) Gutenberg gallery (the Venue Overview gallery in .wp-content) */
  #venue .wp-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped {
    gap: 12px;
    justify-content: center;
  }
  #venue .wp-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped > .wp-block-image {
    margin: 0;
  }
  #venue .wp-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped > .wp-block-image > img {
    display: block;
    inline-size: min(92vw, 300px);
    block-size: auto;
    margin-inline: auto;
    border-radius: 10px;
  }
  /* 3) Discover Kumamoto “paws-title” galleries (dk-gallery) — 2-up grid */
  #venue .dk-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped.dk-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
  }
  #venue .dk-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped.dk-gallery > .wp-block-image {
    margin: 0;
  }
  #venue .dk-content .wp-block-gallery.is-layout-flex.has-nested-images.is-cropped.dk-gallery > .wp-block-image > img {
    inline-size: 100%;
    aspect-ratio: 4/3; /* pick 1/1, 3/2, 16/9 if you prefer */
    object-fit: cover;
    border-radius: 10px;
  }
}
/* (Optional) TEMP DIAG: uncomment to confirm overflow source, then remove
#venue{ overflow-x: clip; } @supports not (overflow: clip){ #venue{ overflow-x: hidden; } }
*/
/* ICLEA 2026 CFP page — make inline links unmistakably clickable */
#cfp-iclea {
  /* Paragraph & list links (exclude buttons) */
  /* Keyboard focus: visible and brand-consistent */
  /* Don’t underline headings that contain links (rare, but safe) */
}
#cfp-iclea .wp-content :where(p, li) a:not(.btn, .btn-brand) {
  color: var(--link-inline);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.12em;
  font-weight: 600; /* subtle affordance */
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
#cfp-iclea .wp-content :where(p, li) a:not(.btn, .btn-brand):hover,
#cfp-iclea .wp-content :where(p, li) a:not(.btn, .btn-brand):focus {
  color: var(--link-hover);
  text-decoration-thickness: 0.18em;
}
#cfp-iclea .wp-content :where(p, li) a:not(.btn, .btn-brand):visited {
  color: var(--link-visited);
}
#cfp-iclea .wp-content a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}
#cfp-iclea :where(h1, h2, h3, h4, h5, h6) a {
  text-decoration: none;
  font-weight: inherit;
}

/* (Any ad-hoc CSS like html/body resets should live in base/_base.scss)
   If you must keep them here, put them AFTER all @use rules. */

/*# sourceMappingURL=style.css.map */
