/* =========================================================
   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;
}
.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 {
  background-position: 70% center;
  justify-content: flex-start;
}
.homeHero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(100deg, rgba(8,18,32,.78) 0%, rgba(8,18,32,.45) 55%, rgba(8,18,32,.25) 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 {
  color: #7ee0d3;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.homeHero .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 6px;
}
.homeHero .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 {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7ee0d3;
  font-weight: 700;
  margin-bottom: 2px;
}
.homeHero .hero-fact-value {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}
.homeHero .f40 {
  font-size: clamp(2rem, 4.2vw, 3.2rem) !important;
  font-weight: 800;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
.homeHero .green { color: var(--mdx-teal) !important; }
.homeHero .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 {
  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,
.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;
}
.homeHero .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: 24px;
  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);
}
.welcome-eyebrow {
  margin: 0 0 10px;
  color: var(--mdx-teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.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;
}
.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: rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: clamp(24px, 2.5vw, 36px) clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(39, 168, 151, 0.12);
  box-shadow: 0 14px 40px rgba(39, 168, 151, 0.08);
  backdrop-filter: blur(6px);
}
.welcome-highlights h3 {
  margin: 0 0 20px;
  color: var(--mdx-teal);
  font-size: .92rem;
  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: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(39, 168, 151, 0.12);
}
.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: 0 !important;
  font-size: 0 !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 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 ---- */
.partner-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27,65,111,.08);
  padding: 18px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27,65,111,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(27,65,111,.12);
}
.partner-card .SponserImg {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

/* ---- SESSION PAGE (doc format) ---- */
.session-page-hero {
  background: linear-gradient(135deg, #0b1a2b 0%, #12324a 50%, #0f3d3a 100%);
  padding: 120px 24px 100px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.session-page-hero--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,18,32,.78), rgba(8,18,32,.62));
  z-index: 0;
}
.session-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(126,224,211,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}
.session-page-hero__inner { position: relative; z-index: 1; }
.session-eyebrow {
  color: #7ee0d3;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.session-page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  margin: 0 0 10px;
}
.session-page-hero h1 span { color: var(--mdx-teal); }
.title-underline--light {
  background: var(--mdx-teal);
  margin: 12px auto 18px;
}
.session-page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.section-kicker {
  color: var(--mdx-teal);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.session-shell {
  max-width: 1180px;
  margin: 28px auto 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--mdx-shadow);
  padding: 28px;
  position: relative;
  z-index: 2;
}
.session-cat-title {
  color: var(--mdx-teal);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.session-cat-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--mdx-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  border-left: 3px solid transparent;
}
.session-cat-link:hover,
.session-cat-link.active {
  background: rgba(39,168,151,.12);
  color: var(--mdx-teal);
  border-left-color: var(--mdx-teal);
}
.session-sidebar {
  position: sticky;
  top: 90px;
}
.session-detail-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  background: #f8fafb;
  scroll-margin-top: 96px;
}
.session-detail-card img,
.session-detail-placeholder {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}
.session-detail-placeholder {
  background: linear-gradient(135deg, #12324a, #1e8a7a);
}
.session-detail-card h3 {
  color: var(--mdx-teal);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.session-detail-card .desc {
  color: var(--mdx-muted);
  font-size: .92rem;
  line-height: 1.65;
}
.session-detail-card .desc ul {
  padding-left: 1.1rem;
  margin-top: .6rem;
}
.session-detail-card .desc li::marker {
  color: var(--mdx-teal);
}

/* ---- 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; }
  .program-download-wrap { grid-template-columns: 1fr; }
  .program-download-left { min-height: 340px; padding: 32px 22px; }
  .program-download-right { padding: 24px 18px; }
  .homeHero .heroContent { padding: 0 20px; }
  .session-shell { margin: 20px 12px 36px; }
}

/* ---- 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;
}
