.school-hero-component{
    position:relative;
    min-height:var(--hero-height,430px);
    overflow:hidden;
    background:transparent;
}

.school-hero-component__banner{
    position:absolute;
    inset:0;
    z-index:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.school-hero-component__content{
    position:relative;
    z-index:1;
    display:flex;
    min-height:var(--hero-height,430px);
    width:min(39%,680px);
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:48px 40px 48px max(64px,calc((100vw - 1400px)/2));
    background:transparent;
}

.school-hero-component h1{
    max-width:560px;
    margin:0 0 20px;
    color:var(--hero-title,#243f38);
    font-size:clamp(2.7rem,3.25vw,4rem);
    line-height:1.02;
    letter-spacing:-.035em;
}

.school-hero-component p{
    max-width:500px;
    margin:0;
    color:var(--hero-text,#243b35);
    font-size:1.04rem;
    line-height:1.58;
}

.school-hero-component__button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-height:46px;
    margin-top:26px;
    padding:0 22px;
    border-radius:999px;
    background:#2e8248;
    color:#fff;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 9px 20px rgba(46,130,72,.2);
}

.school-hero-component__button:hover,
.school-hero-component__button:focus-visible{
    color:#fff;
    text-decoration:none;
    transform:translateY(-2px);
}

@media (max-width:900px){
    .school-hero-component,
    .school-hero-component__content{
        min-height:var(--hero-height-mobile,390px);
    }

    .school-hero-component__content{
        width:min(58%,560px);
        padding:42px 28px;
    }

    .school-hero-component h1{
        font-size:clamp(2.2rem,6vw,3.15rem);
    }
}

@media (max-width:620px){
    .school-hero-component,
    .school-hero-component__content{
        min-height:var(--hero-height-mobile,390px);
    }

    .school-hero-component__banner{
        object-position:center;
    }

    .school-hero-component__content{
        width:68%;
        padding:34px 18px;
    }

    .school-hero-component h1{
        margin-bottom:16px;
        font-size:clamp(2rem,9vw,2.55rem);
    }

    .school-hero-component p{
        font-size:.96rem;
        line-height:1.5;
    }
}
