/* Shared photo layout: local responsive assets, predictable stacking. */
.hero-area-2{position:relative;isolation:isolate;overflow:hidden}
.hero-photo-layer{position:absolute;inset:0;z-index:0;background:#181c24;pointer-events:none}
.hero-photo-layer img{position:absolute;inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:right center;opacity:0;transition:opacity .6s ease}
.hero-photo-layer img.is-active{opacity:1}
.hero-area-2.has-real-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#090c11e0,#090c11b8 45%,#090c1199);z-index:1;pointer-events:none}
.hero-area-2.has-real-photo .container{position:relative;z-index:2}
.hero-area-2.has-real-photo .hero-support,.hero-area-2.has-real-photo .intro-label{color:#eee}
.photo-portrait{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;border-radius:6px}
.about-img .photo-portrait{max-height:650px;background:#181818}
.story-portrait{max-width:420px;margin-top:28px}
.contact-portrait{max-height:420px;margin-bottom:28px}
.campus-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px}
.campus-gallery figure{margin:0;min-width:0}.campus-gallery img{display:block;width:100%;height:240px;object-fit:cover;border-radius:6px}
.campus-gallery figcaption{padding:12px 0;color:#626262;font-size:14px}
#home{display:flex;align-items:center;padding:130px 0 65px;min-height:100vh;overflow:visible}
#home.has-real-photo::after{display:none}
#home>.container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
#home>.container>.row{grid-column:1;grid-row:1;margin:0;min-width:0}
#home>.container>.row>.col-lg-8{width:100%;margin-left:0;padding:0}
#home .hero2-caption{text-align:left;padding:30px 0}
#home .hero-actions{justify-content:flex-start}
#home .hero-photo-layer{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:540px;z-index:auto;pointer-events:auto;border-radius:22px;overflow:hidden;background:#252b35;box-shadow:0 22px 65px #00000045;border:1px solid #ffffff25}
#home .hero-photo-layer img{object-position:center;background:#252b35;animation:heroPhotoCycle 24s linear infinite}
#home .hero-photo-layer img:nth-child(2){animation-delay:-18s}#home .hero-photo-layer img:nth-child(3){animation-delay:-12s}#home .hero-photo-layer img:nth-child(4){animation-delay:-6s}
@keyframes heroPhotoCycle{0%,24.99%{opacity:1}25%,100%{opacity:0}}
#home.js-carousel-running .hero-photo-layer img{animation:none}
.carousel-controls{position:absolute;bottom:15px;z-index:4;display:flex;justify-content:center;align-items:center;gap:3px;padding:4px;background:#111c;border-radius:30px;left:50%;transform:translateX(-50%);width:max-content;max-width:98%}
.carousel-controls button{border:0;background:none;color:#fff;min-width:44px;min-height:44px;border-radius:24px;font-size:13px;padding:8px}
.carousel-controls .slide-dot{position:relative;padding:0;width:44px;height:44px}
.slide-dot::after{content:"";display:block;width:10px;height:10px;background:#ffffff60;border:1px solid #ffffff90;border-radius:50%;margin:auto}
.slide-dot[aria-pressed="true"]::after{background:#f26c4f;border-color:#f26c4f}
.carousel-controls button:focus-visible{outline:3px solid #fff;outline-offset:1px}
#home .btn-scroll-bottom{text-align:left}
@media(max-width:991px){#home>.container{grid-template-columns:minmax(0,1fr);gap:26px;max-width:720px}#home .hero-photo-layer{grid-column:1;grid-row:2;height:500px;max-width:520px;justify-self:center}#home .hero2-caption{text-align:center}#home .hero-actions{justify-content:center}#home .btn-scroll-bottom{text-align:center}#home{padding-top:110px}}
@media(max-width:767px){.campus-gallery{grid-template-columns:minmax(0,1fr)}.campus-gallery img{height:auto}.hero-photo-layer img{object-position:center}.hero-area-2.has-real-photo::after{background:linear-gradient(0deg,#090c11cc,#090c1180)}}
@media(max-width:575px){#home .hero-photo-layer{height:440px;border-radius:16px}#home>.container{gap:18px}#home{padding-bottom:40px}.carousel-controls{gap:0}.carousel-controls button{font-size:12px;padding:6px}.carousel-controls .slide-dot{width:40px;min-width:40px}}
@media(prefers-reduced-motion:reduce){.hero-photo-layer img{transition:none}#home:not(.js-carousel-running) .hero-photo-layer img{animation-duration:24s!important;animation-iteration-count:infinite!important}#home.js-carousel-running .hero-photo-layer img{animation:none!important}}
