:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #131523;
  --muted: #5f667a;
  --primary: #176870;
  --primary-dark: #005963;
  --danger: #EB5F36;
  --ring: rgba(62, 92, 244, 0.2);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 28, 45, 0.08);
  --countdown-right-desktop: 25%;
  --countdown-left-desktop: 8%;
  --countdown-bottom-desktop: 30px;
  --countdown-right-mobile: 18%;
  --countdown-bottom-mobile: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 112.5% of the browser default (16px -> 18px). The audience skews older,
     so the whole scale steps up rather than individual rules being patched.
     60 of the 63 font-size declarations are rem-based, so they follow this. */
  font-size: 112.5%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: relative;
  backdrop-filter: none;
  border:none !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.nav-wrap {
  display: flex; width:100%;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
  background: linear-gradient(to right, #88B4D4, #7870E0);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff; 
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.brand img {
  width: 180px;
  display: none;
}

.site-header.scrolled .brand img {
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0px;
  flex-wrap: nowrap; 
}

@media (min-width: 761px) {
  .nav {
    position: absolute;
    left: 50%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    justify-content: center;
    padding: 0 12px;
  }
}

.nav a {
  position: relative;
  isolation: isolate;
  flex: 0 1 auto;
  min-width: 0;
  text-align: center;
  color: #fff;
  font-weight: 500;
  padding: 16px 26px;
  border-radius: 0px;
  border-right: 3px solid #FFFFFF;
  background: rgba(85, 89, 132, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-transform: uppercase;
}

.nav a::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(136, 180, 212, 0.65), rgba(120, 112, 224, 0.55), rgba(85, 79, 132, 0.5));
  opacity: 0.45;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.scrolled .nav a {
  color:#000;
}
.site-header.scrolled .nav a.active {
  color:#FFF;
}


.nav a.reg {
  color: #000;
  font-weight: 600;
  padding: 16px 26px;
  border: 0px solid rgba(235, 95, 54, 0.9);
  background: rgba(120, 112, 224, 0.05);
  backdrop-filter: blur(10px);
}

.nav a.reg::before{
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(to right, #DAE884, rgba(218, 232, 132, 0.8), rgba(120, 112, 224, 0.0));
  opacity: 1;
}

.nav a.reg:hover {
  opacity: 0.7;
}

.nav a.active {
  color: #FFF;
  font-weight: 500;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(11, 68, 82, 0.55);
}

.nav a.active:hover {
  color: #FFF;
  background: rgba(11, 68, 82, 0.65);
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-toggle{
  display: none;
  border: 0;
  background:var(--primary-dark);
  width: 42px;
  height: 62px;
  padding:10px 0 0 0;
  position:absolute;
  right:4%;
  top:22%;
  transform:translateY(-50%);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 30px;
  margin: 5px auto; color:#333;
  background: #fff;
}
main{ 
  background: url("main.jpg?v=2") no-repeat center top;
}
.hero {
  margin-top: 0px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-image: url("slider-text.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  /*
  background-color: #000;
  background-image: url("slider.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border:none;
  */
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 20, 0.12) 35%, rgba(8, 10, 20, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
  padding-bottom: 34px;
}

.hero-bg-mobile {
  display: none;
}

.hero-bg-desktop {
  object-fit: contain;
  object-position: center center;
}

.countdown-wrap {
  display: flex;
  justify-content: flex-end;
}

.countdown-box {
  background: rgba(15, 18, 31, 0.05);
  border: 0px solid rgba(255, 255, 255, 1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 0px;
  min-width: 290px;
  position: absolute;
  left: var(--countdown-left-desktop);
  bottom: var(--countdown-bottom-desktop);
}

.countdown-box small {
  color: #eaf0ff;
  font-weight: 600;
  display: block;
  margin-bottom: 9px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.countdown-grid div {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.40) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 18px 26px rgba(6, 12, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.countdown-grid div::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(90% 120% at 70% 100%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
  opacity: 0.55;
}

.countdown-grid span {
  display: block;
  color: #1b2230;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}

.countdown-grid label {
  color: #4b5467;
  font-size: 0.75rem;
}

.about .card{ background: rgba(0, 0, 0, 0.2); border:2px solid #DAE884; border-radius: 18px;}

.audience-themes {
  border-radius: 22px;
  padding: 26px 36px 20px;
  background:
    linear-gradient(135deg, rgba(40, 52, 68, 0.58), rgba(80, 78, 138, 0.52)),
    radial-gradient(120% 90% at 12% 8%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 65%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0px 35px rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.audience-themes__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
}

.audience-themes__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(218, 232, 132, 0.92);
  color: rgba(25, 28, 35, 0.85);
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 24px;
}

.audience-themes__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.audience-themes__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.audience-themes__check {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(218, 232, 132, 0.92);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  position: relative;
}

.audience-themes__check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: rgba(25, 28, 35, 0.75);
}

.audience-themes__right {
  height: 240px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(120% 120% at 70% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(0, 0, 0, 0.20));
  filter: saturate(0.95);
}

.audience-themes__mid {
  display: flex;
  justify-content: center;
  margin: 18px 0 14px;
}

.audience-themes__pill {
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid rgba(218, 232, 132, 0.65);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.20);
  box-shadow: inset 0 0px 5px rgba(255, 255, 255, 0.8);
}

.audience-themes__themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audience-themes__theme {
  text-align: center;
  vertical-align: middle;
  padding: 22px;
  border-radius: 14px;
  background:rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.20),
    inset 0 0px 25px rgba(255, 255, 255, 1);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  line-height: 1.15;
  min-height: 80px;
}


.welcome-card{ border-radius: 18px; background:linear-gradient(118deg, #F1F1F1, #ffffff); border:2px solid rgba(0,0,0,0.2); padding:15px;}
.welcome-card h5, .welcome-card p{ color:#000;}
.welcome-photo{ border-radius: 15px 0 0 15px; margin-bottom: 15px;}



.view {
  display: block;
  height: 100%;
}

.view .speaker-card {
  position: relative;
  text-align: center;
  padding: .85rem .85rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  border: 1px solid rgba(31, 36, 64, .12);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,245,255,.98));
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(31, 36, 64, .1);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.view .speaker-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #dcdd9c, rgba(106,104,161,.28));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: .9;
  pointer-events: none;
}

.view .speaker-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #6cc, rgba(33,40,89,.22));
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  opacity: .85;
  pointer-events: none;
}

.view .speaker-flag {
  position:absolute;
  z-index: 2;
  align-self: flex-start;
  line-height: 2;
  padding: .02rem;
  border-radius: .7rem;
  background: #fff;
  border: 0px solid rgba(31, 36, 64, .12);
  box-shadow: 0 6px 14px rgba(31, 36, 64, .12);
}

.view .speaker-flag .fi {
  display: block;
  font-size: 1.5rem;
  border-radius: .2rem;
}

.view .speaker-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: .85rem;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 6px 14px rgba(31, 36, 64, .16);
  transition: transform .35s ease;
}

.view .speaker-card h6 {
  position: relative;
  z-index: 2;
  margin-top: .5rem;
  margin-bottom: .1rem;
  font-weight: 700;
  font-size: .95rem;
  color: #212859;
  line-height: 1.25;
}

.view .speaker-card .country {
  position: relative;
  z-index: 2;
  color: #4d5675;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(33, 40, 89, .08);
}

.view:hover .speaker-card {
  transform: translateY(-7px) scale(1.01);
  border-color: rgba(33, 40, 89, .3);
  box-shadow: 0 16px 30px rgba(31, 36, 64, .18);
}

.view:hover .speaker-card img {
  transform: scale(1.03);
}

.cta-row {
  background: linear-gradient(135deg, rgba(33,40,89,.08), rgba(106,104,161,.12));
  border: 1px solid rgba(31, 36, 64, .1);
  border-radius: 1rem;
  padding: 1.2rem;
}


.btn-outline{ border:2px solid #333 !important; color:#333 !important;}
.btn-outline:hover{ filter:opacity(0.5) !important;}
.btn-xs { padding:3px 10px !important; font-size:12px !important;}
.btn-sm { padding:6px 12px !important; font-size:14px !important;}

@media (max-width: 980px) {
  .nav-wrap{ background:transparent; height: 20px;}
  .audience-themes__inner {
    grid-template-columns: 1fr;
  }
  .audience-themes__right {
    height: 200px;
  }
  .audience-themes__themes {
    grid-template-columns: 1fr;
  }
  .audience-themes__list li {
    font-size: 1rem;
  }
}


h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 800px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 14px;
}

.section {
  padding: 84px var(--gut);
}

/* Bootstrap's .container is narrower than --page-max; match the rest. */
.section > .container,
.site-footer .footer-wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: 0;
}

/* Bootstrap's .row hangs 13.5px past its container on each side, which a
   phone viewport does not have to spare. Cancel it there; the columns keep
   their own padding, so the gap between cards survives. */
@media (max-width: 760px) {
  .section > .container > .row { margin-inline: 0; }
}


.section-alt {
  background: #eef2fb;
}

.section-head {
  margin-bottom: 30px;
}

.section-head p,
p {
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stats article,
.card,
.venue-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.stats h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

#speakers .row.g-4 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.speaker-image-wrap {
  position: relative;
}

.speaker-image-wrap > a {
  display: block;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #6666cc 100%);
  border: 0px solid rgba(23, 104, 112, 0.14);
  box-shadow: 0 10px 30px rgba(11, 68, 82, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.speaker-image-wrap > a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
}

.speaker-image-wrap > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  height: 46%;
  background: linear-gradient(180deg, rgba(11, 68, 82, 0) 50%, rgba(11, 68, 82, 0.35) 100%);
  pointer-events: none;
}

.speaker-image-wrap > a:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 104, 112, 0.38);
  box-shadow: 0 16px 35px rgba(11, 68, 82, 0.16);
}

.speaker-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  /* Portraits are framed tight at the top - centring the crop clipped hair
     against the card edge, so bias it to the source top instead. */
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.speaker-image-wrap > a:hover .speaker-image {
  transform: scale(1.01);
}

/* Committee portraits are all uploaded at 450x500. Framing the card at that
   same ratio shows each photo whole, uncropped and unstretched. */
.cm-photo {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.cm-photo .speaker-image {
  height: auto;
  aspect-ratio: 9 / 10;
}

.speaker-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 29px;
  padding: 4px 4px;
  font-size: 1rem;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 20px rgba(10, 20, 40, 0.28);
  backdrop-filter: blur(4px);
  z-index: 3;
}

.speaker-image-wrap h2 {
  font-size: 1.05rem;
  color: #FFF;
  margin: 0;
  padding: 12px 12px 14px;
  line-height: 1.35;
  min-height: 62px;
  text-transform: capitalize;
}

.bio-btn {
  border: 1px solid rgba(23, 104, 112, 0.32);
  background: rgba(23, 104, 112, 0.08);
  color: var(--primary-dark);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.bio-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.program-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.program-tab {
  border: 1px solid #cdd7ff;
  background: #fff;
  color: #213173;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.program-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.program-panel {
  display: none;
}

.program-panel.active {
  display: block;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.register-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: linear-gradient(120deg, #fff, #f3f5ff);
  border: 1px solid #dfe5ff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.site-footer {
  background: #111629;
  color: #a9b1ca;
  padding: 24px 0;
}


.footer-wrap a {
  color: #d3d9ef;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 18, 0.6);
  z-index: 120;
  padding: 14px;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  width: min(860px, 100%);
  box-shadow: var(--shadow);
  position: relative;
}

.speaker-modal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.speaker-modal-media {
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.speaker-modal-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
}

.speaker-modal-content h3 {
  margin-bottom: 8px;
  color: #12323a;
}

.speaker-modal-role {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 600;
}

.speaker-modal-content p {
  margin-bottom: 0;
  color: #42555d;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.fz-600{ font-weight: 600;}
.fz-700{ font-weight: 700;}
.fz-800{ font-weight: 800;}
.xl{ font-size: 1.3rem;}
.justified{ text-align: justify;}

.lspace-1{ letter-spacing: -1px;}

.featur img{ width:100px; margin:0 auto 15px auto; display: block;}
.featur h6{ text-align: center; color:#FFF; font-weight: 600; font-size:1rem;}

.topic-card{ border-radius: 12px; padding:1rem; background:linear-gradient(to right, #C8E3E8, #1B7690);}

.inner-page{background: linear-gradient(to right, #88B4D4, #7870E0); background-size: contain; background-position: right center; background-repeat: no-repeat, no-repeat; position:relative; padding:0; color:#fff;}
.page-header-inner{ padding: 150px 0 100px 0 !important;}

.breadcrumb-item.active{ color:#999; }


@media (max-width: 980px) {
  .site-footer p{ font-size: 0.85rem;}
  .inner-page{background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(255,0,0,0.07)), url('inner.png'); background-size: contain; background-position: right center; background-repeat: no-repeat, no-repeat; position:relative; padding:0px; color:#fff;}
  .page-header-inner{ padding: 200px 0 40px 0 !important;}

  .brand img {
  width: 140px;
  display: block;
}
 .featur img{ width:64px; margin:0 auto 15px auto; display: block;}
.featur h6{ text-align: center; color:#FFF; font-weight: 600; font-size:0.75rem;}
 
.justified{ text-align: left;}

  .grid-2,
  .cards {
    grid-template-columns: 1fr;
  }

  .speaker-image {
    height: 320px;
  }

  .hero {
    min-height: 100vh;
  }

  .register-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px){
  :root{
    /* space reserved for fixed header on mobile */
    --mobile-header-offset: 118px;
  }

  .site-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background:#FFF;
  }

  /* keep header compact on small screens */
  .site-header .container-fluid:first-child{
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .site-header img{
    width: 420px; margin:0 auto; display: block;
  }

  main{
    padding-top: var(--mobile-header-offset);
  }

  /* remove extra gap under header on mobile */
  .hero{ margin-top:0px;}

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 10, 18, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 70;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 16px;
    right: 14px;
    width: 50px;
    height: 52px;
    border-radius: 12px;
    background:
      linear-gradient(135deg, rgba(136, 180, 212, 0.22), rgba(120, 112, 224, 0.18)),
      rgba(11, 68, 82, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 28px rgba(6, 12, 24, 0.22);
    z-index: 95;
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 6px auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle:hover {
    background:
      linear-gradient(135deg, rgba(136, 180, 212, 0.28), rgba(120, 112, 224, 0.22)),
      rgba(11, 68, 82, 0.86);
    border-color: rgba(255, 255, 255, 0.30);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
    width: min(520px, calc(100% - 24px));
    background:
      linear-gradient(135deg, rgba(136, 180, 212, 0.20), rgba(120, 112, 224, 0.18), rgba(85, 79, 132, 0.20)),
      rgba(11, 68, 82, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    box-shadow: 0 26px 50px rgba(6, 12, 24, 0.35);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    opacity: 0;
    pointer-events: none;
    z-index: 80;
    transition: opacity 0.22s ease, transform 0.22s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0px);
  }

  .nav a{
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .nav a::before {
    opacity: 0.25;
  }

  .nav a:hover{
    transform: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  .nav a.active{
    border-color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.16);
  }

  .nav a.reg{
    margin-top: 4px;
    text-align: center;
    border-color: rgba(235, 95, 54, 0.95);
    background: linear-gradient(135deg, rgba(235, 95, 54, 1), rgba(235, 95, 54, 0.78));
    box-shadow: 0 16px 26px rgba(235, 95, 54, 0.22);
  }

  .hero-bg-desktop {
    display: none;
  }

  .hero-bg-mobile {
    display: block;
    object-fit: contain;
    object-position: center top;
  }

  .hero {
    min-height: 100svh;
    aspect-ratio: 9 / 16;
    /* aspect-ratio resolves against the height when min-height is the larger
       constraint, so on a tall phone it made the hero wider than the screen
       (450px at 430x800) and the whole page scrolled sideways. */
    max-width: 100%;
    /* contain resolved against the height here and painted the lockup ~613px
       wide on a 422px screen, cutting off "CONFERENCE 2026". Pin the width. */
    background-size: 100% auto;
    align-items: flex-end;
    background-image: url("mobile-text.svg");
    background-position: center top;
  }

  .countdown-wrap {
    justify-content: flex-end;
  }

  .countdown-box {
    min-width: 0;
    width: min(320px, calc(100% - 24px));
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--countdown-bottom-mobile);
    padding: 5px 5px;
  }

  .countdown-grid span {
    font-size: 1.05rem;
  }

  .section {
    padding: 68px 0;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .speaker-image {
    height: 260px;
  }

  .speaker-modal-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .speaker-modal-media {
    width: min(240px, 100%);
    margin: 0 auto;
  }

  .speaker-modal-media img {
    max-height: 300px;
  }
}

.registration-types,
.attendance-types,
.workshop-grid {
  display: grid;
  gap: 14px;
}

.registration-types,
.attendance-types {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.registration-type,
.attendance-type,
.workshop-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.registration-type:hover,
.attendance-type:hover,
.workshop-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.registration-type input,
.attendance-type input,
.workshop-card input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.registration-type span,
.attendance-type span,
.workshop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.registration-type small,
.attendance-type small,
.workshop-card small {
  color: var(--muted);
  font-size: .88rem;
}

.workshop-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.workshop-card.is-full {
  cursor: not-allowed;
  opacity: .62;
  background: #f1f3f6;
}

.workshop-card.is-full:hover {
  transform: none;
  box-shadow: none;
  border-color: #dfe5ed;
}

.workshops-heading {
  margin: 8px 0 16px;
}

.workshops-heading h3 {
  margin-bottom: 4px;
}

.workshops-heading p {
  margin: 0;
  color: var(--muted);
}

.total-fee {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 4px solid var(--primary);
  background: #eef7f7;
  color: var(--primary-dark);
}

.registration-form {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #e5eaf1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 45px rgba(22, 28, 45, .08);
}

.registration-form .form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.registration-form .form-control,
.registration-form .dropdown {
  min-height: 48px;
  border: 1px solid #d9e0e9;
  border-radius: 7px;
  background: #fbfcfe;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.registration-form .form-control:focus,
.registration-form .dropdown:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px var(--ring);
}

.registration-form #register {
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}

.registration-form #register:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Agenda - programme at a glance, day tabs, session rail
   ========================================================================== */

:root {
  --ag-line: #e3e8ef;
  --ag-quiet: #f1f4f9;
  --ag-tint: rgba(23, 104, 112, 0.07);
  --ag-band: #e9f1f1;
}

/* Browser surfaces: these ship with defaults that belong to no design system. */
::selection { background: var(--ag-tint); color: var(--primary-dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: #c3ccda transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #c3ccda; border-radius: 999px; border: 3px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: #a7b2c4; }

#program .container { width: min(1600px, 95%); max-width: none; }

#program .ag-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#program .ag-head h2 { margin: 0; }

.ag-lede {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
}

/* --- Programme at a glance (popup) --------------------------------------- */

.ag-modal .modal-card {
  width: min(1200px, 100%);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  padding: 30px;
  background: var(--bg);
}

.ag-modal .modal-card > h2 { margin: 0 40px 0 0; }
.ag-modal .modal-close { top: 14px; right: 16px; }

.ag-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  margin-top: 24px;
}

/* Both days run the same length: the shorter one spreads its rows to fill. */
.ag-glance-day {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--ag-line);
  border-radius: var(--radius);
  padding: 26px 26px 18px;
  box-shadow: var(--shadow);
}

.ag-glance-head {
  margin: 0 0 6px;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.ag-glance-head span {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.ag-glance-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.ag-glance-list li {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 66px;
  padding: 13px 0;
  border-top: 1px solid var(--ag-line);
}

.ag-glance-list li:first-child { border-top: 0; }

/* Start at the top, end at the bottom, a rule spanning the row between them
   so each slot reads as a duration rather than two loose numbers. */
.ag-glance-time {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 100%;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.ag-t-rule {
  flex: 1;
  width: 1px;
  min-height: 14px;
  margin: 5px 0 5px 3px;
  background: linear-gradient(to bottom, var(--primary), var(--ag-line));
  opacity: .55;
}

.ag-t-end { color: var(--muted); font-weight: 600; }

.ag-glance-label { align-self: center; font-weight: 600; }

.ag-glance-list li.is-quiet .ag-t-start { color: var(--muted); font-weight: 600; }
.ag-glance-list li.is-quiet .ag-glance-label { color: var(--muted); font-weight: 500; }

/* --- Day tabs ------------------------------------------------------------- */

#program .program-tabs { justify-content: flex-start; margin: 30px 0 8px; }

#program .program-tab {
  border-color: var(--ag-line);
  color: var(--primary-dark);
  padding: 10px 20px;
  font-size: 0.95rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

#program .program-tab:hover { border-color: var(--primary); background: var(--ag-tint); }
#program .program-tab.active { color: #fff; }
#program .program-tab.active:hover { background: var(--primary-dark); }

.ag-daystamp {
  margin: 26px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
}

.ag-daystamp span {
  margin-left: 10px;
  font-weight: 500;
  color: var(--muted);
}

/* --- Session rail --------------------------------------------------------- */

.ag-block { margin-top: 38px; }
.ag-block:first-child { margin-top: 18px; }

/* The band marks where one session ends and the next begins, and stays put
   while you scroll inside it - on mobile the rail is gone, so this is the
   only thing telling you which session you are in. */
.ag-block-head {
  position: sticky;
  top: var(--ag-sticky-top, 0px);
  z-index: 4;
  margin-bottom: 2px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--ag-band);
}

.ag-block-head h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.ag-block-note {
  margin: 10px 0 0;
  padding: 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}



.ag-talks {
  position: relative;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

/* The spine sits in the gutter between the time column and the talk body. */
.ag-talks::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 9.65rem;
  width: 1px;
  background: var(--ag-line);
}

.ag-talk {
  position: relative;
  display: grid;
  grid-template-columns: 8.9rem 1fr;
  gap: 0 1.5rem;
  padding: 13px 0;
}

.ag-talk + .ag-talk { border-top: 1px solid var(--ag-line); }

.ag-talk::before {
  content: "";
  position: absolute;
  top: 1.35em;
  left: calc(9.65rem - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--surface);
}

.ag-talk.is-plain::before { background: #c3ccda; }

.ag-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  padding-top: 0.15em;
}

.ag-talk.is-plain .ag-time { color: var(--muted); }

.ag-topic {
  margin: 0;
  font-weight: 600;
  line-height: 1.5;
}

.ag-talk.is-plain .ag-topic { font-weight: 500; color: var(--muted); }

.ag-ar {
  display: block;
  width: fit-content;
  margin-top: 3px;
  font-weight: 500;
  color: var(--muted);
}

.ag-by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 20px;
  margin: 6px 0 0;
  font-size: 0.92rem;
}

/* Name and flag travel together, so a multi-speaker row stays unambiguous. */
.ag-person {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ag-speaker { font-weight: 500; color: var(--text); }

/* --- Nationality ---------------------------------------------------------- */

.ag-nat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: var(--ag-quiet);
  font-size: 0.78rem;
  font-weight: 600;
  color: #444b5d;
  line-height: 1.4;
}

.ag-nat .fi {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(19, 21, 35, 0.16);
}

/* Dual nationality: overlap the discs so they read as one person, not two. */
.ag-nat .fi + .fi {
  margin-left: -13px;
  box-shadow: inset 0 0 0 1px rgba(19, 21, 35, 0.16), 0 0 0 2px var(--ag-quiet);
}

.ag-nat-name { white-space: nowrap; }

/* --- Breaks and interludes ------------------------------------------------ */

.ag-interlude {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-top: 26px;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--ag-quiet);
}

.ag-interlude-time {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.ag-interlude-label { font-weight: 600; color: #3d4457; }

/* --- Motion: one authored moment, the day swap ---------------------------- */

@keyframes ag-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.program-panel.active .ag-daystamp,
.program-panel.active .ag-block,
.program-panel.active .ag-interlude {
  animation: ag-rise .55s cubic-bezier(.16, 1, .3, 1) backwards;
}

.program-panel.active .ag-rail > *:nth-child(1) { animation-delay: .03s; }
.program-panel.active .ag-rail > *:nth-child(2) { animation-delay: .07s; }
.program-panel.active .ag-rail > *:nth-child(3) { animation-delay: .11s; }
.program-panel.active .ag-rail > *:nth-child(4) { animation-delay: .15s; }
.program-panel.active .ag-rail > *:nth-child(5) { animation-delay: .19s; }

@media (prefers-reduced-motion: reduce) {
  .program-panel.active .ag-daystamp,
  .program-panel.active .ag-block,
  .program-panel.active .ag-interlude { animation: none; }
}

/* --- Narrow screens ------------------------------------------------------- */

@media (max-width: 1024px) {
  .ag-glance { grid-template-columns: 1fr; }
  .ag-glance-day { padding: 22px 20px 12px; }
  .ag-modal .modal-card { padding: 22px 16px; }
}

@media (max-width: 640px) {
  .ag-talks::before { display: none; }
  .ag-talk::before { display: none; }
  .ag-talk { grid-template-columns: 1fr; gap: 4px; }
  .ag-time { padding-top: 0; }
  .ag-topic { max-width: none; }
  .ag-glance-list li { grid-template-columns: 1fr; gap: 2px; }
  #program .program-tabs { justify-content: stretch; }
  #program .program-tab { flex: 1 1 auto; }
}

/* --- Print: a conference programme gets printed --------------------------- */

@media print {
  .program-tabs, #program .ag-head .btn-solid { display: none; }
  .program-panel { display: block !important; }
  .ag-block, .ag-interlude, .ag-glance-day { break-inside: avoid; box-shadow: none; }
  .ag-talk { break-inside: avoid; }
  .program-panel.active .ag-daystamp,
  .program-panel.active .ag-block,
  .program-panel.active .ag-interlude { animation: none; }
}

/* ==========================================================================
   Footer - one bar: contact, copyright and credit on a single row
   ========================================================================== */

.site-footer {
  padding: 30px var(--gut);
  border-top: 1px solid #222a44;
}

.site-footer .footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer .footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background .2s ease;
}

.footer-contact-links a:hover { background: rgba(255, 255, 255, 0.07); }

.footer-contact-links svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: #5ec8c8;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #a9b1ca;
  font-size: 0.9rem;
  transition: color .2s ease;
}

.footer-powered:hover { color: #fff; }

.footer-powered-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
}

.footer-powered-tile img { display: block; height: 36px; width: auto; }

/* --- Justified prose ------------------------------------------------------ */

.welcome-body p,
.about .card-body p {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 980px) {
  .site-footer .footer-wrap { justify-content: center; text-align: center; }
  .site-footer .footer-copy { order: 3; }

  /* Justification breaks down in a narrow column - rivers and huge word gaps. */
  .welcome-body p,
  .about .card-body p {
    text-align: left;
    hyphens: manual;
  }
}

/* ==========================================================================
   Navigation - light bar, pill nav
   Replaces the gradient bar and its divider borders. The bar is white so it
   reads as one band with the logo strip above it.
   ========================================================================== */

.site-header { background: #fff; }

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(16, 24, 48, 0.08);
}

.nav a {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #3d4457;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  /* The heavier weight muddies without this on Windows/Chrome. */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: none;
  transition: background .18s ease, color .18s ease;
}

/* The tinted overlay and the yellow fade behind Register both go. */
.nav a::before,
.nav a.reg::before { display: none; }

.nav a:hover { background: #f1f4f9; color: #131523; }

.nav a.active,
.nav a.active:hover {
  padding: 11px 20px;
  border: 0;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
}

.nav a.reg,
.nav a.reg:hover {
  margin-left: 8px;
  padding: 11px 24px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  opacity: 1;
}

.nav a.reg:hover { background: #1b7f89; }

@media (min-width: 761px) {
  /* Pinned to the top. The full header is 239px, far too much to keep there,
     so the partner-logo strip collapses on scroll and the nav bar stays. */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
  }

  /* Constant height, set from the header's expanded size by script.js. */
  .header-spacer { height: var(--header-space, 239px); }

  /* max-height cannot clip this strip - its height comes from the Bootstrap
     row inside it - so the collapse is a display toggle, which also means no
     height animation fighting the scroll. */
  .site-header.scrolled > .container-fluid:first-child { display: none; }

  .nav-wrap {
    position: relative;
    height: 96px;
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 0 #e3e8ef;
  }

  .nav { gap: 4px; }

  /* The scrolled header already dims its own links; these are dark anyway. */
  .site-header.scrolled .nav a { color: #3d4457; }
  .site-header.scrolled .nav a.active { color: #fff; }
  .site-header.scrolled .nav a.reg { color: #fff; }
}

/* The drawer sits over the page, so it keeps a dark ground and light links. */
@media (max-width: 760px) {
  .header-spacer { display: none; }

  .nav { background: rgba(16, 20, 40, 0.94); }

  .nav a {
    width: 100%;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
  }

  .nav a:hover { background: rgba(255, 255, 255, 0.13); color: #fff; }

  .nav a.active,
  .nav a.active:hover { background: #fff; color: var(--primary-dark); }

  .nav-toggle {
    background: rgba(16, 20, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* The whole 184px header used to stay pinned, so scrolling never revealed a
     compact bar. Collapse the partner strip the way the desktop does and let
     the nav bar behind it do the work. */
  .site-header.scrolled > .container-fluid:first-child { display: none; }

  .nav-wrap {
    height: 64px;
    padding: 0 16px;
    background: #fff;
    box-shadow: 0 1px 0 #e3e8ef;
  }

  /* Centres the button on the collapsed bar. */
  .nav-toggle { top: 6px; }

  /* Reserve the header's measured height - the hard-coded 118px was already
     short of it, and the taller bar widens the gap. */
  main { padding-top: var(--header-space, 184px); }

  /* Anchored under the bar instead of the viewport, so the drawer clears the
     header whether or not the partner strip is collapsed. */
  .nav {
    position: absolute;
    top: calc(100% + 8px);
  }
}

/* ==========================================================================
   Home - highlights, audience, registration + venue
   Full-bleed: these sections set their own gutter instead of sitting in
   .container, so they run the width of the screen.
   ========================================================================== */

:root {
  --gut: clamp(16px, 5vw, 76px);
  /* One content width for the whole site. Every wrapper centres on this and
     the nav and page headers pad to the same edge, so sections line up. */
  --page-max: 1400px;
}

/* --- Scroll reveal -------------------------------------------------------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}

.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Conference highlights ------------------------------------------------ */

.hl {
  padding: clamp(56px, 8vw, 104px) var(--gut);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #145f6c 100%);
  color: #fff;
}

.hl-inner { max-width: 1000px; margin: 0 auto; text-align: center; }

.hl-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hl-lede {
  margin: 22px auto 0;
  max-width: 68ch;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  text-align: justify;
  hyphens: auto;
}

.hl-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 14px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease;
}

.hl-cta svg { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.hl-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(3, 20, 26, 0.3); }
.hl-cta:hover svg { transform: translateY(3px); }

/* --- Target audience ------------------------------------------------------ */

.aud { padding: clamp(56px, 8vw, 100px) var(--gut); background: var(--bg); }

.aud-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 0.95fr;
  /* start, not center: the columns are different heights, and centring each
     one dropped the "Broad Themes" heading below "Target Audience". */
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  max-width: var(--page-max);
  margin: 0 auto;
}

.aud-title,
.themes-title {
  margin: 0 0 26px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.aud-list { list-style: none; margin: 0; padding: 0; }

.aud-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border-radius: 14px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
  color: var(--text);
  transition: background .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}

.aud-list li + li { box-shadow: inset 0 1px 0 #e3e8ef; }
.aud-list li:hover { background: #fff; transform: translateX(6px); }

.aud-tick {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ag-tint);
  transition: background .2s ease;
}

/* Drawn, not a glyph: two strokes rotated into a check. */
.aud-tick::before,
.aud-tick::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: background .2s ease;
}

.aud-tick::before { width: 2px; height: 7px;  left: 9px;  top: 12px; transform: rotate(-45deg); }
.aud-tick::after  { width: 2px; height: 12px; left: 14px; top: 7px;  transform: rotate(35deg); }

.aud-list li:hover .aud-tick { background: var(--primary); }
.aud-list li:hover .aud-tick::before,
.aud-list li:hover .aud-tick::after { background: #fff; }

.aud-media { text-align: center; align-self: center; }

.aud-media img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 20px;
}

/* --- Broad themes --------------------------------------------------------- */

.themes { margin: 0; }
.themes-title { text-align: left; }

.themes-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.theme {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 26px 24px;
  border: 1px solid var(--ag-line);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 700;
  color: var(--primary-dark);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s ease, border-color .28s ease, color .28s ease;
}

/* The wash rises from the bottom on hover rather than the whole card recolouring. */
.theme::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(100%);
  transition: transform .34s cubic-bezier(.16, 1, .3, 1);
}

.theme span { position: relative; }

.theme:hover {
  transform: translateY(-6px);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 20px 40px rgba(11, 68, 82, 0.22);
}

.theme:hover::before { transform: translateY(0); }

/* --- Registration + venue ------------------------------------------------- */

.regven { padding: clamp(56px, 8vw, 100px) var(--gut) clamp(40px, 5vw, 64px); background: var(--surface); }

.regven-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--page-max);
  margin: 0 auto;
}

.regven-reg h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.regven-reg p {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
}

.regven-actions,
.vc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn-solid,
.btn-dark,
.btn-light,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), background .2s ease, box-shadow .2s ease;
}

.btn-solid svg, .btn-dark svg, .btn-light svg, .btn-ghost svg { width: 17px; height: 17px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.btn-solid:hover svg, .btn-light:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { background: #1b7f89; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(23, 104, 112, 0.28); }

.btn-dark { background: #131523; color: #fff; }
.btn-dark:hover { background: #22263a; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: #eaf3f3; transform: translateY(-2px); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.vcard {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: linear-gradient(140deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 26px 54px rgba(11, 68, 82, 0.26);
}

.vc-kicker,
.vc-facts dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fd4d4;
}

.vc-name {
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.vc-city { margin: 8px 0 0; font-size: 1.05rem; color: rgba(255, 255, 255, 0.86); }

.vc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 0;
}

.vc-facts dd { margin: 8px 0 0; font-weight: 600; color: #fff; }

/* Two columns don't fit inside the card at phone width - "Waldorf Astoria
   Kuwait" and "Friday - Saturday" both overflowed it. */
@media (max-width: 600px) {
  .vc-facts { grid-template-columns: 1fr; gap: 18px; }
}

.venue-map { max-width: var(--page-max); margin: clamp(34px, 5vw, 56px) auto 0; }

.venue-map iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 460px);
  border: 0;
  border-radius: 20px;
}

/* --- Narrow screens ------------------------------------------------------- */

@media (max-width: 900px) {
  .aud-inner,
  .regven-inner { grid-template-columns: 1fr; }
  .themes-row { grid-template-columns: 1fr; }
  .hl-lede { text-align: left; hyphens: manual; }
}

/* ==========================================================================
   Highlights facts, welcome note, venue page
   ========================================================================== */

/* --- Highlights: depth and a fact row ------------------------------------- */

.hl { position: relative; overflow: hidden; }

/* A single soft light source, so the band has depth instead of a flat fill. */
.hl-glow {
  position: absolute;
  top: -38%;
  left: 50%;
  width: min(1100px, 130%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(140, 220, 220, 0.22) 0%, rgba(140, 220, 220, 0) 62%);
  pointer-events: none;
}

.hl-inner { position: relative; }

.hl-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 26px 64px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

/* Icon stacked over its label, so each fact reads as one block. */
.hl-facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.hl-facts svg {
  width: 42px;
  height: 42px;
  flex: none;
  color: #8fd4d4;
  stroke-width: 1.5;
}

.hl-facts strong {
  margin-right: 5px;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
}


/* --- Welcome note: wide, letter left, author beside it -------------------- */

.welcome { padding: clamp(56px, 8vw, 100px) var(--gut); background: var(--surface); }

.welcome-inner {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 5vw, 76px);
  max-width: var(--page-max);
  margin: 0 auto;
}

.welcome-h {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.welcome-body p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.85;
  color: #3d4457;
}

/* The author card tracks the letter instead of stranding at the top of it. */
.welcome-author {
  position: sticky;
  top: 110px;
  padding: 26px;
  border: 1px solid var(--ag-line);
  border-radius: 20px;
  background: var(--bg);
  text-align: center;
}

.welcome-photo {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  display: block;
}

.welcome-author h3 {
  margin: 18px 0 6px;
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.welcome-role {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

/* --- Venue page ----------------------------------------------------------- */

.vpage { padding: clamp(56px, 8vw, 96px) var(--gut); background: var(--bg); }

.vpage-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--page-max);
  margin: 0 auto;
}

.vpage-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--primary-dark);
}

.vpage-sub {
  margin: 10px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

.vpage-note {
  margin: 20px 0 0;
  max-width: 52ch;
  line-height: 1.75;
  color: var(--muted);
}

.vpage-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 28px 0 0;
}

.vpage-facts dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

.vpage-facts dd {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--text);
}

.vpage-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.vpage-map {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 26px 54px rgba(16, 24, 48, 0.16);
}

.vpage-map iframe {
  display: block;
  width: 100%;
  height: clamp(340px, 46vw, 520px);
  border: 0;
}

@media (max-width: 900px) {
  .welcome-inner,
  .vpage-inner { grid-template-columns: 1fr; }
  .welcome-author { position: static; max-width: 420px; }
  .hl-facts { gap: 24px 34px; }
}

/* ==========================================================================
   Brand in the bar, countdown, page-header alignment, density
   ========================================================================== */

/* --- Wordmark in the nav bar --------------------------------------------- */

.nav-brand {
  display: none;
  align-items: center;
  flex: none;
}

.nav-brand img {
  display: block;
  height: 64px;
  width: auto;
  transition: opacity .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}

.nav-brand:hover img { opacity: .78; transform: translateY(-1px); }

@media (min-width: 761px) {
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(var(--gut), (100% - var(--page-max)) / 2);
  }

  .nav-brand { display: flex; }

  /* Was centred absolutely; the brand owns the left now, links sit right. */
  .nav {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: auto;
    margin-left: auto;
    padding: 0;
    justify-content: flex-end;
  }
}

/* --- Countdown ------------------------------------------------------------ */

.countdown-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 var(--gut) clamp(20px, 4vw, 44px);
}

/* Was absolutely positioned off two magic offsets and a 290px floor, which
   also pushed the page wider than the phone viewport. */
.countdown-box {
  position: static;
  left: auto;
  bottom: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  background: none;
  backdrop-filter: none;
  border: 0;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
}

.countdown-grid div {
  min-width: 0;
  padding: clamp(10px, 1.4vw, 16px) clamp(8px, 1.6vw, 22px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(6, 12, 24, 0.16);
}

.countdown-grid div::before { opacity: .35; }

.countdown-grid span {
  font-size: clamp(1.35rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  line-height: 1.05;
}

.countdown-grid label {
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- Inner page headers line up with the content below them --------------- */

.inner-page .container { width: 100%; max-width: none;
  padding: 0 max(var(--gut), (100% - var(--page-max)) / 2); }

/* --- Agenda micro-interactions -------------------------------------------- */

.ag-glance-day { transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease; }
.ag-glance-day:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(16, 24, 48, 0.13); }

.ag-glance-list li { border-radius: 10px; transition: background .18s ease; }
.ag-glance-list li:hover { background: #f7fafb; }

.ag-talk { border-radius: 10px; transition: background .18s ease; }
.ag-talk:hover { background: #f7fafb; }
.ag-talk::before { transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .18s ease; }
.ag-talk:hover::before { transform: scale(1.45); }

.ag-nat { transition: background .18s ease; }
.ag-talk:hover .ag-nat { background: #e6eef0; }

.program-tab { transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.16, 1, .3, 1); }
.program-tab:hover { transform: translateY(-1px); }

/* --- Welcome note: larger portrait, no box -------------------------------- */

.welcome-inner { grid-template-columns: 380px minmax(0, 1fr); }

.welcome-author {
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.welcome-photo {
  max-width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(16, 24, 48, 0.18);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease;
}

.welcome-author:hover .welcome-photo {
  transform: translateY(-6px);
  box-shadow: 0 40px 72px rgba(16, 24, 48, 0.24);
}

.welcome-author h3 { margin: 22px 0 6px; font-size: 1.3rem; }

/* --- Audience and themes: tighter ----------------------------------------- */

.aud { padding: clamp(42px, 5.5vw, 72px) var(--gut); }
.aud-inner { grid-template-columns: 0.85fr 1.2fr 0.95fr; gap: clamp(24px, 4vw, 56px); }
.aud-title, .themes-title { margin-bottom: 18px; }

.aud-list li { padding: 10px 14px; font-size: clamp(0.95rem, 1.15vw, 1.04rem); }
.aud-tick { width: 22px; height: 22px; }
.aud-tick::before { height: 6px; left: 7px;  top: 10px; }
.aud-tick::after  { height: 10px; left: 11px; top: 6px; }

.aud-media img { max-height: 400px; }

.themes-row { gap: 14px; }

.theme {
  min-height: 0;
  padding: 18px 20px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

@media (max-width: 900px) {
  .welcome-inner { grid-template-columns: 1fr; }
  .aud-inner { grid-template-columns: 1fr; }
  .themes-row { grid-template-columns: 1fr; }
}

/* The wordmark rules above are declared after the mobile block, so the phone
   bar has to claim it back down here. */
@media (max-width: 760px) {
  .nav-brand { display: flex; }

  .nav-brand img {
    height: 40px;
    width: auto;
  }
}

/* ==========================================================================
   Abstract submission
   ========================================================================== */

.abs .abs-head { margin-bottom: 26px; }
.abs .abs-head h2 { margin: 0; }

/* --- Invitation + summary card -------------------------------------------- */

.abs-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
}

.abs-salute { margin: 0 0 14px; font-size: 1.15rem; font-weight: 700; color: var(--primary-dark); }
.abs-lede { font-size: 1.08rem; line-height: 1.7; color: #2c3345; }
.abs-letter p:last-child { line-height: 1.7; margin-bottom: 0; color: #3b4254; }

.abs-card {
  background: var(--surface);
  border: 1px solid #e3e8ef;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.abs-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: #eef2f6;
  color: var(--muted);
}

.abs-status span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.abs-status.is-open { background: rgba(23, 104, 112, 0.1); color: var(--primary-dark); }
.abs-status.is-open span { animation: abs-pulse 1.8s ease-in-out infinite; }
.abs-status.is-closed { background: #fbeceb; color: #a4342a; }

@keyframes abs-pulse { 50% { opacity: .35; } }

.abs-facts { margin: 0 0 22px; display: grid; gap: 12px; }
.abs-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #e3e8ef; }
.abs-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.abs-facts dt { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.abs-facts dd { margin: 0; font-weight: 700; text-align: right; color: #1d2433; }
.abs-submit { width: 100%; justify-content: center; }

/* --- Important dates ------------------------------------------------------- */

.abs-dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.abs-dates li {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid #e3e8ef;
  text-align: center;
}

.abs-date-label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.abs-dates time { display: block; margin-top: 4px; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary-dark); }

.abs-dates li.is-key { background: var(--primary); border-color: var(--primary); box-shadow: 0 14px 28px rgba(23, 104, 112, 0.25); }
.abs-dates li.is-key .abs-date-label { color: rgba(255, 255, 255, 0.8); }
.abs-dates li.is-key time { color: #fff; }
.abs-dates li.is-past:not(.is-key) { opacity: .6; }

/* --- Topics ---------------------------------------------------------------- */

.abs-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.abs-topic {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid #e3e8ef;
  box-shadow: var(--shadow);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}

.abs-topic:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(16, 24, 48, 0.12); }
.abs-topic-num { display: block; font-size: 0.85rem; font-weight: 800; color: var(--primary); letter-spacing: .08em; }
.abs-topic h3 { margin: 8px 0 8px; font-size: 1.2rem; font-weight: 800; color: #1d2433; }
.abs-topic p { margin: 0; line-height: 1.6; }

/* --- Guidelines ------------------------------------------------------------ */

.abs-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.abs-rules h2 { font-size: 1.35rem; margin: 0 0 18px; }

.abs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: abs-item;
}

.abs-list li {
  counter-increment: abs-item;
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid #e3e8ef;
  line-height: 1.6;
  color: #2c3345;
}

.abs-list li:first-child { border-top: 0; }

.abs-list li::before {
  content: counter(abs-item);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(23, 104, 112, 0.1);
  color: var(--primary-dark);
}

.abs-note {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(23, 104, 112, 0.08);
  font-weight: 600;
  color: var(--primary-dark);
}

/* --- Submit: band with the original toggle, form slides open below -------- */

.abs-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 34px 38px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--primary-dark), #5a5aa8);
  color: #fff;
}

.abs-cta h2 { margin: 0 0 6px; color: #fff; }
.abs-cta p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, 0.85); }

.abs-form form {
  margin-top: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid #e3e8ef;
  box-shadow: var(--shadow);
}

#submit-abstract { scroll-margin-top: 90px; }

@media (max-width: 980px) {
  .abs-intro, .abs-rules { grid-template-columns: 1fr; }
  .abs-rules { gap: 32px; }
  .abs-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abs-topics { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .abs .container { width: auto; margin-inline: 16px; }
}

@media (max-width: 520px) {
  .abs-dates { grid-template-columns: 1fr; }
  .abs-cta { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .abs-status.is-open span { animation: none; }
}

/* Speaker / committee group labels: the page title names the group type, so
   each section only needs its qualifier ("International", "Scientific"). */
.group-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.group-label::after {
  content: "";
  order: 2;
  flex: 1;
  height: 1px;
  background: #d9e1ea;
}
