/* Javaneh gallery -> native category hero. Surgical v0.41. */
.onek-education-story-photo{position:relative}
.onek-education-story-photo .onekj41-gallery-link{position:absolute;inset:0;display:block;z-index:8;cursor:pointer;border-radius:inherit}
.onek-education-story-photo:focus-within{outline:2px solid #a72550;outline-offset:3px}
/* The hero keeps the existing height, dark palette, text and navigation. */
body.onekedu16-dark-header main.onekedu13-hub > header.onekedu13-detail-hero.onekj41-photo-hero,
main.onekedu13-hub > header.onekedu13-detail-hero.onekj41-photo-hero{
 position:relative;isolation:isolate;background:#171418!important;overflow:hidden;
}
.onekedu13-detail-hero.onekj41-photo-hero::before{
 content:"";position:absolute;inset:0;z-index:-2;
 background-image:var(--onekj41-hero-photo);background-size:cover;background-position:center 42%;
 filter:grayscale(100%);opacity:.52;
}
.onekedu13-detail-hero.onekj41-photo-hero::after{
 content:"";position:absolute;inset:0;z-index:-1;
 background:linear-gradient(90deg,rgba(16,13,19,.76) 0%,rgba(16,13,19,.73) 40%,rgba(16,13,19,.85) 100%);
}
.onekedu13-detail-hero.onekj41-photo-hero .onekedu131-program-hero-layout{display:block}
.onekedu13-detail-hero.onekj41-photo-hero .onekedu131-program-header-copy{max-width:840px;margin-inline-start:0}
@media(max-width:720px){
 .onekedu13-detail-hero.onekj41-photo-hero::before{background-position:center;opacity:.43}
 .onekedu13-detail-hero.onekj41-photo-hero::after{background:rgba(16,13,19,.76)}
}

/* 0.42: same dark grayscale treatment for academy family hub hero, preserving its layout/logo. */
main.onekedu13-hub > header.onekedu13-detail-hero.onekj42-hub-photo-hero {
 position:relative;isolation:isolate;overflow:hidden;background:#171418!important;
}
.onekedu13-detail-hero.onekj42-hub-photo-hero::before {
 content:"";position:absolute;inset:0;z-index:-2;
 background-image:var(--onekj41-hero-photo);background-size:cover;background-position:center 42%;
 filter:grayscale(100%);opacity:.52;pointer-events:none;
}
.onekedu13-detail-hero.onekj42-hub-photo-hero::after {
 content:"";position:absolute;inset:0;z-index:-1;
 background:linear-gradient(90deg,rgba(16,13,19,.76),rgba(16,13,19,.73) 40%,rgba(16,13,19,.85));pointer-events:none;
}
.onekedu13-detail-hero.onekj42-hub-photo-hero > .onekedu13-detail-wrap {position:relative;z-index:1;}
@media(max-width:720px){
 .onekedu13-detail-hero.onekj42-hub-photo-hero::before{background-position:center;opacity:.43}
 .onekedu13-detail-hero.onekj42-hub-photo-hero::after{background:rgba(16,13,19,.76)}
}
