:root {
  --p4-bg: #f7f8fc;
  --p4-bg-soft: #eef2f8;
  --p4-ink: #0b1730;
  --p4-ink-soft: #3d4f6a;
  --p4-line: rgba(11, 23, 48, 0.14);
  --p4-blue: #2563eb;
  --p4-green: #2563eb;
}

body.pms4-theme {
  font-family: 'DM Sans', sans-serif;
  background: radial-gradient(900px 460px at -5% -10%, rgba(37, 99, 235, 0.1), transparent 60%), radial-gradient(780px 440px at 105% -10%, rgba(16, 185, 129, 0.09), transparent 58%), linear-gradient(180deg, #f7f8fc 0%, #f2f5fa 55%, #eef2f8 100%);
  color: var(--p4-ink);
}

body.pms4-theme h1,
body.pms4-theme h2,
body.pms4-theme h3,
body.pms4-theme h4,
body.pms4-theme .brand-title,
body.pms4-theme .mc-lockup__wordmark {
  font-family: 'Playfair Display', serif;
  color: var(--p4-ink);
}

body.pms4-theme .site-header {
  background: rgba(247, 248, 252, 0.88) !important;
  border-bottom: 1px solid var(--p4-line) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.pms4-theme .nav-shell { min-height: 80px; }

body.pms4-theme .brand img,
body.pms4-theme .mc-lockup__mark {
  width: 34px;
  height: 34px;
  border: 0 !important;
  background: transparent !important;
  filter: none !important;
}

body.pms4-theme .brand-sub,
body.pms4-theme .mc-lockup__tag {
  color: #6b7a93 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.pms4-theme .main-nav a {
  color: rgba(11, 23, 48, 0.78) !important;
  background: transparent !important;
  border-color: transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
}

body.pms4-theme .main-nav a:hover,
body.pms4-theme .main-nav a[aria-current='page'] {
  color: var(--p4-blue) !important;
  background: rgba(37, 99, 235, 0.09) !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
}

body.pms4-theme .main-nav a.nav-utility {
  color: var(--p4-blue) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

body.pms4-theme.mc-mode .site-header.mc-nav .nav-utility,
body.pms4-theme.home-page .site-header.mc-nav .nav-utility {
  color: var(--p4-blue) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12) !important;
}

body.pms4-theme.mc-mode .site-header.mc-nav .nav-utility:hover,
body.pms4-theme.home-page .site-header.mc-nav .nav-utility:hover,
body.pms4-theme.mc-mode .site-header.mc-nav .nav-utility[aria-current='page'],
body.pms4-theme.home-page .site-header.mc-nav .nav-utility[aria-current='page'] {
  color: #1d4ed8 !important;
  background: #eff6ff !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
}

body.pms4-theme .nav-cta.btn,
body.pms4-theme .btn.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25), 0 12px 28px rgba(37, 99, 235, 0.12);
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease;
}

body.pms4-theme .nav-cta.btn:hover,
body.pms4-theme .btn.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  border-color: transparent !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3), 0 16px 36px rgba(37, 99, 235, 0.18);
}

body.pms4-theme .btn.btn-secondary {
  background: #fff !important;
  color: var(--p4-ink) !important;
  border: 1px solid rgba(11, 23, 48, 0.18) !important;
  box-shadow: 0 2px 8px rgba(11, 23, 48, 0.04);
  transition: all 0.25s ease;
}

body.pms4-theme .btn.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.3) !important;
  color: var(--p4-blue) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

body.pms4-theme main { padding-top: 86px; }

body.pms4-theme .hero-mini {
  background: linear-gradient(180deg, #f7f8fc 0%, #eef2f8 100%) !important;
  border-bottom: 1px solid var(--p4-line) !important;
  padding: 9.8rem 0 4.5rem !important;
}

body.pms4-theme .hero-mini h1,
body.pms4-theme .hero-mini h2,
body.pms4-theme .hero-mini h3,
body.pms4-theme .hero-mini h4,
body.pms4-theme .hero-mini .section-header h2 {
  color: var(--p4-ink) !important;
}

body.pms4-theme .hero-mini p,
body.pms4-theme .hero-mini li,
body.pms4-theme .hero-mini .section-header p,
body.pms4-theme .hero-mini .section-intro {
  color: var(--p4-ink-soft) !important;
}

body.pms4-theme .hero-mini .section-label,
body.pms4-theme .section-label {
  color: var(--p4-blue) !important;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.12em;
}

body.pms4-theme p,
body.pms4-theme li,
body.pms4-theme .section-header p,
body.pms4-theme .section-intro {
  color: var(--p4-ink-soft);
}

body.pms4-theme .section {
  background: transparent;
  position: relative;
}

body.pms4-theme .section-muted,
body.pms4-theme .ticker-strip {
  background: var(--p4-bg-soft) !important;
  border-color: rgba(11, 23, 48, 0.08) !important;
}

body.pms4-theme .ticker-strip {
  padding: 1rem 0;
}

body.pms4-theme .ticker-pill {
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--p4-ink-soft);
}

body.pms4-theme .glass-card,
body.pms4-theme .glass-card-static,
body.pms4-theme .feature-card,
body.pms4-theme .pricing-card,
body.pms4-theme .faq-item,
body.pms4-theme .cohort-panel,
body.pms4-theme .auth-shell .glass-card-static {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(11, 23, 48, 0.1) !important;
  box-shadow: 0 2px 8px rgba(11, 23, 48, 0.04), 0 12px 32px rgba(11, 23, 48, 0.06);
  border-radius: 20px;
}

body.pms4-theme .glass-card:hover {
  border-color: rgba(37, 99, 235, 0.18) !important;
  box-shadow: 0 4px 12px rgba(11, 23, 48, 0.06), 0 20px 48px rgba(11, 23, 48, 0.1) !important;
  transform: translateY(-2px);
}

body.pms4-theme .section.section-dark,
body.pms4-theme .section-dark,
body.pms4-theme .grid-bg {
  background: linear-gradient(180deg, #0b1730 0%, #132547 100%) !important;
  border-color: rgba(191, 219, 254, 0.22) !important;
}

body.pms4-theme .section.section-dark h1,
body.pms4-theme .section.section-dark h2,
body.pms4-theme .section.section-dark h3,
body.pms4-theme .section.section-dark h4 {
  color: #fff !important;
}

body.pms4-theme .section.section-dark p,
body.pms4-theme .section.section-dark li,
body.pms4-theme .section.section-dark .section-intro,
body.pms4-theme .section.section-dark .section-header p {
  color: rgba(235, 243, 255, 0.82) !important;
}

body.pms4-theme .section.section-dark .section-label {
  color: #93c5fd !important;
}

body.pms4-theme .list-clean li::before {
  background: var(--p4-blue);
  opacity: 0.5;
}

body.pms4-theme .section.section-dark .list-clean li::before {
  background: #93c5fd;
  opacity: 0.6;
}

body.pms4-theme .badge,
body.pms4-theme .course-meta .badge,
body.pms4-theme .chip,
body.pms4-theme .status-chip {
  background: rgba(37, 99, 235, 0.09) !important;
  border-color: rgba(37, 99, 235, 0.24) !important;
  color: #1e40af !important;
}

body.pms4-theme input,
body.pms4-theme select,
body.pms4-theme textarea {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(11, 23, 48, 0.22) !important;
  color: var(--p4-ink) !important;
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.pms4-theme input:focus,
body.pms4-theme select:focus,
body.pms4-theme textarea:focus {
  border-color: var(--p4-blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

body.pms4-theme .footer {
  background: linear-gradient(180deg, #0b1730 0%, #091428 100%) !important;
  border-top: 1px solid rgba(191, 219, 254, 0.12) !important;
  padding: 4.5rem 0 2.5rem;
}

body.pms4-theme .footer p,
body.pms4-theme .footer a,
body.pms4-theme .footer-bottom {
  color: rgba(200, 215, 240, 0.7) !important;
}

body.pms4-theme .footer-col h4,
body.pms4-theme .footer-brand span {
  color: #e0eaff !important;
}

body.pms4-theme .footer a:hover {
  color: #93c5fd !important;
}

body.pms4-theme .footer-bottom {
  border-top-color: rgba(191, 219, 254, 0.12) !important;
}

@media (max-width: 1080px) {
  body.pms4-theme .main-nav {
    background: rgba(248, 250, 253, 0.98) !important;
    border: 1px solid rgba(11, 23, 48, 0.16) !important;
  }
}

/* Keep legacy inline dark text readable if rendered in dark sections */
body.pms4-theme .section.section-dark [style*="color:#0f172a"],
body.pms4-theme .section.section-dark [style*="color: #0f172a"] {
  color: #eef4ff !important;
}

/* PMS5 overrides: light gray + blue + navy (no green accents) */
body.pms4-theme {
  --p5-blue: #2563eb;
  --p5-blue-strong: #1d4ed8;
  --p5-navy: #0b1730;
  --p5-gray: #eef2f7;
  --p5-slate: #52627f;
  --mc-green: #2563eb;
  --mc-green-hover: #1d4ed8;
  --v2-green: #2563eb;
  --v2-green-2: #1d4ed8;
  --v2-green-soft: rgba(37, 99, 235, 0.14);
}

body.pms4-theme .section.section-dark .section-label {
  color: #93c5fd !important;
  background: none !important;
  box-shadow: none !important;
}

body.pms4-theme .hero-mc__eyebrow-dot,
body.pms4-theme .hero-mc__marquee-track span[aria-hidden='true'],
body.pms4-theme .v2-image-caption .dot {
  background: var(--p5-blue) !important;
  color: var(--p5-blue) !important;
  box-shadow: none !important;
}

body.pms4-theme .hero.hero-mc.hero-p5 {
  min-height: 100vh;
}

body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg video {
  transform: scaleX(-1);
}

body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.95) 28%,
    rgba(255, 255, 255, 0.86) 42%,
    rgba(255, 255, 255, 0.62) 55%,
    rgba(255, 255, 255, 0.34) 66%,
    rgba(255, 255, 255, 0.14) 76%,
    rgba(255, 255, 255, 0.04) 86%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
}

body.pms4-theme .hero-p5__content {
  max-width: 1200px;
}

body.pms4-theme .hero-p5__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

body.pms4-theme .hero-p5__copy .hero-mc__display,
body.pms4-theme .hero-p5__copy .hero-mc__eyebrow,
body.pms4-theme .hero-p5__copy .hero-mc__sub {
  color: #0b1730 !important;
}

body.pms4-theme .hero-p5__copy .hero-mc__display-em {
  color: #2563eb !important;
  font-style: italic !important;
}

body.pms4-theme .hero-p5__copy .hero-mc__display-em::after {
  display: none !important;
}

body.pms4-theme .hero-p5__copy .hero-mc__display {
  font-family: 'Playfair Display', serif !important;
  font-weight: 500 !important;
  font-size: clamp(2.75rem, 6.2vw, 5.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.012em !important;
  max-width: 18ch !important;
}

body.pms4-theme .hero-p5__copy .hero-mc__eyebrow {
  font-family: 'DM Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

body.pms4-theme .hero-p5__copy .hero-mc__sub {
  font-family: 'DM Sans', sans-serif !important;
  font-size: clamp(1rem, 1.15vw, 1.2rem) !important;
  line-height: 1.58 !important;
  color: #3d4f6a !important;
}

body.pms4-theme .hero-p5__copy .btn-pill--ghost {
  color: #0b1730 !important;
  border-color: rgba(11, 23, 48, 0.3) !important;
  background: rgba(255, 255, 255, 0.62) !important;
}

body.pms4-theme .hero-p5__panel {
  border-radius: 24px;
  border: 1px solid rgba(175, 201, 255, 0.35);
  background: linear-gradient(160deg, rgba(9, 31, 76, 0.96), rgba(16, 47, 108, 0.95));
  color: #e8efff;
  padding: 1.4rem;
  box-shadow: 0 30px 60px rgba(4, 17, 45, 0.45);
  backdrop-filter: blur(10px);
}

/* Home ribbon should match PMS4 behavior */
body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
  background: #2563eb !important;
  border-top: 1px solid rgba(11, 23, 48, 0.18) !important;
  border-bottom: 1px solid rgba(11, 23, 48, 0.18) !important;
  transform: none !important;
  margin: 0 !important;
  width: 100% !important;
  padding: 0.95rem 0 !important;
}

body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track {
  gap: 2rem !important;
  animation-duration: 30s !important;
}

body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span {
  font-family: 'DM Mono', monospace !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span[aria-hidden='true'] {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.78rem !important;
}

body.pms4-theme .hero-p5__panel-label {
  margin: 0 0 0.5rem;
  color: #b7ccff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

body.pms4-theme .hero-p5__panel h3 {
  margin: 0 0 0.6rem;
  color: #fff;
}

body.pms4-theme .hero-p5__panel p {
  margin: 0;
  color: rgba(227, 238, 255, 0.86);
  font-size: 0.96rem;
}

body.pms4-theme .hero-p5__panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

body.pms4-theme .hero-p5__panel-actions a {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.56rem 0.8rem;
  text-align: center;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.pms4-theme .hero-p5__panel-actions a:hover {
  background: rgba(255, 255, 255, 0.16);
}

body.pms4-theme .hero-p5__panel-meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #d6e5ff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

body.pms4-theme .hero-p5__panel-enroll {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 999px;
  padding: 0.74rem 1rem;
  background: var(--p5-blue);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

body.pms4-theme .hero-p5__panel-enroll:hover {
  background: var(--p5-blue-strong);
}

body.pms4-theme .p5-insights {
  background: linear-gradient(180deg, #f4f7fc 0%, #eef3fa 100%) !important;
}

body.pms4-theme .p5-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.pms4-theme .p5-insight-tile {
  border-radius: 20px;
  border: 1px solid rgba(11, 23, 48, 0.12);
  background: #fff;
  padding: 1.15rem;
  box-shadow: 0 12px 26px rgba(11, 23, 48, 0.07);
}

body.pms4-theme .p5-insight-tile h3 {
  margin: 0 0 0.45rem;
  color: #0b1730;
}

body.pms4-theme .p5-insight-tile p {
  margin: 0;
  color: #3d4f6a;
}

body.pms4-theme .p5-circle-stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.pms4-theme .p5-circle {
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(var(--p5-blue) var(--p5-fill), #d6e2f7 var(--p5-fill) 100%);
  padding: 14px;
}

body.pms4-theme .p5-circle__inner {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  background: #fff;
  color: #0b1730;
  border: 1px solid rgba(11, 23, 48, 0.12);
}

body.pms4-theme .p5-circle__inner strong {
  font-size: 1.65rem;
  line-height: 1;
}

body.pms4-theme .p5-circle__inner span {
  margin-top: 0.3rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3d4f6a;
}

/* Instructor media showcase */
body.pms4-theme .p5-instructor-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: stretch;
}

body.pms4-theme .p5-instructor-showcase__video {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(11, 23, 48, 0.14);
  box-shadow: 0 16px 38px rgba(11, 23, 48, 0.08);
  background: #dbe5f6;
  min-height: 340px;
}

body.pms4-theme .p5-instructor-showcase__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.pms4-theme .p5-instructor-showcase__copy {
  border-radius: 20px;
  border: 1px solid rgba(11, 23, 48, 0.14);
  background: #fff;
  box-shadow: 0 16px 38px rgba(11, 23, 48, 0.08);
  padding: 1.25rem;
}

body.pms4-theme .p5-instructor-showcase__copy h2 {
  margin: 0.25rem 0 0.45rem;
}

body.pms4-theme .p5-instructor-showcase__copy p {
  margin: 0;
}

body.pms4-theme .p5-instructor-inline-video {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 23, 48, 0.12);
  background: #dbe5f6;
  min-height: 180px;
}

body.pms4-theme .p5-instructor-inline-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image-over-text hero treatment for subpages */
body.pms4-theme .hero-mini.hero-cover {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  align-items: stretch;
  text-align: left;
}

body.pms4-theme .hero-mini.hero-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.95) brightness(0.95);
  z-index: 0;
}

body.pms4-theme .hero-mini.hero-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8, 20, 48, 0.94) 0%,
      rgba(8, 20, 48, 0.88) 25%,
      rgba(8, 20, 48, 0.68) 50%,
      rgba(8, 20, 48, 0.32) 72%,
      rgba(8, 20, 48, 0.12) 100%),
    linear-gradient(180deg,
      rgba(8, 20, 48, 0.2) 0%,
      rgba(8, 20, 48, 0.0) 40%,
      rgba(8, 20, 48, 0.4) 100%);
  z-index: 1;
}

body.pms4-theme .hero-mini.hero-cover .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 10rem;
  padding-bottom: 4.5rem;
  max-width: 1120px;
}

body.pms4-theme .hero-mini.hero-cover .section-label {
  color: #93c5fd !important;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.14em;
}

body.pms4-theme .hero-mini.hero-cover h1 {
  color: #fff !important;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

body.pms4-theme .hero-mini.hero-cover p {
  color: rgba(210, 225, 255, 0.88) !important;
  max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  margin: 0;
}

body.pms4-theme .hero-mini.hero-cover .hero-actions {
  justify-content: flex-start;
  margin-top: 2rem;
}

body.pms4-theme:not(.home-page) .section {
  padding: 5rem 0 !important;
}

body.pms4-theme:not(.home-page) .section + .section {
  border-top: 1px solid rgba(11, 23, 48, 0.08);
}

body.pms4-theme:not(.home-page) .section .container {
  width: min(1120px, calc(100% - 3rem));
}

body.pms4-theme:not(.home-page) .v2-split {
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

body.pms4-theme:not(.home-page) .v2-image-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Sub-page section headers: left-aligned for premium feel */
body.pms4-theme:not(.home-page) .section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 3rem;
}

body.pms4-theme:not(.home-page) .section-header p {
  margin: 0;
}

/* Dark section CTAs keep centered alignment */
body.pms4-theme:not(.home-page) .section-dark .section-header {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

body.pms4-theme:not(.home-page) .section-dark .section-header p {
  max-width: 480px;
  margin: 0 auto;
}

/* Countdown band */
body.pms4-theme .p5-deadline-band {
  padding-top: 2.8rem !important;
  padding-bottom: 2.8rem !important;
}

body.pms4-theme .p5-deadline-card {
  border: 1px solid rgba(11, 23, 48, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(11, 23, 48, 0.08);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 1.4rem;
}

body.pms4-theme .p5-deadline-card h2 {
  margin: 0.3rem 0 0.4rem;
  color: #0b1730 !important;
}

body.pms4-theme .p5-deadline-card .section-intro {
  margin: 0;
  color: #3d4f6a !important;
}

body.pms4-theme .p5-deadline-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

body.pms4-theme .p5-time-unit {
  border-radius: 14px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  background: rgba(37, 99, 235, 0.08);
  text-align: center;
  padding: 0.76rem 0.5rem 0.62rem;
}

body.pms4-theme .p5-time-unit strong {
  display: block;
  color: #0b1730;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1;
}

body.pms4-theme .p5-time-unit span {
  display: block;
  margin-top: 0.28rem;
  color: #3d4f6a;
  font-family: 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.68rem;
}

/* Fix white-on-white contrast in dark bands with card surfaces */
body.pms4-theme .section.section-dark .glass-card,
body.pms4-theme .section.section-dark .feature-card,
body.pms4-theme .section.section-dark .pricing-card,
body.pms4-theme .section.section-dark .faq-item {
  background: rgba(11, 23, 48, 0.52) !important;
  border: 1px solid rgba(191, 219, 254, 0.24) !important;
}

body.pms4-theme .section.section-dark .glass-card h2,
body.pms4-theme .section.section-dark .glass-card h3,
body.pms4-theme .section.section-dark .glass-card h4,
body.pms4-theme .section.section-dark .glass-card p,
body.pms4-theme .section.section-dark .glass-card li,
body.pms4-theme .section.section-dark .glass-card label,
body.pms4-theme .section.section-dark .glass-card a:not(.btn) {
  color: rgba(235, 243, 255, 0.9) !important;
}

body.pms4-theme .section.section-dark .glass-card .section-label {
  color: #93c5fd !important;
}

/* Sub-page card section labels should be left-aligned by default */
body.pms4-theme .glass-card .section-label,
body.pms4-theme .glass-card-static .section-label {
  text-align: left;
}

body.pms4-theme .glass-card h3 {
  margin-bottom: 0.75rem;
}

/* Accent text utility */
body.pms4-theme .text-accent,
body.pms4-theme .hero-accent {
  color: #93c5fd !important;
}

body.pms4-theme .section:not(.section-dark) .text-accent,
body.pms4-theme .section:not(.section-dark) h4[style*="color:var(--accent)"] {
  color: var(--p4-blue) !important;
}

/* Timeline phase labels */
body.pms4-theme .timeline-step .phase-label {
  color: var(--p4-blue);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-family: 'DM Mono', monospace;
}

/* Lock home typography back to PMS4 style */
body.pms4-theme.home-page .site-header .main-nav a,
body.pms4-theme.home-page .site-header .nav-utility,
body.pms4-theme.home-page .site-header .nav-cta.btn {
  font-family: 'DM Sans', sans-serif !important;
}

/* Home stats strip: navy PMS feel */
body.pms4-theme .stats-bar {
  background: linear-gradient(180deg, #0b1730 0%, #112247 100%) !important;
  border-top: 1px solid rgba(191, 219, 254, 0.25) !important;
  border-bottom: 1px solid rgba(191, 219, 254, 0.25) !important;
}

body.pms4-theme .stats-bar .stat-value {
  color: #ffffff !important;
}

body.pms4-theme .stats-bar .stat-label {
  color: rgba(217, 229, 251, 0.86) !important;
}

/* PMI callout text must remain white on dark image section */
body.pms4-theme .v2-pmi-callout .section-label,
body.pms4-theme .v2-pmi-callout h2,
body.pms4-theme .v2-pmi-callout p {
  color: #ffffff !important;
}

/* Courses comparison section header should be centered */
body.pms4-theme .courses-compare .section-header {
  text-align: center;
  max-width: none;
}

/* Courses comparison table text: dark/blue, not white */
body.pms4-theme .courses-compare .glass-card-static {
  background: #ffffff !important;
  border: 1px solid rgba(11, 23, 48, 0.14) !important;
}

body.pms4-theme .courses-compare .pricing-table th {
  color: #1d4ed8 !important;
  border-bottom-color: rgba(11, 23, 48, 0.14) !important;
}

body.pms4-theme .courses-compare .pricing-table td {
  color: #0b1730 !important;
  border-bottom-color: rgba(11, 23, 48, 0.12) !important;
}

body.pms4-theme .courses-compare .pricing-table td.compare-program,
body.pms4-theme .courses-compare .pricing-table td.compare-price {
  color: #0b1730 !important;
  font-weight: 700;
}

/* Execution Principles should read blue/black, not white */
body.pms4-theme .principles-band {
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%) !important;
}

body.pms4-theme .principles-band .section-label {
  color: #2563eb !important;
}

body.pms4-theme .principles-band .section-header h2,
body.pms4-theme .principles-band .section-header p,
body.pms4-theme .principle-row h3,
body.pms4-theme .principle-row p {
  color: #0b1730 !important;
}

body.pms4-theme .principle-list,
body.pms4-theme .principle-row {
  border-color: rgba(11, 23, 48, 0.16) !important;
}

body.pms4-theme .principle-number {
  color: #2563eb !important;
}

/* Override remaining green accents in base theme */
body.pms4-theme .timeline-step:hover::before {
  border-color: var(--p4-blue);
  background: var(--p4-blue);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
}

body.pms4-theme .instructor-avatar {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.28));
  border-color: rgba(37, 99, 235, 0.35);
}

body.pms4-theme .instructor-role {
  color: var(--p4-blue);
}

body.pms4-theme .status-pill.active {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--p4-blue);
  background: rgba(37, 99, 235, 0.08);
}

body.pms4-theme .kicker {
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.1);
  color: var(--p4-blue);
}

/* Subtle angled section divider for dark-to-light transitions */
body.pms4-theme .section-dark + .section,
body.pms4-theme .section-dark + .section-muted {
  clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 100%);
  margin-top: -1.5rem;
  padding-top: 6rem !important;
}

/* Enhanced glass-card hover with border glow */
body.pms4-theme .glass-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0));
  z-index: -1;
  transition: background 0.4s ease;
  pointer-events: none;
}

body.pms4-theme .glass-card {
  position: relative;
}

body.pms4-theme .glass-card:hover::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
}

/* Reveal animation for sub-pages: fade-in-up */
body.pms4-theme [data-reveal],
body.pms4-theme [data-v2-reveal] {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Blue scrollbar (force override across html/body and nested scroll areas) */
html,
body.pms4-theme,
body.pms4-theme * {
  scrollbar-color: #2563eb #dbe8fb !important;
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body.pms4-theme::-webkit-scrollbar,
body.pms4-theme *::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body.pms4-theme::-webkit-scrollbar-track,
body.pms4-theme *::-webkit-scrollbar-track {
  background: #dbe8fb !important;
}

html::-webkit-scrollbar-thumb,
body.pms4-theme::-webkit-scrollbar-thumb,
body.pms4-theme *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  border-radius: 999px;
  border: 2px solid #dbe8fb;
}

html::-webkit-scrollbar-thumb:hover,
body.pms4-theme::-webkit-scrollbar-thumb:hover,
body.pms4-theme *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%) !important;
}

/* Assistant launcher: blue twinkle style */
body.pms4-theme .chat-fab {
  background: radial-gradient(circle at 30% 25%, #60a5fa 0%, #2563eb 48%, #1d4ed8 100%) !important;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55), 0 12px 30px rgba(29, 78, 216, 0.4) !important;
  animation: p5BlueTwinkle 2.4s ease-in-out infinite;
}

body.pms4-theme .chat-fab:hover {
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0), 0 16px 34px rgba(29, 78, 216, 0.52) !important;
}

body.pms4-theme .chat-fab .sparkle-lg,
body.pms4-theme .chat-fab .sparkle-sm {
  color: #dbeafe;
  filter: drop-shadow(0 0 8px rgba(191, 219, 254, 0.9));
}

@keyframes p5BlueTwinkle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45), 0 12px 30px rgba(29, 78, 216, 0.38);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0), 0 16px 34px rgba(29, 78, 216, 0.52);
  }
}

/* FAQ page styling */
body.pms4-theme.faq-page .faq-item {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(11, 23, 48, 0.1) !important;
  border-radius: 16px;
  padding: 0 !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

body.pms4-theme.faq-page .faq-q {
  background: transparent !important;
  color: var(--p4-ink) !important;
  padding: 1.15rem 1.25rem !important;
  margin: 0 !important;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

body.pms4-theme.faq-page .faq-q::after {
  color: var(--p4-blue) !important;
}

body.pms4-theme.faq-page .faq-q:hover {
  background: rgba(37, 99, 235, 0.04) !important;
  color: var(--p4-blue) !important;
}

body.pms4-theme.faq-page .faq-item.open {
  border-color: rgba(37, 99, 235, 0.2) !important;
}

body.pms4-theme.faq-page .faq-a {
  padding: 0 1.25rem 1.25rem !important;
  color: var(--p4-ink-soft) !important;
}

@media (max-width: 980px) {
  body.pms4-theme .hero-p5__grid,
  body.pms4-theme .p5-insights__grid,
  body.pms4-theme .p5-circle-stats,
  body.pms4-theme .p5-instructor-showcase {
    grid-template-columns: 1fr;
  }

  body.pms4-theme .p5-deadline-card {
    grid-template-columns: 1fr;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.8) 30%,
      rgba(255, 255, 255, 0.54) 56%,
      rgba(255, 255, 255, 0.24) 74%,
      rgba(255, 255, 255, 0.08) 90%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
  }

  /* Sub-page hero responsive */
  body.pms4-theme .hero-mini.hero-cover {
    min-height: clamp(340px, 48vh, 480px);
  }

  body.pms4-theme .hero-mini.hero-cover::after {
    background:
      linear-gradient(180deg,
        rgba(8, 20, 48, 0.5) 0%,
        rgba(8, 20, 48, 0.75) 40%,
        rgba(8, 20, 48, 0.92) 100%) !important;
  }

  body.pms4-theme .hero-mini.hero-cover .container {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  body.pms4-theme .hero-mini.hero-cover h1 {
    max-width: none !important;
  }

  /* Sub-page section headers responsive */
  body.pms4-theme:not(.home-page) .section-header {
    text-align: left;
  }

  body.pms4-theme:not(.home-page) .section {
    padding: 3.5rem 0 !important;
  }

  /* Grid responsive */
  body.pms4-theme .grid.two {
    grid-template-columns: 1fr;
  }

  body.pms4-theme .bento-grid {
    grid-template-columns: 1fr;
  }

  body.pms4-theme .bento-7,
  body.pms4-theme .bento-5,
  body.pms4-theme .bento-12 {
    grid-column: span 1;
  }
}

/* =========================================================
   PMS5 HERO + INSTRUCTOR HEIGHT HOTFIX
   ========================================================= */

/* Match all subpage heroes to the exact visual language of "Why PMI Certifications Matter" */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  min-height: clamp(480px, 62vh, 640px);
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 219, 254, 0.26) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::before {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80") !important;
  background-size: cover !important;
  background-position: center 32% !important;
  filter: saturate(0.9) brightness(0.8) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  background:
    linear-gradient(
      90deg,
      rgba(7, 24, 58, 0.94) 0%,
      rgba(7, 24, 58, 0.9) 28%,
      rgba(7, 24, 58, 0.8) 50%,
      rgba(7, 24, 58, 0.58) 70%,
      rgba(7, 24, 58, 0.3) 86%,
      rgba(7, 24, 58, 0.12) 100%
    ) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 9.75rem;
  padding-bottom: 4.1rem;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .section-label {
  color: rgba(232, 241, 255, 0.86) !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.4rem, 5.2vw, 5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.015em !important;
  max-width: 16ch !important;
  margin-bottom: 1.1rem;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
  color: rgba(227, 237, 254, 0.9) !important;
  max-width: 56ch !important;
  font-size: clamp(1rem, 1.14vw, 1.16rem) !important;
  line-height: 1.66 !important;
}

/* Instructor spotlight: ensure video column exactly matches text card height */
body.pms4-theme .p5-instructor-showcase {
  align-items: stretch;
}

body.pms4-theme .p5-instructor-showcase__video,
body.pms4-theme .p5-instructor-showcase__copy {
  height: 100%;
  align-self: stretch;
}

body.pms4-theme .p5-instructor-showcase__video {
  min-height: 0 !important;
  max-height: none !important;
}

body.pms4-theme .p5-instructor-showcase__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@media (max-width: 980px) {
  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(360px, 50vh, 500px);
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
    background:
      linear-gradient(
        180deg,
        rgba(7, 24, 58, 0.52) 0%,
        rgba(7, 24, 58, 0.74) 42%,
        rgba(7, 24, 58, 0.9) 100%
      ) !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
    padding-top: 8.4rem;
    padding-bottom: 3.1rem;
  }
}

/* =========================================================
   PMS5 HOTFIX 2 — HERO PARITY + HOME HEIGHT + INSTRUCTOR CARD
   ========================================================= */

/* Subpages: force exact same visual treatment as "Why PMI Certifications Matter" */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  background:
    linear-gradient(0deg, rgba(10, 26, 51, 0.92), rgba(10, 26, 51, 0.92)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat !important;
  min-height: clamp(500px, 64vh, 660px) !important;
  padding: 0 !important;
  display: flex;
  align-items: stretch;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::before,
body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  content: none !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 9.5rem !important;
  padding-bottom: 4rem !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .section-label {
  color: rgba(232, 241, 255, 0.88) !important;
  font-family: 'DM Mono', monospace !important;
  letter-spacing: 0.16em !important;
  font-size: 0.72rem !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.5rem, 5.2vw, 5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.015em !important;
  max-width: 16ch !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
  color: rgba(227, 237, 254, 0.9) !important;
  max-width: 56ch !important;
  font-size: clamp(1rem, 1.14vw, 1.16rem) !important;
  line-height: 1.66 !important;
}

/* Home hero: make ribbon the true visual bottom and re-center H1 block */
body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
  min-height: 88vh !important;
  max-height: 88vh;
  padding: 0 !important;
  align-items: center !important;
}

body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
  padding: 0 0 6.2rem 0 !important;
  display: flex;
  align-items: center;
  min-height: calc(88vh - 6.2rem);
}

body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
  margin-top: -1.2rem;
}

/* Bottom home CTA cards: remove narrow blue strip feel */
body.pms4-theme .home-cta-section .glass-card {
  background: rgba(10, 23, 48, 0.24) !important;
  border: 1px solid rgba(191, 219, 254, 0.24) !important;
  box-shadow: none !important;
}

body.pms4-theme .home-cta-section .glass-card::before {
  display: none !important;
}

body.pms4-theme .home-cta-section .section-label {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Instructor spotlight right panel: navy with white text */
body.pms4-theme .p5-instructor-showcase__copy {
  background: linear-gradient(180deg, #0b1730 0%, #12254a 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.26) !important;
  box-shadow: 0 18px 38px rgba(4, 15, 38, 0.28) !important;
}

body.pms4-theme .p5-instructor-showcase__copy h2,
body.pms4-theme .p5-instructor-showcase__copy p,
body.pms4-theme .p5-instructor-showcase__copy li {
  color: #ffffff !important;
}

body.pms4-theme .p5-instructor-showcase__copy .section-label {
  color: #93c5fd !important;
}

@media (max-width: 980px) {
  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 84vh !important;
    max-height: none;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(84vh - 5.6rem);
    padding-bottom: 5.6rem !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(360px, 50vh, 500px) !important;
    background-position: center 34% !important;
  }
}

/* =========================================================
   PMS5 FINAL PASS — CLIENT REVIEW LOCK
   ========================================================= */
body.pms4-theme {
  --accent: #2563eb;
  --accent-glow: #bfdbfe;
  --accent-soft: rgba(37, 99, 235, 0.14);
}

/* Home hero copy should match PMS4 look (no boxed emphasis) */
body.pms4-theme .hero-p5__copy .hero-mc__display-em {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Smooth premium white-to-clear blend on hero video */
body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
  background:
    linear-gradient(
      94deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.93) 24%,
      rgba(255, 255, 255, 0.84) 40%,
      rgba(255, 255, 255, 0.64) 56%,
      rgba(255, 255, 255, 0.34) 72%,
      rgba(255, 255, 255, 0.12) 86%,
      rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* Hero now uses copy-only composition */
body.pms4-theme .hero-p5__grid.hero-p5__grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

/* Instructor spotlight: tighter media framing, no dead space */
body.pms4-theme .p5-instructor-showcase {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

body.pms4-theme .p5-instructor-showcase__video {
  min-height: 0 !important;
  max-height: none !important;
  height: 100%;
  align-self: stretch;
}

body.pms4-theme .p5-instructor-showcase__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

body.pms4-theme .p5-instructor-showcase__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  align-self: stretch;
}

body.pms4-theme .p5-instructor-showcase__copy .list-clean {
  margin-top: 0.2rem;
}

/* Animated stat circles driven by JS */
body.pms4-theme .p5-circle[data-stat-ring] {
  transition: background 0.35s ease;
}

/* Confidence cards icon accent should be blue */
body.pms4-theme .confidence-section .feature-icon {
  background: rgba(37, 99, 235, 0.14) !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

/* Featured program pills: white contrast in navy section */
body.pms4-theme .featured-programs .course-meta .badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(191, 219, 254, 0.44) !important;
}

/* Home bottom CTA cards should not look like blue boxes */
body.pms4-theme .home-cta-section .glass-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(191, 219, 254, 0.26) !important;
  box-shadow: none !important;
}

/* Reuse the same PMI navy-overlay hero image on all subpages */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  min-height: clamp(480px, 62vh, 640px);
  padding: 0 !important;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::before {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80") !important;
  background-position: center 32% !important;
  filter: saturate(0.92) brightness(0.84) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  background:
    linear-gradient(
      94deg,
      rgba(8, 20, 48, 0.94) 0%,
      rgba(8, 20, 48, 0.9) 28%,
      rgba(8, 20, 48, 0.8) 50%,
      rgba(8, 20, 48, 0.58) 70%,
      rgba(8, 20, 48, 0.3) 86%,
      rgba(8, 20, 48, 0.12) 100%
    ) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 9.75rem;
  padding-bottom: 4.1rem;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .section-label {
  color: rgba(232, 241, 255, 0.86) !important;
  font-family: 'DM Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.4rem, 5.2vw, 5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.015em !important;
  max-width: 16ch !important;
  margin-bottom: 1.1rem;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
  color: rgba(227, 237, 254, 0.9) !important;
  max-width: 56ch !important;
  font-size: clamp(1rem, 1.14vw, 1.16rem) !important;
  line-height: 1.66 !important;
}

/* Courses compare table should stay dark text on light card */
body.pms4-theme .courses-compare .pricing-table th {
  color: #1e40af !important;
}

body.pms4-theme .courses-compare .pricing-table td {
  color: #0b1730 !important;
}

/* FAQ cards/buttons: navy with white text */
body.pms4-theme.faq-page .faq-item {
  background: linear-gradient(180deg, #0b1730 0%, #12254a 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
}

body.pms4-theme.faq-page .faq-q {
  background: transparent !important;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
}

body.pms4-theme.faq-page .faq-q:hover {
  background: rgba(147, 197, 253, 0.08) !important;
  color: #ffffff !important;
}

body.pms4-theme.faq-page .faq-q::after {
  color: #93c5fd !important;
}

body.pms4-theme.faq-page .faq-a {
  color: rgba(230, 240, 255, 0.88) !important;
}

/* Chat panel + in-chat colors: blue (not green) */
body.pms4-theme .chat-panel {
  border-color: rgba(147, 197, 253, 0.34);
  background: #091428;
}

body.pms4-theme .chat-head {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff;
}

body.pms4-theme .chat-log {
  background: #081325;
}

body.pms4-theme .chat-msg.bot {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(147, 197, 253, 0.25);
  color: #eaf2ff;
}

body.pms4-theme .chat-msg.user {
  background: rgba(37, 99, 235, 0.26);
  border-color: rgba(96, 165, 250, 0.46);
  color: #ffffff;
}

body.pms4-theme .chat-quick button {
  color: #dbeafe;
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(37, 99, 235, 0.2);
}

body.pms4-theme .chat-quick button:hover {
  background: rgba(37, 99, 235, 0.32);
}

/* Ensure blue scrollbars win */
body.pms4-theme,
body.pms4-theme * {
  scrollbar-color: #2563eb #dbe8fb !important;
}

@media (max-width: 980px) {
  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.84) 32%,
        rgba(255, 255, 255, 0.64) 58%,
        rgba(255, 255, 255, 0.32) 78%,
        rgba(255, 255, 255, 0.08) 92%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  body.pms4-theme .p5-instructor-showcase {
    grid-template-columns: 1fr;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(360px, 50vh, 500px);
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
    background:
      linear-gradient(
        180deg,
        rgba(7, 24, 58, 0.52) 0%,
        rgba(7, 24, 58, 0.74) 42%,
        rgba(7, 24, 58, 0.9) 100%
      ) !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
    padding-top: 8.4rem;
    padding-bottom: 3.1rem;
  }
}

/* =========================================================
   PMS5 HOTFIX 3 — FINAL OVERRIDE (KEEP LAST)
   ========================================================= */

/* 1) Subpage hero parity with Why PMI Certifications Matter */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  background:
    linear-gradient(0deg, rgba(10, 26, 51, 0.92), rgba(10, 26, 51, 0.92)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat !important;
  min-height: clamp(500px, 64vh, 660px) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::before,
body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  content: none !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 9.5rem !important;
  padding-bottom: 4rem !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover .section-label {
  color: rgba(232, 241, 255, 0.88) !important;
  font-family: 'DM Mono', monospace !important;
  letter-spacing: 0.16em !important;
  font-size: 0.72rem !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
  color: #fff !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-size: clamp(2.5rem, 5.2vw, 5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.015em !important;
  max-width: 16ch !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
  color: rgba(227, 237, 254, 0.9) !important;
  max-width: 56ch !important;
  font-size: clamp(1rem, 1.14vw, 1.16rem) !important;
  line-height: 1.66 !important;
}

/* 2) Home hero vertical balance + ribbon as bottom edge */
body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
  min-height: 88vh !important;
  max-height: 88vh !important;
  padding: 0 !important;
  align-items: center !important;
}

body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
  padding: 0 0 6.2rem 0 !important;
  display: flex !important;
  align-items: center !important;
  min-height: calc(88vh - 6.2rem) !important;
}

body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
  margin-top: -1.2rem !important;
}

/* 3) Remove narrow blue strip effect in bottom home cards */
body.pms4-theme .home-cta-section .glass-card {
  background: rgba(10, 23, 48, 0.24) !important;
  border: 1px solid rgba(191, 219, 254, 0.24) !important;
  box-shadow: none !important;
}

body.pms4-theme .home-cta-section .glass-card::before {
  display: none !important;
}

/* 4) Instructor Spotlight right box navy with white text */
body.pms4-theme .p5-instructor-showcase {
  align-items: stretch !important;
}

body.pms4-theme .p5-instructor-showcase__video,
body.pms4-theme .p5-instructor-showcase__copy {
  height: 100% !important;
  align-self: stretch !important;
}

body.pms4-theme .p5-instructor-showcase__video {
  min-height: 0 !important;
  max-height: none !important;
}

body.pms4-theme .p5-instructor-showcase__video video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
}

body.pms4-theme .p5-instructor-showcase__copy {
  background: linear-gradient(180deg, #0b1730 0%, #12254a 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.26) !important;
  box-shadow: 0 18px 38px rgba(4, 15, 38, 0.28) !important;
}

body.pms4-theme .p5-instructor-showcase__copy h2,
body.pms4-theme .p5-instructor-showcase__copy p,
body.pms4-theme .p5-instructor-showcase__copy li {
  color: #fff !important;
}

body.pms4-theme .p5-instructor-showcase__copy .section-label {
  color: #93c5fd !important;
}

@media (max-width: 980px) {
  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 84vh !important;
    max-height: none !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(84vh - 5.6rem) !important;
    padding-bottom: 5.6rem !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(360px, 50vh, 500px) !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 4 — HERO POSITION + RIBBON EDGE
   ========================================================= */

/* Remove any residual scroll prompt if cached HTML persists */
body.pms4-theme.home-page .hero-mc__scroll {
  display: none !important;
}

/* Nudge hero stack down by increasing hero block height (~0.5in)
   while lifting copy slightly so headline feels centered */
body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
  min-height: calc(88vh + 0.5in) !important;
  max-height: none !important;
  margin-bottom: -2px;
}

body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
  min-height: calc(88vh + 0.5in - 6.2rem) !important;
  padding-bottom: 6.2rem !important;
}

body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
  margin-top: -2rem !important;
}

/* Ensure the ribbon is the hard visual bottom of hero with no white sliver */
body.pms4-theme.home-page .hero.hero-mc.hero-p5 .hero-mc__marquee {
  bottom: 0 !important;
  margin: 0 !important;
}

body.pms4-theme.home-page .hero.hero-mc.hero-p5 + .section-muted {
  margin-top: 0 !important;
  border-top: 0 !important;
}

@media (max-width: 980px) {
  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: calc(84vh + 0.35in) !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(84vh + 0.35in - 5.6rem) !important;
    padding-bottom: 5.6rem !important;
  }

  body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
    margin-top: -1.15rem !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 5 — GLOBAL NAVBAR NAVY/WHITE
   ========================================================= */
body.pms4-theme .site-header,
body.pms4-theme.home-page .site-header,
body.pms4-theme .site-header.mc-nav,
body.pms4-theme.home-page .site-header.mc-nav,
body.pms4-theme.is-scrolled .site-header.mc-nav,
body.pms4-theme.home-page.is-scrolled .site-header.mc-nav {
  background: rgba(8, 25, 57, 0.92) !important;
  border-bottom: 1px solid rgba(147, 197, 253, 0.22) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

body.pms4-theme .brand img,
body.pms4-theme .mc-lockup__mark {
  filter: brightness(0) invert(1) !important;
  background: transparent !important;
  border: 0 !important;
}

/* Remove decorative glowing vertical strip left of logo */
body.pms4-theme .mc-lockup::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  box-shadow: none !important;
}

body.pms4-theme .brand-title,
body.pms4-theme .mc-lockup__wordmark {
  color: #ffffff !important;
}

body.pms4-theme .brand-sub,
body.pms4-theme .mc-lockup__tag {
  color: rgba(219, 234, 254, 0.9) !important;
  border: 0 !important;
  background: transparent !important;
}

body.pms4-theme .main-nav a,
body.pms4-theme .main-nav a:hover,
body.pms4-theme .main-nav a[aria-current='page'] {
  color: #ffffff !important;
}

body.pms4-theme .main-nav a {
  background: transparent !important;
  border-color: transparent !important;
}

body.pms4-theme .main-nav a:hover,
body.pms4-theme .main-nav a[aria-current='page'] {
  background: rgba(59, 130, 246, 0.16) !important;
  border-color: rgba(147, 197, 253, 0.36) !important;
}

/* Nav buttons: white text on navy/blue tones */
body.pms4-theme .main-nav a.nav-utility,
body.pms4-theme .site-header.mc-nav .nav-utility {
  color: #ffffff !important;
  background: rgba(37, 99, 235, 0.92) !important;
  border: 1px solid rgba(147, 197, 253, 0.42) !important;
  box-shadow: none !important;
}

body.pms4-theme .main-nav a.nav-utility:hover,
body.pms4-theme .site-header.mc-nav .nav-utility:hover,
body.pms4-theme .main-nav a.nav-utility[aria-current='page'],
body.pms4-theme .site-header.mc-nav .nav-utility[aria-current='page'] {
  color: #ffffff !important;
  background: #1d4ed8 !important;
  border-color: rgba(191, 219, 254, 0.55) !important;
}

body.pms4-theme .nav-cta.btn {
  color: #ffffff !important;
  background: #2563eb !important;
  border-color: rgba(147, 197, 253, 0.45) !important;
}

body.pms4-theme .nav-cta.btn:hover {
  color: #ffffff !important;
  background: #1d4ed8 !important;
  border-color: rgba(191, 219, 254, 0.6) !important;
}

body.pms4-theme .menu-toggle span,
body.pms4-theme .menu-toggle span::before,
body.pms4-theme .menu-toggle span::after {
  background: #ffffff !important;
}

@media (max-width: 1080px) {
  body.pms4-theme .main-nav {
    background: rgba(8, 25, 57, 0.97) !important;
    border: 1px solid rgba(147, 197, 253, 0.28) !important;
  }

  body.pms4-theme .main-nav a {
    color: #ffffff !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 6 — COLOR BALANCE SYSTEM (FINAL LAYER)
   ========================================================= */
body.pms4-theme {
  --surface-white: #ffffff;
  --surface-mist: #eff4fb;
  --surface-mist-2: #eaf1fb;
  --surface-navy: #0b1730;
  --surface-line: rgba(11, 23, 48, 0.1);
}

/* Keep bright blue for actions/accents only */
body.pms4-theme .btn.btn-primary,
body.pms4-theme .nav-cta.btn,
body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee,
body.pms4-theme .stats-bar {
  color: #ffffff !important;
}

/* Section surface utilities */
body.pms4-theme .section.tone-white {
  background: var(--surface-white) !important;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}

body.pms4-theme .section.tone-mist {
  background: linear-gradient(180deg, var(--surface-mist) 0%, var(--surface-mist-2) 100%) !important;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}

body.pms4-theme .section.tone-navy {
  background: linear-gradient(180deg, #0b1730 0%, #12254a 100%) !important;
  border-top: 1px solid rgba(147, 197, 253, 0.22);
  border-bottom: 1px solid rgba(147, 197, 253, 0.22);
}

/* Card readability on light surfaces */
body.pms4-theme .section.tone-white .glass-card,
body.pms4-theme .section.tone-white .glass-card-static,
body.pms4-theme .section.tone-mist .glass-card,
body.pms4-theme .section.tone-mist .glass-card-static,
body.pms4-theme .section.tone-mist .feature-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(11, 23, 48, 0.12) !important;
  box-shadow: 0 12px 30px rgba(11, 23, 48, 0.08) !important;
}

/* Home balance */
body.pms4-theme.home-page .p5-insights.section {
  background: linear-gradient(180deg, #eff4fb 0%, #e9f0fb 100%) !important;
}

body.pms4-theme.home-page .confidence-section.section {
  background: #ffffff !important;
}

body.pms4-theme.home-page .principles-band.section {
  background: linear-gradient(180deg, #f6f9ff 0%, #edf3fd 100%) !important;
}

body.pms4-theme.home-page .section-muted {
  background: linear-gradient(180deg, #f2f6fd 0%, #eaf1fb 100%) !important;
}

/* Home CTA cards: clean navy contrast */
body.pms4-theme .home-cta-section .glass-card {
  background: rgba(11, 23, 48, 0.38) !important;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
}

/* Contact page: readable headings on mist section */
body.pms4-theme .section.contact-balance .section-header h2,
body.pms4-theme .section.contact-balance .section-header p,
body.pms4-theme .section.contact-balance .section-label {
  color: #0b1730 !important;
}

/* =========================================================
   PMS5 HOTFIX 7 — PREMIUM PASS (PAGE-BY-PAGE POLISH)
   ========================================================= */

/* Global rhythm + hierarchy */
body.pms4-theme .section-header {
  margin-bottom: clamp(2.1rem, 4.2vw, 3.2rem) !important;
}

body.pms4-theme .section-header h2 {
  letter-spacing: -0.02em;
}

body.pms4-theme .section-header p {
  line-height: 1.72 !important;
  max-width: 62ch;
}

body.pms4-theme .section-label {
  font-weight: 500;
}

body.pms4-theme .glass-card,
body.pms4-theme .glass-card-static {
  border-radius: 22px !important;
}

body.pms4-theme .btn {
  font-size: 0.76rem;
  letter-spacing: 0.075em;
  padding: 0.84rem 1.42rem;
}

body.pms4-theme .hero-actions {
  gap: 0.72rem !important;
}

/* Home page polish */
body.pms4-theme.home-page .v2-pmi-callout .container {
  padding-top: clamp(4.6rem, 7vw, 6.4rem);
  padding-bottom: clamp(4.6rem, 7vw, 6.4rem);
}

body.pms4-theme.home-page .feature-card h3 {
  line-height: 1.22;
}

body.pms4-theme.home-page .feature-card p {
  line-height: 1.68;
}

/* Courses page */
body.pms4-theme.courses-page .course-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

body.pms4-theme.courses-page .course-card .hero-actions {
  margin-top: auto;
}

body.pms4-theme.courses-page .compare-grid {
  margin-top: 1rem !important;
  gap: 1rem;
}

body.pms4-theme.courses-page .compare-label {
  margin-bottom: 0.56rem !important;
}

body.pms4-theme.courses-page .course-reco-form {
  margin-top: 1.75rem !important;
}

body.pms4-theme.courses-page .course-guide-card {
  align-items: flex-start !important;
}

body.pms4-theme.courses-page .course-guide-list {
  margin-top: 1.35rem !important;
}

body.pms4-theme.courses-page .course-guide-cta {
  margin-top: 1.25rem !important;
}

body.pms4-theme.courses-page .pricing-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.05);
}

/* PMP + CAPM track pages */
body.pms4-theme:is(.pmp-page, .capm-page) .track-side-stack {
  gap: 1.15rem !important;
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-official-link {
  margin-top: 1.2rem !important;
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-interest-form {
  margin-top: 1.7rem !important;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(147, 197, 253, 0.2);
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-enroll-card {
  background: linear-gradient(180deg, rgba(11, 23, 48, 0.56) 0%, rgba(18, 37, 74, 0.72) 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.26) !important;
  box-shadow: 0 16px 34px rgba(4, 15, 38, 0.26) !important;
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-enroll-title {
  margin-bottom: 0.8rem !important;
  color: #ffffff !important;
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-enroll-copy {
  color: rgba(230, 240, 255, 0.9) !important;
  line-height: 1.68 !important;
}

body.pms4-theme:is(.pmp-page, .capm-page) .track-enroll-note {
  color: rgba(199, 217, 249, 0.9) !important;
  margin-top: 0.9rem !important;
}

/* Instructor page */
body.pms4-theme.instructors-page .grid.two {
  align-items: stretch;
}

body.pms4-theme.instructors-page .instructor-card,
body.pms4-theme.instructors-page .grid.two > article:nth-child(2) {
  min-height: 100%;
}

body.pms4-theme.instructors-page .instructor-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

body.pms4-theme.instructors-page .instructor-card h3 {
  margin-bottom: 0.75rem !important;
}

/* FAQ page */
body.pms4-theme.faq-page .faq-item {
  margin-bottom: 0.95rem !important;
  border-radius: 18px !important;
}

body.pms4-theme.faq-page .faq-q {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

body.pms4-theme.faq-page .faq-a {
  line-height: 1.72 !important;
}

/* Contact page */
body.pms4-theme.contact-page .contact-balance .grid.two {
  gap: 1.4rem;
  align-items: stretch;
}

body.pms4-theme.contact-page .contact-balance .glass-card {
  min-height: 100%;
  padding: clamp(1.2rem, 2vw, 1.6rem);
}

body.pms4-theme.contact-page .contact-small {
  margin-top: 1.1rem !important;
}

body.pms4-theme.contact-page .contact-support-block {
  margin-top: 1.7rem !important;
}

/* Checkout page */
body.pms4-theme.checkout-page .checkout-stage .checkout-frame {
  width: min(980px, calc(100% - 2.2rem));
}

body.pms4-theme.checkout-page .checkout-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(147, 197, 253, 0.42) !important;
  border-radius: 24px !important;
  padding: 1.35rem !important;
  box-shadow: 0 22px 44px rgba(4, 15, 38, 0.26) !important;
}

body.pms4-theme.checkout-page #embedded-checkout {
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

body.pms4-theme.checkout-page .checkout-fallback-row {
  margin-top: 1.1rem !important;
}

/* Portal login page */
body.pms4-theme.portal-login-page .auth-shell {
  width: min(760px, calc(100% - 2.2rem));
}

body.pms4-theme.portal-login-page .auth-shell .glass-card-static {
  border-radius: 24px !important;
  padding: clamp(1.2rem, 2.1vw, 1.8rem);
  box-shadow: 0 20px 42px rgba(4, 15, 38, 0.28);
}

body.pms4-theme.portal-login-page .portal-help-notice {
  margin-top: 1.2rem !important;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 12px;
}

/* Onboarding page */
body.pms4-theme.onboarding-page .onboarding-stage .timeline-step {
  padding: 1rem 0;
}

body.pms4-theme.onboarding-page .onboarding-link-row {
  margin-top: 1rem !important;
}

body.pms4-theme.onboarding-page .onboarding-help {
  margin-top: 1.7rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
}

/* Portal dashboard page */
body.pms4-theme.portal-page .portal-stage-container {
  width: min(840px, calc(100% - 2.2rem)) !important;
}

body.pms4-theme.portal-page .portal-grid {
  gap: 1.05rem;
}

body.pms4-theme.portal-page .portal-grid .glass-card-static {
  padding: 1.22rem;
  border-radius: 20px !important;
}

body.pms4-theme.portal-page .portal-welcome-title,
body.pms4-theme.portal-page .portal-enroll-title {
  margin: 0 0 0.35rem !important;
}

body.pms4-theme.portal-page .portal-quick-actions {
  margin-top: 0.15rem;
}

/* Thank-you page */
body.pms4-theme.thankyou-page .thank-you-container {
  max-width: 700px !important;
}

body.pms4-theme.thankyou-page .thank-you-card {
  padding: 3.15rem 2.7rem !important;
  border-radius: 28px !important;
  box-shadow: 0 28px 50px rgba(11, 23, 48, 0.15) !important;
}

body.pms4-theme.thankyou-page .thank-you-icon {
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

body.pms4-theme.thankyou-page .thank-you-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(2rem, 3.2vw, 2.45rem) !important;
  margin-bottom: 0.9rem !important;
}

body.pms4-theme.thankyou-page .thank-you-copy {
  color: #344665 !important;
  line-height: 1.72 !important;
}

body.pms4-theme.thankyou-page .thank-you-summary-card,
body.pms4-theme.thankyou-page .thank-you-next-card {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(11, 23, 48, 0.12) !important;
  box-shadow: 0 12px 26px rgba(11, 23, 48, 0.08) !important;
}

body.pms4-theme.thankyou-page #ty-course,
body.pms4-theme.thankyou-page #ty-email,
body.pms4-theme.thankyou-page #ty-amount {
  color: #0b1730 !important;
}

body.pms4-theme.thankyou-page .thank-you-actions {
  justify-content: center !important;
  gap: 0.65rem !important;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  body.pms4-theme .section-header p {
    max-width: none;
  }

  body.pms4-theme.thankyou-page .thank-you-card {
    padding: 2.25rem 1.35rem !important;
  }

  body.pms4-theme.checkout-page .checkout-card {
    padding: 0.9rem !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 8 — FULL RESPONSIVE MATRIX (PHONE -> TV)
   ========================================================= */

/* Base fluid guards */
html,
body.pms4-theme {
  overflow-x: clip;
}

body.pms4-theme .container {
  width: min(var(--max), calc(100% - clamp(1rem, 3vw, 2.5rem)));
}

body.pms4-theme img,
body.pms4-theme video,
body.pms4-theme iframe {
  max-width: 100%;
  height: auto;
}

body.pms4-theme .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.pms4-theme .pricing-table {
  min-width: 680px;
}

body.pms4-theme .hero-actions {
  gap: 0.72rem;
}

body.pms4-theme .hero-actions .btn {
  white-space: nowrap;
}

body.pms4-theme .hero.hero-mc.hero-p5,
body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
  overflow-x: clip !important;
}

/* Tablet and below */
@media (max-width: 1024px) {
  body.pms4-theme {
    --max: 980px;
  }

  body.pms4-theme .section {
    padding: clamp(3.25rem, 5vw, 4.5rem) 0 !important;
  }

  body.pms4-theme .grid.two,
  body.pms4-theme .grid.three,
  body.pms4-theme .v2-split,
  body.pms4-theme .p5-instructor-showcase,
  body.pms4-theme .p5-insights__grid,
  body.pms4-theme .p5-circle-stats,
  body.pms4-theme .stats-grid,
  body.pms4-theme .form-grid.two {
    grid-template-columns: 1fr !important;
  }

  body.pms4-theme .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  body.pms4-theme .bento-12 {
    grid-column: span 2 !important;
  }

  body.pms4-theme .bento-7,
  body.pms4-theme .bento-6,
  body.pms4-theme .bento-5,
  body.pms4-theme .bento-4 {
    grid-column: span 1 !important;
  }

  body.pms4-theme .hero-mini.hero-cover .container,
  body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
    padding-top: 8.5rem !important;
    padding-bottom: 3.2rem !important;
  }

  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 84svh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(84svh - 5.6rem) !important;
    padding-bottom: 5.6rem !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(2.15rem, 7.5vw, 3.8rem) !important;
    line-height: 1.07 !important;
    max-width: 17ch !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__sub {
    max-width: 56ch;
  }

  body.pms4-theme .portal-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.pms4-theme .footer-grid,
  body.pms4-theme .footer-links-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* Large phones */
@media (max-width: 768px) {
  body.pms4-theme {
    --max: 720px;
  }

  body.pms4-theme main {
    padding-top: 74px;
  }

  body.pms4-theme .nav-shell {
    min-height: 68px;
  }

  body.pms4-theme .brand-title,
  body.pms4-theme .mc-lockup__wordmark {
    font-size: 0.95rem !important;
  }

  body.pms4-theme .brand-sub,
  body.pms4-theme .mc-lockup__tag {
    font-size: 0.56rem !important;
    letter-spacing: 0.11em !important;
  }

  body.pms4-theme .nav-cta.btn {
    display: none !important;
  }

  body.pms4-theme .hero-actions {
    width: 100%;
    justify-content: flex-start !important;
  }

  body.pms4-theme .hero-actions .btn {
    width: 100%;
    max-width: 420px;
  }

  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 82svh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(82svh - 5.25rem) !important;
    padding-bottom: 5.25rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
    padding: 0.78rem 0 !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span {
    font-size: 0.72rem !important;
    letter-spacing: 0.11em !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(330px, 48svh, 470px) !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
    font-size: clamp(1.9rem, 8vw, 2.85rem) !important;
    max-width: 14ch !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
    font-size: 0.98rem !important;
    line-height: 1.62 !important;
  }

  body.pms4-theme .p5-circle {
    width: min(190px, 100%);
  }

  body.pms4-theme .chat-panel {
    left: 0.65rem;
    right: 0.65rem;
    width: auto;
    max-height: 68svh;
  }

  body.pms4-theme .bento-grid {
    grid-template-columns: 1fr !important;
  }

  body.pms4-theme .bento-12,
  body.pms4-theme .bento-7,
  body.pms4-theme .bento-6,
  body.pms4-theme .bento-5,
  body.pms4-theme .bento-4 {
    grid-column: span 1 !important;
  }

  body.pms4-theme .chat-launcher {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  /* Courses comparison table -> stacked cards on mobile */
  body.pms4-theme .courses-compare .table-scroll {
    overflow: visible;
  }

  body.pms4-theme .courses-compare .pricing-table {
    min-width: 0 !important;
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
  }

  body.pms4-theme .courses-compare .pricing-table thead {
    display: none;
  }

  body.pms4-theme .courses-compare .pricing-table tbody,
  body.pms4-theme .courses-compare .pricing-table tr {
    display: block;
    width: 100%;
  }

  body.pms4-theme .courses-compare .pricing-table tr {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 23, 48, 0.14);
    border-radius: 14px;
    padding: 0.7rem 0.85rem;
    box-shadow: 0 10px 24px rgba(11, 23, 48, 0.08);
  }

  body.pms4-theme .courses-compare .pricing-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(11, 23, 48, 0.08) !important;
    padding: 0.56rem 0;
    font-size: 0.82rem;
  }

  body.pms4-theme .courses-compare .pricing-table td:last-child {
    border-bottom: 0 !important;
  }

  body.pms4-theme .courses-compare .pricing-table td::before {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
    flex: 0 0 42%;
    line-height: 1.4;
  }

  body.pms4-theme .courses-compare .pricing-table td:nth-child(1)::before { content: 'Program'; }
  body.pms4-theme .courses-compare .pricing-table td:nth-child(2)::before { content: 'Duration'; }
  body.pms4-theme .courses-compare .pricing-table td:nth-child(3)::before { content: 'Audience'; }
  body.pms4-theme .courses-compare .pricing-table td:nth-child(4)::before { content: 'Format'; }
  body.pms4-theme .courses-compare .pricing-table td:nth-child(5)::before { content: 'PMI Exam'; }
  body.pms4-theme .courses-compare .pricing-table td:nth-child(6)::before { content: 'Price'; }
}

/* Small phones (iPhone SE class) */
@media (max-width: 430px) {
  body.pms4-theme {
    --max: 400px;
  }

  body.pms4-theme .container {
    width: calc(100% - 1rem);
  }

  body.pms4-theme main {
    padding-top: 70px;
  }

  body.pms4-theme .nav-shell {
    min-height: 64px;
  }

  body.pms4-theme .menu-toggle {
    width: 40px;
    height: 40px;
  }

  body.pms4-theme .btn {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    padding: 0.72rem 1.05rem;
  }

  body.pms4-theme .section {
    padding: 2.85rem 0 !important;
  }

  body.pms4-theme .section-header {
    margin-bottom: 1.85rem !important;
  }

  body.pms4-theme .section-header h2 {
    font-size: clamp(1.45rem, 7.2vw, 1.95rem);
  }

  body.pms4-theme .hero-p5__copy .hero-mc__eyebrow {
    font-size: 0.62rem !important;
    letter-spacing: 0.13em !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(1.95rem, 10vw, 2.55rem) !important;
    max-width: 13ch !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__sub {
    font-size: 0.96rem !important;
    line-height: 1.58 !important;
  }

  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 79svh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(79svh - 4.8rem) !important;
    padding-bottom: 4.8rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
    padding: 0.68rem 0 !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track {
    gap: 1.25rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span {
    font-size: 0.64rem !important;
    letter-spacing: 0.1em !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover .container {
    padding-top: 7.35rem !important;
    padding-bottom: 2.55rem !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover h1 {
    font-size: clamp(1.65rem, 8.2vw, 2.25rem) !important;
    max-width: 12ch !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover p {
    font-size: 0.92rem !important;
  }

  body.pms4-theme .glass-card,
  body.pms4-theme .glass-card-static,
  body.pms4-theme .feature-card {
    padding: 1.05rem !important;
    border-radius: 16px !important;
  }

  body.pms4-theme .p5-circle {
    width: min(170px, 100%);
    padding: 10px;
  }

  body.pms4-theme .p5-circle__inner strong {
    font-size: 1.35rem !important;
  }

  body.pms4-theme .pricing-table {
    min-width: 620px;
  }

  body.pms4-theme .chat-panel {
    left: 0.5rem;
    right: 0.5rem;
    border-radius: 14px;
    max-height: 65svh;
  }

  body.pms4-theme .hero-actions .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* Ultra-small phones */
@media (max-width: 360px) {
  body.pms4-theme .container {
    width: calc(100% - 0.8rem);
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(1.72rem, 10.6vw, 2.25rem) !important;
  }

  body.pms4-theme .hero-actions .btn {
    max-width: none;
  }

  body.pms4-theme .btn {
    padding: 0.68rem 0.9rem;
    font-size: 0.67rem;
  }
}

/* Short landscape screens */
@media (max-height: 520px) and (orientation: landscape) {
  body.pms4-theme main {
    padding-top: 64px;
  }

  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 108vh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    padding-bottom: 4.2rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
    padding: 0.6rem 0 !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span {
    font-size: 0.62rem !important;
  }
}

/* Desktop + large monitors */
@media (min-width: 1440px) {
  body.pms4-theme {
    --max: 1320px;
  }

  body.pms4-theme .section {
    padding: clamp(4.8rem, 5.8vw, 6.6rem) 0 !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(3.4rem, 4.8vw, 5.6rem) !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__sub {
    font-size: clamp(1.08rem, 1.05vw, 1.22rem) !important;
  }
}

/* Ultrawide */
@media (min-width: 1920px) {
  body.pms4-theme {
    --max: 1500px;
  }

  body.pms4-theme .nav-shell {
    min-height: 88px;
  }

  body.pms4-theme .main-nav a {
    font-size: 0.76rem;
    padding: 0.58rem 0.78rem;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(3.8rem, 4.2vw, 6.2rem) !important;
    max-width: 16.5ch !important;
  }

  body.pms4-theme .chat-panel {
    width: min(430px, calc(100vw - 2.2rem));
  }
}

/* TV-scale */
@media (min-width: 2560px) {
  body.pms4-theme {
    --max: 1760px;
  }

  body.pms4-theme .section {
    padding: clamp(5.6rem, 5.2vw, 8rem) 0 !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(4.2rem, 3.8vw, 6.8rem) !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__sub {
    font-size: clamp(1.15rem, 0.95vw, 1.38rem) !important;
    max-width: 60ch;
  }

  body.pms4-theme .btn {
    font-size: 0.8rem;
    padding: 0.92rem 1.55rem;
  }
}

/* =========================================================
   PMS5 HOTFIX 9 — COURSES + CTA CLEANUP
   ========================================================= */

/* Courses page: make PMP/CAPM cards even on desktop */
body.pms4-theme.courses-page .bento-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body.pms4-theme.courses-page .bento-7,
body.pms4-theme.courses-page .bento-5 {
  grid-column: span 1 !important;
}

body.pms4-theme.courses-page .bento-12 {
  grid-column: 1 / -1 !important;
}

body.pms4-theme.courses-page .course-card {
  height: 100% !important;
}

/* Courses quick-guide: fix odd wraps + restore contrast on emphasized text */
body.pms4-theme.courses-page .course-guide-card {
  justify-content: flex-start !important;
}

body.pms4-theme.courses-page .course-guide-card h2 {
  max-width: 14ch;
}

body.pms4-theme.courses-page .course-guide-list li {
  line-height: 1.72 !important;
  text-wrap: pretty;
}

body.pms4-theme.courses-page .course-guide-list li strong,
body.pms4-theme .section:not(.section-dark) .glass-card strong,
body.pms4-theme .section:not(.section-dark) .glass-card-static strong {
  color: #0b1730 !important;
}

/* Remove any residual blue strip treatment from section labels */
body.pms4-theme .home-cta-section .section-label,
body.pms4-theme.courses-page .section-header .section-label {
  display: inline-block !important;
  width: auto !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.pms4-theme .home-cta-section .section-label::before,
body.pms4-theme .home-cta-section .section-label::after,
body.pms4-theme.courses-page .section-header .section-label::before,
body.pms4-theme.courses-page .section-header .section-label::after {
  content: none !important;
  display: none !important;
}

/* Ensure no decorative bar appears on these cards */
body.pms4-theme .home-cta-section .glass-card::before,
body.pms4-theme .home-cta-section .glass-card::after,
body.pms4-theme.courses-page .glass-card::after {
  content: none !important;
  display: none !important;
}

/* Home page: make PMP/CAPM featured cards even width */
body.pms4-theme.home-page .featured-programs .bento-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body.pms4-theme.home-page .featured-programs .bento-7,
body.pms4-theme.home-page .featured-programs .bento-5 {
  grid-column: span 1 !important;
}

body.pms4-theme.home-page .featured-programs .bento-12 {
  grid-column: 1 / -1 !important;
}

body.pms4-theme.home-page .featured-programs .course-card {
  height: 100% !important;
}

/* =========================================================
   PMS5 HOTFIX 10 — SUBTLE TEXTURE PACK (PREMIUM / RESTRAINED)
   ========================================================= */

body.pms4-theme {
  --p5-noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  --p5-noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* Light section texture: soft washes + ultra-subtle grain */
body.pms4-theme .section.tone-white,
body.pms4-theme .section.tone-mist,
body.pms4-theme .section.tone-navy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body.pms4-theme .section.tone-white::before,
body.pms4-theme .section.tone-mist::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(780px 360px at 12% 8%, rgba(37, 99, 235, 0.055), transparent 65%),
    radial-gradient(680px 320px at 88% 92%, rgba(11, 23, 48, 0.042), transparent 70%);
}

body.pms4-theme .section.tone-white::after,
body.pms4-theme .section.tone-mist::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--p5-noise-light);
  opacity: 0.11;
}

body.pms4-theme .section.tone-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 460px at 14% 8%, rgba(147, 197, 253, 0.12), transparent 66%),
    radial-gradient(760px 420px at 90% 88%, rgba(37, 99, 235, 0.11), transparent 70%);
}

body.pms4-theme .section.tone-navy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--p5-noise-dark);
  opacity: 0.1;
}

body.pms4-theme .section.tone-white > *,
body.pms4-theme .section.tone-mist > *,
body.pms4-theme .section.tone-navy > * {
  position: relative;
  z-index: 1;
}

/* Card material: gentle top sheen + cleaner surface differentiation */
body.pms4-theme .section.tone-white .glass-card,
body.pms4-theme .section.tone-white .glass-card-static {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 8px 24px rgba(11, 23, 48, 0.06),
    0 22px 46px rgba(11, 23, 48, 0.04) !important;
}

body.pms4-theme .section.tone-mist .glass-card,
body.pms4-theme .section.tone-mist .glass-card-static {
  background: linear-gradient(180deg, #fdfefe 0%, #f7faff 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(11, 23, 48, 0.055),
    0 20px 40px rgba(11, 23, 48, 0.04) !important;
}

body.pms4-theme .section.tone-navy .glass-card,
body.pms4-theme .section.tone-navy .glass-card-static {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(4, 15, 38, 0.32) !important;
}

/* Divider/ticker polish: very light texture only */
body.pms4-theme .v2-emblem-strip,
body.pms4-theme .ticker-strip {
  position: relative;
}

body.pms4-theme .v2-emblem-strip::after,
body.pms4-theme .ticker-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--p5-noise-light);
  opacity: 0.08;
}

/* =========================================================
   PMS5 HOTFIX 11 — SUBPAGE HERO IMAGE SOURCE (PER-PAGE)
   Keeps navy overlay, uses each page's --hero-image variable.
   ========================================================= */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  background: var(--hero-image) center/cover no-repeat !important;
  position: relative;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::before {
  content: none !important;
  display: none !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(10, 26, 51, 0.92) 0%,
      rgba(10, 26, 51, 0.9) 26%,
      rgba(10, 26, 51, 0.82) 48%,
      rgba(10, 26, 51, 0.62) 68%,
      rgba(10, 26, 51, 0.38) 84%,
      rgba(10, 26, 51, 0.24) 100%
    ) !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover > .container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   PMS5 HOTFIX 12 — COURSES HERO TEXT LAYERING
   ========================================================= */
body.pms4-theme.courses-page .hero-mini.hero-cover::after {
  background:
    linear-gradient(
      90deg,
      rgba(10, 26, 51, 0.84) 0%,
      rgba(10, 26, 51, 0.8) 24%,
      rgba(10, 26, 51, 0.7) 46%,
      rgba(10, 26, 51, 0.5) 66%,
      rgba(10, 26, 51, 0.3) 84%,
      rgba(10, 26, 51, 0.18) 100%
    ) !important;
  z-index: 1 !important;
}

body.pms4-theme.courses-page .hero-mini.hero-cover > .container {
  z-index: 3 !important;
}

/* Keep hero copy visible even if reveal init is delayed */
body.pms4-theme.courses-page .hero-mini.hero-cover [data-v2-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================
   PMS5 HOTFIX 13 — PREMIUM PMP/CAPM DECISION PANEL
   ========================================================= */
body.pms4-theme.courses-page .section.tone-white .glass-card.course-decision-card {
  background:
    radial-gradient(820px 280px at 12% 6%, rgba(59, 130, 246, 0.2), transparent 65%),
    linear-gradient(180deg, #0a1d3f 0%, #0b1730 100%) !important;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 44px rgba(4, 15, 38, 0.35) !important;
  padding: clamp(1.4rem, 2.2vw, 2rem) !important;
}

body.pms4-theme.courses-page .section.tone-white .course-decision-head {
  margin-bottom: 1rem;
}

body.pms4-theme.courses-page .section.tone-white .course-decision-card .section-label {
  color: #93c5fd !important;
}

body.pms4-theme.courses-page .section.tone-white .course-decision-card h3 {
  color: #ffffff !important;
  margin-bottom: 0.45rem;
}

body.pms4-theme.courses-page .section.tone-white .course-decision-card .section-intro {
  color: rgba(219, 234, 254, 0.86) !important;
  max-width: 64ch;
}

body.pms4-theme.courses-page .course-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.pms4-theme.courses-page .course-decision-track {
  border: 1px solid rgba(147, 197, 253, 0.25);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 1rem 1rem 0.9rem;
}

body.pms4-theme.courses-page .course-decision-track h4 {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.pms4-theme.courses-page .course-decision-track--pmp h4::before,
body.pms4-theme.courses-page .course-decision-track--capm h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.55rem;
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.65);
}

body.pms4-theme.courses-page .course-decision-track .list-clean {
  margin-top: 0;
}

body.pms4-theme.courses-page .course-decision-track .list-clean li {
  color: rgba(235, 243, 255, 0.9) !important;
  line-height: 1.65;
}

body.pms4-theme.courses-page .course-decision-track .list-clean li::before {
  background: #60a5fa;
  opacity: 0.7;
}

@media (max-width: 900px) {
  body.pms4-theme.courses-page .course-decision-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PMS5 HOTFIX 14 — ALL SUBPAGE HERO TEXT LAYER + CENTERING
   ========================================================= */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
  min-height: clamp(460px, 60vh, 660px) !important;
  display: flex !important;
  align-items: center !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover::after {
  z-index: 1 !important;
}

body.pms4-theme:not(.home-page) .hero-mini.hero-cover > .container {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: inherit !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Prevent reveal-init from hiding hero text on any subpage */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover [data-reveal],
body.pms4-theme:not(.home-page) .hero-mini.hero-cover [data-v2-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 900px) {
  body.pms4-theme:not(.home-page) .hero-mini.hero-cover {
    min-height: clamp(420px, 54vh, 560px) !important;
  }

  body.pms4-theme:not(.home-page) .hero-mini.hero-cover > .container {
    min-height: auto !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 16 — HOME HERO BALANCE + NAVY EMPHASIS LINE
   ========================================================= */
body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
  max-width: min(1360px, 96vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
  max-width: 900px !important;
}

/* Make emphasized line navy in this section for cleaner tone-on-tone harmony */
body.pms4-theme.home-page .hero-p5__copy .hero-mc__display-em {
  color: #0b1730 !important;
}

@media (max-width: 980px) {
  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    max-width: min(96vw, 980px) !important;
  }

  body.pms4-theme.home-page .hero-p5__grid.hero-p5__grid--single {
    max-width: 100% !important;
  }
}

/* Assistant launcher button: keep navy regardless of accent theme */
body.pms4-theme .chat-launcher {
  background: #0b1730 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 10px 24px rgba(4, 15, 38, 0.35) !important;
}

body.pms4-theme .chat-launcher:hover {
  background: #12254a !important;
  background-image: none !important;
}

/* Subpage hero horizontal balance: mirror the improved home left rhythm */
body.pms4-theme:not(.home-page) .hero-mini.hero-cover > .container {
  width: min(1360px, 96vw) !important;
  max-width: min(1360px, 96vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 2.4vw, 2rem) !important;
  padding-right: clamp(1rem, 2.4vw, 2rem) !important;
}

/* Home secondary hero CTA should be navy with white text */
body.pms4-theme.home-page .hero-mc__actions .btn.btn-pill.btn-pill--ghost {
  background: #0b1730 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

body.pms4-theme.home-page .hero-mc__actions .btn.btn-pill.btn-pill--ghost:hover {
  background: #12254a !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* =========================================================
   PMS5 HOTFIX 15 — GOLD ACCENT SYSTEM (NO GRADIENT)
   ========================================================= */
body.pms4-theme {
  --p5-gold: #c6a24a;
  --p5-gold-dark: #ad8a38;
  --p5-gold-soft: rgba(198, 162, 74, 0.18);
  --p5-gold-soft-2: rgba(198, 162, 74, 0.28);
  --p4-blue: var(--p5-gold);
  --p5-blue: var(--p5-gold);
  --p5-blue-strong: var(--p5-gold-dark);
  --mc-green: var(--p5-gold);
  --mc-green-hover: var(--p5-gold-dark);
  --v2-green: var(--p5-gold);
  --v2-green-2: var(--p5-gold-dark);
}

/* Primary interactive surfaces */
body.pms4-theme .btn.btn-primary,
body.pms4-theme .nav-cta.btn,
body.pms4-theme .main-nav a.nav-utility,
body.pms4-theme .site-header.mc-nav .nav-utility,
body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
  background: var(--p5-gold) !important;
  background-image: none !important;
  border-color: rgba(255, 235, 184, 0.38) !important;
  box-shadow: none !important;
}

body.pms4-theme .btn.btn-primary,
body.pms4-theme .nav-cta.btn,
body.pms4-theme .main-nav a.nav-utility,
body.pms4-theme .site-header.mc-nav .nav-utility {
  color: #0b1730 !important;
}

body.pms4-theme .btn.btn-primary:hover,
body.pms4-theme .nav-cta.btn:hover,
body.pms4-theme .main-nav a.nav-utility:hover,
body.pms4-theme .site-header.mc-nav .nav-utility:hover,
body.pms4-theme .main-nav a.nav-utility[aria-current='page'],
body.pms4-theme .site-header.mc-nav .nav-utility[aria-current='page'] {
  background: var(--p5-gold-dark) !important;
  background-image: none !important;
  color: #071126 !important;
}

/* Accent text / labels / chips */
body.pms4-theme .section-label,
body.pms4-theme .text-accent,
body.pms4-theme .hero-accent,
body.pms4-theme .instructor-role,
body.pms4-theme .principle-number,
body.pms4-theme .p5-instructor-showcase__copy .section-label,
body.pms4-theme .v2-pmi-callout .section-label,
body.pms4-theme .principles-band .section-label {
  color: var(--p5-gold) !important;
}

body.pms4-theme .section.section-dark .section-label,
body.pms4-theme .section.section-dark .glass-card .section-label,
body.pms4-theme:not(.home-page) .hero-mini.hero-cover .section-label {
  color: #e6ce93 !important;
}

body.pms4-theme .badge,
body.pms4-theme .course-meta .badge,
body.pms4-theme .chip,
body.pms4-theme .status-chip,
body.pms4-theme .kicker {
  background: rgba(198, 162, 74, 0.14) !important;
  border-color: rgba(198, 162, 74, 0.32) !important;
  color: #7d6224 !important;
}

/* Dots / bullets / tiny accents */
body.pms4-theme .hero-mc__eyebrow-dot,
body.pms4-theme .hero-mc__marquee-track span[aria-hidden='true'],
body.pms4-theme .v2-image-caption .dot,
body.pms4-theme .list-clean li::before,
body.pms4-theme .section.section-dark .list-clean li::before,
body.pms4-theme .course-decision-track--pmp h4::before,
body.pms4-theme .course-decision-track--capm h4::before,
body.pms4-theme.courses-page .course-decision-track .list-clean li::before {
  background: var(--p5-gold) !important;
  box-shadow: none !important;
}

/* Remove blue from hero emphasis */
body.pms4-theme .hero-p5__copy .hero-mc__display-em {
  color: var(--p5-gold) !important;
}

/* Home H1 emphasis keeps premium gold */
body.pms4-theme.home-page .hero-p5__copy .hero-mc__display-em {
  color: var(--p5-gold) !important;
}

/* Keep dark-card contrast while switching accent hue */
body.pms4-theme.courses-page .section.tone-white .glass-card.course-decision-card {
  border-color: rgba(230, 206, 147, 0.3) !important;
}

/* Scrollbar accent */
html,
body.pms4-theme,
body.pms4-theme * {
  scrollbar-color: var(--p5-gold) #ece3cd !important;
}

html::-webkit-scrollbar-track,
body.pms4-theme::-webkit-scrollbar-track,
body.pms4-theme *::-webkit-scrollbar-track {
  background: #ece3cd !important;
}

html::-webkit-scrollbar-thumb,
body.pms4-theme::-webkit-scrollbar-thumb,
body.pms4-theme *::-webkit-scrollbar-thumb {
  background: var(--p5-gold) !important;
  background-image: none !important;
  border-color: #ece3cd !important;
}

html::-webkit-scrollbar-thumb:hover,
body.pms4-theme::-webkit-scrollbar-thumb:hover,
body.pms4-theme *::-webkit-scrollbar-thumb:hover {
  background: var(--p5-gold-dark) !important;
  background-image: none !important;
}

/* FAQ page: keep FAQ cards navy (not white) */
body.pms4-theme.faq-page .faq-item.glass-card-static,
body.pms4-theme.faq-page .faq-item {
  background: linear-gradient(180deg, #0b1730 0%, #12254a 100%) !important;
  border: 1px solid rgba(230, 206, 147, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(4, 15, 38, 0.28) !important;
}

body.pms4-theme.faq-page .faq-item .faq-question {
  color: #ffffff !important;
}

body.pms4-theme.faq-page .faq-item .faq-answer {
  color: rgba(235, 243, 255, 0.9) !important;
}

/* FAQ open text uses .faq-a in this codebase */
body.pms4-theme.faq-page .faq-item .faq-q {
  color: #ffffff !important;
}

body.pms4-theme.faq-page .faq-item .faq-a {
  color: #0b1730 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(198, 162, 74, 0.28) !important;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

body.pms4-theme.faq-page .faq-item .faq-a a {
  color: #0b1730 !important;
  text-decoration-color: rgba(11, 23, 48, 0.55);
}

/* =========================================================
   PMS5 HOTFIX 17 — ASSISTANT ORB + HEADER CHROME
   ========================================================= */
/* Remove the navy backing rectangle; only style the orb button itself */
body.pms4-theme .chat-launcher {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Orb should be navy (not electric blue) */
body.pms4-theme .chat-fab {
  background: #0b1730 !important;
  background-image: none !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 12px 28px rgba(4, 15, 38, 0.34) !important;
}

body.pms4-theme .chat-fab:hover {
  background: #12254a !important;
  background-image: none !important;
}

/* Chat header should be white with dark/navy text */
body.pms4-theme .chat-head {
  background: #ffffff !important;
  background-image: none !important;
  color: #0b1730 !important;
  border-bottom: 1px solid rgba(11, 23, 48, 0.12) !important;
}

body.pms4-theme .chat-title {
  color: #0b1730 !important;
}

body.pms4-theme .chat-head .btn,
body.pms4-theme .chat-head [data-chat-close] {
  background: #ffffff !important;
  color: #0b1730 !important;
  border-color: rgba(11, 23, 48, 0.24) !important;
}

body.pms4-theme .chat-head .btn:hover,
body.pms4-theme .chat-head [data-chat-close]:hover {
  background: #f3f6fb !important;
  color: #0b1730 !important;
}

/* =========================================================
   PMS5 HOTFIX 18 — PMI ALIGNMENT CARD (LIGHT VISUAL REFRAME)
   ========================================================= */
body.pms4-theme.home-page .pmi-alignment-card {
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%) !important;
  border: 1px solid rgba(11, 23, 48, 0.14) !important;
  box-shadow: 0 16px 36px rgba(10, 20, 40, 0.12) !important;
}

body.pms4-theme.home-page .pmi-alignment-card h3 {
  color: #0b1730 !important;
  margin-bottom: 0.7rem;
}

body.pms4-theme.home-page .pmi-alignment-card .section-intro {
  color: #334a6b !important;
  max-width: 72ch;
}

body.pms4-theme.home-page .pmi-delivery-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

body.pms4-theme.home-page .pmi-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e7eef9;
  border: 1px solid rgba(11, 23, 48, 0.16);
  color: #0b1730;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

body.pms4-theme.home-page .pmi-alignment-grid {
  gap: 0.9rem !important;
}

body.pms4-theme.home-page .pmi-info-block {
  background: #ffffff;
  border: 1px solid rgba(11, 23, 48, 0.12);
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  min-height: 100%;
}

body.pms4-theme.home-page .pmi-info-block h4 {
  color: #0b1730 !important;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.pms4-theme.home-page .pmi-list {
  margin-top: 0.55rem;
}

body.pms4-theme.home-page .pmi-list li {
  color: #354a67 !important;
  margin-bottom: 0.45rem;
}

body.pms4-theme.home-page .pmi-list li::before {
  background: #0b1730 !important;
  box-shadow: none !important;
}

@media (max-width: 900px) {
  body.pms4-theme.home-page .pmi-alignment-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 19 — PMI ALIGNMENT CARD CORRECTION (SINGLE LIGHT CARD)
   ========================================================= */
body.pms4-theme.home-page .featured-programs .pmi-alignment-card {
  background: linear-gradient(180deg, #fbfcff 0%, #eef2f9 100%) !important;
  border: 1px solid rgba(11, 23, 48, 0.16) !important;
  box-shadow: 0 16px 34px rgba(10, 20, 40, 0.14) !important;
}

body.pms4-theme.home-page .featured-programs .pmi-alignment-card h3,
body.pms4-theme.home-page .featured-programs .pmi-alignment-card h4,
body.pms4-theme.home-page .featured-programs .pmi-alignment-card p,
body.pms4-theme.home-page .featured-programs .pmi-alignment-card li,
body.pms4-theme.home-page .featured-programs .pmi-alignment-card .text-accent {
  color: #0b1730 !important;
}

body.pms4-theme.home-page .featured-programs .pmi-alignment-card .section-intro {
  color: #314662 !important;
}

/* Keep the card unified (no separate white tile look) */
body.pms4-theme.home-page .featured-programs .pmi-info-block {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.2rem 0.15rem 0.15rem !important;
}

body.pms4-theme.home-page .featured-programs .pmi-alignment-grid {
  gap: 0.8rem !important;
}

body.pms4-theme.home-page .featured-programs .pmi-alignment-grid > .pmi-info-block {
  border-left: 2px solid rgba(11, 23, 48, 0.18) !important;
  padding-left: 0.8rem !important;
}

body.pms4-theme.home-page .featured-programs .pmi-chip {
  background: rgba(11, 23, 48, 0.08) !important;
  border: 1px solid rgba(11, 23, 48, 0.18) !important;
  color: #0b1730 !important;
}

body.pms4-theme.home-page .featured-programs .pmi-list li::before {
  background: #c6a24a !important;
}

@media (max-width: 900px) {
  body.pms4-theme.home-page .featured-programs .pmi-alignment-grid > .pmi-info-block {
    border-left: 0 !important;
    border-top: 1px solid rgba(11, 23, 48, 0.15) !important;
    padding-top: 0.75rem !important;
    padding-left: 0 !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 20 — INSTRUCTOR OPEN COMPOSITION (UNBOXED)
   ========================================================= */
body.pms4-theme.instructors-page .instructor-open {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: start;
  margin-top: 1.2rem;
}

body.pms4-theme.instructors-page .instructor-open__media {
  margin: 0;
  text-align: center;
}

body.pms4-theme.instructors-page .instructor-open__portrait {
  width: clamp(190px, 22vw, 270px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 24px 46px rgba(11, 23, 48, 0.2),
    0 0 0 1px rgba(11, 23, 48, 0.14);
  background: #fff;
}

body.pms4-theme.instructors-page .instructor-open__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

body.pms4-theme.instructors-page .instructor-open__media .instructor-role {
  display: inline-block;
  margin-bottom: 0.45rem;
}

body.pms4-theme.instructors-page .instructor-open__media h3 {
  margin: 0;
  color: #0b1730;
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
}

body.pms4-theme.instructors-page .instructor-open__content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0.2rem 0 0;
}

body.pms4-theme.instructors-page .instructor-open__content h3 {
  margin: 0.25rem 0 0.8rem;
  color: #0b1730;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

body.pms4-theme.instructors-page .instructor-open__content p {
  color: #314662;
  margin: 0 0 0.9rem;
  max-width: 62ch;
  line-height: 1.72;
}

body.pms4-theme.instructors-page .instructor-open__content strong {
  color: #0b1730;
}

body.pms4-theme.instructors-page .instructor-open__content .list-clean {
  margin: 0.85rem 0 1.2rem;
}

body.pms4-theme.instructors-page .instructor-open__content .list-clean li {
  color: #3b4f6b;
}

@media (max-width: 980px) {
  body.pms4-theme.instructors-page .instructor-open {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.pms4-theme.instructors-page .instructor-open__media {
    text-align: left;
  }

  body.pms4-theme.instructors-page .instructor-open__portrait {
    margin: 0 0 0.9rem;
  }
}

/* =========================================================
   PMS5 HOTFIX 21 — NAV NORMALIZATION + PORTAL LOGIN PREMIUM CARD
   ========================================================= */
/* Student Portal should look like a normal nav element */
body.pms4-theme .main-nav a.nav-utility,
body.pms4-theme .site-header.mc-nav .nav-utility,
body.pms4-theme.home-page .site-header .nav-utility,
body.pms4-theme.mc-mode .site-header .nav-utility {
  color: rgba(255, 255, 255, 0.84) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0.4rem 0.12rem !important;
}

body.pms4-theme .main-nav a.nav-utility:hover,
body.pms4-theme .main-nav a.nav-utility[aria-current='page'],
body.pms4-theme .site-header.mc-nav .nav-utility:hover,
body.pms4-theme .site-header.mc-nav .nav-utility[aria-current='page'] {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 0.4rem 0.75rem !important;
}

/* Portal login section: no navy slab background, card itself becomes premium navy */
body.pms4-theme.portal-login-page .section.section-dark.grid-bg.tone-navy {
  background: transparent !important;
  border-color: transparent !important;
}

body.pms4-theme.portal-login-page .auth-shell {
  max-width: 760px;
}

body.pms4-theme.portal-login-page .auth-shell .glass-card-static {
  background: linear-gradient(180deg, #0b1730 0%, #13294f 100%) !important;
  border: 1px solid rgba(230, 206, 147, 0.36) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 52px rgba(4, 15, 38, 0.32) !important;
  border-radius: 22px !important;
  padding: clamp(1.2rem, 2.6vw, 2rem) !important;
}

body.pms4-theme.portal-login-page .auth-tabs {
  margin-bottom: 1rem;
}

body.pms4-theme.portal-login-page .auth-tab {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(235, 243, 255, 0.82) !important;
  border-color: rgba(230, 206, 147, 0.34) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

body.pms4-theme.portal-login-page .auth-tab.active {
  color: #0b1730 !important;
  background: #e6ce93 !important;
  border-color: rgba(230, 206, 147, 0.95) !important;
}

body.pms4-theme.portal-login-page .auth-shell label,
body.pms4-theme.portal-login-page .auth-shell h1,
body.pms4-theme.portal-login-page .auth-shell h2,
body.pms4-theme.portal-login-page .auth-shell h3,
body.pms4-theme.portal-login-page .auth-shell p,
body.pms4-theme.portal-login-page .auth-shell .section-label {
  color: #ffffff !important;
}

body.pms4-theme.portal-login-page .auth-shell label {
  letter-spacing: 0.1em;
  color: #e6ce93 !important;
}

body.pms4-theme.portal-login-page .auth-shell input,
body.pms4-theme.portal-login-page .auth-shell select,
body.pms4-theme.portal-login-page .auth-shell textarea {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #0b1730 !important;
  border: 1px solid rgba(230, 206, 147, 0.5) !important;
}

body.pms4-theme.portal-login-page .auth-shell input::placeholder,
body.pms4-theme.portal-login-page .auth-shell textarea::placeholder {
  color: rgba(11, 23, 48, 0.58) !important;
}

body.pms4-theme.portal-login-page .auth-shell .btn.btn-primary {
  background: #e6ce93 !important;
  color: #0b1730 !important;
  border: 1px solid rgba(230, 206, 147, 0.95) !important;
  box-shadow: none !important;
}

body.pms4-theme.portal-login-page .auth-shell .btn.btn-primary:hover {
  background: #d5ba79 !important;
  color: #0b1730 !important;
}

body.pms4-theme.portal-login-page .auth-shell .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(230, 206, 147, 0.42) !important;
}

body.pms4-theme.portal-login-page .auth-shell .btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.pms4-theme.portal-login-page .auth-shell .auth-status,
body.pms4-theme.portal-login-page .auth-shell .portal-help-notice,
body.pms4-theme.portal-login-page .auth-shell .portal-help-notice a {
  color: rgba(235, 243, 255, 0.9) !important;
}

body.pms4-theme.portal-login-page .auth-shell .portal-help-notice {
  border: 1px solid rgba(230, 206, 147, 0.32) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* =========================================================
   PMS5 HOTFIX 22 — HOME CTA BACKDROP WHITE, CARDS NAVY
   ========================================================= */
/* Section backdrop behind Get Started card */
body.pms4-theme.home-page .home-cta-section.section,
body.pms4-theme.home-page .home-cta-section.section.section-dark,
body.pms4-theme.home-page .home-cta-section.section.tone-navy {
  background: linear-gradient(180deg, #f8fbff 0%, #eef3fb 100%) !important;
  border-color: rgba(11, 23, 48, 0.08) !important;
}

body.pms4-theme.home-page .home-cta-section.section::before,
body.pms4-theme.home-page .home-cta-section.section::after {
  background: none !important;
  opacity: 0 !important;
}

/* Keep cards premium navy */
body.pms4-theme.home-page .home-cta-section .glass-card,
body.pms4-theme.home-page .home-cta-section .glass-card-static {
  background: linear-gradient(180deg, #0b1730 0%, #13294f 100%) !important;
  border: 1px solid rgba(230, 206, 147, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(4, 15, 38, 0.28) !important;
}

body.pms4-theme.home-page .home-cta-section .glass-card .section-label,
body.pms4-theme.home-page .home-cta-section .glass-card h2,
body.pms4-theme.home-page .home-cta-section .glass-card p,
body.pms4-theme.home-page .home-cta-section .glass-card label,
body.pms4-theme.home-page .home-cta-section .glass-card .form-status,
body.pms4-theme.home-page .home-cta-section .glass-card .notice {
  color: #ffffff !important;
}

body.pms4-theme.home-page .home-cta-section .glass-card .section-label,
body.pms4-theme.home-page .home-cta-section .glass-card label {
  color: #e6ce93 !important;
  letter-spacing: 0.1em;
}

/* =========================================================
   PMS5 HOTFIX 23 — MOBILE HERO VIDEO + H1 IMPACT (MOBILE ONLY)
   ========================================================= */
@media (max-width: 768px) {
  /* Let video fill frame more aggressively on phones */
  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 86svh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(86svh - 5.25rem) !important;
    padding-bottom: 5.1rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg video,
  body.pms4-theme .hero-mc .hero-bg.hero-mc__bg video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 34% !important;
    transform: scale(1.18) !important;
    transform-origin: center center !important;
  }

  /* Tone down mobile white overlay so video color comes through */
  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background:
      linear-gradient(
        96deg,
        rgba(255, 255, 255, 0.86) 0%,
        rgba(255, 255, 255, 0.74) 26%,
        rgba(255, 255, 255, 0.52) 46%,
        rgba(255, 255, 255, 0.28) 64%,
        rgba(255, 255, 255, 0.12) 78%,
        rgba(255, 255, 255, 0.04) 90%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  /* Make H1 more eye-catching on mobile */
  body.pms4-theme.home-page .hero-p5__copy .hero-mc__display,
  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(2.75rem, 11.2vw, 4.25rem) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.022em !important;
    max-width: 12ch !important;
    margin-bottom: 0.6rem !important;
    text-wrap: balance;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__sub {
    font-size: 1.02rem !important;
    line-height: 1.58 !important;
    max-width: 36ch !important;
  }
}

@media (max-width: 430px) {
  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg video,
  body.pms4-theme .hero-mc .hero-bg.hero-mc__bg video {
    transform: scale(1.24) !important;
    object-position: center 36% !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background:
      linear-gradient(
        96deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.66) 28%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0.2) 68%,
        rgba(255, 255, 255, 0.08) 82%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(2.58rem, 11.8vw, 3.65rem) !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 24 — iPhone SE / Mini micro-pass (mobile only)
   Tighten hero line breaks + CTA spacing on very narrow screens.
   ========================================================= */
@media (max-width: 430px) {
  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    padding-top: 1.15rem !important;
    padding-bottom: 4.95rem !important;
  }

  body.pms4-theme.home-page .hero-p5__copy {
    max-width: 94% !important;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__display,
  body.pms4-theme .hero-p5__copy .hero-mc__display {
    max-width: 10.8ch !important;
    text-wrap: balance !important;
    margin-bottom: 0.52rem !important;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__sub {
    max-width: 31ch !important;
    margin-bottom: 1.02rem !important;
  }

  body.pms4-theme.home-page .hero-mc__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.58rem !important;
    align-items: stretch !important;
  }

  body.pms4-theme.home-page .hero-mc__actions .btn {
    width: 100% !important;
    max-width: none !important;
    min-height: 2.78rem !important;
    padding: 0.62rem 0.85rem !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.085em !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 390px) {
  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 88svh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(88svh - 5rem) !important;
    padding-top: 1rem !important;
    padding-bottom: 4.85rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg video,
  body.pms4-theme .hero-mc .hero-bg.hero-mc__bg video {
    transform: scale(1.28) !important;
    object-position: center 38% !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background:
      linear-gradient(
        96deg,
        rgba(255, 255, 255, 0.76) 0%,
        rgba(255, 255, 255, 0.62) 28%,
        rgba(255, 255, 255, 0.4) 49%,
        rgba(255, 255, 255, 0.2) 67%,
        rgba(255, 255, 255, 0.08) 82%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__display,
  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(2.42rem, 11.5vw, 3.25rem) !important;
    line-height: 0.98 !important;
    max-width: 10.3ch !important;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__sub {
    font-size: 0.97rem !important;
    line-height: 1.5 !important;
    max-width: 29ch !important;
  }

  body.pms4-theme.home-page .hero-mc__actions {
    gap: 0.52rem !important;
  }

  body.pms4-theme.home-page .hero-mc__actions .btn {
    min-height: 2.68rem !important;
    padding: 0.58rem 0.74rem !important;
    font-size: 0.67rem !important;
    letter-spacing: 0.08em !important;
  }
}

@media (max-width: 340px) {
  body.pms4-theme.home-page .hero-p5__copy .hero-mc__display,
  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(2.18rem, 10.8vw, 2.9rem) !important;
    max-width: 10ch !important;
  }

  body.pms4-theme.home-page .hero-p5__copy .hero-mc__sub {
    font-size: 0.92rem !important;
    max-width: 27ch !important;
  }
}

/* =========================================================
   PMS5 HOTFIX 25 — iPhone SE landscape micro-pass
   ========================================================= */
@media (max-height: 430px) and (orientation: landscape) and (max-width: 932px) {
  body.pms4-theme main {
    padding-top: 60px !important;
  }

  body.pms4-theme.home-page .hero.hero-mc.hero-p5 {
    min-height: 124vh !important;
  }

  body.pms4-theme.home-page .hero-mc__content.hero-p5__content {
    min-height: calc(124vh - 3.9rem) !important;
    padding-top: 0.45rem !important;
    padding-bottom: 3.95rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg video,
  body.pms4-theme .hero-mc .hero-bg.hero-mc__bg video {
    transform: scale(1.22) !important;
    object-position: center 34% !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-bg.hero-mc__bg::after {
    background:
      linear-gradient(
        96deg,
        rgba(255, 255, 255, 0.74) 0%,
        rgba(255, 255, 255, 0.58) 30%,
        rgba(255, 255, 255, 0.34) 52%,
        rgba(255, 255, 255, 0.16) 70%,
        rgba(255, 255, 255, 0.05) 84%,
        rgba(255, 255, 255, 0) 100%
      ) !important;
  }

  body.pms4-theme .hero-p5__copy {
    max-width: 62% !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__eyebrow {
    font-size: 0.56rem !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0.35rem !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__display {
    font-size: clamp(1.75rem, 5.3vw, 2.55rem) !important;
    line-height: 0.96 !important;
    max-width: 12ch !important;
    margin-bottom: 0.4rem !important;
  }

  body.pms4-theme .hero-p5__copy .hero-mc__sub {
    font-size: 0.84rem !important;
    line-height: 1.34 !important;
    max-width: 44ch !important;
    margin-bottom: 0.74rem !important;
  }

  body.pms4-theme.home-page .hero-mc__actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.44rem !important;
  }

  body.pms4-theme.home-page .hero-mc__actions .btn {
    width: auto !important;
    min-height: 2.18rem !important;
    padding: 0.45rem 0.82rem !important;
    font-size: 0.61rem !important;
    letter-spacing: 0.082em !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee {
    padding: 0.52rem 0 !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track {
    gap: 1rem !important;
  }

  body.pms4-theme .hero.hero-mc.hero-p5 .hero-mc__marquee-track span {
    font-size: 0.56rem !important;
    letter-spacing: 0.095em !important;
  }
}
