/* ==========================================================================
   KUWAIT ORTHOPAEDIC TRAUMA 360° CONFERENCE 2026
   DARK THEME STYLESHEET (Based on Client Poster Colors)
   ========================================================================== */

:root {
  /* Brand Dark Theme Palette */
  --bg-main: #040e1b;        /* Midnight Navy Body */
  --bg-header: #030a14;      /* Top Bar */
  --bg-card: #081a30;        /* Deep Navy Container */
  --bg-card-alt: #0d2544;    /* Accent Card */
  --bg-card-hover: #102d52;
  --bg-border: #1a3a60;      /* Subtle border */
  --bg-input: #061527;       /* Input backgrounds */
  
  --gold: #e5a93b;           /* Metallic Amber Gold */
  --gold-hover: #f59e0b;
  --gold-light: #fef3c7;
  --cyan: #38bdf8;           /* Surgical Cyan / Sky */
  --cyan-dark: #0284c7;
  --teal-badge: #123945;     /* Research Day Teal */
  
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 100%;

  /* Light bands (sky tone of the hero artwork) and the inks that pass contrast on them */
  --bg-light: #ebf6f8;
  --line-light: #cfdde6;
  --navy: #142d50;
  --text-on-light: #334155;
  --muted-on-light: #475569;
  --gold-ink: #8f6516;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-light);
}

/* Type sizes are rem, so these steps scale all text together on wide screens. */
@media (min-width: 1280px) {
  html { font-size: 17px; }
}
@media (min-width: 1680px) {
  html { font-size: 18px; }
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
}

/* SemiBold is the heaviest weight on the site (owner's request), emphasis included. */
b, strong {
  font-weight: 600;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
}

/* --------------------------------------------------------------------------
   TOP HEADER & NAVIGATION (Dark Theme)
   -------------------------------------------------------------------------- */
.site-header {
  border-bottom: none;
  position: sticky;
  top: 0;
  padding-top:10px;
  z-index: 1000;
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-logo img {
  height: 86px;
  width: auto;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 32px;
  border:1px solid  rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background-color: rgba(229, 169, 59, 0.1);
  border:1px solid  rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  border: 1px solid var(--bg-border);
  color: var(--text-white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1.25rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   ORGANIZING PARTNERS BLANK LOGOS BAR (Aligned Center, No extra text)
   -------------------------------------------------------------------------- */
.partners-bar {
  /* Plain white: every partner logo is drawn for white, and the Kuwait Orthopaedic Society mark
     (thin pale strokes on a white square) washed out on the old grey gradient. */
  background: #ffffff;
  padding: 16px 0;
}

.partners-center-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.partner-logo-box {
  width: 100%;
  max-width: 760px;
  align-items: center;
  justify-content: center;
}


.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   PAGE BANNER (For Subpages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  border-bottom: 1px solid var(--bg-border);
  padding: 44px 0 40px;
  text-align: center;
}

.page-banner-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.page-banner-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-banner-desc {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   HERO SECTION (Left: Poster Title & Details, Right: Single Blank Image & Countdown)
   -------------------------------------------------------------------------- */
.hero-section {
  background: url('../../slider.jpg') no-repeat center center;
  background-size: cover;
  padding:50px 0 0 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (max-width: 768px) {
 /* The artwork fills the bottom 48% of mobile-slider.jpg (about 74vw tall at full width) under a flat
    #ebf6f8 sky. Fit it to the width and keep the text above it; "cover" pushed the wheel up behind the title. */
 .hero-section {
  background: #ebf6f8 url('../../mobile-slider.jpg') no-repeat center bottom;
  background-size: 100% auto;
  padding:150px 0 0 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-section, .hero-left-col{ padding-top:0 !important;}
.info-line{ padding-top:50px !important; color:#142d50 !important; font-weight: 600;}
.title-gold-360{ color:#142d50 !important;}
}

/* Sits over the still background and fades in once it is actually playing, so a slow or failed load
   never shows a blank box. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.is-playing {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 14, 27, 0.3), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-particles span {
  position: absolute;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
  opacity: 0;
  animation: heroParticle 9s linear infinite;
}

.hero-particles span:nth-child(1) { left: 6%; top: 86%; animation-delay: -2s; }
.hero-particles span:nth-child(2) { left: 15%; top: 77%; width: 3px; animation-delay: -7s; }
.hero-particles span:nth-child(3) { left: 28%; top: 94%; width: 4px; animation-delay: -4s; }
.hero-particles span:nth-child(4) { left: 43%; top: 80%; animation-delay: -8s; }
.hero-particles span:nth-child(5) { left: 57%; top: 96%; width: 3px; animation-delay: -1s; }
.hero-particles span:nth-child(6) { left: 68%; top: 73%; width: 4px; animation-delay: -6s; }
.hero-particles span:nth-child(7) { left: 77%; top: 92%; animation-delay: -3s; }
.hero-particles span:nth-child(8) { left: 88%; top: 81%; width: 3px; animation-delay: -5s; }
.hero-particles span:nth-child(9) { left: 95%; top: 96%; width: 4px; animation-delay: -9s; }
.hero-particles span:nth-child(10) { left: 36%; top: 74%; width: 3px; animation-delay: -3.5s; }
.hero-particles span:nth-child(11) { left: 53%; top: 87%; animation-delay: -6.5s; }
.hero-particles span:nth-child(12) { left: 72%; top: 98%; width: 3px; animation-delay: -1.5s; }

@keyframes heroParticle {
  0% { transform: translate3d(0, 20px, 0) scale(0.5); opacity: 0; }
  15% { opacity: 0.75; }
  85% { opacity: 0.25; }
  100% { transform: translate3d(42px, -190px, 0) scale(1.25); opacity: 0; }
}

@keyframes heroReveal {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes heroPosterFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 20px;
  align-items: center;
}

.hero-left-col {
  animation: heroReveal 0.75s ease-out both;
  padding-bottom:100px;
}

/* Left Hero Typography & Details */
.patronage-text {
  font-size: 1.125rem;
  color: #142d50;
  padding-top: 0;
  margin-bottom: 4px;
  line-height: 1.4;
}

.patronage-name {
  font-size: 2.25rem;
  font-weight: 600;
  color: #142d50;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.organizer-text {
  font-size: 1.125rem;
  font-weight: 600;
  color:#142d50;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}

.hero-title-group {
  margin-bottom: 20px;
}

.title-sub-sup {
  font-size: 1.3rem;
  font-weight: 600;
  color:#142d50;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 2px;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 1px;
}

/* Desktop: the hero is the page's highlight, filling the screen under the sticky header (about
   110px) with its content centred; type scales with the width. Phones keep their own layout. */
@media (min-width: 993px) {
  .hero-section {
    display: flex;
    align-items: center;
    min-height: clamp(680px, calc(100vh - 110px), 1000px);
    padding: 48px 0;
  }
  .hero-section .container {
    width: 100%;
  }
  .hero-section .hero-left-col {
    padding-bottom: 0;
  }
  .hero-section .title-sub-sup {
    font-size: clamp(1.3rem, 1.7vw, 1.875rem);
  }
  .hero-section .hero-main-title {
    font-size: clamp(3.5rem, 5.4vw, 5.75rem);
  }
  .hero-section .title-conf {
    font-size: clamp(1.75rem, 2.5vw, 2.625rem);
  }
  .hero-section .badge-research-day {
    font-size: 1rem;
    padding: 9px 22px;
  }
  .hero-section .info-line {
    font-size: 1.125rem;
  }
}

.title-gold {
  color:#142d50;
  display: block;
}

.title-cyan {
  color: #142d50;
}

.title-gold-360 {
  color: #FFF;
}

.title-conf {
  color: #142d50;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  display: block;
  margin-top: 4px;
}

.badge-research-day {
  display: inline-block;
  background-color: var(--teal-badge);
  border: 0px solid #1f5a6b;
  color: #99f6e4;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

/* Event Info in Single Clean Lines */
.hero-event-info {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000;
  background: rgba(8, 26, 48, 0.0);
  border: 0px solid var(--bg-border);
  padding: 10px 16px 0 16px;
  border-radius: 32px;
}

.info-line .icon {
  font-size: 1.125rem;
}

/* Right Side: Single Poster Image & Countdown */
.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  animation: heroReveal 0.75s 0.18s ease-out both;
}

.hero-single-image {
  width: 100%;
  max-width: 500px;
}

.hero-single-image img {
  width: 100%;
  object-fit: cover;
  animation: heroPosterFloat 5s ease-in-out infinite;
}

/* Countdown Widget */
.countdown-box {
  width: 100%;
  max-width: 420px;
  background: #061527;
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: heroReveal 0.7s 0.42s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-particles span,
  .hero-left-col,
  .hero-right-col,
  .hero-single-image img,
  .countdown-box {
    animation: none;
  }
}

.countdown-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 12px;
}

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

.count-unit {
  background: #091f38;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  padding: 10px 4px;
}

.count-unit .num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.count-unit.active .num {
  color: var(--cyan);
}

.count-unit .lbl {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   HOME INTRO PARAGRAPH
   -------------------------------------------------------------------------- */
.intro-section {
  background-color: #061424;
  border-bottom: 1px solid var(--bg-border);
  padding: 36px 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 40px;
}

.intro-text {
  font-size: 1.0625rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.intro-countdown .countdown-box {
  max-width: none;
}

/* --------------------------------------------------------------------------
   WELCOME MESSAGE SECTION (Chairman Dr. Ali Bahman)
   -------------------------------------------------------------------------- */
.section-welcome {
  padding: 60px 0;
  border-bottom: 1px solid var(--bg-border);
  background-color: var(--bg-main);
}

.section-title-line {
  font-size: clamp(1.875rem, 2.4vw, 2.625rem);
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid var(--bg-border);
  padding-bottom: 14px;
  margin-bottom: 36px;
}

.chair-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 6px;
}

.welcome-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.7;
  text-align: justify;
}

/* Welcome letter on the left, Broad Themes stacked on the right. */
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.welcome-grid .themes-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.band-light .theme-box {
  background: #ffffff;
  border-color: var(--gold);
}

.band-light .theme-box:hover {
  border-color: var(--navy);
}

.band-light .theme-box h3 {
  color: var(--navy);
}

@media (max-width: 992px) {
  .welcome-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   HOMEPAGE RHYTHM: light bands, section heads with a link, facts, previews
   -------------------------------------------------------------------------- */
.band-light {
  background: var(--bg-light);
  color: var(--text-on-light);
  border-bottom: 0;
}

.band-light .section-title-line,
.band-light .chair-title {
  color: var(--navy);
}

.band-light .section-title-line,
.band-light .section-head {
  border-bottom-color: var(--line-light);
}

.band-light .welcome-body {
  color: var(--text-on-light);
}

.welcome-sign p:first-child {
  font-weight: 600;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  border-bottom: 1px solid var(--bg-border);
  padding-bottom: 14px;
  margin-bottom: 36px;
}

.section-head .section-title-line {
  border: 0;
  padding: 0;
  margin: 0;
}

.section-head-link {
  font-weight: 600;
  color: var(--gold);
}

.section-head-link:hover {
  color: var(--gold-light);
}

.band-light .section-head-link {
  color: var(--navy);
}

.band-light .section-head-link:hover {
  color: var(--gold-ink);
}

.facts-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 0;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--bg-border);
}

.facts-line > div {
  flex: 1 1 140px;
  padding: 0 24px;
  border-left: 1px solid var(--bg-border);
}

.facts-line > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.facts-line dt {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold);
}

.facts-line dd {
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-speakers-preview {
  background: radial-gradient(circle at 25% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
}

.speakers-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

.glance-day {
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 28px;
}

.glance-day-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.glance-day-hours {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--muted-on-light);
}

.glance-sessions {
  list-style: none;
  margin-top: 20px;
}

.glance-sessions li {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}

.glance-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-ink);
}

.glance-name {
  font-weight: 600;
  color: var(--navy);
}

.glance-talks {
  font-size: 0.8125rem;
  color: var(--muted-on-light);
  white-space: nowrap;
}

@media (max-width: 992px) {
  .glance-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .speakers-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .facts-line {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .facts-line > div {
    padding: 0;
    border-left: 0;
  }
  .glance-day {
    padding: 22px 18px;
  }
  .glance-sessions li {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
  }
  .glance-time {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   REGISTRATION (same steps as the KUA site: category, workshop, details, summary)
   -------------------------------------------------------------------------- */
.reg-intro p {
  color: var(--text-on-light);
  margin-bottom: 4px;
}

.reg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

.reg-step + .reg-step {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
}

.reg-step h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.reg-step h2 small,
.reg-field small {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted-on-light);
}

.reg-hint {
  color: var(--muted-on-light);
}

#step-workshops .reg-hint {
  margin-bottom: 16px;
}

/* Workshop cards carry a date line and seat count, so give them more width than the categories. */
#step-workshops .pick-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.pick {
  position: relative;
  display: block;
  cursor: pointer;
}

.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  color: var(--navy);
  transition: border-color 0.2s, background-color 0.2s;
}

.pick:hover .pick-card {
  border-color: var(--navy);
}

.pick input:focus-visible + .pick-card {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

/* The state is spelled out ("Select" / "Selected"), not shown by colour alone. */
.pick-state {
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 2px 12px;
  border: 1px solid currentColor;
  border-radius: 30px;
}

.pick-state > span {
  display: none;
}

.pick input:enabled:not(:checked) + .pick-card .pick-off,
.pick input:checked + .pick-card .pick-on,
.pick input:disabled + .pick-card .pick-na {
  display: inline;
}

.pick-on::before {
  content: "\2713\00a0";
}

.pick-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.pick-meta {
  font-size: 0.875rem;
  color: var(--muted-on-light);
}

.pick-fee {
  margin-top: auto;
  padding-top: 8px;
  font-size: 1.25rem;
  font-weight: 600;
}

.pick input:checked + .pick-card {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.pick input:checked + .pick-card .pick-state {
  background: var(--gold);
  border-color: var(--gold);
  color: #040e1b;
}

.pick input:checked + .pick-card .pick-meta {
  color: #cbd5e1;
}

/* Audience limit on a workshop card, e.g. "For Senior Residents Only" */
.pick-restrict {
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-ink);
  border: 1px solid currentColor;
  padding: 2px 8px;
}

.pick input:checked + .pick-card .pick-restrict {
  color: var(--gold);
}

/* A resident-only workshop while Doctors is chosen: greyed out, but its audience label stays readable */
.pick.is-locked .pick-card {
  background: #eef1f4;
  border-color: var(--line-light);
  cursor: not-allowed;
}

.pick.is-locked .pick-card > :not(.pick-restrict) {
  opacity: 0.45;
}

/* Registration notices reuse the bio popup's overlay and card */
.notice-card {
  max-width: 440px;
  text-align: center;
}

.notice-title {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold);
}

.notice-text {
  margin: 12px 0 24px;
  color: var(--text-light);
  line-height: 1.6;
}

.pick input:disabled + .pick-card {
  cursor: not-allowed;
  background: #f1f5f9;
  color: var(--muted-on-light);
}

.reg-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.reg-field {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.reg-field-s { grid-column: span 2; }
.reg-field-w { grid-column: span 6; }
.reg-field-full { grid-column: span 12; }

.reg-field input,
.reg-field select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid #64748b;
  border-radius: 8px;
}

.reg-field input:focus,
.reg-field select:focus {
  outline: 2px solid var(--gold-ink);
  outline-offset: 1px;
}

.reg-summary {
  position: sticky;
  top: 130px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  color: var(--text-on-light);
}

.reg-summary h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.sum-lines {
  list-style: none;
}

.sum-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 0.9375rem;
}

.sum-empty {
  font-size: 0.9375rem;
  color: var(--muted-on-light);
}

.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  color: var(--navy);
}

.sum-total strong {
  font-size: 2rem;
  font-weight: 600;
}

.sum-pay {
  max-width: 180px;
  margin-bottom: 20px;
}

.reg-summary .btn-primary {
  width: 100%;
  font-size: 1rem;
}

.reg-summary .btn-primary:disabled {
  cursor: wait;
  background: var(--gold-light);
}

.reg-error {
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #b91c1c;
}

.reg-error:empty {
  display: none;
}

/* Payment result page */
.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  color: var(--text-on-light);
}

.thanks-card h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.thanks-card .venue-info-facts dd {
  color: var(--navy);
}

.thanks-card .venue-info-label {
  color: var(--gold-ink);
}

.thanks-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.75rem;
}

.thanks-qr {
  margin-top: 24px;
}

.thanks-note {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--muted-on-light);
}

@media (max-width: 992px) {
  .reg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .reg-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .reg-field,
  .reg-field-w {
    grid-column: span 12;
  }
  .reg-field-s {
    grid-column: span 6;
  }
  .thanks-card {
    padding: 28px 20px;
  }
}

/* --------------------------------------------------------------------------
   CONFERENCE FOCUS SECTION
   -------------------------------------------------------------------------- */
.section-focus {
  padding: 60px 0;
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  border-bottom: 0px solid var(--bg-border);
}

.section-focus .section-title-line {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 28px;
}

.focus-lead {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.focus-list {
  list-style: none;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.focus-list li {
  font-size: clamp(1.125rem, 1.3vw, 1.375rem);
  color: #cbd5e1;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.focus-list li::before {
  content: '•';
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.focus-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 32%, 480px);
  gap: 48px;
  align-items: start;
}

.focus-poster-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  /* minmax(0, …) so the poster's 1080px intrinsic width can't widen the track */
  .focus-top-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

.theme-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.theme-box:hover {
  border-color: rgba(229, 169, 59, 0.4);
  transform: translateY(-2px);
}

.theme-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   SHARED SUBPAGE COMPONENTS & GRIDS (Dark Theme)
   -------------------------------------------------------------------------- */
.section-pad {
  padding: 60px 0;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* Dark Card Base */
.card-dark {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card-dark:hover {
  border-color: rgba(229, 169, 59, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL / FLOAT-UP ANIMATIONS
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Speaker / Committee Cards */
/* Transparent card with a thin outline: the circular photo sits on the page background. */
.person-card {
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.person-card.clickable {
  cursor: pointer;
}

.person-card:hover,
.person-card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-6px);
  outline: none;
}

/*
 * Admin photos are a 450x500 circle-on-black template whose circle (and its ring) is wider
 * than the image, so the ring is clipped at the sides. Show the photo as a circle just inside
 * that ring (the black falls outside it) and draw the complete ring from ring.png on top.
 */
.person-photo,
.modal-avatar-wrap {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person-photo {
  width: 100%;
  /* Full-width grids make cards ~440px wide; keep the photo at a portrait size. */
  max-width: 300px;
  margin: 0 auto;
  padding: 8%;
}

.person-photo img,
.modal-avatar-wrap img {
  width: 93%; /* the ring's inner edge, with a hair of overlap so no gap shows */
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.person-photo::after,
.modal-avatar-wrap::after {
  content: '';
  position: absolute;
  inset: 8%;
  background: url('../../ring.png') center / contain no-repeat;
  pointer-events: none;
}

.modal-avatar-wrap::after {
  inset: 0;
}

/* Frosted-glass pill around the flag (owner's pick). */
.speaker-flag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 4px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  color: #ffffff;
  font-weight: 600;
}

/* Pill-shaped flags, matching the rounded buttons. */
.speaker-flag-badge .fi {
  border-radius: 20px;
}

iframe{ width:100%; height:450px;}
.person-info {
  padding: 0 6px 18px;
}

.person-name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0px;
}

/* Keeps "Al-Name" on one line instead of breaking at the hyphen. */
.nowrap {
  white-space: nowrap;
}

.person-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 4px;
}

.person-affiliation {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.person-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(229, 169, 59, 0.15);
  color: var(--gold);
  border: 1px solid rgba(229, 169, 59, 0.3);
  margin-top: 10px;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.filter-btn {
  background: #07192f;
  border: 1px solid var(--bg-border);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
  border-color: var(--cyan);
  color: #ffffff;
}

.filter-btn.active {
  background: var(--gold);
  color: #040e1b;
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(229, 169, 59, 0.35);
  transform: scale(1.03);
}

/* Speaker Bio Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 7, 14, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: linear-gradient(180deg, #09203c 0%, #051325 100%);
  border: 1px solid rgba(229, 169, 59, 0.5);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #0d2c52;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.modal-header-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.modal-avatar-wrap {
  width: 150px;
  flex-shrink: 0;
}

.modal-meta {
  flex-grow: 1;
}

.modal-speaker-name {
  font-size: 1.375rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.modal-speaker-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 4px;
}

.modal-speaker-affil {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.modal-body {
  border-top: 1px solid rgba(26, 58, 96, 0.8);
  padding-top: 20px;
}

.modal-body-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.modal-body-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.75;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.modal-flag {
  position: static;
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 0.8125rem;
}

/* These set their own display, which would otherwise override the hidden attribute. */
.grid-4[hidden],
.modal-flag[hidden] {
  display: none;
}

.modal-body-text > * + * {
  margin-top: 10px;
}

.modal-body-text ul,
.modal-body-text ol {
  padding-left: 22px;
}

/* Agenda Schedule Timeline & Tabs */
.agenda-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.agenda-tab-btn {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(4, 14, 27, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.agenda-tab-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Clears the sticky header when a link jumps to a tab (agenda#kbos). */
[role="tab"] {
  scroll-margin-top: 140px;
}

.agenda-tab-btn.active {
  background: var(--gold);
  color: #040e1b;
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(229, 169, 59, 0.35);
  transform: scale(1.03);
}

.agenda-day-panel {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.agenda-day-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.agenda-day-header {
  background: linear-gradient(90deg, #09223e 0%, #051324 100%);
  border: 1px solid var(--bg-border);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-day-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.agenda-day-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan);
}

.session-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform 0.2s, border-color 0.2s;
}

.session-item:hover {
  transform: translateX(4px);
  border-color: rgba(229, 169, 59, 0.4);
}

/* Venue page: details left, map right (same layout as kuwait-plast) */
.vpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.vpage-title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.venue-map-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bg-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  background: #020812;
}

.venue-map-iframe,
.venue-map-wrap iframe {
  width: 100%;
  height: clamp(340px, 40vw, 560px);
  border: 0;
  display: block;
}

.session-time {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.session-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.session-speaker {
  font-size: 0.8125rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.session-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.agenda-session-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 30px 0 14px;
}

.agenda-session-title span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Breaks and Q&A: present in the timeline, quieter than talks. */
/* Q & A and breaks: a lighter solid band so they read on the gradient but stay distinct from talks. */
.session-item.is-break {
  background: var(--bg-card-alt);
  padding-block: 12px;
}

.session-item.is-break .session-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0;
}

/* End-of-day pointer to the KBOS Research Day tab (an <a>, so the homepage parser skips it). */
.session-kbos .session-title {
  margin-bottom: 0;
}

/* Workshops page: laid out like a surgical technique guide. White pages, one bordered panel per
   workshop opened by a navy chapter band, line drawings; practical details on the main gradient. */
.wsg {
  background: #ffffff;
  color: var(--navy);
}

.wsg ::selection {
  background: var(--gold);
  color: var(--navy);
}

.wsg .btn-primary {
  border-radius: 0;
}

.wsg .btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wsg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: end;
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
}

.wsg-run {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.wsg-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.wsg-lead {
  max-width: 40rem;
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-on-light);
}

.wsg-toc h2 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.wsg-toc ol {
  list-style: none;
  padding: 0;
}

.wsg-toc a {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-light);
  color: var(--navy);
}

.wsg-toc li:last-child a {
  border-bottom: 1px solid var(--line-light);
}

.wsg-toc a:hover {
  color: var(--gold-ink);
}

.wsg-toc span {
  font-weight: 600;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.wsg-panel {
  border: 1px solid var(--navy);
  margin-bottom: clamp(48px, 6vw, 80px);
  scroll-margin-top: 140px;
}

.wsg-band {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(20px, 3vw, 36px);
  background: var(--navy);
  color: #ffffff;
}

.wsg-num {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(3rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.wsg-band h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
}

.wsg-when {
  margin-top: 6px;
  color: #ffffff;
}

.wsg-when time {
  font-weight: 600;
  color: var(--gold);
}

.wsg-by {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.wsg-by strong {
  font-weight: 600;
  color: #ffffff;
}

.wsg-band .btn-primary {
  flex-shrink: 0;
  margin-left: auto;
}

.wsg-body {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
}

.wsg-rotate-note {
  margin-bottom: 28px;
  text-align: center;
  color: var(--muted-on-light);
}

.wsg-stations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.wsg-station + .wsg-station {
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-light);
}

.wsg-station:first-child {
  padding-right: clamp(24px, 4vw, 56px);
}

/* Drawing and its legend side by side under the station heading */
.wsg-station {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 2vw, 28px);
}

.wsg-station h3 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 600;
  color: var(--navy);
}

.wsg-station h3 span {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: #ffffff;
  font-size: 1rem;
}

.wsg-fig {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 20px 0 0 auto;
}

.wsg-legend {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.wsg-legend li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  color: var(--text-on-light);
}

.wsg-legend b {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-ink);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
}

.wsg-info {
  padding: clamp(48px, 6vw, 80px) 0;
  background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
  color: #ffffff;
}

.wsg-info-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 28px;
}

.wsg-info h2 {
  font-size: clamp(1.875rem, 2.4vw, 2.625rem);
  font-weight: 600;
  color: #ffffff;
}

.wsg-info-head p {
  margin-top: 6px;
  color: var(--text-light);
}

.wsg-facts {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.wsg-facts > div {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
}

.wsg-facts > div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.wsg-facts dt,
.wsg-facts dd {
  padding: 14px 20px;
  line-height: 1.5;
}

.wsg-facts dt {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 900px) {
  .wsg-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .wsg-band {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px 20px;
  }
  .wsg-band .btn-primary {
    grid-column: 1 / -1;
    margin-left: 0;
    text-align: center;
  }
  .wsg-stations {
    grid-template-columns: minmax(0, 1fr);
  }
  .wsg-station:first-child {
    padding-right: 0;
  }
  .wsg-station + .wsg-station {
    margin-top: 32px;
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 576px) {
  .wsg-station {
    grid-template-columns: minmax(0, 1fr);
  }
  .wsg-fig {
    max-width: 300px;
    margin: 20px auto 16px;
  }
  .wsg-legend {
    margin-top: 0;
  }
  .wsg-num {
    padding-right: 16px;
    font-size: 2.5rem;
  }
  .wsg-body {
    padding: 24px 18px 32px;
  }
  .wsg-facts > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .wsg-facts dt {
    padding-bottom: 0;
    border-right: 0;
  }
  .wsg-facts dd {
    padding-top: 4px;
  }
}

/* Pricing Table / Registration Tiers */
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #0b2342 0%, #081a30 100%);
  box-shadow: 0 8px 30px rgba(229, 169, 59, 0.2);
}

.tier-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #040e1b;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.tier-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2.375rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.tier-currency {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tier-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 600;
}

/* Forms & Inputs */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 14px;
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--bg-border);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(229, 169, 59, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #040e1b;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
}

.btn-primary:hover {
  background: var(--gold-hover);
  color: #040e1b;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: #09203c;
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-secondary:hover {
  background: #0d2c52;
  color: #ffffff;
  border-color: var(--cyan);
}

/* --------------------------------------------------------------------------
   REGISTRATION & VENUE (bottom of Home and Venue pages)
   -------------------------------------------------------------------------- */
.section-register {
  padding: 70px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--bg-border);
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.register-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #ffffff;
}

.register-lead {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.register-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.venue-info-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--bg-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.venue-info-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.venue-info-name {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
}

.venue-info-city {
  margin-top: 6px;
  font-size: 1.0625rem;
  color: var(--text-light);
}

.venue-info-facts {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.venue-info-facts dd {
  margin-top: 8px;
  font-weight: 600;
  color: #ffffff;
}

.btn-venue-solid,
.btn-venue-ghost {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-venue-solid {
  background: #ffffff;
  color: var(--bg-main);
}

.btn-venue-solid:hover {
  background: var(--gold-light);
}

.btn-venue-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-venue-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* --------------------------------------------------------------------------
   FOOTER (one row: Copyright | Contact | Powered by)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #02070e;
  border-top: 1px solid var(--bg-border);
  padding: 30px 40px;
  margin-top: auto;
  color: var(--text-muted);
}

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

/* The long conference name wraps inside its own column so the row stays one line on desktop. */
.footer-copy {
  flex: 1 1 0;
  min-width: 0;
  font-size: 0.875rem;
}

.footer-contact-links,
.footer-powered {
  flex: none;
}

.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;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s;
}

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

.footer-contact-links svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* White tile: the Future Minds mark is partly navy and vanishes on the dark footer. */
.footer-powered-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-powered-logo img {
  height: 36px;
  width: auto;
}

/* --------------------------------------------------------------------------
   RESPONSIVE QUERIES
   -------------------------------------------------------------------------- */
/* Tablets still get the wide slider.jpg with its wheel on the right; stop the text before it. */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-left-col { max-width: 56%; }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .intro-layout {
    grid-template-columns: 1fr;
  }
  .themes-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-wrap {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .footer-copy,
  .footer-contact-links {
    flex-basis: 100%;
  }
  .footer-copy {
    order: 3;
  }
}

@media (max-width: 768px) {
  .info-line{ display:inline; background:none; margin:0; padding:0; line-height: normal;}
  .main-nav {
    display: none;
  }
  .partners-center-wrap{ padding:0px 0;}

  /* Room for the mobile-slider.jpg artwork under the text (see .hero-section above). */
  .hero-left-col{ text-align: center; padding-bottom: calc(74vw + 16px);}
  .patronage-text{font-size:1rem; text-wrap:balance; padding-top:16px;}
  .patronage-name{font-size:1.5rem;}
  .organizer-text{font-size:1rem; text-wrap:balance;}

  .title-sub-sup{font-size:1.5rem;}
  /* Shrinks on the narrowest phones so "Orthopaedic" fits a 320px screen. */
  .title-gold{font-size:clamp(2.25rem, 12vw, 3rem) !important;}
  .title-cyan{font-size:clamp(2.25rem, 12vw, 3rem);}
  .title-gold-360{font-size:clamp(2.25rem, 12vw, 3rem);}
  .title-conf{font-size:1.5rem;}

  .badge-research-day{font-size:.85rem; font-weight:400; margin:30px auto;}

  /* Justified text leaves wide word gaps on a phone-width column. */
  .welcome-body{ text-align: left; }


  .main-nav.open {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: radial-gradient(circle at 75% 20%, #7a6232 0%, #142d50 50%, #142d50 100%);
    border-bottom: 0px solid var(--bg-border);
    padding: 36px 20px;
  }
  .main-nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-main-title {
    font-size: 2rem;
  }
  .title-conf {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }
  .page-banner-title {
    font-size: 1.75rem;
  }
  .session-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .grid-2,
  .grid-3,
  .vpage-grid,
  .themes-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    gap: 12px;
  }
  .person-name {
    font-size: 0.875rem;
  }
  .register-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .venue-info-card {
    padding: 28px 22px;
  }
  .site-footer {
    padding-inline: 20px;
  }
  .modal-card {
    padding: 24px 18px;
  }
  .modal-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
