.team-carousel{margin:18px 0 4px;outline-offset:5px}
.team-carousel-viewport{position:relative;isolation:isolate;overflow:hidden;height:clamp(250px,39vw,465px);border-radius:16px;background:radial-gradient(ellipse at center,#1b2d31,#090f15 75%);touch-action:pan-y}
.team-carousel-main{position:absolute;inset:12px 11%;z-index:2;border:1px solid #466261;border-radius:13px;overflow:hidden;background:#070c11;box-shadow:0 12px 40px #0008}
.team-carousel-main img,.team-carousel-main video{width:100%;height:100%;object-fit:contain;display:block}
.team-carousel-photo{position:relative;width:100%;height:100%;padding:0;border:0;background:none;cursor:zoom-in}
.team-carousel-expand{position:absolute;bottom:13px;right:13px;max-width:calc(100% - 26px);border:1px solid #577874;border-radius:7px;background:#0b181ce0;color:#e0f5ef;padding:7px 10px;font:inherit;font-size:11px;pointer-events:none}
button.team-carousel-expand{cursor:pointer;pointer-events:auto}
.team-carousel-side{position:absolute;top:35px;bottom:35px;width:78%;z-index:1;padding:0;border:1px solid #334b50;border-radius:12px;overflow:hidden;background:#0f1c24;opacity:.45;cursor:pointer}
.team-carousel-side img{width:100%;height:100%;object-fit:cover;filter:saturate(.6)}
.team-carousel-side.previous{right:92%}.team-carousel-side.next{left:92%}
.team-carousel-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:42px;height:52px;display:grid;place-items:center;border:1px solid #52766c;border-radius:10px;background:#0d1b20ed;color:#d5fff3;font:32px/1 system-ui;cursor:pointer;box-shadow:0 4px 15px #0007}
.team-carousel-arrow.previous{left:3%}.team-carousel-arrow.next{right:3%}
.team-carousel-arrow:hover{background:#224339;border-color:#8fcaba}
.team-carousel [hidden],.team-gallery-lightbox [hidden]{display:none!important}
.team-carousel-caption{max-width:78%;margin:16px auto 0;text-align:center;min-height:70px}
.team-carousel-meta{display:flex;justify-content:center;align-items:center;gap:14px;color:#7d9c9c;font-size:11px}
.team-carousel-meta>span{padding:3px 8px;border:1px solid #354c4e;border-radius:20px;color:#bbd4cf}
.team-carousel-caption h4,.team-gallery-lightbox-caption h4{margin:11px 0 8px;font-size:17px;color:#e7f4ee;overflow-wrap:anywhere}
.team-carousel-caption p,.team-gallery-lightbox-caption p{margin:0;line-height:1.65;font-size:13px;color:#a4bab8;white-space:pre-line;overflow-wrap:anywhere}
.team-carousel-video-mark{color:#a0c5bb;font-size:40px}
.team-gallery-lightbox{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;padding:18px 24px;border:0;background:#080e14f7;color:#ecf5f6;overflow:auto}
.team-gallery-lightbox::backdrop{background:#02070bf2}
.team-gallery-lightbox-header{display:flex;align-items:center;justify-content:space-between;max-width:1500px;margin:0 auto 14px;color:#9fbab8;font-size:13px}
.team-gallery-lightbox button{border:1px solid #45615e;border-radius:9px;background:#14262b;color:#e7fff7;padding:9px 14px;cursor:pointer;font:inherit}
.team-gallery-lightbox-stage{display:flex;align-items:center;justify-content:center;gap:14px;min-height:45vh}
.team-gallery-lightbox-stage>button{flex:none;font-size:30px;padding:10px 14px}
.team-gallery-lightbox-media{min-width:0;display:flex;align-items:center;justify-content:center}
.team-gallery-lightbox-media img,.team-gallery-lightbox-media video{display:block;max-width:calc(100vw - 180px);max-height:calc(100dvh - 215px);width:auto;height:auto;object-fit:contain}
.team-gallery-lightbox-caption{max-width:900px;text-align:center;margin:18px auto 0}
@media(max-width:600px){.team-carousel-viewport{height:280px;border-radius:11px}.team-carousel-main{inset:10px 9%}.team-carousel-arrow{width:30px;height:42px;font-size:27px;border-radius:8px}.team-carousel-arrow.previous{left:1%}.team-carousel-arrow.next{right:1%}.team-carousel-side.previous{right:93%}.team-carousel-side.next{left:93%}.team-carousel-caption{max-width:94%}.team-carousel-expand{font-size:10px;bottom:8px;right:8px;padding:5px 7px}.team-gallery-lightbox{padding:12px 8px}.team-gallery-lightbox-stage{gap:5px}.team-gallery-lightbox-stage>button{padding:8px;font-size:24px}.team-gallery-lightbox-media img,.team-gallery-lightbox-media video{max-width:calc(100vw - 95px);max-height:calc(100dvh - 230px)}.team-gallery-lightbox-caption h4{font-size:15px}}
@media(prefers-reduced-motion:no-preference){.team-carousel-main{animation:gallery-appear .18s ease-out}@keyframes gallery-appear{from{opacity:.7}to{opacity:1}}}
