/* BUILD-TAG: bh-home-v5.7-journey-marquee-loop */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

body.home {
  --bh-bg: #f6f7fb;
  --bh-panel: #ffffff;
  --bh-border: #e3e6f1;
  --bh-border-soft: #eceef6;
  --bh-text: #171a2e;
  --bh-text-dim: #5b6180;
  --bh-text-faint: #9298b5;
  --bh-accent: #4c5fe0;
  --bh-accent-2: #0f9fd1;
  --bh-accent-soft: rgba(76,95,224,.075);
  --bh-success: #14a97a;
  --bh-radius-lg: 22px;
  --bh-radius-md: 14px;
  --bh-radius-sm: 10px;
  --bh-shadow: 0 28px 70px -42px rgba(23,26,46,.28);
  --bh-display: 'DM Sans', sans-serif;
  --bh-body: 'DM Sans', sans-serif;
  --bh-mono: 'DM Sans', sans-serif;
  background: var(--bh-bg);
  color: var(--bh-text);
}

body.home .content-area { margin: 0 !important; }
body.home .site-main { font-family: var(--bh-body); }
body.home .content-container.site-container { max-width:none !important; padding:0 !important; }
body.home .entry-content-wrap { padding:0 !important; }
body.home .entry.single-entry { box-shadow:none !important; }
body.home .bh-home-main { overflow:hidden; background:var(--bh-bg); }
body.home #colophon { display:none !important; }

/* ---------- premium Kadence header, same visual language as checkout ---------- */
body.home #masthead {
  position:relative;
  z-index:1000;
  background:rgba(255,255,255,.94) !important;
  border-bottom:1px solid rgba(227,230,241,.9);
  box-shadow:0 10px 30px -28px rgba(23,26,46,.5);
  backdrop-filter: blur(16px);
}
body.home .site-main-header-inner-wrap { min-height:76px; }
body.home .site-branding a.brand img { max-width:150px; height:auto; }
body.home .site-branding .site-title { font-family:var(--bh-display); font-size:18px; font-weight:700; color:var(--bh-text); }
body.home .main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-family:var(--bh-body); font-size:13px; font-weight:600; color:var(--bh-text-dim);
  padding:12px 11px; border-radius:9px; transition:background .16s ease,color .16s ease;
}
body.home .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
body.home .main-navigation .primary-menu-container > ul > li.current-menu-item > a { color:var(--bh-text); background:var(--bh-accent-soft); }
body.home #menu-item-3541 > a { color:var(--bh-accent) !important; }
body.home #menu-item-3531 > a { background:var(--bh-text) !important; color:#fff !important; padding-left:14px !important; padding-right:14px !important; }
body.home #menu-item-3531 > a:hover { background:#252a47 !important; }

/* desktop Courses mega menu — larger, cleaner, still driven by the existing WordPress menu */
@media (min-width:1025px){
  body.home .main-navigation .menu-courses { position:relative; }
  body.home .main-navigation .menu-courses > .sub-menu {
    width:min(980px,calc(100vw - 64px)) !important;
    left:50% !important; right:auto !important; transform:translateX(-50%);
    grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
    padding:24px !important; background:rgba(255,255,255,.98) !important;
    border:1px solid var(--bh-border) !important; border-radius:22px !important;
    box-shadow:0 36px 90px -34px rgba(23,26,46,.38) !important;
    backdrop-filter:blur(18px);
  }
  body.home .main-navigation .menu-courses > .sub-menu::before {
    content:'Explore Billion Hopes learning paths'; grid-column:1/-1; display:block;
    padding:2px 2px 8px; font-family:var(--bh-display); font-size:18px; font-weight:700;
    letter-spacing:-.02em; color:var(--bh-text);
  }
  body.home .main-navigation .menu-courses:hover > .sub-menu,
  body.home .main-navigation .menu-courses.focus > .sub-menu { display:grid; }
  body.home .main-navigation .menu-courses > .sub-menu > li { border:0 !important; min-width:0; }
  body.home .main-navigation .menu-courses > .sub-menu > li > a {
    position:relative; width:auto !important; min-height:74px; display:flex; align-items:center;
    padding:17px 42px 17px 18px !important; border-radius:14px !important;
    background:#f9fbfe !important; border:1px solid #e8ebf4 !important;
    color:var(--bh-text) !important; font-family:var(--bh-body); font-size:14px !important;
    line-height:1.35; font-weight:650; transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a::after {
    content:'↗'; position:absolute; right:17px; top:50%; transform:translateY(-50%);
    width:24px; height:24px; display:grid; place-items:center; border-radius:8px;
    background:#fff; border:1px solid var(--bh-border); color:var(--bh-accent); font-size:13px;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a:hover {
    transform:translateY(-1px); background:#fff !important; border-color:rgba(76,95,224,.28) !important;
    color:var(--bh-accent) !important; box-shadow:0 16px 32px -26px rgba(23,26,46,.48);
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(-n+3) > a {
    background:linear-gradient(135deg,#f6f7ff,#f4fbff) !important;
  }
}

body.home #mobile-drawer .drawer-inner { background:#161a30; }
body.home #mobile-drawer .mobile-navigation a { font-family:var(--bh-body); }

/* ---------- shared ---------- */
.bh-home-container { width:min(1180px, calc(100% - 48px)); margin:0 auto; }
.bh-home-section { padding:88px 0; }
.bh-eyebrow {
  margin:0 0 12px; font-family:var(--bh-mono); font-size:11px; line-height:1.2; letter-spacing:.18em;
  text-transform:uppercase; color:var(--bh-accent-2); font-weight:600;
}
.bh-section-heading h2,
.bh-home-section h2 { font-family:var(--bh-display); color:var(--bh-text); letter-spacing:-.025em; }
.bh-section-heading h2 { margin:0; font-size:clamp(30px,4vw,46px); line-height:1.08; }
.bh-section-heading > p { color:var(--bh-text-dim); }
.bh-section-heading-split { display:flex; justify-content:space-between; gap:42px; align-items:flex-end; margin-bottom:38px; }
.bh-section-heading-split > p { max-width:470px; margin:0; font-size:15px; }
.bh-centered-heading { max-width:720px; text-align:center; margin:0 auto 42px; }
.bh-centered-heading > p:last-child { margin:14px 0 0; }

.bh-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px;
  padding:0 20px; border-radius:12px; border:1px solid transparent; text-decoration:none !important;
  font-family:var(--bh-display); font-size:14px; font-weight:600; cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease;
}
.bh-btn:hover { transform:translateY(-1px); }
.bh-btn-primary { color:#fff !important; background:linear-gradient(120deg,var(--bh-accent),#6f5ff0); box-shadow:0 18px 34px -18px rgba(76,95,224,.65); }
.bh-btn-primary:hover { box-shadow:0 22px 40px -18px rgba(76,95,224,.75); }
.bh-btn-secondary { color:var(--bh-text) !important; background:#fff; border-color:var(--bh-border); }
.bh-btn-secondary:hover { border-color:#cdd2e5; box-shadow:0 14px 28px -22px rgba(23,26,46,.4); }
.bh-btn-light { background:#fff; color:var(--bh-text) !important; }
.bh-btn-ghost-light { color:#fff !important; border-color:rgba(255,255,255,.34); background:rgba(255,255,255,.08); }

/* ---------- hero: keeps the original desktop dimensions/ratio ---------- */
.bh-home-hero { position:relative; margin:18px auto 0; width:min(1420px, calc(100% - 24px)); border-radius:24px; overflow:hidden;
  background:
    radial-gradient(ellipse 720px 520px at 12% 16%, rgba(76,95,224,.16), transparent 64%),
    radial-gradient(ellipse 720px 600px at 90% 30%, rgba(15,159,209,.14), transparent 62%),
    linear-gradient(135deg,#fbfbff 0%,#f4f8ff 52%,#f8fbfd 100%);
  border:1px solid var(--bh-border); box-shadow:var(--bh-shadow);
}
.bh-home-hero::after { content:''; position:absolute; inset:auto -12% -48% 34%; height:64%; background:radial-gradient(ellipse,rgba(76,95,224,.11),transparent 68%); pointer-events:none; }
.bh-home-hero-dots { position:absolute; inset:0; opacity:.62; pointer-events:none; background-image:radial-gradient(rgba(23,26,46,.065) 1px,transparent 1px); background-size:28px 28px; mask-image:linear-gradient(to right,black,transparent 70%); }
.bh-home-hero-inner { position:relative; z-index:2; max-width:1140px; min-height:600px; margin:0 auto; display:grid; grid-template-columns:48.5% 51.5%; align-items:end; }
.bh-home-hero-copy { align-self:center; padding:56px 20px 56px 10px; }
.bh-home-hero-copy h1 { margin:0; max-width:590px; font-family:var(--bh-display); font-size:clamp(54px,5.7vw,82px); line-height:.98; letter-spacing:-.05em; color:#101735; font-weight:700; }
.bh-hero-lead { max-width:570px; margin:24px 0 0; color:var(--bh-text-dim); font-size:16px; line-height:1.75; }
.bh-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.bh-hero-points { display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:27px; color:var(--bh-text-dim); font-size:12.5px; }
.bh-hero-points span { display:inline-flex; align-items:center; gap:7px; }
.bh-hero-points i { width:18px; height:18px; border-radius:50%; display:grid; place-items:center; background:rgba(20,169,122,.1); color:var(--bh-success); font-style:normal; font-weight:800; }
.bh-home-mentor { min-width:0; width:100%; aspect-ratio:1856 / 2272; display:flex; align-items:flex-end; justify-content:center; overflow:visible; }
.bh-home-mentor img { display:block; width:100%; max-width:none; height:100%; object-fit:contain; object-position:center bottom; margin:0; align-self:flex-end; }

/* ---------- value strip ---------- */
.bh-home-value-strip { padding:20px 0 0; }
.bh-value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.bh-value-item { min-height:88px; display:flex; gap:14px; align-items:center; padding:18px 20px; background:#fff; border:1px solid var(--bh-border-soft); border-radius:14px; box-shadow:0 18px 34px -32px rgba(23,26,46,.35); }
.bh-value-number { font-family:var(--bh-mono); font-size:11px; color:var(--bh-accent-2); letter-spacing:.08em; }
.bh-value-item strong { display:block; font-family:var(--bh-display); font-size:15px; color:var(--bh-text); }
.bh-value-item small { display:block; margin-top:3px; color:var(--bh-text-faint); font-size:12px; line-height:1.4; }

/* ---------- bundle ---------- */
.bh-bundle-section { padding-top:72px; }
.bh-bundle-card { display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; padding:48px; background:#fff; border:1px solid var(--bh-border-soft); border-radius:22px; box-shadow:var(--bh-shadow); }
.bh-section-kicker { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:18px; }
.bh-section-kicker span { font-family:var(--bh-mono); font-size:10px; letter-spacing:.14em; text-transform:uppercase; padding:8px 10px; border-radius:999px; color:var(--bh-accent); background:var(--bh-accent-soft); }
.bh-section-kicker b { font-size:11.5px; color:var(--bh-text-faint); font-weight:600; }
.bh-bundle-copy h2 { margin:0 0 18px; font-size:clamp(34px,4vw,52px); line-height:1.05; }
.bh-bundle-copy p { color:var(--bh-text-dim); font-size:14.5px; line-height:1.75; }
.bh-bundle-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.bh-bundle-visual { position:relative; }
.bh-bundle-visual::before { content:''; position:absolute; inset:8% -4% -7% 10%; border-radius:24px; background:linear-gradient(135deg,rgba(76,95,224,.10),rgba(15,159,209,.08)); transform:rotate(4deg); }
.bh-bundle-image-frame { position:relative; overflow:hidden; border-radius:18px; border:1px solid var(--bh-border); background:#fff; box-shadow:0 26px 54px -30px rgba(23,26,46,.34); }
.bh-bundle-image-frame img { width:100%; display:block; }

/* ---------- course grid ---------- */
.bh-courses-section { background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.58) 24%,rgba(255,255,255,.58) 86%,transparent 100%); }
.bh-home-course-grid { min-height:160px; }
.bh-home-course-grid > * { max-width:100%; }
.bh-course-grid-fallback { padding:32px; text-align:center; background:#fff; border:1px solid var(--bh-border); border-radius:16px; }

/* ---------- why ---------- */
.bh-why-section { padding-top:70px; }
.bh-why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.bh-why-grid article { padding:30px; background:#fff; border:1px solid var(--bh-border-soft); border-radius:18px; box-shadow:0 18px 42px -36px rgba(23,26,46,.42); }
.bh-icon-chip { display:inline-flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:var(--bh-accent-soft); color:var(--bh-accent); font-family:var(--bh-mono); font-size:11px; }
.bh-why-grid h3 { margin:21px 0 9px; font-family:var(--bh-display); font-size:19px; color:var(--bh-text); }
.bh-why-grid p { margin:0; color:var(--bh-text-dim); font-size:13.5px; line-height:1.7; }

/* ---------- testimonials: compact real carousel ---------- */
.bh-testimonials-section {
  position:relative; padding-top:84px; padding-bottom:84px;
  background:linear-gradient(180deg,#f5f9fc 0%,#eef6fb 100%);
  border-top:1px solid #e1ebf2; border-bottom:1px solid #e1ebf2;
}
.bh-testimonial-heading-row { display:flex; align-items:flex-end; justify-content:space-between; gap:34px; margin-bottom:30px; }
.bh-testimonial-heading-row > div:first-child { max-width:790px; }
.bh-testimonial-heading-row h2 { max-width:760px; }
.bh-testimonial-intro { max-width:700px; margin:12px 0 0; color:var(--bh-text-dim); font-size:14px; line-height:1.65; }
.bh-testimonial-controls { display:flex; gap:9px; flex:none; }
.bh-testimonial-controls button {
  width:46px; height:46px; padding:0; border-radius:13px; border:1px solid var(--bh-border);
  background:#fff; color:var(--bh-text); font-family:var(--bh-display); font-size:18px; cursor:pointer;
  box-shadow:0 14px 28px -25px rgba(23,26,46,.45); transition:transform .14s ease,border-color .14s ease,color .14s ease;
}
.bh-testimonial-controls button:hover { transform:translateY(-1px); border-color:rgba(76,95,224,.32); color:var(--bh-accent); }
.bh-testimonial-carousel {
  position:relative; padding:8px; border-radius:24px;
  background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,255,255,.58));
  border:1px solid rgba(227,230,241,.9); box-shadow:0 28px 70px -48px rgba(23,26,46,.36);
}
.bh-testimonial-stage { position:relative; min-height:0; }
.bh-testimonial-card {
  display:none; grid-template-columns:64px minmax(0,1fr) 280px; gap:24px; align-items:center;
  padding:34px 36px; background:#fff; border:1px solid var(--bh-border-soft); border-radius:18px;
  box-shadow:0 18px 42px -36px rgba(23,26,46,.38);
}
.bh-testimonial-card.is-active { display:grid; animation:bhTestimonialIn .32s ease both; }
@keyframes bhTestimonialIn { from{opacity:0;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
.bh-testimonial-quote-mark {
  width:54px; height:54px; display:grid; place-items:center; align-self:start; border-radius:16px;
  background:linear-gradient(135deg,rgba(76,95,224,.10),rgba(15,159,209,.10));
  color:var(--bh-accent); font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; font-size:36px; line-height:1;
}
.bh-testimonial-card blockquote {
  margin:0; padding:0; border:0; color:var(--bh-text); font-family:var(--bh-display);
  font-size:clamp(18px,2vw,24px); line-height:1.48; letter-spacing:-.015em; font-weight:500;
}
.bh-testimonial-person {
  display:flex; gap:14px; align-items:center; padding:18px; border:1px solid var(--bh-border-soft);
  border-radius:15px; background:#f8fafe;
}
.bh-testimonial-person img { width:58px; height:58px; flex:none; object-fit:cover; border-radius:50%; border:3px solid #fff; box-shadow:0 0 0 1px var(--bh-border); }
.bh-testimonial-person strong { display:block; font-family:var(--bh-display); font-size:14px; color:var(--bh-text); }
.bh-testimonial-person span { display:block; margin-top:4px; color:var(--bh-text-faint); font-size:11px; line-height:1.45; }
.bh-testimonial-carousel-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 12px 8px; }
.bh-testimonial-dots { display:flex; flex-wrap:wrap; gap:7px; }
.bh-testimonial-dot { width:8px; height:8px; padding:0; border:0; border-radius:999px; background:#d6dbea; cursor:pointer; transition:width .18s ease,background .18s ease; }
.bh-testimonial-dot.is-active { width:26px; background:linear-gradient(90deg,var(--bh-accent),var(--bh-accent-2)); }
.bh-testimonial-count { display:flex; align-items:center; gap:7px; font-family:var(--bh-mono); font-size:11px; color:var(--bh-text-faint); }
.bh-testimonial-count span { color:var(--bh-accent); font-weight:600; }
.bh-testimonial-count b { font-weight:400; opacity:.55; }
.bh-testimonial-count em { font-style:normal; }

/* ---------- CTA ---------- */
.bh-cta-section { padding:72px 0; }
.bh-cta-card {
  position:relative; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:34px;
  padding:42px 46px; border-radius:22px; color:var(--bh-text);
  background:
    radial-gradient(ellipse 500px 260px at 0% 0%,rgba(76,95,224,.12),transparent 72%),
    radial-gradient(ellipse 430px 240px at 100% 100%,rgba(15,159,209,.10),transparent 72%),
    linear-gradient(135deg,#ffffff 0%,#f6f8ff 50%,#f3fbff 100%);
  border:1px solid var(--bh-border); box-shadow:0 28px 64px -42px rgba(23,26,46,.30);
}
.bh-cta-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:linear-gradient(180deg,var(--bh-accent),var(--bh-accent-2)); }
.bh-cta-card .bh-eyebrow { color:var(--bh-accent-2); }
.bh-cta-card h2 { margin:0; max-width:680px; color:var(--bh-text); font-size:clamp(30px,4vw,48px); line-height:1.06; }
.bh-cta-actions { display:flex; gap:10px; flex-wrap:wrap; position:relative; z-index:1; }
#bh-featured-courses { scroll-margin-top:100px; }

/* ---------- enquiry ---------- */
.bh-enquiry-modal { width:min(900px,96vw); max-height:90vh; border:0; border-radius:18px; padding:0; overflow:auto; background:#fff; box-shadow:0 40px 100px -30px rgba(0,0,0,.5); }
.bh-enquiry-modal::backdrop { background:rgba(16,23,53,.56); backdrop-filter:blur(3px); }
#bh-form2-wrap { width:100%; padding:18px; box-sizing:border-box; }
#bh-form2-wrap .powr-form-builder { width:100%; }
.bh-enquiry-close { position:sticky; top:10px; float:right; z-index:2; width:38px; height:38px; margin:10px 10px -48px 0; border:1px solid var(--bh-border); border-radius:10px; background:#fff; color:var(--bh-text); cursor:pointer; font-size:24px; line-height:1; }

/* ---------- footer: light premium treatment ---------- */
.bh-home-footer {
  margin-top:0; padding:20px 0 28px; color:var(--bh-text);
  background:linear-gradient(180deg,#f6f8fb 0%,#edf4f8 100%);
  border-top:1px solid #e2e9f0;
}
.bh-footer-card {
  display:grid; grid-template-columns:1.15fr 1.85fr; gap:54px; align-items:start;
  padding:44px 46px; background:#fff; border:1px solid var(--bh-border-soft); border-radius:22px;
  box-shadow:0 26px 64px -46px rgba(23,26,46,.36);
}
.bh-footer-brand { display:flex; align-items:flex-start; gap:20px; }
.bh-footer-logo { flex:none; display:inline-flex; padding:10px; border:1px solid var(--bh-border-soft); border-radius:14px; background:#fbfcfe; }
.bh-footer-brand img { width:116px; max-width:100%; filter:none; opacity:1; display:block; }
.bh-footer-brand h2 { margin:3px 0 8px; color:var(--bh-text); font-family:var(--bh-display); font-size:20px; }
.bh-footer-brand p { max-width:330px; margin:0; color:var(--bh-text-dim); font-size:12.5px; line-height:1.65; }
.bh-footer-links-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.bh-footer-column { display:flex; flex-direction:column; gap:10px; }
.bh-footer-column h3 { margin:0 0 8px; color:var(--bh-text); font-family:var(--bh-display); font-size:13px; }
.bh-footer-column a { width:max-content; max-width:100%; color:var(--bh-text-dim); text-decoration:none; font-size:12px; line-height:1.45; }
.bh-footer-column a:hover { color:var(--bh-accent); }
.bh-footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:18px; padding:0 4px; color:var(--bh-text-faint); font-size:10.5px; }

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .bh-home-hero-inner { grid-template-columns:1fr; min-height:auto; }
  .bh-home-hero-copy { text-align:center; padding:70px 42px 20px; }
  .bh-home-hero-copy h1, .bh-hero-lead { margin-left:auto; margin-right:auto; }
  .bh-hero-actions, .bh-hero-points { justify-content:center; }
  .bh-home-mentor { height:auto; width:min(590px,100%); margin:0 auto; aspect-ratio:1856 / 2272; }
  .bh-bundle-card { grid-template-columns:1fr; gap:34px; }
  .bh-bundle-visual { max-width:520px; margin:0 auto; }
  .bh-testimonial-card { grid-template-columns:54px minmax(0,1fr); }
  .bh-testimonial-person { grid-column:2; width:min(340px,100%); }
  .bh-footer-card { grid-template-columns:1fr; gap:34px; }
  .bh-footer-links-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width:767px){
  .bh-home-container { width:min(100% - 28px,1180px); }
  .bh-home-section { padding:64px 0; }
  body.home .site-branding a.brand img { max-width:128px; }
  body.home .site-branding .site-title { font-size:15px; }
  .bh-home-hero { width:calc(100% - 16px); margin-top:8px; border-radius:18px; }
  .bh-home-hero-copy { padding:56px 20px 10px; }
  .bh-home-hero-copy h1 { font-size:clamp(42px,13vw,62px); }
  .bh-hero-lead { font-size:14px; }
  .bh-home-mentor { height:auto; aspect-ratio:1856 / 2272; }
  .bh-value-grid, .bh-why-grid { grid-template-columns:1fr; }
  .bh-bundle-card { padding:26px; border-radius:18px; }
  .bh-section-heading-split, .bh-testimonial-heading-row, .bh-cta-card { align-items:flex-start; flex-direction:column; }
  .bh-testimonial-heading-row { display:flex; }
  .bh-testimonial-controls { align-self:flex-end; }
  .bh-testimonial-card { grid-template-columns:1fr; gap:18px; padding:28px 24px; }
  .bh-testimonial-quote-mark { width:46px; height:46px; }
  .bh-testimonial-person { grid-column:auto; width:100%; box-sizing:border-box; }
  .bh-testimonial-carousel-footer { padding-left:8px; padding-right:8px; }
  .bh-cta-card { padding:32px 26px; }
  .bh-footer-card { padding:32px 26px; }
  .bh-footer-brand { flex-direction:column; }
  .bh-footer-links-grid { grid-template-columns:1fr 1fr; gap:28px 24px; }
  .bh-footer-bottom { flex-direction:column; }
}

@media (max-width:480px){
  .bh-home-mentor { height:auto; aspect-ratio:1856 / 2272; }
  .bh-home-hero-copy h1 { font-size:44px; }
  .bh-hero-actions .bh-btn, .bh-bundle-actions .bh-btn, .bh-cta-actions .bh-btn { width:100%; }
  .bh-testimonial-card blockquote { font-size:18px; }
  .bh-footer-links-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce){
  .bh-btn { scroll-behavior:auto !important; }
  .bh-testimonial-card.is-active { animation:none; }
}


/* ============================================================
   v3 HOME-ONLY REFINEMENTS
   Scope: mega menu visibility, testimonials presentation, footer width.
   No course/LMS/payment/checkout/redirect behaviour is changed.
   ============================================================ */

/* ---------- Mega menu: viewport-centred so the right edge can never be cut ---------- */
@media (min-width:1025px){
  body.home .main-navigation .menu-courses > .sub-menu {
    position:fixed !important;
    top:76px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    width:min(1120px,calc(100vw - 48px)) !important;
    max-width:calc(100vw - 48px) !important;
    max-height:calc(100vh - 100px);
    overflow:auto;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:14px !important;
    padding:28px !important;
    box-sizing:border-box !important;
    border-radius:24px !important;
  }
  body.admin-bar.home .main-navigation .menu-courses > .sub-menu {
    top:108px !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu::before {
    font-size:20px;
    padding:0 2px 10px;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a {
    min-height:82px;
    padding:19px 48px 19px 20px !important;
    font-size:15px !important;
    border-radius:16px !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a::after {
    right:18px;
    width:28px;
    height:28px;
  }
}

/* ---------- Testimonials: colourful, compact, one clear slide at a time ---------- */
.bh-testimonials-section {
  background:
    radial-gradient(ellipse 700px 360px at 8% 18%,rgba(76,95,224,.11),transparent 68%),
    radial-gradient(ellipse 620px 340px at 92% 82%,rgba(15,159,209,.11),transparent 68%),
    linear-gradient(135deg,#f5f6ff 0%,#eef9fd 100%);
  border-top:1px solid rgba(76,95,224,.10);
  border-bottom:1px solid rgba(15,159,209,.12);
}
.bh-testimonial-heading-row {
  margin-bottom:26px;
}
.bh-testimonial-intro {
  font-size:13.5px;
}
.bh-testimonial-controls {
  gap:10px;
}
.bh-testimonial-controls button {
  width:50px;
  height:50px;
  border:0;
  color:#fff;
  background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
  box-shadow:0 16px 30px -18px rgba(76,95,224,.62);
}
.bh-testimonial-controls button:hover {
  color:#fff;
  border-color:transparent;
  box-shadow:0 20px 36px -18px rgba(76,95,224,.72);
}
.bh-testimonial-carousel {
  padding:10px;
  border:1px solid rgba(76,95,224,.14);
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(245,251,255,.92));
  box-shadow:0 30px 70px -46px rgba(42,56,122,.34);
}
.bh-testimonial-card {
  grid-template-columns:62px minmax(0,1fr) 300px;
  gap:26px;
  padding:30px 32px;
  min-height:190px;
  background:
    radial-gradient(circle at 0 0,rgba(76,95,224,.09),transparent 32%),
    radial-gradient(circle at 100% 100%,rgba(15,159,209,.09),transparent 34%),
    #fff;
  border:1px solid rgba(76,95,224,.13);
  border-radius:20px;
  box-shadow:none;
}
.bh-testimonial-quote-mark {
  width:56px;
  height:56px;
  border-radius:17px;
  color:#fff;
  background:linear-gradient(135deg,var(--bh-accent),#6f5ff0 56%,var(--bh-accent-2));
  box-shadow:0 14px 28px -18px rgba(76,95,224,.7);
}
.bh-testimonial-card blockquote {
  max-width:760px;
  font-family:var(--bh-body);
  font-size:17px;
  line-height:1.68;
  letter-spacing:0;
  font-weight:500;
  color:#252a47;
}
.bh-testimonial-person {
  gap:16px;
  padding:18px 20px;
  border:1px solid rgba(15,159,209,.15);
  border-radius:18px;
  background:linear-gradient(135deg,#f7f7ff 0%,#effaff 100%);
  box-shadow:0 18px 34px -30px rgba(23,26,46,.35);
}
.bh-testimonial-person img {
  width:76px;
  height:76px;
  border:4px solid #fff;
  box-shadow:0 0 0 1px rgba(76,95,224,.18),0 10px 22px -16px rgba(23,26,46,.55);
}
.bh-testimonial-person strong {
  font-size:16px;
  line-height:1.25;
}
.bh-testimonial-person span {
  margin-top:6px;
  color:var(--bh-text-dim);
  font-size:12px;
  line-height:1.45;
}
.bh-testimonial-carousel-footer {
  padding:14px 10px 6px;
}
.bh-testimonial-dot {
  width:9px;
  height:9px;
  background:#ccd4e8;
}
.bh-testimonial-dot.is-active {
  width:30px;
  background:linear-gradient(90deg,var(--bh-accent),var(--bh-accent-2));
}

/* ---------- Footer: true edge-to-edge premium footer ---------- */
.bh-home-footer {
  width:100%;
  padding:0;
  background:linear-gradient(135deg,#f4f6ff 0%,#eef9fd 100%);
  border-top:1px solid rgba(76,95,224,.11);
}
.bh-home-footer > .bh-home-container {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
.bh-footer-card {
  width:100%;
  box-sizing:border-box;
  grid-template-columns:minmax(360px,1.1fr) minmax(0,1.9fr);
  gap:64px;
  padding:52px max(48px,calc((100vw - 1420px) / 2));
  border:0;
  border-radius:0;
  background:rgba(255,255,255,.76);
  box-shadow:none;
  backdrop-filter:blur(10px);
}
.bh-footer-bottom {
  width:100%;
  box-sizing:border-box;
  margin:0;
  padding:18px max(48px,calc((100vw - 1420px) / 2)) 22px;
  border-top:1px solid rgba(76,95,224,.09);
  background:rgba(255,255,255,.46);
}

@media (max-width:1024px){
  .bh-testimonial-card {
    grid-template-columns:54px minmax(0,1fr);
  }
  .bh-testimonial-person {
    grid-column:2;
    width:min(390px,100%);
  }
  .bh-footer-card {
    grid-template-columns:1fr;
    padding:44px 32px;
  }
  .bh-footer-bottom {
    padding-left:32px;
    padding-right:32px;
  }
}

@media (max-width:767px){
  .bh-testimonial-card {
    grid-template-columns:1fr;
    padding:26px 22px;
  }
  .bh-testimonial-card blockquote {
    font-size:16px;
  }
  .bh-testimonial-person {
    grid-column:auto;
    width:100%;
  }
  .bh-testimonial-person img {
    width:68px;
    height:68px;
  }
  .bh-footer-card {
    padding:38px 22px;
  }
  .bh-footer-bottom {
    padding-left:22px;
    padding-right:22px;
  }
}


/* ============================================================
   v4 HOME-ONLY REFINEMENTS
   Requested scope only:
   1) one Manrope font across the homepage,
   2) richer Courses mega menu,
   3) Explore/Browse buttons scroll to the LMS Featured Courses grid,
   4) single-card testimonial carousel, 5-second infinite loop.
   No checkout, LMS, WooCommerce, product, menu URL or redirect logic is changed.
   ============================================================ */

/* ---------- One font across the complete homepage ---------- */
body.home,
body.home :where(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,li,small,strong,b,em,blockquote,th,td),
body.home :where(span,div):not(.dashicons):not(.kadence-svg-iconset):not([class*="fa-"]):not([class*="icon-"]) {
  font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
}
body.home .bh-testimonial-quote-mark { font-family:'DM Sans',sans-serif !important; }
#bh-featured-courses { scroll-margin-top:104px; }

/* ---------- Courses mega menu: richer premium treatment ---------- */
@media (min-width:1025px){
  body.home .main-navigation .menu-courses > .sub-menu {
    position:fixed !important;
    top:76px !important;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    width:min(1180px,calc(100vw - 52px)) !important;
    max-width:calc(100vw - 52px) !important;
    max-height:calc(100vh - 104px) !important;
    overflow:auto !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:15px !important;
    padding:30px !important;
    box-sizing:border-box !important;
    border:1px solid rgba(76,95,224,.16) !important;
    border-radius:26px !important;
    background:
      radial-gradient(circle at 7% 3%,rgba(76,95,224,.12),transparent 25%),
      radial-gradient(circle at 94% 95%,rgba(15,159,209,.12),transparent 28%),
      linear-gradient(145deg,rgba(255,255,255,.995) 0%,rgba(249,250,255,.995) 48%,rgba(245,252,255,.995) 100%) !important;
    box-shadow:0 34px 90px -28px rgba(23,26,46,.34),0 12px 32px -24px rgba(76,95,224,.30) !important;
    backdrop-filter:blur(22px) saturate(135%);
  }
  body.admin-bar.home .main-navigation .menu-courses > .sub-menu { top:108px !important; }

  body.home .main-navigation .menu-courses > .sub-menu::before {
    content:'Explore Billion Hopes learning paths';
    grid-column:1/-1;
    display:block;
    margin:0 0 3px;
    padding:0 3px 16px;
    border-bottom:1px solid rgba(76,95,224,.11);
    color:var(--bh-text);
    font-family:'DM Sans',sans-serif !important;
    font-size:21px;
    line-height:1.25;
    font-weight:800;
    letter-spacing:-.025em;
  }

  body.home .main-navigation .menu-courses > .sub-menu > li {
    border:0 !important;
    min-width:0 !important;
    background:transparent !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a {
    position:relative !important;
    width:auto !important;
    min-height:88px !important;
    display:flex !important;
    align-items:center !important;
    padding:20px 52px 20px 24px !important;
    overflow:hidden;
    border:1px solid rgba(76,95,224,.12) !important;
    border-radius:18px !important;
    color:var(--bh-text) !important;
    font-family:'DM Sans',sans-serif !important;
    font-size:15px !important;
    line-height:1.35 !important;
    font-weight:700 !important;
    letter-spacing:-.012em;
    box-shadow:0 14px 28px -28px rgba(23,26,46,.55) !important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3n+1) > a {
    background:linear-gradient(135deg,#f6f5ff 0%,#eef4ff 100%) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3n+2) > a {
    background:linear-gradient(135deg,#f2f9ff 0%,#effcff 100%) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3n+3) > a {
    background:linear-gradient(135deg,#f8f7ff 0%,#f4f8ff 100%) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a::before {
    content:'';
    position:absolute;
    left:0;
    top:14px;
    bottom:14px;
    width:4px;
    border-radius:0 6px 6px 0;
    background:linear-gradient(180deg,var(--bh-accent),var(--bh-accent-2));
    opacity:.78;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a::after {
    content:'↗';
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border:1px solid rgba(76,95,224,.14);
    border-radius:10px;
    color:var(--bh-accent);
    background:rgba(255,255,255,.84);
    box-shadow:0 8px 18px -14px rgba(23,26,46,.48);
    font-size:14px;
    transition:transform .18s ease,background .18s ease,color .18s ease;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a:hover {
    transform:translateY(-3px) !important;
    color:var(--bh-accent) !important;
    border-color:rgba(76,95,224,.28) !important;
    box-shadow:0 22px 38px -28px rgba(45,56,125,.46) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a:hover::after {
    transform:translateY(-50%) translateX(2px);
    color:#fff;
    background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
    border-color:transparent;
  }
}

/* ---------- Testimonials: premium single-card carousel ---------- */
.bh-testimonials-section {
  position:relative;
  padding-top:88px;
  padding-bottom:96px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 620px 360px at 8% 18%,rgba(111,95,240,.15),transparent 68%),
    radial-gradient(ellipse 650px 360px at 94% 80%,rgba(15,159,209,.14),transparent 68%),
    linear-gradient(135deg,#f5f4ff 0%,#f7fbff 54%,#eefaff 100%);
  border-top:1px solid rgba(76,95,224,.10);
  border-bottom:1px solid rgba(15,159,209,.12);
}
.bh-testimonials-section::before,
.bh-testimonials-section::after {
  content:'';
  position:absolute;
  width:250px;
  height:250px;
  border-radius:50%;
  filter:blur(4px);
  pointer-events:none;
  opacity:.38;
}
.bh-testimonials-section::before {
  left:-110px;
  top:190px;
  background:radial-gradient(circle,rgba(76,95,224,.24),transparent 68%);
}
.bh-testimonials-section::after {
  right:-100px;
  bottom:80px;
  background:radial-gradient(circle,rgba(15,159,209,.22),transparent 68%);
}
.bh-testimonial-heading-row {
  position:relative;
  z-index:2;
  display:block !important;
  margin-bottom:42px;
  text-align:center;
}
.bh-testimonial-heading-row > div:first-child {
  max-width:820px;
  margin:0 auto;
}
.bh-testimonial-heading-row h2 { max-width:none; }
.bh-testimonial-intro {
  max-width:710px;
  margin:14px auto 0;
  font-size:14px;
  line-height:1.7;
}

.bh-testimonial-carousel {
  position:relative;
  z-index:2;
  width:min(920px,100%);
  margin:0 auto;
  padding:0 0 38px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.bh-testimonial-stage {
  position:relative;
  min-height:430px;
}
.bh-testimonial-card {
  position:relative;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  min-height:430px;
  box-sizing:border-box;
  padding:42px 72px 48px;
  overflow:hidden;
  text-align:center;
  border:1px solid rgba(76,95,224,.14);
  border-radius:28px;
  background:
    radial-gradient(circle at 50% 2%,rgba(76,95,224,.10),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  box-shadow:0 32px 74px -42px rgba(30,42,100,.34),0 10px 28px -24px rgba(15,159,209,.28);
}
.bh-testimonial-card::before {
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:5px;
  background:linear-gradient(90deg,var(--bh-accent),#6f5ff0 48%,var(--bh-accent-2));
}
.bh-testimonial-card.is-active {
  display:flex;
  animation:bhTestimonialInV4 .42s ease both;
}
@keyframes bhTestimonialInV4 {
  from { opacity:0; transform:translateY(8px) scale(.992); }
  to { opacity:1; transform:translateY(0) scale(1); }
}

/* Reorder existing source markup without changing testimonial content. */
.bh-testimonial-person {
  order:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.bh-testimonial-person img {
  width:104px;
  height:104px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid #fff;
  box-shadow:
    0 0 0 2px rgba(76,95,224,.32),
    0 0 0 8px rgba(76,95,224,.07),
    0 18px 36px -20px rgba(23,26,46,.58);
}
.bh-testimonial-person > div { text-align:center; }
.bh-testimonial-person strong {
  display:block;
  color:var(--bh-text);
  font-size:18px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.015em;
}
.bh-testimonial-person span {
  display:block;
  max-width:420px;
  margin:5px auto 0;
  color:var(--bh-text-dim);
  font-size:12px;
  line-height:1.5;
  font-weight:500;
}
.bh-testimonial-quote-mark {
  order:2;
  width:46px;
  height:34px;
  margin:16px 0 8px;
  display:grid;
  place-items:center;
  align-self:center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:var(--bh-accent);
  font-size:42px;
  line-height:1;
  font-weight:800;
}
.bh-testimonial-card blockquote {
  order:3;
  max-width:720px;
  margin:0 auto;
  padding:0;
  border:0;
  color:#2b304c;
  font-family:'DM Sans',sans-serif !important;
  font-size:16.5px;
  line-height:1.72;
  letter-spacing:-.006em;
  font-weight:500;
  font-style:italic;
  text-align:center;
}

/* Previous / next arrows sit at the sides of the card, like a premium slider. */
.bh-testimonial-controls {
  position:absolute;
  z-index:5;
  top:57%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(1060px,calc(100% - 42px));
  display:flex;
  justify-content:space-between;
  gap:0;
  pointer-events:none;
}
.bh-testimonial-controls button {
  width:58px;
  height:58px;
  padding:0;
  pointer-events:auto;
  border:1px solid rgba(76,95,224,.16);
  border-radius:50%;
  color:var(--bh-accent);
  background:rgba(255,255,255,.96);
  box-shadow:0 20px 38px -22px rgba(30,42,100,.48);
  font-size:21px;
  font-weight:700;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,color .16s ease,background .16s ease;
}
.bh-testimonial-controls button:hover {
  transform:scale(1.05);
  color:#fff;
  background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
  border-color:transparent;
  box-shadow:0 22px 42px -20px rgba(76,95,224,.55);
}
.bh-testimonial-carousel-footer {
  justify-content:center;
  padding:22px 0 0;
}
.bh-testimonial-dots {
  justify-content:center;
  gap:9px;
}
.bh-testimonial-dot {
  width:10px;
  height:10px;
  background:#cfd6e9;
}
.bh-testimonial-dot.is-active {
  width:34px;
  background:linear-gradient(90deg,var(--bh-accent),var(--bh-accent-2));
}
.bh-testimonial-count { display:none; }

@media (max-width:1100px){
  .bh-testimonial-controls {
    width:calc(100% - 24px);
  }
  .bh-testimonial-controls button {
    width:50px;
    height:50px;
  }
}

@media (max-width:767px){
  .bh-testimonials-section { padding-top:68px; padding-bottom:76px; }
  .bh-testimonial-heading-row { margin-bottom:28px; }
  .bh-testimonial-carousel { width:100%; padding-bottom:28px; }
  .bh-testimonial-stage { min-height:0; }
  .bh-testimonial-card {
    min-height:0;
    padding:34px 24px 38px;
    border-radius:22px;
  }
  .bh-testimonial-person img { width:88px; height:88px; }
  .bh-testimonial-person strong { font-size:16px; }
  .bh-testimonial-person span { font-size:11px; }
  .bh-testimonial-card blockquote { font-size:14.5px; line-height:1.68; }
  .bh-testimonial-controls {
    position:static;
    width:auto;
    margin:22px auto 0;
    transform:none;
    justify-content:center;
    gap:14px;
  }
  .bh-testimonial-controls button { width:48px; height:48px; }
  .bh-testimonial-carousel-footer { padding-top:18px; }
}


/* ============================================================
   v5 HOME-ONLY REFINEMENTS
   Requested scope only:
   - one DM Sans font throughout the homepage,
   - keep the Courses mega menu open while moving into it,
   - remove the Understand / Apply / Grow strip in front-page.php,
   - replace plain text arrows with clean SVG-style arrow controls.
   ============================================================ */

/* One elegant professional font across all homepage text. */
body.home,
body.home :where(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,li,small,strong,b,em,blockquote,th,td),
body.home :where(span,div):not(.dashicons):not(.kadence-svg-iconset):not([class*="fa-"]):not([class*="icon-"]) {
  font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
}

/* Mega-menu hover continuity: JS adds .bh-mega-open with a short close delay,
   so the menu cannot vanish while the pointer crosses from Courses into it. */
@media (min-width:1025px){
  body.home .main-navigation .menu-courses.bh-mega-open > .sub-menu,
  body.home .main-navigation .menu-courses:focus-within > .sub-menu {
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  /* Small invisible hover bridge directly under the Courses trigger. */
  body.home .main-navigation .menu-courses::after {
    content:'';
    position:absolute;
    left:-14px;
    right:-14px;
    top:100%;
    height:18px;
    background:transparent;
    pointer-events:auto;
  }

  /* Stylish, high-contrast course-card arrow icon. */
  body.home .main-navigation .menu-courses > .sub-menu > li > a::after {
    content:'' !important;
    width:32px !important;
    height:32px !important;
    right:16px !important;
    border-radius:11px !important;
    border:1px solid rgba(76,95,224,.18) !important;
    background-color:rgba(255,255,255,.92) !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5fe0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:17px 17px !important;
    box-shadow:0 8px 18px -14px rgba(76,95,224,.7) !important;
    color:transparent !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a:hover::after {
    background-color:var(--bh-accent) !important;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") !important;
    border-color:var(--bh-accent) !important;
    transform:translateY(-50%) translateX(2px) !important;
  }
}

/* Testimonials: keep existing layout/content; update arrow controls only. */
.bh-testimonial-controls button {
  display:grid !important;
  place-items:center !important;
  overflow:hidden;
}
.bh-testimonial-controls button svg {
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .18s ease;
}
.bh-testimonial-prev:hover svg { transform:translate(-2px,2px); }
.bh-testimonial-next:hover svg { transform:translate(2px,-2px); }

/* ============================================================
   v5.3 REQUESTED FEATURED-BUNDLE EMPHASIS
   Only the "Featured Bundle" kicker blinks continuously.
   ============================================================ */
body.home .bh-bundle-section .bh-section-kicker > span:first-child {
  animation:bhFeaturedBundleBlink 1.15s ease-in-out infinite;
  will-change:opacity,box-shadow;
}
@keyframes bhFeaturedBundleBlink {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(76,95,224,0); }
  50% { opacity:.28; box-shadow:0 0 0 6px rgba(76,95,224,.06); }
}
@media (prefers-reduced-motion:reduce) {
  body.home .bh-bundle-section .bh-section-kicker > span:first-child { animation:none; }
}


/* ============================================================
   v5.4 REQUESTED CHANGES ONLY
   - Reference gradient on mentor/photo hero section.
   - Reordered nine-item Courses mega menu with descriptions.
   - Unified horizontal arrow glyph in mega menu, LMS course grid and testimonials.
   ============================================================ */

/* Gradient sampled from the supplied reference image: pink/magenta at left,
   warm peach/yellow above, aqua/cyan through the middle and blue at right/bottom. */
body.home .bh-home-hero {
  background:
    radial-gradient(circle at 50% 10%, rgba(254,231,177,.98) 0%, rgba(254,231,177,0) 36%),
    radial-gradient(circle at 43% 52%, rgba(181,228,212,.96) 0%, rgba(181,228,212,0) 40%),
    radial-gradient(circle at 15% 42%, rgba(255,105,176,.92) 0%, rgba(255,105,176,0) 44%),
    radial-gradient(circle at 8% 100%, rgba(159,20,200,.94) 0%, rgba(159,20,200,0) 35%),
    radial-gradient(circle at 50% 100%, rgba(63,175,245,.94) 0%, rgba(63,175,245,0) 47%),
    radial-gradient(circle at 100% 48%, rgba(124,180,231,.96) 0%, rgba(124,180,231,0) 52%),
    linear-gradient(135deg,#fd4277 0%,#ffc5ba 29%,#b5e4d4 54%,#7cb4e7 100%) !important;
}

/* One exact horizontal arrow drawing is reused everywhere. */
body.home .bh-unified-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  line-height:1;
}
body.home .bh-unified-arrow svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (min-width:1025px){
  body.home .main-navigation .menu-courses > .sub-menu::before {
    content:'Explore Billion Hopes courses' !important;
  }

  body.home .main-navigation .menu-courses > .sub-menu > li > a::after {
    content:none !important;
    display:none !important;
  }

  body.home .main-navigation .menu-courses > .sub-menu > li > .bh-mega-card {
    position:relative !important;
    width:auto !important;
    min-height:88px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:center !important;
    padding:18px 58px 18px 24px !important;
    overflow:hidden !important;
    border:1px solid rgba(76,95,224,.12) !important;
    border-radius:18px !important;
    color:var(--bh-text) !important;
    font-family:'DM Sans',sans-serif !important;
    line-height:1.25 !important;
    background:linear-gradient(135deg,#f6f5ff 0%,#eef4ff 100%) !important;
    box-shadow:0 14px 28px -28px rgba(23,26,46,.55) !important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,background .18s ease !important;
    box-sizing:border-box !important;
    text-decoration:none !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3n+2) > .bh-mega-card {
    background:linear-gradient(135deg,#f2f9ff 0%,#effcff 100%) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3n+3) > .bh-mega-card {
    background:linear-gradient(135deg,#f8f7ff 0%,#f4f8ff 100%) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > .bh-mega-card::before {
    content:'';
    position:absolute;
    left:0;
    top:14px;
    bottom:14px;
    width:4px;
    border-radius:0 6px 6px 0;
    background:linear-gradient(180deg,var(--bh-accent),var(--bh-accent-2));
    opacity:.78;
  }
  body.home .bh-mega-title {
    display:block;
    padding-right:2px;
    color:inherit;
    font-size:15px;
    line-height:1.28;
    font-weight:750;
    letter-spacing:-.012em;
  }
  body.home .bh-mega-subtitle {
    display:block;
    margin-top:6px;
    color:#727997;
    font-size:11px;
    line-height:1.25;
    font-weight:600;
    letter-spacing:.01em;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > .bh-mega-card .bh-unified-arrow {
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    width:32px;
    height:32px;
    border-radius:11px;
    border:1px solid rgba(76,95,224,.18);
    background:rgba(255,255,255,.92);
    color:var(--bh-accent);
    box-shadow:0 8px 18px -14px rgba(76,95,224,.7);
    transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a.bh-mega-card:hover {
    transform:translateY(-3px) !important;
    color:var(--bh-accent) !important;
    border-color:rgba(76,95,224,.28) !important;
    background:#fff !important;
    box-shadow:0 22px 38px -28px rgba(45,56,125,.46) !important;
  }
  body.home .main-navigation .menu-courses > .sub-menu > li > a.bh-mega-card:hover .bh-unified-arrow {
    transform:translateY(-50%) translateX(2px);
    color:#fff;
    background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
    border-color:transparent;
  }
  body.home .bh-mega-disabled {
    cursor:default !important;
    opacity:.78;
  }
}

/* LMS Featured Courses: keep its existing button styling; replace only the arrow glyph. */
body.home .bh-home-course-grid .bh-unified-arrow {
  margin-left:8px;
  color:currentColor;
  vertical-align:middle;
}
body.home .bh-home-course-grid .bh-unified-arrow svg {
  width:15px;
  height:15px;
}

/* Testimonials: identical horizontal glyph, mirrored for Previous. */
body.home .bh-testimonial-controls button > .bh-unified-arrow {
  color:currentColor;
}
body.home .bh-testimonial-controls button > svg {
  display:none !important;
}
body.home .bh-testimonial-prev:hover .bh-unified-arrow { transform:translateX(-2px); }
body.home .bh-testimonial-next:hover .bh-unified-arrow { transform:translateX(2px); }


/* ============================================================
   v5.4.2 HERO POLISH ONLY
   - Improve copy contrast on the multicolour mentor hero.
   - Soften the abrupt lower edge of the existing mentor PNG so
     the source-image hand crop reads more naturally.
   - No other section, layout, link or behaviour is changed.
   ============================================================ */

body.home .bh-home-hero-copy .bh-eyebrow {
  color:#006fa8 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.42);
}

body.home .bh-home-hero-copy h1 {
  color:#0d1533 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.28);
}

body.home .bh-home-hero-copy .bh-hero-lead,
body.home .bh-home-hero-copy .bh-hero-points {
  color:#263455 !important;
  text-shadow:0 1px 0 rgba(255,255,255,.32);
}

body.home .bh-home-hero-copy .bh-hero-points i {
  background:rgba(255,255,255,.58) !important;
  color:#0a9b72 !important;
  box-shadow:0 0 0 1px rgba(10,155,114,.08);
}

/* Preserve the original mentor photograph without AI alteration.
   A tiny scale adjustment plus a soft lower fade prevents the PNG's
   native bottom crop from ending harshly at the hero boundary. */
body.home .bh-home-mentor {
  position:relative;
}

body.home .bh-home-mentor img {
  transform:scale(.985);
  transform-origin:center bottom;
  -webkit-mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 95.8%,
    rgba(0,0,0,.94) 97.2%,
    rgba(0,0,0,.72) 98.5%,
    transparent 100%
  );
  mask-image:linear-gradient(
    to bottom,
    #000 0%,
    #000 95.8%,
    rgba(0,0,0,.94) 97.2%,
    rgba(0,0,0,.72) 98.5%,
    transparent 100%
  );
}

@media (max-width:1024px) {
  body.home .bh-home-mentor img {
    transform:scale(.992);
  }
}


/* ============================================================
   v5.4.5 MEGA MENU LAYOUT ONLY
   Convert each existing horizontal row into a vertical column.
   Item content/order/links/text are unchanged.
   ============================================================ */
@media (min-width:1025px){
  body.home .main-navigation .menu-courses > .sub-menu::before{
    grid-column:1 / -1 !important;
    grid-row:1 !important;
  }

  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(1){grid-column:1 !important;grid-row:2 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(2){grid-column:1 !important;grid-row:3 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3){grid-column:1 !important;grid-row:4 !important;}

  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(4){grid-column:2 !important;grid-row:2 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(5){grid-column:2 !important;grid-row:3 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(6){grid-column:2 !important;grid-row:4 !important;}

  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(7){grid-column:3 !important;grid-row:2 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(8){grid-column:3 !important;grid-row:3 !important;}
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(9){grid-column:3 !important;grid-row:4 !important;}
}


/* ============================================================
   v5.4.6 MEGA MENU PASTEL COLUMNS ONLY
   Three distinct vertical pastel colour groups.
   No menu order, text, links, sizing or behaviour changed.
   ============================================================ */
@media (min-width:1025px){
  /* Column 1 — soft lavender blue */
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(1) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(2) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(3) > .bh-mega-card{
    background:linear-gradient(135deg,#f2f0ff 0%,#edf3ff 100%) !important;
  }

  /* Column 2 — soft aqua mint */
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(4) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(5) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(6) > .bh-mega-card{
    background:linear-gradient(135deg,#edfbf8 0%,#eefbff 100%) !important;
  }

  /* Column 3 — soft blush peach */
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(7) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(8) > .bh-mega-card,
  body.home .main-navigation .menu-courses > .sub-menu > li:nth-child(9) > .bh-mega-card{
    background:linear-gradient(135deg,#fff2f5 0%,#fff7ee 100%) !important;
  }
}


/* ============================================================
   v5.4.7 FOOTER ONLY
   Keep non-clickable AI Superclass visually consistent with
   the other Programs footer entries.
   ============================================================ */
.bh-footer-column .bh-footer-placeholder{
  width:max-content;
  max-width:100%;
  color:var(--bh-text-dim);
  font-size:12px;
  line-height:1.45;
  cursor:default;
}

/* ============================================================
   v5.5 HOME UX REFINEMENTS ONLY
   Scope: Home header hierarchy, hero CTAs, trust strip, LMS-card
   presentation metadata, AI journey, testimonial portrait chooser.
   Shared Academy header pages, LMS logic, checkout, WooCommerce,
   menu destinations and footer content remain unchanged.
   ============================================================ */

/* ---------- Home header: slightly stronger, still compact ---------- */
body.home.bh-premium-academy-header .site-main-header-inner-wrap {
  min-height:82px !important;
}
body.home.bh-premium-academy-header .main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-size:14px !important;
  line-height:1.25 !important;
  font-weight:650 !important;
  padding:13px 12px !important;
}
body.home.bh-premium-academy-header .main-navigation .menu-courses > .sub-menu {
  top:82px !important;
}
body.admin-bar.home.bh-premium-academy-header .main-navigation .menu-courses > .sub-menu {
  top:114px !important;
}
body.home.bh-premium-academy-header #menu-item-3531 > a {
  color:var(--bh-header-text-dim) !important;
  background:transparent !important;
  border:1px solid transparent !important;
}
body.home.bh-premium-academy-header .bh-home-student-login-item > a {
  color:var(--bh-header-accent) !important;
  background:#fff !important;
  border:1px solid rgba(76,95,224,.30) !important;
  padding-left:16px !important;
  padding-right:16px !important;
  box-shadow:0 10px 22px -18px rgba(76,95,224,.65) !important;
}
body.home.bh-premium-academy-header .bh-home-student-login-item > a:hover {
  color:#fff !important;
  background:var(--bh-header-accent) !important;
  border-color:var(--bh-header-accent) !important;
}
body.home.bh-premium-academy-header .bh-home-my-learning-item > a {
  color:#fff !important;
  background:linear-gradient(120deg,var(--bh-header-accent),#6f5ff0) !important;
  border:1px solid transparent !important;
  padding-left:16px !important;
  padding-right:16px !important;
  box-shadow:0 14px 28px -20px rgba(76,95,224,.70) !important;
}
body.home.bh-premium-academy-header .bh-home-my-learning-item > a:hover {
  color:#fff !important;
  background:linear-gradient(120deg,#4255d7,#6657e8) !important;
}

/* ---------- Hero CTA hierarchy ---------- */
body.home .bh-hero-primary-cta {
  min-height:52px;
  padding-left:23px;
  padding-right:21px;
  font-weight:700;
}
body.home .bh-hero-primary-cta .bh-unified-arrow {
  margin-left:2px;
  transition:transform .16s ease;
}
body.home .bh-hero-primary-cta:hover .bh-unified-arrow { transform:translateX(3px); }
body.home .bh-hero-path-cta {
  min-height:52px;
  color:#35405f !important;
  background:rgba(255,255,255,.72);
  border-color:rgba(76,95,224,.20);
  box-shadow:none;
}
body.home .bh-hero-path-cta:hover {
  color:var(--bh-accent) !important;
  background:#fff;
  border-color:rgba(76,95,224,.34);
}

/* ---------- Compact trust strip directly below hero ---------- */
body.home .bh-home-trust-strip {
  padding:24px 0 4px;
}
body.home .bh-home-trust-strip + .bh-bundle-section {
  padding-top:52px;
}
body.home .bh-trust-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
body.home .bh-trust-item {
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  border:1px solid rgba(76,95,224,.10);
  border-radius:14px;
  background:rgba(255,255,255,.82);
  box-shadow:0 16px 34px -32px rgba(23,26,46,.38);
}
body.home .bh-trust-icon {
  width:34px;
  height:34px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:10px;
  color:var(--bh-accent);
  background:linear-gradient(135deg,rgba(76,95,224,.09),rgba(15,159,209,.08));
}
body.home .bh-trust-icon svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.home .bh-trust-item strong {
  display:block;
  color:var(--bh-text);
  font-size:13px;
  line-height:1.25;
  font-weight:700;
}
body.home .bh-trust-item span:not(.bh-trust-icon) {
  display:block;
  margin-top:3px;
  color:var(--bh-text-dim);
  font-size:11px;
  line-height:1.35;
}

/* ---------- LMS Featured Courses: presentation only ---------- */
body.home .bh-home-course-enhanced .bh-course-home-tags {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 10px;
}
body.home .bh-home-course-enhanced .bh-course-home-tags span {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border:1px solid rgba(76,95,224,.12);
  border-radius:999px;
  color:var(--bh-accent);
  background:rgba(76,95,224,.055);
  font-size:9px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:.075em;
}
body.home .bh-home-course-enhanced .bh-course-home-description {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  margin-bottom:14px !important;
  color:var(--bh-text-dim) !important;
  font-size:13px !important;
  line-height:1.58 !important;
}
body.home .bh-home-course-enhanced .bh-course-home-meta {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:4px 0 16px;
}
body.home .bh-home-course-enhanced .bh-course-home-meta-chip {
  min-width:0;
  padding:10px 9px;
  border:1px solid rgba(76,95,224,.10);
  border-radius:11px;
  background:linear-gradient(145deg,#fbfcff,#f6f9ff);
}
body.home .bh-home-course-enhanced .bh-course-home-meta-chip > span {
  display:block;
  margin-bottom:4px;
  color:var(--bh-text-faint);
  font-size:8.5px !important;
  line-height:1.1 !important;
  font-weight:700 !important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.home .bh-home-course-enhanced .bh-course-home-meta-chip > strong {
  display:block;
  color:var(--bh-text);
  font-size:11px !important;
  line-height:1.28 !important;
  font-weight:700 !important;
}

/* ---------- Signature AI journey ---------- */
body.home #bh-ai-journey { scroll-margin-top:110px; }
body.home .bh-journey-section {
  position:relative;
  padding-top:86px;
  padding-bottom:94px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 620px 300px at 4% 20%,rgba(76,95,224,.09),transparent 70%),
    radial-gradient(ellipse 620px 300px at 96% 78%,rgba(15,159,209,.09),transparent 70%),
    linear-gradient(180deg,#fbfcff 0%,#f5f9fd 100%);
  border-top:1px solid rgba(76,95,224,.08);
  border-bottom:1px solid rgba(15,159,209,.09);
}
body.home .bh-journey-heading { margin-bottom:44px; }
body.home .bh-journey-marquee {
  position:relative;
  width:100%;
  overflow:hidden;
  padding:4px 0 18px;
}
body.home .bh-journey-track {
  display:flex;
  width:max-content;
  max-width:none;
  transform:translate3d(0,0,0);
  will-change:transform;
}
body.home .bh-journey-track[data-bh-journey-loop="1"] {
  animation:bhJourneyMarquee var(--bh-journey-duration,42s) linear infinite;
}
body.home .bh-journey-marquee:hover .bh-journey-track,
body.home .bh-journey-marquee:focus-within .bh-journey-track {
  animation-play-state:paused;
}
body.home .bh-journey-loop-group {
  display:flex;
  flex:none;
  gap:14px;
  padding-right:14px;
}
body.home .bh-journey-step {
  position:relative;
  flex:0 0 clamp(220px,18vw,270px);
  width:clamp(220px,18vw,270px);
  min-height:218px;
  padding:26px 22px 24px;
  border:1px solid rgba(76,95,224,.12);
  border-radius:19px;
  background:rgba(255,255,255,.94);
  box-shadow:0 22px 48px -38px rgba(23,26,46,.42);
}
@keyframes bhJourneyMarquee {
  from { transform:translate3d(0,0,0); }
  to { transform:translate3d(-50%,0,0); }
}
body.home .bh-journey-connector {
  position:absolute;
  z-index:2;
  top:50%;
  right:-23px;
  display:block;
  transform:translateY(-50%);
  pointer-events:none;
}
body.home .bh-journey-connector > .bh-unified-arrow {
  width:32px;
  height:32px;
  border-radius:11px;
  border:1px solid rgba(76,95,224,.18);
  background:rgba(255,255,255,.92);
  color:var(--bh-accent);
  box-shadow:0 8px 18px -14px rgba(76,95,224,.7);
  transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
body.home .bh-journey-step:hover .bh-journey-connector > .bh-unified-arrow {
  transform:translateX(2px);
  color:#fff;
  background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
  border-color:transparent;
}
body.home .bh-journey-track:not([data-bh-journey-loop="1"]) .bh-journey-step:last-child .bh-journey-connector { display:none; }
body.home .bh-journey-number {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  margin-bottom:20px;
  border-radius:12px;
  color:#fff;
  background:linear-gradient(135deg,var(--bh-accent),var(--bh-accent-2));
  font-size:11px;
  font-weight:800;
  letter-spacing:.05em;
}
body.home .bh-journey-step h3 {
  margin:0;
  color:var(--bh-text);
  font-size:20px;
  line-height:1.15;
  font-weight:800;
}
body.home .bh-journey-step > p {
  margin:8px 0 22px;
  color:var(--bh-text-dim);
  font-size:12.5px;
  line-height:1.45;
}
body.home .bh-journey-step > a {
  display:inline-flex;
  color:var(--bh-accent);
  text-decoration:none;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
}
body.home .bh-journey-step > a:hover { text-decoration:underline; }

/* ---------- Testimonials: keep main premium card; show depth with portraits ---------- */
body.home .bh-testimonial-audiences {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 10px;
  margin:16px auto 0;
  color:#727997;
  font-size:11px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:.035em;
}
body.home .bh-testimonial-audiences span { color:#b0b6c9; }
body.home .bh-testimonial-carousel-footer {
  padding-top:24px;
}
body.home .bh-testimonial-dots {
  width:100%;
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  gap:8px;
  overflow-x:auto;
  padding:6px 4px 10px;
  scrollbar-width:thin;
}
body.home .bh-testimonial-dot.bh-testimonial-thumb {
  width:48px !important;
  height:48px !important;
  min-width:48px;
  padding:3px !important;
  overflow:hidden;
  border:1px solid rgba(76,95,224,.12) !important;
  border-radius:14px !important;
  background:#fff !important;
  opacity:.66;
  box-shadow:0 10px 22px -18px rgba(23,26,46,.48);
  transition:opacity .16s ease,transform .16s ease,border-color .16s ease,box-shadow .16s ease !important;
}
body.home .bh-testimonial-dot.bh-testimonial-thumb img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
}
body.home .bh-testimonial-dot.bh-testimonial-thumb:hover {
  opacity:1;
  transform:translateY(-2px);
  border-color:rgba(76,95,224,.30) !important;
}
body.home .bh-testimonial-dot.bh-testimonial-thumb.is-active {
  width:48px !important;
  opacity:1;
  border-color:var(--bh-accent) !important;
  box-shadow:0 0 0 2px rgba(76,95,224,.10),0 14px 26px -18px rgba(76,95,224,.60);
}

@media (max-width:1024px){
  body.home .bh-trust-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.home .bh-journey-step { flex-basis:235px; width:235px; }
}

@media (max-width:767px){
  body.home.bh-premium-academy-header .site-main-header-inner-wrap { min-height:78px !important; }
  body.home .bh-home-trust-strip { padding-top:18px; }
  body.home .bh-trust-grid { grid-template-columns:1fr 1fr; gap:8px; }
  body.home .bh-trust-item { align-items:flex-start; padding:13px; }
  body.home .bh-trust-icon { width:31px; height:31px; }
  body.home .bh-trust-item strong { font-size:12px; }
  body.home .bh-trust-item span:not(.bh-trust-icon) { font-size:10px; }
  body.home .bh-home-course-enhanced .bh-course-home-meta { grid-template-columns:1fr; }
  body.home .bh-journey-section { padding-top:68px; padding-bottom:74px; }
  body.home .bh-journey-heading { margin-bottom:30px; }
  body.home .bh-journey-marquee {
    width:calc(100vw - 28px);
    margin-left:calc((100% - (100vw - 28px)) / 2);
  }
  body.home .bh-journey-loop-group { gap:12px; padding-right:12px; }
  body.home .bh-journey-step { flex-basis:220px; width:220px; min-height:210px; }
  body.home .bh-testimonial-dots { justify-content:flex-start; }
  body.home .bh-testimonial-dot.bh-testimonial-thumb {
    width:44px !important;
    height:44px !important;
    min-width:44px;
    border-radius:13px !important;
  }
  body.home .bh-testimonial-dot.bh-testimonial-thumb.is-active { width:44px !important; }
}

@media (max-width:480px){
  body.home .bh-trust-grid { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce){
  body.home .bh-journey-marquee { overflow:visible; }
  body.home .bh-journey-track[data-bh-journey-loop="1"] {
    width:100%;
    animation:none;
    transform:none;
  }
  body.home .bh-journey-loop-group[data-bh-journey-original] {
    width:100%;
    flex-wrap:wrap;
    justify-content:center;
    padding-right:0;
  }
  body.home .bh-journey-loop-group[aria-hidden="true"] { display:none; }
  body.home .bh-journey-loop-group[data-bh-journey-original] .bh-journey-step:last-child .bh-journey-connector { display:none; }
}



/* ============================================================
   AI MASTERY BUNDLE HOMEPAGE ENQUIRY — NO INNER SCROLL
   Only affects the Mastery Bundle BH Forms popup.
   ============================================================ */
@media (min-width:701px){

  #bh-enquiry2-modal.bh-enquiry-modal{
    width:min(1000px,calc(100vw - 36px))!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
    border-radius:22px!important;
  }

  #bh-enquiry2-modal #bh-form2-wrap{
    width:100%!important;
    padding:12px!important;
    box-sizing:border-box!important;
  }

  #bh-enquiry2-modal .bh-enquiry-close{
    position:absolute!important;
    top:10px!important;
    right:10px!important;
    float:none!important;
    width:38px!important;
    height:38px!important;
    margin:0!important;
    border-radius:50%!important;
    z-index:50!important;
  }

  /* Compact only this imported BH Form enough to fit fully in viewport. */
  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"]{
    width:100%!important;
    max-width:950px!important;
    margin:0 auto!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bh-master-card{
    width:100%!important;
    padding:14px 20px 12px!important;
    border-radius:18px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-logo-wrap{
    margin:0 auto 5px!important;
    padding:5px 10px!important;
    border-radius:10px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-logo{
    width:115px!important;
    max-width:115px!important;
    height:auto!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bh-master-kicker{
    margin:0 auto 5px!important;
    padding:5px 10px!important;
    font-size:10px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bh-master-title{
    margin:0 0 5px!important;
    font-size:28px!important;
    line-height:1.05!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bh-master-description{
    margin:4px auto 10px!important;
    font-size:13px!important;
    line-height:1.35!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-grid{
    row-gap:7px!important;
    column-gap:12px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-label{
    margin:0 0 3px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-input{
    min-height:39px!important;
    height:39px!important;
    padding:6px 11px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] select.bhif-input{
    height:39px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-help{
    margin-top:2px!important;
    font-size:10px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-submit-row{
    margin-top:9px!important;
    gap:3px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-submit{
    min-height:40px!important;
    height:40px!important;
    min-width:200px!important;
    padding:8px 22px!important;
    font-size:12px!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bhif-lock{
    font-size:9px!important;
    line-height:1.15!important;
  }

  #bh-enquiry2-modal .bhif-form-wrap[data-form="ai-mastery-bundle-enquiry"] .bh-master-note{
    margin:4px auto 0!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
}

/* Mobile keeps its safe viewport fallback. */
@media (max-width:700px){
  #bh-enquiry2-modal.bh-enquiry-modal{
    max-height:calc(100dvh - 16px)!important;
    overflow-y:auto!important;
  }
}
