/* Editorial photography update: preserve EduPath's current typography, palette and layout. */
.worldclass-home-photo{position:absolute;inset:0;overflow:hidden;border-radius:inherit;z-index:0}
.worldclass-home-photo .worldclass-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:center 44%;filter:saturate(.86) contrast(1.06);opacity:.84}
.worldclass-home-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#07295884,#06244f09 65%),linear-gradient(0deg,#092750a3,transparent 65%)}
.experience-visual .experience-globe{opacity:.22;pointer-events:none}
.experience-visual .experience-ring{opacity:.32;pointer-events:none}
.experience-visual .experience-place{position:absolute;z-index:4;backdrop-filter:blur(8px)}
.experience-visual .experience-visual-footer{position:relative;z-index:3}
.experience-visual .experience-visual-glow{opacity:.19;pointer-events:none}
.worldclass-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;border-radius:inherit;display:block;filter:saturate(.92)}
.editorial-hero-art{position:relative;overflow:hidden}
.editorial-hero-art:has(.worldclass-hero-photo){background:#d9e5ee}
.editorial-hero-art:has(.worldclass-hero-photo):after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#082c59a9);pointer-events:none}
.editorial-hero-art:has(.worldclass-hero-photo) .editorial-floating{position:absolute;z-index:3}
.editorial-about-photo.worldclass-hero-photo{object-position:center}
.depth-destination-image{height:180px!important;object-fit:cover;object-position:center;opacity:1;border:0}
.experience-destination:nth-child(-n+2) .depth-destination-image{height:210px!important}
.experience-destination{isolation:isolate}
.depth-destination-inner{overflow:hidden;border-radius:9px}
.depth-destination-inner img{transition:transform .35s ease}
.experience-destination:hover .depth-destination-inner img{transform:scale(1.035)}
.depth-guide-scene img{height:auto;aspect-ratio:16/9;object-fit:cover}
.depth-article-visual{height:168px}
.depth-article-visual img{object-fit:cover}
.experience-founder-portrait img{object-fit:cover;object-position:center}
@media(max-width:850px){.depth-destination-image,.experience-destination:nth-child(-n+2) .depth-destination-image{height:160px!important}}
@media(max-width:550px){.worldclass-home-photo .worldclass-photo{object-position:52% 45%}.depth-destination-image,.experience-destination:nth-child(-n+2) .depth-destination-image{height:155px!important}.worldclass-hero-photo{object-position:center}}
@media(prefers-reduced-motion:reduce){.depth-destination-inner img{transition:none}}

/* Preserve floating callouts without covering the photograph. */
.editorial-hero-art:has(.worldclass-hero-photo) .editorial-hero-surface{z-index:-1}
.editorial-hero-art:has(.worldclass-hero-photo) .worldclass-hero-photo{position:absolute;inset:6% 0 0 7%;width:93%;height:94%;border-radius:15px 15px 0 0;box-shadow:0 26px 65px #133e7023}
@media(max-width:760px){.editorial-hero-art:has(.worldclass-hero-photo) .worldclass-hero-photo{inset:0 5% 0 5%;width:90%;height:100%}}

/* EduPath founder image refresh 2026: individual guide photos, never image collages */
.ep-guide-photo-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0 32px;}
.ep-guide-photo-grid figure,.ep-resource-feature-photo {margin:0;overflow:hidden;border-radius:18px;background:#e5eef2;box-shadow:0 10px 28px rgba(10,39,62,.09)}
.ep-guide-photo-grid img {display:block;width:100%;aspect-ratio:3/2;object-fit:cover;}
.ep-guide-photo-grid figcaption,.ep-resource-feature-photo figcaption {padding:10px 14px;font-size:.82rem;color:#4b6070;line-height:1.4;background:#f5fafc}
.ep-resource-feature-photo {margin:16px 0 27px;}
.ep-resource-feature-photo img {display:block;width:100%;max-height:470px;aspect-ratio:16/9;object-fit:cover;}
@media(max-width:640px){.ep-guide-photo-grid{grid-template-columns:1fr;gap:12px;margin:20px 0 26px}.ep-guide-photo-grid img{aspect-ratio:16/10}.ep-resource-feature-photo img{aspect-ratio:16/10}}
