.gallery-page{background:#f4f6f8;min-height:100vh}.gallery-hero{padding:165px max(32px,calc((100vw - 1700px)/2)) 70px;background:linear-gradient(120deg,#02142d,#062b57);color:#fff}.gallery-hero h1{margin:.15em 0;font-size:clamp(3.7rem,7vw,7.6rem)}.gallery-hero p:last-child{max-width:720px;color:#ced9e7}.gallery-library{width:calc(100% - 64px);max-width:1800px;margin:-28px auto 90px;position:relative;z-index:2}.gallery-tools{display:grid;grid-template-columns:minmax(250px,1.5fr) repeat(4,minmax(145px,.75fr)) auto;gap:1px;background:#cad2dc;border:1px solid #cad2dc;box-shadow:0 14px 40px #02142d18}.gallery-tools label{display:flex;flex-direction:column;background:#fff;padding:12px 15px}.gallery-tools label>span{color:#7b8796;font-size:.56rem;font-weight:900;letter-spacing:.1em}.gallery-tools input,.gallery-tools select{width:100%;border:0;background:transparent;color:var(--navy);font:700 .76rem Inter,Arial,sans-serif;padding:7px 0 2px;outline:0}.gallery-tools button{border:0;background:var(--red);color:#fff;padding:0 20px;font-size:.65rem;font-weight:900}.gallery-library-head{display:flex;justify-content:space-between;margin:28px 0 14px;color:#718095;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em}.gallery-library-head p{margin:0}.gallery-library-head strong{color:var(--navy);font-size:1.1rem}.gallery-albums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-album{background:#fff;border:1px solid #dce2e9;border-radius:8px;overflow:hidden;box-shadow:0 10px 28px #031b3c0c}.gallery-album[hidden]{display:none}.gallery-album summary{list-style:none;cursor:pointer}.gallery-album summary::-webkit-details-marker{display:none}.album-cover{height:220px;position:relative;background:#dce3eb;overflow:hidden;display:grid;place-items:center;color:#68788b;font-size:.68rem;font-weight:800}.album-cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.gallery-album:hover .album-cover img{transform:scale(1.025)}.album-cover>b{position:absolute;right:12px;bottom:12px;background:#02142de6;color:#fff;padding:6px 9px;font-size:.57rem;letter-spacing:.05em}.album-info{padding:20px}.album-source{color:var(--red);font-size:.59rem;font-weight:900;letter-spacing:.11em}.album-info h2{font-size:1.25rem;line-height:1.05;margin:8px 0;color:var(--navy)}.album-info p{margin:0;color:#3d4e64;font-size:.72rem;font-weight:700}.album-info small{display:block;color:#7d8998;font-size:.63rem;margin-top:5px}.album-info i{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-top:12px;border-top:1px solid #e1e6ec;color:var(--navy);font-style:normal;font-size:.6rem;font-weight:900}.album-info i b{color:var(--red);font-size:1.25rem}.gallery-album[open] .album-info i b{transform:rotate(45deg)}.gallery-album[open]{grid-column:1/-1}.gallery-album[open] summary{display:grid;grid-template-columns:340px 1fr}.gallery-album[open] .album-cover{height:100%;min-height:220px}.album-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:7px;background:#eef1f4}.gallery-album:not([open]) .album-photo-grid{display:none}.gallery-photo{height:190px;overflow:hidden;background:var(--navy)}.gallery-photo img{width:100%;height:100%;object-fit:cover;transition:.3s}.gallery-photo:hover img{opacity:.8;transform:scale(1.025)}.empty-album{grid-column:1/-1;padding:35px;text-align:center;color:#718095}#gallery-empty{text-align:center;background:#fff;padding:45px;color:#718095}#gallery-lightbox{width:min(1100px,94vw);padding:0;border:0;background:#02142d;color:#fff;box-shadow:0 20px 80px #0008}#gallery-lightbox::backdrop{background:#000c}#gallery-lightbox img{display:block;max-width:100%;max-height:82vh;margin:auto}#gallery-lightbox p{padding:12px 20px;margin:0;font-size:.75rem}#gallery-lightbox button{position:absolute;right:10px;top:10px;z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--navy);font-size:1.6rem}
@media(max-width:1150px){.gallery-tools{grid-template-columns:repeat(3,1fr)}.gallery-search{grid-column:span 2}.gallery-tools button{min-height:58px}.gallery-albums{grid-template-columns:repeat(2,1fr)}.album-photo-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.gallery-hero{padding:130px 20px 60px}.gallery-library{width:calc(100% - 28px)}.gallery-tools{grid-template-columns:1fr}.gallery-search{grid-column:auto}.gallery-tools button{min-height:50px}.gallery-albums{grid-template-columns:1fr}.gallery-album[open] summary{display:block}.album-photo-grid{grid-template-columns:repeat(2,1fr)}.gallery-photo{height:145px}}
