/* BodhMath light glass readability patch — preserves existing pages and behavior. */
:root{--bm-navy:#102a57;--bm-blue:#1467ef;--bm-cyan:#0b84d6;--bm-orange:#ff7827;--bm-purple:#7352df;--bm-line:#c9ddf9}
html,body{background:#f3f8ff!important;color:#142c50!important}
body main,body main:not(:has(.dream-hero)){background:linear-gradient(145deg,#f6faff 0%,#eaf4ff 55%,#f9f4ff 100%)!important;color:#142c50!important}
body .premium-top,body:has(.dream-hero) .premium-top{background:rgba(249,252,255,.88)!important;backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);border-bottom:1px solid #d9e7ff!important;box-shadow:0 8px 25px #365d921c!important}
/* Glass mega menus: contrast first, never navy text on navy background. */
body .premium-top .dropdown,body .dropdown,body .mega-menu{background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(230,243,255,.96) 60%,rgba(243,237,255,.96))!important;border:1px solid rgba(255,255,255,.96)!important;box-shadow:0 22px 60px #254e8240, inset 0 1px 0 #fff!important;border-radius:22px!important;backdrop-filter:blur(26px) saturate(160%);-webkit-backdrop-filter:blur(26px) saturate(160%);color:#142c50!important;z-index:110!important}
body .premium-top .dropdown strong,body .dropdown strong,body .mega-col strong{color:#15366b!important;font-weight:850!important}
body .premium-top .dropdown a,body .dropdown a,body .mega-col a{color:#193960!important;font-weight:700!important;background:rgba(255,255,255,.42);border:1px solid transparent;border-radius:12px;padding:10px 12px!important;line-height:1.4!important}
body .premium-top .dropdown a:hover,body .dropdown a:hover,body .mega-col a:hover{color:#075cda!important;background:rgba(222,236,255,.95)!important;border-color:#c7dcff!important;transform:translateX(2px)}
body .premium-top .nav-link,body .premium-top .nav-trigger{color:#19345e!important}
/* Hero: keep the photographic image but switch the text side to soft daylight. */
.dream-hero{background:linear-gradient(90deg,rgba(245,250,255,.98) 0%,rgba(236,246,255,.94) 35%,rgba(236,246,255,.28) 70%,rgba(238,246,255,.08)),url('https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=2200&q=90') center/cover!important;border-bottom:1px solid #b8d7ff!important;min-height:580px!important}
.dream-overlay{background:linear-gradient(90deg,rgba(246,250,255,.58),transparent 75%)!important}
.dream-copy h1{color:#102a57!important;text-shadow:none!important}
.dream-copy h1 span{background:linear-gradient(90deg,#1266f4,#ff7927)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
.dream-copy p{color:#315477!important}.dream-kicker{background:#ffffffdc!important;color:#1768d7!important;border:1px solid #c9e1ff!important;box-shadow:0 8px 24px #1d6cbe1a!important}.dream-quote{color:#193e6e!important;text-shadow:0 2px 10px #ffffff!important}
/* Remove the oversized dark divider/overlap seen under the benefits strip. */
.dream-hero{height:auto!important;overflow:visible!important;padding-bottom:30px!important}
.dream-wrap{padding-bottom:95px!important}
.dream-benefits{position:relative!important;bottom:auto!important;left:auto!important;width:min(92%,1480px)!important;margin:-55px auto 0!important;z-index:8!important;min-height:95px!important;background:rgba(255,255,255,.86)!important;border:1px solid #fff!important;box-shadow:0 14px 35px #1e5caa28!important;backdrop-filter:blur(22px)!important;overflow:hidden!important}
.dream-benefits>div{border-right:1px solid #d9e5f6!important}.dream-benefits>div>span{background:linear-gradient(135deg,#e2f1ff,#eef0ff)!important;box-shadow:none!important}.dream-benefits b{color:#17365d!important}.dream-benefits small{color:#4b6684!important}
.bm-showcase{padding:52px 4.5% 40px!important;background:linear-gradient(180deg,#eef7ff,#f9f7ff)!important}.bm-showcase-head .bm-eyebrow{color:#1766d8!important}.bm-showcase-head h2{color:#142c50!important}.bm-showcase-head p{color:#526e8e!important}
.bm-feature{border:1px solid #d2e6ff!important;box-shadow:0 10px 26px #23549d22!important}.bm-feature:hover{box-shadow:0 18px 36px #23549d33!important}.bm-tour-highlight>div{box-shadow:0 10px 25px #23549d22!important}
.dream-institutions,.section,.section.soft,.visitor-programs,.visitor-highlights,body .contact{background:transparent!important}
.dream-heading h2,.section h2,.sectiontop h2,body main:not(:has(.dream-hero)) h1,body main:not(:has(.dream-hero)) h2,body main:not(:has(.dream-hero)) h3{color:#16345e!important}
.dream-heading p,.sectiontop p,.section p,body main:not(:has(.dream-hero)) p{color:#456381!important}
.dream-heading span,.eyebrow{color:#196cda!important}
.dream-cards>a,.tile,.visitor-program-card,.examtile,.blogtile,body main:not(:has(.dream-hero)) .card,.asidecard,.article dl{background:linear-gradient(150deg,rgba(255,255,255,.97),rgba(234,245,255,.93))!important;border:1px solid #d6e6fa!important;box-shadow:0 10px 30px #174d8c16!important;color:#18365e!important}
.dream-cards h3,.tile h3,.visitor-program-card h3,.examtile h3,.blogtile h3{color:#17365f!important}.dream-cards p,.tile p,.visitor-program-card p{color:#526e8d!important}.dream-cards b,.tile b,.visitor-program-card a{color:#1765d6!important}
.featureband{background:linear-gradient(110deg,#e8f4ff,#e9e8ff)!important;border-block:1px solid #cfe1f8!important}.featurecopy h2,.featurecopy p,.featurepoints b,.featurepoints small{color:#1b395e!important}.cta{background:linear-gradient(110deg,#e5f1ff,#eeeaff)!important;border:1px solid #d2e1fb!important;box-shadow:0 12px 28px #2253a321!important;color:#17365f!important}.cta h2,.cta p{color:#17365f!important}
body main:not(:has(.dream-hero)) .section,body main:not(:has(.dream-hero)) .listing,body main:not(:has(.dream-hero)) article{color:#1c3a5e!important}
body main:not(:has(.dream-hero)) .tile,body main:not(:has(.dream-hero)) .card{border:1px solid #d6e6fa!important;box-shadow:0 10px 25px #2253a31b!important}
body main:not(:has(.dream-hero)) a:not(.btn){color:#175cbd}
.pagehead{background:linear-gradient(110deg,#dceeff,#eae7ff)!important;color:#17365f!important}.pagehead h1{color:#14335f!important}.pagehead p{color:#3e6083!important}
.article dt{background:#e9f3ff!important;color:#193b63!important}.article dd{color:#284b70!important}.notice{color:#5b441d!important}.asidecard a{color:#1766d6!important}
.footer{background:#102b54!important;color:#eaf3ff!important}.footer a,.footer p,.footer h4{color:#dceaff!important}
/* Preserve deliberate dark text on photos / dark footer and accessible form controls. */
input,textarea,select{background:#fff;color:#18365e;border-color:#cbdcf1}input::placeholder,textarea::placeholder{color:#7387a0}.modal,.bodh-search-panel{background:#f7fbff!important;color:#18365e!important}
@media(max-width:1250px){body .premium-top nav.active{background:rgba(248,252,255,.98)!important;border:1px solid #d7e5fa!important}body .premium-top .menu-toggle{color:#174580!important;background:#e5f0ff!important}}
@media(max-width:650px){.dream-wrap{padding-bottom:75px!important}.dream-benefits{margin:-35px auto 0!important;width:94%!important}.bm-showcase{padding-top:38px!important}.dream-hero{padding-bottom:18px!important}}
