/* YEES TZ section title image heroes v1.6.9
   Compact full-width title/header photography.
   No dark image overlay. */

.yees-section-image-hero{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    min-height:clamp(390px,31vw,500px);
    display:flex;
    align-items:center;
    background-image:var(--section-hero-image)!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    background-position:var(--section-hero-position,center)!important;
    border-bottom:1px solid rgba(17,51,32,.08);
    color:#142b1d;
}

.yees-section-image-hero::before,
.yees-section-image-hero::after{
    content:none!important;
    display:none!important;
}

.yees-section-image-hero>.container,
.yees-section-image-hero>.container.leadership-hero__inner,
.yees-section-image-hero>.container.gallery-hero__inner{
    position:relative;
    z-index:2;
    width:100%;
    padding-top:clamp(2rem,3.5vw,3.25rem);
    padding-bottom:clamp(2rem,3.5vw,3.25rem);
}

.yees-section-image-hero__panel{
    width:min(920px,72%);
    padding:clamp(1.55rem,2.5vw,2.35rem);
    border:1px solid rgba(255,255,255,.78);
    border-radius:26px;
    background:rgba(255,255,255,.91);
    box-shadow:0 20px 58px rgba(19,43,29,.13);
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}

.yees-section-image-hero .institutional-breadcrumb,
.yees-section-image-hero .public-breadcrumb{
    margin-bottom:1.05rem;
}

.yees-section-image-hero .institutional-breadcrumb,
.yees-section-image-hero .institutional-breadcrumb span,
.yees-section-image-hero .public-breadcrumb,
.yees-section-image-hero .public-breadcrumb .breadcrumb-item,
.yees-section-image-hero .public-breadcrumb .breadcrumb-item.active{
    color:#52655a!important;
}

.yees-section-image-hero .institutional-breadcrumb a,
.yees-section-image-hero .public-breadcrumb a{
    color:#087b36!important;
    text-decoration-color:rgba(8,123,54,.35);
}

.yees-section-image-hero .institutional-kicker,
.yees-section-image-hero .section-eyebrow,
.gallery-hero.yees-section-image-hero .institutional-kicker--gold{
    color:#087b36!important;
}

.yees-section-image-hero h1{
    color:#12291c!important;
    text-shadow:none!important;
    margin-bottom:.85rem;
}

.yees-section-image-hero p,
.yees-section-image-hero .yees-programs-hero__intro p{
    color:#4f6257!important;
    text-shadow:none!important;
}

.yees-section-image-hero .yees-programs-hero__grid{
    grid-template-columns:1fr;
    gap:1rem;
}

.yees-section-image-hero .yees-programs-hero__intro p{
    max-width:760px;
}

.gallery-hero.yees-section-image-hero,
.gallery-detail-hero.yees-section-image-hero{
    color:#142b1d!important;
}

/* Gallery detail title/header:
   same compact height, full-width photo, first gallery image as background. */
.yees-section-image-hero--gallery-detail{
    min-height:clamp(390px,31vw,500px);
}

.yees-section-image-hero--gallery-detail .yees-section-image-hero__panel{
    width:min(900px,70%);
}

@media (max-width: 991.98px){
    .yees-section-image-hero,
    .yees-section-image-hero--gallery-detail{
        min-height:440px;
    }

    .yees-section-image-hero__panel,
    .yees-section-image-hero--gallery-detail .yees-section-image-hero__panel{
        width:min(780px,86%);
    }
}

@media (max-width: 767.98px){
    .yees-section-image-hero,
    .yees-section-image-hero--gallery-detail{
        min-height:420px;
        align-items:flex-end;
    }

    .yees-section-image-hero>.container,
    .yees-section-image-hero>.container.leadership-hero__inner,
    .yees-section-image-hero>.container.gallery-hero__inner{
        padding-top:2.5rem;
        padding-bottom:1.5rem;
    }

    .yees-section-image-hero__panel,
    .yees-section-image-hero--gallery-detail .yees-section-image-hero__panel{
        width:100%;
        padding:1.35rem;
        border-radius:22px;
        background:rgba(255,255,255,.94);
        backdrop-filter:blur(3px);
        -webkit-backdrop-filter:blur(3px);
    }
}

@media (max-width: 575.98px){
    .yees-section-image-hero,
    .yees-section-image-hero--gallery-detail{
        min-height:390px;
    }

    .yees-section-image-hero__panel{
        padding:1.15rem;
    }
}

@media (prefers-reduced-motion: reduce){
    .yees-section-image-hero{
        background-attachment:scroll!important;
    }
}
