/* Alterra VR — quest gallery block 04 / concept #1. Only .qt-gallery scope. */
.qt-gallery{position:relative;isolation:isolate;background:#02111e;padding:58px 0 92px;border-top:1px solid rgba(88,214,231,.10);overflow:hidden}
.qt-gallery::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 90% 10%,rgba(15,77,92,.13),transparent 60%)}
.qt-gallery-inner{width:min(1370px,calc(100% - 84px));margin:auto}
.qt-gallery-heading{margin-bottom:21px}
.qt-gallery h2{font-size:12px;font-weight:900;line-height:1.5;letter-spacing:.16em;color:#4ce5f6;margin:0;text-transform:uppercase}.qt-gallery-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,.86fr);gap:15px;min-height:0;align-items:stretch}
.qt-gallery-featured{position:relative;min-width:0;aspect-ratio:1.56/1;overflow:hidden;border-radius:13px;border:1px solid rgba(68,220,245,.33);background:#05212e;box-shadow:inset 0 0 0 1px rgba(68,220,245,.025)}
.qt-gallery-zoom{appearance:none;display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:#effaff}
.qt-gallery-main-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease,opacity .22s ease}
.qt-gallery-zoom::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,10,18,.84),transparent 26%,transparent 68%,rgba(0,12,20,.14));pointer-events:none}
.qt-gallery-zoom-icon{position:absolute;right:18px;top:15px;z-index:1;display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(101,233,249,.35);border-radius:8px;background:rgba(0,21,36,.73);font-size:18px}
.qt-gallery-arrow{position:absolute;z-index:2;top:48%;transform:translateY(-50%);width:35px;height:42px;display:grid;place-items:center;cursor:pointer;color:#e7fbff;border:1px solid rgba(92,230,246,.43);border-radius:8px;background:rgba(1,26,40,.75);font-size:30px;line-height:1;transition:background .2s,border-color .2s}
.qt-gallery-prev{left:14px}.qt-gallery-next{right:14px}.qt-gallery-arrow:hover{background:rgba(31,159,178,.45);border-color:#4ce5f6}
.qt-gallery-bottomline{position:absolute;z-index:2;left:23px;right:23px;bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:15px;pointer-events:none}
.qt-gallery-image-kind{font-size:10px;letter-spacing:.12em;color:#e1f8fd;font-weight:800;text-shadow:0 1px 7px #000}
.qt-gallery-counter{font-size:12px;font-weight:900;white-space:nowrap;letter-spacing:.08em;color:#fff}
.qt-gallery-thumbnails{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:15px}
.qt-gallery-thumb{padding:0;margin:0;min-width:0;min-height:0;border:1px solid rgba(75,206,233,.29);border-radius:11px;overflow:hidden;position:relative;cursor:pointer;background:#073047;transition:border-color .22s,box-shadow .22s}
.qt-gallery-thumb::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(89,248,253,.02);background:linear-gradient(0deg,rgba(0,13,21,.18),transparent 43%)}
.qt-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .27s ease}
.qt-gallery-thumb:hover{border-color:#52e4f5;box-shadow:0 0 18px rgba(28,195,221,.13)}.qt-gallery-thumb:hover img{transform:scale(1.045)}
.qt-gallery-thumb:focus-visible,.qt-gallery-arrow:focus-visible,.qt-gallery-zoom:focus-visible{outline:2px solid #4ce7f5;outline-offset:3px}
.qt-gallery-note{color:#7799a9;font-size:11px;line-height:1.5;margin:12px 0 0}
.qt-gallery-lightbox[hidden]{display:none!important}.qt-gallery-lightbox{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:72px 70px 45px;background:rgba(0,10,19,.95);backdrop-filter:blur(10px)}
.qt-gallery-lightbox figure{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0;min-width:0;max-width:100%;max-height:100%}.qt-gallery-lightbox img{max-height:calc(100vh - 150px);max-width:100%;width:auto;height:auto;object-fit:contain;border:1px solid rgba(90,215,237,.18);border-radius:8px}.qt-gallery-lightbox figcaption{font-size:12px;color:#b5d9e5;font-weight:850;letter-spacing:.16em}
.qt-gallery-lightbox-close{position:absolute;right:20px;top:18px;background:transparent;color:#f5fbff;font-size:38px;border:none;cursor:pointer;line-height:1}
.qt-gallery-lightbox-prev,.qt-gallery-lightbox-next{position:absolute;top:50%;transform:translateY(-50%);color:#eaffff;background:rgba(10,60,76,.58);border:1px solid rgba(83,219,242,.38);border-radius:10px;width:40px;height:50px;font-size:32px;cursor:pointer}
.qt-gallery-lightbox-prev{left:16px}.qt-gallery-lightbox-next{right:16px}
@media(hover:hover) and (pointer:fine){.qt-gallery-zoom:hover .qt-gallery-main-image{transform:scale(1.024)}}
@media(max-width:1100px){.qt-gallery-inner{width:calc(100% - 38px)}.qt-gallery-layout{grid-template-columns:minmax(0,1.28fr) minmax(0,.9fr);gap:10px}.qt-gallery-thumbnails{gap:10px}}
@media(max-width:710px){.qt-gallery{padding:48px 0 65px}.qt-gallery-layout{grid-template-columns:1fr;gap:10px}.qt-gallery-featured{aspect-ratio:1.65/1}.qt-gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:8px}.qt-gallery-thumb{aspect-ratio:1.18/1}}
@media(max-width:510px){.qt-gallery-inner{width:calc(100% - 32px)}.qt-gallery h2{font-size:11px}.qt-gallery-featured{aspect-ratio:1.35/1}.qt-gallery-thumb{aspect-ratio:1/1;border-radius:7px}.qt-gallery-arrow{width:28px;height:34px;font-size:24px}.qt-gallery-prev{left:7px}.qt-gallery-next{right:7px}.qt-gallery-bottomline{left:13px;right:12px;bottom:11px}.qt-gallery-image-kind{font-size:8px;letter-spacing:.035em}.qt-gallery-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.qt-gallery *{transition:none!important;animation:none!important}}
