/* SCI.NPU V2.8.2 — classroom/lab photo galleries and instrument photography. */
:root { --lab-navy:#142b40; --lab-gold:#fbd64d; --lab-border:#e0e7ef; }
.v282-lab-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(1.2rem,4vw,4rem);align-items:center;padding:clamp(1.3rem,4vw,3.8rem);border-radius:26px;background:linear-gradient(125deg,#f4f8fb,#fff9f0);border:1px solid var(--lab-border);margin:2rem auto 3rem;overflow:hidden}
.v282-lab-hero h2{color:var(--lab-navy)!important;font-size:clamp(1.7rem,3vw,2.55rem)!important;line-height:1.35!important;margin:.4rem 0 1rem}
.v282-lab-hero p{font-size:1.05rem!important;line-height:1.9!important;color:#142b40!important}
.v282-kicker{color:#876300!important;text-transform:uppercase;letter-spacing:.13em;font-size:.82rem!important;font-weight:700}
.v282-lab-hero img{width:100%;height:360px;object-fit:cover;border-radius:19px;box-shadow:0 20px 50px rgba(14,43,73,.15)}
.v282-source-note{border-left:4px solid #fbd64d;background:#fff9f0;border-radius:0 10px 10px 0;padding:1rem 1.25rem;color:#142b40!important;line-height:1.75!important;font-size:.95rem!important}
.v282-gallery-section{margin:0 0 3.4rem}
.v282-gallery-section h2{font-size:clamp(1.4rem,2.7vw,2rem)!important;color:#142b40!important;margin:0 0 .4rem}
.v282-gallery-section .v282-desc{color:#66788b!important;margin:0 0 1.3rem;font-size:1rem!important;line-height:1.75!important}
.v282-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.v282-photo{border:1px solid var(--lab-border);background:#fff;border-radius:15px;padding:0;overflow:hidden;cursor:zoom-in;box-shadow:0 8px 22px rgba(16,43,70,.06);transition:transform .18s,box-shadow .18s}
.v282-photo:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(16,43,70,.12)}
.v282-photo:focus-visible{outline:3px solid #876300;outline-offset:3px}
.v282-photo img{display:block;width:100%;height:228px;object-fit:cover;transition:transform .18s}
.v282-photo:hover img{transform:scale(1.035)}
.v282-photo span{display:block;text-align:left;padding:.55rem .85rem;font-size:.85rem;color:#142b40}
.v282-lightbox{border:0;border-radius:16px;max-width:min(1100px,94vw);max-height:92vh;padding:1rem;background:#fff;color:#142b40}
.v282-lightbox::backdrop{background:rgba(8,22,38,.86)}
.v282-lightbox img{max-height:75vh;max-width:88vw;object-fit:contain;border-radius:8px;display:block;margin:auto}
.v282-lightbox .v282-close{display:block;margin:0 0 .6rem auto;padding:.4rem 1rem;border-radius:10px;cursor:pointer;background:#142b40;color:#fff;border:0;font-size:1rem}
.v282-lightbox figcaption{text-align:center;padding-top:.5rem;font-size:.88rem;color:#5b6878}
.v282-cta{display:inline-flex;gap:.5rem;align-items:center;background:#142b40;color:#fff!important;border-radius:12px;padding:.72rem 1.25rem;font-weight:650;text-decoration:none!important}
.v282-cta:hover{background:#183e59}
/* Change existing tall-text instrument inventory into a compact illustrated index. */
#v27-instruments.v27-instrument-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1rem!important}
@media(max-width:820px){#v27-instruments.v27-instrument-list{grid-template-columns:1fr!important}}
#v27-instruments .v27-instrument:has(.v282-instrument-image){display:grid!important;grid-template-columns:174px minmax(0,1fr);column-gap:1.35rem;align-content:start;position:relative;min-height:170px}
#v27-instruments .v27-instrument:has(.v282-instrument-image) .v282-instrument-image{grid-row:1 / span 6;grid-column:1;overflow:hidden;border-radius:14px;background:#f5f7fa;align-self:stretch;min-height:155px}
#v27-instruments .v27-instrument:has(.v282-instrument-image)>:not(.v282-instrument-image){grid-column:2}
.v282-instrument-image img{width:100%;height:100%;max-height:205px;min-height:155px;object-fit:contain;display:block;padding:.3rem}
.v282-related{margin:2.2rem auto;padding:1.2rem 1.5rem;border-radius:17px;background:#f5f8fb;border:1px solid #dae5ef}
.v282-related p{line-height:1.7!important;color:#183e59!important}
.v282-home-feature{display:grid;grid-template-columns:minmax(0,1fr) 44%;gap:1.8rem;align-items:center;background:#f4f8fb;border:1px solid #dde8ef;border-radius:20px;padding:clamp(1rem,3vw,2rem);margin:2rem auto 3rem;max-width:1180px;width:calc(100% - 2rem)}
.v282-home-feature img{width:100%;height:260px;object-fit:cover;border-radius:14px}
.v282-home-feature h2{color:#142b40!important;font-size:clamp(1.4rem,2.8vw,2rem)!important}
.v282-home-feature p{font-size:1rem!important;line-height:1.8!important;color:#183e59!important}
@media(max-width:820px){.v282-lab-hero,.v282-home-feature{grid-template-columns:1fr}.v282-lab-hero img,.v282-home-feature img{height:270px}.v282-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.v282-photo-grid{grid-template-columns:1fr}.v282-photo img{height:230px}#v27-instruments .v27-instrument:has(.v282-instrument-image){grid-template-columns:1fr}#v27-instruments .v27-instrument:has(.v282-instrument-image) .v282-instrument-image{grid-row:auto;grid-column:1;min-height:auto;height:190px;margin-bottom:.75rem}#v27-instruments .v27-instrument:has(.v282-instrument-image)>:not(.v282-instrument-image){grid-column:1}.v282-instrument-image img{height:190px;min-height:auto}}
@media(prefers-reduced-motion:reduce){.v282-photo,.v282-photo img{transition:none}}
