/* Homepage student photo banner only; all other styles remain untouched. */
body:has(.dream-hero) .dream-hero{position:relative!important;isolation:isolate;background-image:none!important;background-color:#173a62!important;overflow:hidden!important}
body:has(.dream-hero) .student-banner-slides{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
body:has(.dream-hero) .student-banner-slide{position:absolute;inset:0;background-position:center 39%;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.055);transition:opacity 1.15s ease,transform 6.5s ease;will-change:opacity,transform}
body:has(.dream-hero) .student-banner-slide.is-active{opacity:1;transform:scale(1)}
body:has(.dream-hero) .student-banner-slide:first-child{background-position:center 34%}
body:has(.dream-hero) .dream-overlay{z-index:1!important;background:linear-gradient(90deg,rgba(3,18,42,.91) 0%,rgba(3,25,55,.77) 37%,rgba(3,28,58,.28) 73%,rgba(3,28,58,.12) 100%)!important}
body:has(.dream-hero) .dream-wrap{z-index:2!important}
body:has(.dream-hero) .dream-benefits{z-index:4!important}
@media(max-width:700px){body:has(.dream-hero) .student-banner-slide{background-position:62% center}body:has(.dream-hero) .dream-overlay{background:linear-gradient(90deg,rgba(3,18,42,.89),rgba(3,25,55,.65))!important}}
@media(prefers-reduced-motion:reduce){body:has(.dream-hero) .student-banner-slide{transition:none;transform:none!important}}

/* Softer, brand-matched photo treatment and fluid transitions */
body:has(.dream-hero) .student-banner-slide{background-position:center center;transition:opacity 1.8s cubic-bezier(.22,1,.36,1),transform 7s ease-out;transform:scale(1.035)}
body:has(.dream-hero) .dream-overlay{background:linear-gradient(90deg,rgba(5,27,60,.87) 0%,rgba(8,40,83,.67) 38%,rgba(8,48,88,.12) 78%,rgba(8,48,88,.06) 100%)!important}
@media(max-width:700px){body:has(.dream-hero) .student-banner-slide{background-position:65% center}body:has(.dream-hero) .dream-overlay{background:linear-gradient(90deg,rgba(5,27,60,.90),rgba(8,40,83,.52))!important}}
/* Readability-only adjustment: keep existing imagery, animation and layout unchanged. */
body:has(.dream-hero) .dream-copy h1{color:#ffffff!important;text-shadow:0 3px 18px rgba(0,12,35,.55)!important}
body:has(.dream-hero) .dream-copy h1 span{color:#a9d8ff!important;-webkit-text-fill-color:#a9d8ff!important;background:none!important;text-shadow:0 3px 16px rgba(0,12,35,.5)!important}
body:has(.dream-hero) .dream-copy p{color:#edf6ff!important;opacity:1!important;text-shadow:0 2px 10px rgba(0,12,35,.6)!important}
body:has(.dream-hero) .dream-kicker{color:#123f7d!important;-webkit-text-fill-color:#123f7d!important;background:#e9f4ffed!important;border-color:#c7e4ff!important}
