/* =========================================================
   Medex Conference — Document design system
   Matches Individual conf issues.docx target screenshots
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --mdx-teal: #27a897;
  --mdx-teal-dark: #1e8a7a;
  --mdx-navy: #0f1c2e;
  --mdx-blue: #1b416f;
  --mdx-text: #2c3e50;
  --mdx-muted: #637080;
  --mdx-bg: #f0f6fa;
  --mdx-card: #ffffff;
  --mdx-radius: 14px;
  --mdx-shadow: 0 12px 36px rgba(15, 28, 46, 0.10);
}

body.bodyBg,
body {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  background: var(--mdx-bg) !important;
  color: var(--mdx-text);
}

/* ---- NAV ---- */
.navbarCustom {
  background: #fff !important;
  box-shadow: 0 2px 14px rgba(15,28,46,.06);
  padding: .55rem 1.25rem;
}

/* Designed page banners: full-width image, no crop, no extra gap */
.pageHero--designed {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #06101c;
  width: 100%;
  overflow: hidden;
}
.pageHero--designed img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  vertical-align: top;
}
.navLogo { height: 46px !important; }
.navbar-nav .nav-link {
  font-weight: 600 !important;
  color: var(--mdx-navy) !important;
  font-size: .92rem;
  padding: .55rem .9rem !important;
  letter-spacing: .01em;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-active {
  color: var(--mdx-teal) !important;
}

/* ---- HERO (home left-aligned per doc) ---- */
.innerPage.mt76 {
  margin-top: 70px !important;
}
#innerPage {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
#innerPage > .conf-page-hero,
#innerPage > .session-page-hero,
#innerPage > .program-page-hero,
#innerPage > .register-page-hero,
#innerPage > .abstract-page-hero,
#innerPage > .brochure-page-hero,
#innerPage > .venue-page-hero,
#innerPage > .session-page > .conf-page-hero,
#innerPage > .program-page > .conf-page-hero,
#innerPage > .venue-page > .conf-page-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
#innerPage > .session-page,
#innerPage > .program-page,
#innerPage > .venue-page,
#innerPage > .abstract-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.homeHero {
  position: relative;
  min-height: 520px;
  height: auto !important;
  margin-top: 0 !important;
  padding: 56px 0 72px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.homeHero.homeHero--left {
  /* Bias upward so the subject’s face is not cropped under the nav */
  background-position: 62% 18%;
  justify-content: flex-start;
}
.homeHero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(95deg,
    rgba(5,12,24,.92) 0%,
    rgba(5,12,24,.82) 28%,
    rgba(5,12,24,.45) 52%,
    rgba(5,12,24,.18) 78%,
    rgba(5,12,24,.08) 100%) !important;
}
.homeHero .heroContent,
.homeHero--left .heroContent--left {
  position: relative;
  z-index: 3;
  top: 0 !important;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 40px;
  text-align: left !important;
  color: #fff;
}
.homeHero--left .heroContent--left {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 720px;
  padding-left: clamp(24px, 4vw, 56px) !important;
  padding-right: 24px !important;
  text-align: left !important;
}
.homeHero .ligthGreen {
  color: #7ee0d3 !important;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.homeHero .hero-kicker,
.conf-page-hero--home .hero-kicker {
  color: #7ee0d3;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.homeHero .hero-facts,
.conf-page-hero--home .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}
.homeHero .hero-fact,
.conf-page-hero--home .hero-fact {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(126,224,211,.28);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 160px;
}
.homeHero .hero-fact-label,
.conf-page-hero--home .hero-fact-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7ee0d3;
  font-weight: 700;
  margin-bottom: 2px;
}
.homeHero .hero-fact-value,
.conf-page-hero--home .hero-fact-value {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.homeHero .f40,
.conf-page-hero--home .f40 {
  font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  font-weight: 800;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
.homeHero .green,
.conf-page-hero--home .green { color: var(--mdx-teal) !important; }
.homeHero .f20,
.conf-page-hero--home .f20 {
  display: block;
  font-size: 1.05rem !important;
  font-style: italic;
  opacity: .95;
  margin: 10px 0 18px;
  max-width: 640px;
}
.homeHero .hero-meta,
.homeHero .hero-actions,
.conf-page-hero--home .hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start !important;
  align-items: center;
}
.homeHero .hero-meta {
  font-size: .92rem;
  opacity: .95;
  margin-top: 8px !important;
}
.homeHero .heroBtn,
.conf-page-hero--home .heroBtn,
.heroBtn {
  background: var(--mdx-teal) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 18px !important;
  margin: 8px 10px 0 0 !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  box-shadow: 0 8px 20px rgba(39,168,151,.35);
  transition: transform .2s ease, background .2s ease;
  color: #fff !important;
  cursor: pointer;
}
.homeHero .heroBtn:hover,
.conf-page-hero--home .heroBtn:hover,
.heroBtn:hover {
  background: var(--mdx-teal-dark) !important;
  transform: translateY(-2px);
  color: #fff !important;
}

/* Centered page heroes (program/register/abstract) keep centered text */
.homeHero:not(.homeHero--left) .heroContent,
.programHero .programContent {
  text-align: center;
  z-index: 3;
  position: relative;
}
.programHero {
  position: relative;
  min-height: 420px !important;
  height: auto !important;
  padding: 120px 24px 70px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.programHero.programHero--banner {
  min-height: 380px !important;
  padding: 0;
  margin-top: 0;
  align-items: stretch;
  background-position: center center;
  background-size: cover;
}
.programHero.programHero--banner::before {
  display: none !important;
}
.programHero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,32,.75), rgba(8,18,32,.55));
  z-index: 1;
}
.programContent {
  margin-top: 0 !important;
  color: #fff;
  z-index: 2;
  max-width: 900px;
}

/* ---- SECTION CARDS ---- */
.contentCard,
.cardContainer {
  background: transparent !important;
}
.cardTitle {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
}
.cardTitle.green { color: var(--mdx-teal) !important; }
.cardTitle.blue { color: var(--mdx-navy) !important; }
.title-underline {
  width: 70px;
  height: 3px;
  background: var(--mdx-teal);
  margin: 10px auto 28px;
  border-radius: 2px;
}
/* ---- WELCOME (full-width section) ---- */
#welcome.contentCard {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 !important;
  background: linear-gradient(180deg, #f4faf9 0%, #eef6fb 48%, #f8fbfd 100%) !important;
  border: none !important;
  box-shadow: none !important;
}
.welcome-section {
  width: 100%;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 72px);
}
.welcome-section__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.welcome-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .85fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}
.welcome-copy {
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 52px);
  box-shadow: 0 18px 48px rgba(15, 28, 46, 0.08);
  border: 1px solid rgba(27, 65, 111, 0.07);
  text-align: left;
}
.welcome-eyebrow {
  display: none !important; /* mockup: no WELCOME label */
}
.welcome-heading {
  margin: 0 0 16px;
  color: var(--mdx-navy);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.22;
  font-weight: 800;
  text-align: left;
}
.welcome-rule {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--mdx-teal), #5fd4c4);
  border-radius: 999px;
  margin: 0 0 24px;
}
.welcome-copy-body p {
  margin: 0 0 1.1rem;
  color: #3a4a5a;
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-word;
}
.welcome-copy-body p:last-child { margin-bottom: 0; }
.welcome-quote {
  margin-top: 28px;
  background: linear-gradient(135deg, #eaf7f5 0%, #f3fbfa 100%);
  border-radius: 18px;
  padding: 20px 24px 20px 68px;
  position: relative;
  border: 1px solid rgba(39, 168, 151, 0.14);
}
.welcome-quote-mark {
  position: absolute;
  left: 20px;
  top: 10px;
  color: var(--mdx-teal);
  font-size: 2.8rem;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 700;
}
.welcome-quote p {
  margin: 0;
  color: var(--mdx-teal);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
}
.welcome-highlights {
  background: #fff;
  border-radius: 22px;
  padding: clamp(24px, 2.5vw, 36px) clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(27, 65, 111, 0.07);
  box-shadow: 0 18px 48px rgba(15, 28, 46, 0.08);
}
.welcome-highlights h3 {
  margin: 0 0 18px;
  color: var(--mdx-teal);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.welcome-highlights-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.welcome-highlights-grid li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e8eef4;
}
.welcome-highlights-grid li:last-child { border-bottom: 0; padding-bottom: 0; }
.welcome-hi-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 12px;
  background: linear-gradient(180deg, #2bb8a6 0%, #1e8f82 100%);
  color: #fff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 1.05rem !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 18px rgba(39, 168, 151, 0.28);
}
.welcome-hi-icon i {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
}
.welcome-hi-icon svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin: 0 !important;
  flex: 0 0 22px;
  overflow: visible;
}
.welcome-hi-copy {
  min-width: 0;
  flex: 1;
}
.welcome-highlights strong,
.welcome-hi-copy strong {
  display: block;
  color: var(--mdx-navy);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.welcome-hi-copy span,
.welcome-highlights-grid li span:not(.welcome-hi-icon) {
  display: block;
  color: #5b6b78;
  font-size: .88rem;
  line-height: 1.5;
}
.welcome-banner {
  margin-top: clamp(24px, 3vw, 36px);
  background: linear-gradient(90deg, #27a897 0%, #1f8f81 100%);
  border-radius: 20px;
  padding: clamp(18px, 2.5vw, 26px) clamp(22px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 16px 36px rgba(39, 168, 151, 0.22);
}
.welcome-banner-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-banner-icon svg { width: 26px; height: 26px; }
.welcome-banner strong {
  display: block;
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 800;
}
.welcome-banner span {
  color: rgba(255, 255, 255, 0.92);
  font-size: .96rem;
  line-height: 1.5;
}
@media (min-width: 1200px) {
  .welcome-highlights-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991.98px) {
  .welcome-layout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .welcome-section { padding: 36px 0 40px; }
  .welcome-section__inner { padding: 0 16px; }
  .welcome-copy { padding: 24px 20px; border-radius: 18px; }
  .welcome-copy-body p { text-align: left; }
  .welcome-quote { padding: 42px 18px 18px; }
  .welcome-quote-mark { left: 16px; top: 8px; }
  .welcome-highlights { border-radius: 18px; }
  .welcome-banner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---- OCM cards ---- */
.ocm-grid {
  --ocm-gap: 22px;
}
#ocm { overflow: hidden; position: relative; z-index: 1; }
.speakerContainer.ocm-grid { margin-top: 12px !important; }
.ocm-card {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.07) !important;
  padding: 0 0 22px !important;
  text-align: center !important;
  position: relative !important;
  margin-top: 0 !important;
  height: 100% !important;
  border: 1px solid rgba(27, 65, 111, 0.07) !important;
  overflow: hidden !important;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
  opacity: 0;
  transform: translateY(28px);
}
.ocm-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.ocm-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(15, 28, 46, 0.14) !important;
  border-color: rgba(39, 168, 151, 0.28) !important;
}
.ocm-photo {
  width: 100% !important;
  height: 220px !important;
  border-radius: 0 !important;
  background: linear-gradient(160deg, #2bb8a6 0%, #157f74 100%) !important;
  background-size: cover !important;
  background-position: center top !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ocm-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: .08em;
  z-index: 0;
  pointer-events: none;
}
.ocm-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  display: block;
}
.ocm-card:hover .ocm-photo img { transform: scale(1.04); transition: transform .5s ease; }
.ocm-card .card-info {
  padding: 18px 16px 4px !important;
  position: relative;
  z-index: 2;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ocm-card .speakerName {
  display: block !important;
  font-weight: 700 !important;
  color: var(--mdx-navy) !important;
  font-size: 1.05rem !important;
  margin: 0 0 6px !important;
  line-height: 1.35 !important;
  min-height: auto !important;
  word-break: break-word;
  position: relative !important;
  z-index: 2;
}
.ocm-card .organization {
  display: block !important;
  color: #667788 !important;
  font-size: .9rem !important;
  margin-bottom: 16px !important;
  min-height: auto !important;
  line-height: 1.4 !important;
  word-break: break-word;
  position: relative !important;
  z-index: 2;
}
.ocm-card .speakerBtn,
.speakerBtn {
  background: var(--mdx-teal) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 9px 22px !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100%;
  min-width: 140px;
  height: auto !important;
  margin: 0 auto !important;
  float: none !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease !important;
  box-shadow: 0 8px 18px rgba(39, 168, 151, 0.25);
}
.ocm-card .speakerBtn:hover,
.speakerBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(39, 168, 151, 0.35) !important;
  background: #1f8f81 !important;
}

@media (max-width: 767.98px) {
  .ocm-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: var(--ocm-gap);
    padding: 8px 4px 18px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  .ocm-grid > [class*="col-"] {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
  }
}

/* ---- Partners ---- */
#sponsers.contentCard {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 52px 24px 60px !important;
  background: linear-gradient(180deg, #eef6fb 0%, #f4faf9 52%, #f8fbfd 100%) !important;
  border: none !important;
  box-shadow: none !important;
}
.partners-section__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.partners-section__title {
  font-family: 'Montserrat', sans-serif;
  color: var(--mdx-navy);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.partners-section__lead {
  color: #5a7184;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-size: 1rem;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.partners-grid__item {
  min-width: 0;
}
/* White background cards — beat main.css .partner-card */
#sponsers .partner-card,
.partners-section .partner-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.10) !important;
  padding: 28px 22px !important;
  min-height: 148px !important;
  height: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(27, 65, 111, 0.06) !important;
  transition: transform .3s ease, box-shadow .3s ease;
}
#sponsers .partner-card:hover,
.partners-section .partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 28, 46, 0.14) !important;
}
#sponsers .partner-card .SponserImg,
.partners-section .partner-card .SponserImg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82px;
  margin: 0;
  object-fit: contain;
  display: block;
}
@media (max-width: 991.98px) {
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 575.98px) {
  #sponsers.contentCard { padding: 40px 16px 48px !important; }
  .partners-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  #sponsers .partner-card,
  .partners-section .partner-card { min-height: 132px !important; padding: 24px 18px !important; }
}

/* ---- SESSION / PROGRAM PAGE HERO (doc format) ---- */
.session-page,
.program-page,
.venue-page {
  background: var(--mdx-bg);
  padding-bottom: 48px;
  width: 100%;
  max-width: 100%;
}
.conf-page-hero,
.venue-page-hero,
.session-page-hero,
.program-page-hero,
.register-page-hero,
.abstract-page-hero,
.brochure-page-hero {
  background: linear-gradient(135deg, #06101c 0%, #0f1c2e 42%, #0d2838 68%, #0f3d3a 100%);
  padding: 56px 0 72px;
  text-align: left;
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.session-page-hero--img {
  background-size: cover;
  background-position: center;
  padding: 100px 24px 88px;
}
.session-page-hero--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,32,.72), rgba(8,18,32,.55));
  z-index: 0;
}
.conf-page-hero--bg,
.session-page-hero--bg,
.program-page-hero--bg,
.register-page-hero--bg,
.abstract-page-hero--bg,
.brochure-page-hero--bg,
.venue-page-hero--bg {
  min-height: 520px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 56px 0 64px;
}
.conf-page-hero--home {
  min-height: 520px;
  height: auto !important;
  justify-content: flex-start;
  background-position: center center;
  box-sizing: border-box;
  padding: 56px 0 72px;
}
.program-page-hero--bg.conf-page-hero--home:not(.conf-page-hero--banner-only),
.homeHero.homeHero--left {
  background-position: 62% 18%;
}
.conf-page-hero--home .conf-page-hero__content,
.conf-page-hero--home .heroContent--left {
  position: relative;
  z-index: 3;
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 720px;
  width: 100%;
  padding-left: clamp(24px, 4vw, 56px) !important;
  padding-right: 24px !important;
  text-align: left !important;
  color: #fff;
}
.conf-page-hero--bg::before,
.session-page-hero--bg::before,
.program-page-hero--bg::before,
.register-page-hero--bg::before,
.abstract-page-hero--bg::before,
.brochure-page-hero--bg::before,
.venue-page-hero--bg::before,
.conf-page-hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(5,12,24,.92) 0%,
    rgba(5,12,24,.82) 28%,
    rgba(5,12,24,.45) 52%,
    rgba(5,12,24,.18) 78%,
    rgba(5,12,24,.08) 100%);
  z-index: 2;
  background-image: none;
  opacity: 1;
  pointer-events: none;
}
.session-page-hero--bg::after,
.program-page-hero--bg::after,
.register-page-hero--bg::after,
.abstract-page-hero--bg::after,
.brochure-page-hero--bg::after,
.venue-page-hero--bg::after {
  display: none;
}
.session-page-hero--bg .session-page-hero__glow,
.program-page-hero--bg .program-page-hero__glow {
  display: none;
}
.session-page-hero__glow,
.program-page-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  opacity: .55;
}
.session-page-hero__glow--left,
.program-page-hero__glow--left {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 20%;
  background: radial-gradient(circle, rgba(59,130,246,.35), transparent 70%);
}
.session-page-hero__glow--right,
.program-page-hero__glow--right {
  width: 320px;
  height: 320px;
  right: -60px;
  top: 10%;
  background: radial-gradient(circle, rgba(39,168,151,.45), transparent 68%);
}
.session-page-hero::after,
.program-page-hero::after,
.abstract-page-hero::after,
.brochure-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(126,224,211,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}
.conf-page-hero__inner,
.session-page-hero__inner,
.program-page-hero__inner,
.register-page-hero__inner,
.abstract-page-hero__inner,
.brochure-page-hero__inner,
.venue-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.session-page-hero h1,
.program-page-hero h1,
.abstract-page-hero h1,
.brochure-page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.session-page-hero h1 span,
.program-page-hero h1 span,
.abstract-page-hero h1 span,
.brochure-page-hero h1 span { color: var(--mdx-teal); }
.session-page-hero__rule,
.program-page-hero__rule,
.abstract-page-hero__rule,
.brochure-page-hero__rule {
  width: 120px;
  height: 2px;
  background: rgba(126,224,211,.35);
  margin: 14px auto 18px;
  position: relative;
}
.session-page-hero__pulse,
.program-page-hero__pulse,
.abstract-page-hero__pulse,
.brochure-page-hero__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M0 7h4l3-5 4 10 3-8 3 8 4-10 3 5h4' fill='none' stroke='%2327a897' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.session-page-hero__lead,
.program-page-hero__lead,
.abstract-page-hero__lead,
.brochure-page-hero__lead {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  font-size: 1.02rem;
}
.program-page-body {
  max-width: 1180px;
  margin: 24px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 16px 8px;
}
.program-page-body > .contentCard {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 28, 46, 0.12);
  padding: 32px 28px !important;
  margin-bottom: 24px;
  border: 1px solid rgba(27, 65, 111, 0.06);
}
.session-shell {
  max-width: 1180px;
  margin: 16px auto 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 28, 46, 0.12);
  padding: 20px 22px 28px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(27, 65, 111, 0.06);
  height: calc(100vh - 180px);
  max-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}
.session-shell > .row {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.session-shell > .row > [class*="col-"] {
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  align-self: stretch;
  display: flex !important;
  flex-direction: column !important;
}
.session-page .session-page-hero.conf-page-hero--home,
.session-page .session-page-hero--bg {
  /* Must fit kicker + title + lead + DATE/MODE; short heights clip with overflow:hidden */
  min-height: 520px;
  padding: 56px 0 80px;
  height: auto;
  box-sizing: border-box;
}
.session-page .conf-page-hero--home .hero-facts {
  margin-bottom: 8px;
  position: relative;
  z-index: 3;
}
/* Session / Program / Register: banner art already has centered title — image only */
.session-page-hero.conf-page-hero--banner-only,
.session-page .session-page-hero.conf-page-hero--banner-only,
.program-page-hero.conf-page-hero--banner-only,
.program-page .program-page-hero.conf-page-hero--banner-only,
.register-page-hero.conf-page-hero--banner-only,
.register-page .register-page-hero.conf-page-hero--banner-only {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 21 / 9;
  max-height: min(460px, 48vw);
  padding: 0 !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.session-page-hero.conf-page-hero--banner-only::before,
.session-page .session-page-hero.conf-page-hero--banner-only::before,
.program-page-hero.conf-page-hero--banner-only::before,
.program-page .program-page-hero.conf-page-hero--banner-only::before,
.register-page-hero.conf-page-hero--banner-only::before {
  display: none !important;
}
.session-page-hero.conf-page-hero--banner-only .heroContent,
.session-page-hero.conf-page-hero--banner-only .conf-page-hero__content,
.session-page-hero.conf-page-hero--banner-only .hero-facts,
.program-page-hero.conf-page-hero--banner-only .heroContent,
.program-page-hero.conf-page-hero--banner-only .conf-page-hero__content,
.program-page-hero.conf-page-hero--banner-only .hero-facts,
.register-page-hero.conf-page-hero--banner-only .heroContent,
.register-page-hero.conf-page-hero--banner-only .hero-facts {
  display: none !important;
}
.session-cat-title {
  color: var(--mdx-teal);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.session-cat-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.session-cat-link {
  display: block;
  padding: 8px 10px 8px 12px;
  border-radius: 0;
  color: var(--mdx-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .86rem;
  line-height: 1.3;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #e8eef4;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.session-cat-link:last-child {
  border-bottom: none;
}
.session-cat-link:hover,
.session-cat-link.active {
  background: rgba(39,168,151,.1);
  color: var(--mdx-teal);
  border-left-color: var(--mdx-teal);
}
.session-sidebar {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 8px;
  padding-bottom: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
/* Must beat Bootstrap col + earlier overflow:hidden so the last cards can scroll into view */
.session-shell > .row > .session-cards-col,
.session-shell .session-cards-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-right: 6px;
  padding-bottom: 56px !important;
  scroll-padding-bottom: 56px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.session-cards-col > .session-detail-card {
  flex-shrink: 0;
}
.session-cards-col > .session-detail-card:last-child {
  margin-bottom: 24px;
}
.session-detail-card {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(27, 65, 111, 0.07);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 28, 46, 0.05);
  scroll-margin-top: 8px;
  transition: box-shadow .25s ease, transform .25s ease;
  flex-shrink: 0;
}
.session-detail-card:hover {
  box-shadow: 0 12px 28px rgba(15, 28, 46, 0.09);
  transform: translateY(-1px);
}
.session-detail-media {
  border-radius: 10px;
  overflow: hidden;
  min-height: 110px;
}
.session-detail-card img,
.session-detail-placeholder {
  width: 100%;
  height: 100%;
  min-height: 110px;
  max-height: 130px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.session-detail-placeholder {
  background: linear-gradient(145deg, #12324a, #1e8a7a);
}
.session-detail-card h3 {
  color: var(--mdx-teal);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.session-detail-card .desc {
  font-size: .88rem;
  line-height: 1.45;
  margin-bottom: 6px;
  color: var(--mdx-muted);
}
.session-detail-card .desc p:last-child { margin-bottom: 0; }
.session-detail-card .desc ul {
  padding-left: 1.1rem;
  margin-top: .6rem;
}
.session-detail-card .desc li::marker {
  color: var(--mdx-teal);
}
.session-sub-title {
  font-size: .88rem;
  font-weight: 800;
  color: var(--mdx-teal);
  margin: 14px 0 8px;
}
.session-sub-inline {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--mdx-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.session-sub-inline span {
  display: inline;
}
.session-sub-inline span + span::before {
  content: "•";
  color: var(--mdx-teal);
  font-weight: 800;
  margin: 0 10px;
}

/* ---- PROGRAM speakers grid ---- */
.section-kicker {
  color: var(--mdx-teal);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.title-underline--light {
  background: var(--mdx-teal);
  margin: 12px auto 18px;
}

/* ---- PROGRAM speakers grid ---- */
.program-speaker-card {
  background: #fff;
  border: 1px solid rgba(27, 65, 111, 0.08);
  border-radius: 18px;
  padding: 0 0 20px;
  text-align: center;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.06);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
  opacity: 0;
  transform: translateY(24px);
}
.program-speaker-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.program-speaker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(15, 28, 46, 0.12);
  border-color: rgba(39, 168, 151, 0.3);
}
.program-speaker-card .avatar {
  width: 100%;
  height: 180px;
  border-radius: 0;
  margin: 0 0 14px;
  background-size: cover;
  background-position: center top;
  transition: transform .45s ease;
}
.program-speaker-card:hover .avatar {
  transform: scale(1.05);
}
.program-speaker-card .name {
  color: var(--mdx-navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0 12px;
  min-height: 2.5em;
}
.program-speaker-card .org {
  color: var(--mdx-muted);
  font-size: .82rem;
  margin: 6px 12px 10px;
  min-height: 2.2em;
}
.program-speaker-card .line {
  width: 42px;
  height: 2px;
  background: var(--mdx-teal);
  margin: 0 auto 4px;
}

@media (max-width: 767.98px) {
  #speakers .speakerContainer {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  #speakers .speakerContainer > [class*="col-"] {
    flex: 0 0 72%;
    max-width: 72%;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
  }
}

.program-download-section {
  position: relative;
  padding: 8px 4px 4px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(39,168,151,.08), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(27,65,111,.07), transparent 30%),
    linear-gradient(180deg, #f7fafb 0%, #eef5f4 100%);
}
.program-download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background-image:
    linear-gradient(30deg, rgba(39,168,151,.05) 12%, transparent 12.5%, transparent 87%, rgba(39,168,151,.05) 87.5%),
    linear-gradient(150deg, rgba(27,65,111,.04) 12%, transparent 12.5%, transparent 87%, rgba(27,65,111,.04) 87.5%);
  background-size: 42px 74px;
  opacity: .55;
  pointer-events: none;
}
.program-download-head,
.program-download-wrap,
.trust-note {
  position: relative;
  z-index: 1;
}
.program-download-head {
  margin-bottom: 22px;
}
.program-download-sub {
  color: #5b6b7c;
  margin: 8px auto 0;
  max-width: 560px;
  font-size: .95rem;
}
.program-download-wrap {
  display: grid;
  grid-template-columns: .95fr 1.15fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 28, 46, 0.12);
  background: #fff;
  border: 1px solid rgba(27, 65, 111, 0.06);
}
.program-download-left {
  background:
    radial-gradient(circle at 70% 20%, rgba(126,224,211,.18), transparent 42%),
    linear-gradient(165deg, #176f64 0%, #1a6e7a 48%, #14385f 100%);
  color: #fff;
  padding: 40px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  min-height: 420px;
}
.program-download-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  pointer-events: none;
}
.pdf-doc-card {
  position: relative;
  z-index: 1;
  width: 168px;
  height: 210px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.pdf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-weight: 800;
  font-size: .68rem;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.pdf-acrobat {
  width: 54px;
  height: 54px;
  margin: 42px auto 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f04538, #c62828);
  position: relative;
  box-shadow: 0 8px 16px rgba(198,40,40,.35);
}
.pdf-acrobat::before {
  content: "";
  position: absolute;
  inset: 10px 8px 10px 18px;
  border: 3px solid #fff;
  border-radius: 40% 40% 42% 42%;
  transform: rotate(-18deg);
}
.pdf-doc-title {
  color: #0f1c2e;
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.35;
  margin-top: auto;
}
.program-download-left-copy {
  position: relative;
  z-index: 1;
  opacity: .95;
  margin: 22px 0 18px;
  line-height: 1.6;
  font-size: .92rem;
  max-width: 260px;
}
.download-circle {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(39,168,151,.95);
  border: 2px solid rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.program-download-right {
  padding: 34px 32px 30px;
  background: #fff;
}
.pd-field {
  margin-bottom: 16px;
}
.pd-field .form-label {
  font-weight: 700;
  color: #0f1c2e;
  font-size: .9rem;
  margin-bottom: 6px;
}
.pd-field .req {
  color: #e74c3c;
}
.pd-input {
  position: relative;
}
.pd-input > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mdx-teal);
  font-size: .9rem;
  z-index: 2;
}
.pd-input .form-control,
.pd-input .form-select {
  padding-left: 42px;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #d7e1ea;
  background: #fff;
  box-shadow: none;
}
.pd-input .form-control:focus,
.pd-input .form-select:focus {
  border-color: rgba(39,168,151,.55);
  box-shadow: 0 0 0 .2rem rgba(39,168,151,.12);
}
.pd-submit-btn {
  width: 100%;
  margin-top: 8px;
  border: none;
  border-radius: 12px;
  min-height: 50px;
  background: linear-gradient(135deg, #27a897, #1f8f81);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(39,168,151,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pd-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(39,168,151,.35);
  color: #fff;
}
.trust-note {
  color: #6b7c8c;
  font-size: .86rem;
  text-align: center;
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.trust-note i {
  color: var(--mdx-teal);
}

/* ---- FOOTER (doc format) ---- */
.footer.mdx-footer {
  background: linear-gradient(160deg, #06101c 0%, #0f1c2e 55%, #123038 100%) !important;
  color: #fff;
  margin: 0 !important;
  padding: 56px 28px 0 !important;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--mdx-teal);
}
.footer.mdx-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(78,205,196,.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
  pointer-events: none;
}
.footer.mdx-footer > * { position: relative; z-index: 1; }
.footer.mdx-footer .footer-main {
  padding: 0 0 12px;
}
.footer-brand-line {
  width: 42px;
  height: 2px;
  background: var(--mdx-teal);
  margin: 0 0 14px;
}
.footer-tagline {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  line-height: 1.6;
}
.footer-title {
  color: var(--mdx-teal) !important;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--mdx-teal);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,.88) !important;
  text-decoration: none;
  font-size: .9rem;
}
.footer-links a:hover { color: var(--mdx-teal) !important; }
.footer-links a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-right: 2px solid var(--mdx-teal);
  border-bottom: 2px solid var(--mdx-teal);
  transform: rotate(-45deg);
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}
.footer-contact a {
  color: rgba(255,255,255,.9) !important;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--mdx-teal) !important; }
.footer-icon {
  color: var(--mdx-teal);
  font-weight: 700;
}
.footer-divider {
  border-color: rgba(255,255,255,.14);
  margin: 18px 0;
}
.footer.mdx-footer .footer-bottom,
.footer-bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  margin: 0 !important;
  padding: 18px 4px 22px !important;
  gap: 12px;
  color: #fff;
}
.footer-motto {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
#newsletterForm .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
#newsletterForm .form-control::placeholder { color: rgba(255,255,255,.55); }
#newsletterForm .btn {
  background: var(--mdx-teal) !important;
  border: none !important;
  font-weight: 700;
}

/* Register form polish */
.form-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdx-shadow);
  padding: 28px !important;
  border: 1px solid rgba(27,65,111,.06);
}
.form-title {
  color: var(--mdx-navy) !important;
  font-weight: 800 !important;
  text-align: center;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .session-detail-card { grid-template-columns: 1fr; }
  .session-shell { margin: 12px 0 32px; padding: 24px 16px 32px; max-width: 100%; border-radius: 0; height: auto !important; max-height: none !important; overflow: visible; }
  .session-shell > .row,
  .session-shell > .row > [class*="col-"] {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .session-shell > .row > .session-cards-col,
  .session-shell .session-cards-col {
    max-height: min(70vh, 640px) !important;
    height: auto !important;
    padding-bottom: 64px !important;
    scroll-padding-bottom: 64px;
    overflow-y: auto !important;
  }
  .session-page-hero,
  .program-page-hero,
  .register-page-hero,
  .abstract-page-hero,
  .brochure-page-hero,
  .venue-page-hero,
  .conf-page-hero--bg,
  .session-page-hero--bg,
  .program-page-hero--bg,
  .register-page-hero--bg,
  .abstract-page-hero--bg,
  .brochure-page-hero--bg,
  .venue-page-hero--bg,
  .conf-page-hero--home { padding: 44px 0 56px; min-height: 420px; }
  .session-sidebar { position: static; max-height: none; margin-bottom: 8px; }
  .program-page-body,
  .venue-page-body { margin: 16px 0 0; padding: 0 16px 8px; max-width: 100%; }
  .program-page-body > .contentCard,
  .venue-page-body > .contentCard,
  #register.contentCard,
  #abstract.contentCard,
  #brochure.contentCard,
  #broucher.contentCard {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }
  #abstract.contentCard {
    max-height: none;
  }
  .abstract-page-scroll {
    max-height: min(70vh, 640px);
  }
  .program-download-wrap { flex-direction: column; align-items: stretch; }
  .program-download-wrap .btn { width: 100%; }
}

/* ---- Toast notifications ---- */
.medex-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: min(92vw, 520px);
  max-width: min(92vw, 520px);
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 28, 46, 0.22);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.medex-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.medex-toast--hidden {
  display: none;
}

.medex-toast--success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.medex-toast--warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.medex-toast--info,
.medex-toast--danger {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.medex-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.medex-toast__text {
  line-height: 1.45;
  text-align: center;
  flex: 1;
}

/* ---- Welcome two-column (mockup; no WELCOME eyebrow / no solo override) ---- */
.welcome-layout-grid.welcome-layout-grid--solo {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .85fr);
  max-width: none;
  margin: 0;
}
.welcome-layout-grid--solo .welcome-copy {
  text-align: left;
}
.welcome-layout-grid--solo .welcome-rule {
  margin-left: 0;
  margin-right: 0;
}
.welcome-layout-grid--solo .welcome-copy-body p {
  text-align: justify;
}
@media (max-width: 991.98px) {
  .welcome-layout-grid.welcome-layout-grid--solo {
    grid-template-columns: 1fr;
  }
}

/* ---- Hero gradient CTA ---- */
.homeHero .heroBtn.heroBtn--primary,
.conf-page-hero--home .heroBtn.heroBtn--primary {
  background: linear-gradient(135deg, #27a897, #1a6fd4) !important;
}
.homeHero .heroBtn.heroBtn--ghost,
.conf-page-hero--home .heroBtn.heroBtn--ghost {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: none !important;
}

/* ---- OCM designation / country ---- */
.ocm-card .designation {
  display: block;
  color: var(--mdx-teal);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 4px;
}
.ocm-card .ocm-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mdx-teal);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.ocm-card .ocm-country i { font-size: .75rem; }
#ocm .ocm-subtitle {
  color: var(--mdx-muted);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ---- Register page hero (legacy fallback; home-style uses .conf-page-hero--home) ---- */
.register-page-hero.conf-page-hero--home,
.register-page-hero.register-page-hero--bg.conf-page-hero--home,
.register-page-hero--bg.conf-page-hero--home {
  padding: 56px 0 72px;
  text-align: left;
  min-height: 520px;
  height: auto;
  box-sizing: border-box;
  /* Keep photo from inline style — never reset with background shorthand */
  background-color: #06101c;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.register-page-hero.conf-page-hero--home::before,
.register-page-hero--bg.conf-page-hero--home::before {
  background-image: none;
  background: linear-gradient(95deg,
    rgba(5,12,24,.92) 0%,
    rgba(5,12,24,.82) 28%,
    rgba(5,12,24,.45) 52%,
    rgba(5,12,24,.18) 78%,
    rgba(5,12,24,.08) 100%);
  opacity: 1;
  z-index: 2;
}
/* Gradient fallback only when no photo (--bg / --home absent) */
.register-page-hero:not(.register-page-hero--bg):not(.conf-page-hero--home) {
  background:
    radial-gradient(circle at 85% 50%, rgba(39,168,151,.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(59,130,246,.12), transparent 40%),
    linear-gradient(135deg, #06101c 0%, #0f1c2e 45%, #123038 100%);
  color: #fff;
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.conf-page-hero--home .hero-actions,
.register-page-hero .hero-actions,
.program-page-hero .hero-actions,
.session-page-hero .hero-actions,
.abstract-page-hero .hero-actions,
.brochure-page-hero .hero-actions {
  display: none !important;
}
/* Guard all photo heroes against tiling if any shorthand resets repeat */
.conf-page-hero--bg,
.session-page-hero--bg,
.program-page-hero--bg,
.register-page-hero--bg,
.abstract-page-hero--bg,
.brochure-page-hero--bg,
.venue-page-hero--bg,
.conf-page-hero--home {
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
.register-page-hero:not(.conf-page-hero--home)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(126,224,211,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}
.register-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.register-page-hero__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ee0d3;
  margin-bottom: 10px;
}
.register-page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
}
.register-page-hero__subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--mdx-teal);
  line-height: 1.35;
  max-width: 720px;
}
.register-page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.register-page-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(126,224,211,.22);
  border-radius: 999px;
  padding: 8px 16px;
}
.register-page-hero__meta-item i {
  color: #7ee0d3;
  font-size: .95rem;
}
.register-page-hero--bg {
  text-align: left;
}
.register-page-hero--bg .register-page-hero__inner {
  width: 100%;
}

/* ---- Venue page ---- */
.venue-page-body {
  max-width: 1180px;
  margin: -48px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 16px 48px;
}
#register.contentCard {
  max-width: 1180px;
  margin: 24px auto 48px;
  position: relative;
  z-index: 2;
}
#abstract.contentCard,
#brochure.contentCard,
#broucher.contentCard {
  max-width: 1180px;
  margin: -40px auto 24px;
  position: relative;
  z-index: 2;
}
.abstract-page .abstract-page-hero.conf-page-hero--home,
.abstract-page .abstract-page-hero--bg {
  min-height: 520px;
  padding: 56px 0 80px;
  height: auto;
  box-sizing: border-box;
}
#abstract.contentCard {
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 22px !important;
}
.abstract-page-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.venue-page-body > .contentCard,
#register.contentCard,
#abstract.contentCard,
#brochure.contentCard,
#broucher.contentCard {
  border-radius: 20px;
  box-shadow: var(--mdx-shadow);
  padding: 32px 28px !important;
  margin-bottom: 24px;
  border: 1px solid rgba(27, 65, 111, 0.06);
  background: #fff !important;
}
.venue-page-hero h1,
.conf-page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.venue-page-hero h1 span,
.conf-page-hero h1 span { color: var(--mdx-teal); }
.venue-page-hero__eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ee0d3;
  margin-bottom: 10px;
}
.venue-page-hero__lead {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  font-size: 1.02rem;
}
.cityImages {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* ---- Register page (doc image3) ---- */
.register-page { max-width: 1180px; margin: 0 auto; padding-top: 8px; }
.register-section-title {
  color: var(--mdx-navy);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(39,168,151,.2);
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.register-main .form-wrapper { margin-bottom: 24px; }
.register-currency-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}
.register-currency-btn {
  border: 1px solid #d7e1ea;
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--mdx-navy);
  cursor: pointer;
}
.register-currency-btn.is-active {
  background: var(--mdx-teal);
  border-color: var(--mdx-teal);
  color: #fff;
}
.register-pricing-wrap .table-bordered {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.register-order-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdx-shadow);
  padding: 22px;
  border: 1px solid rgba(27,65,111,.08);
  position: sticky;
  top: 90px;
}
.register-order-card h4 {
  font-weight: 800;
  color: var(--mdx-navy);
  margin-bottom: 14px;
}
.register-order-table {
  width: 100%;
  font-size: .85rem;
  margin-bottom: 12px;
}
.register-order-table th, .register-order-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #eef2f6;
}
.register-order-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mdx-navy);
  margin: 12px 0 16px;
}
.register-notes {
  background: #f4faf9;
  border-radius: 12px;
  padding: 16px;
  font-size: .85rem;
  color: var(--mdx-muted);
  margin-top: 16px;
}
.register-notes li { margin-bottom: 6px; }
.register-notes li i { color: var(--mdx-teal); margin-right: 6px; }
.register-faq { margin-top: 32px; }
.register-faq .accordion-item {
  border: 1px solid #e6eef4;
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.register-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: var(--mdx-navy);
  color: #fff;
  padding: 24px 20px;
  border-radius: 16px;
  margin-top: 28px;
}
.register-trust-item {
  text-align: center;
  font-size: .82rem;
}
.register-trust-item i {
  display: block;
  font-size: 1.4rem;
  color: var(--mdx-teal);
  margin-bottom: 8px;
}
.register-trust-item strong {
  display: block;
  font-size: .88rem;
  margin-bottom: 4px;
}
.register-pay-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #27a897, #1f8f81);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 12px 26px rgba(39,168,151,.28);
}
.register-pay-btn:disabled { opacity: .65; }

/* ---- Abstract page (doc image7) ---- */
.abstract-page {
  width: 100%;
  max-width: 100%;
  background: var(--mdx-bg);
  padding-bottom: 24px;
}
.abstract-page-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}
.abstract-guidelines {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdx-shadow);
  padding: 20px;
  border: 1px solid rgba(27,65,111,.06);
}
.abstract-guidelines h3 {
  font-weight: 800;
  color: var(--mdx-navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.abstract-guidelines ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 14px;
}
.abstract-guidelines li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--mdx-muted);
}
.abstract-guidelines li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--mdx-teal);
  font-weight: 800;
}
.abstract-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mdx-shadow);
  padding: 20px;
  border: 1px solid rgba(27,65,111,.06);
}
.abstract-form-card .form-title {
  text-align: left;
  margin-bottom: 6px;
}
.abstract-form-note {
  color: var(--mdx-muted);
  font-size: .88rem;
  margin-bottom: 20px;
}
.abstract-dropzone {
  border: 2px dashed #c5d5e3;
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  background: #f8fbfd;
  margin-bottom: 16px;
  cursor: pointer;
}
.abstract-dropzone:hover { border-color: var(--mdx-teal); }
.abstract-dropzone input[type=file] {
  max-width: 100%;
  margin-top: 10px;
}
.abstract-info-box {
  background: #eaf6ff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .85rem;
  color: var(--mdx-blue);
  margin-bottom: 16px;
}
.abstract-submit-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #27a897, #1f8f81);
  color: #fff;
  font-weight: 800;
}

/* ---- Brochure page (doc image20) ---- */
.brochure-page-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--mdx-shadow);
  background: #fff;
}
.brochure-preview {
  background: linear-gradient(165deg, #176f64, #14385f);
  color: #fff;
  padding: 36px 28px;
}
.brochure-preview h3 { font-weight: 800; margin-bottom: 18px; }
.brochure-preview ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.brochure-preview li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: .92rem;
}
.brochure-preview li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #7ee0d3;
  font-weight: 800;
}
.brochure-callout {
  background: rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px;
  font-size: .88rem;
  margin-top: 16px;
}
.brochure-form-panel { padding: 32px 28px; }
.brochure-form-panel .form-title { text-align: left; }
.brochure-privacy {
  font-size: .8rem;
  color: var(--mdx-muted);
  margin-top: 12px;
}
.brochure-privacy i { color: var(--mdx-teal); }

/* ---- Hero DATE/MODE visibility: never clip fact chips on any conference page ---- */
.conf-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
.session-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
.program-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
.register-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
.abstract-page-hero.conf-page-hero--home,
.brochure-page-hero.conf-page-hero--home {
  min-height: 520px !important;
  height: auto !important;
  padding: 56px 0 80px !important;
  box-sizing: border-box;
  align-items: center;
}
.session-page .session-page-hero.conf-page-hero--home,
.abstract-page .abstract-page-hero.conf-page-hero--home {
  min-height: 520px !important;
}
.conf-page-hero--home .hero-fact-value,
.homeHero .hero-fact-value {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Session / Program / Register: banner image only (title baked into art) */
.session-page-hero.conf-page-hero--banner-only,
.session-page .session-page-hero.conf-page-hero--banner-only,
.program-page-hero.conf-page-hero--banner-only,
.program-page .program-page-hero.conf-page-hero--banner-only,
.register-page-hero.conf-page-hero--banner-only,
.conf-page-hero.conf-page-hero--banner-only {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 21 / 9;
  max-height: min(460px, 48vw);
  padding: 0 !important;
  background-position: center center !important;
  background-size: cover !important;
}
.session-page-hero.conf-page-hero--banner-only::before,
.program-page-hero.conf-page-hero--banner-only::before,
.register-page-hero.conf-page-hero--banner-only::before,
.conf-page-hero.conf-page-hero--banner-only::before {
  display: none !important;
}

@media (max-width: 900px) {
  .conf-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
  .session-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
  .program-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
  .register-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
  .abstract-page-hero.conf-page-hero--home,
  .brochure-page-hero.conf-page-hero--home,
  .session-page .session-page-hero.conf-page-hero--home:not(.conf-page-hero--banner-only),
  .abstract-page .abstract-page-hero.conf-page-hero--home {
    min-height: 420px !important;
    padding: 48px 0 64px !important;
  }
  .session-page-hero.conf-page-hero--banner-only,
  .session-page .session-page-hero.conf-page-hero--banner-only,
  .program-page-hero.conf-page-hero--banner-only,
  .program-page .program-page-hero.conf-page-hero--banner-only,
  .register-page-hero.conf-page-hero--banner-only,
  .conf-page-hero.conf-page-hero--banner-only {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
    max-height: 320px;
    padding: 0 !important;
  }
  .register-grid { grid-template-columns: 1fr; }
  .register-order-card { position: static; }
  .register-trust-bar { grid-template-columns: 1fr 1fr; }
  .abstract-page-grid,
  .brochure-page-grid { grid-template-columns: 1fr; }
}
