.gallery-page{color:#203850;background:#f5f8fb}.gallery-heading{overflow:hidden;color:#fff;background:linear-gradient(115deg,#082d50,#0c5d93 62%,#107a68)}.gallery-heading__inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding-top:24px;padding-bottom:24px}.gallery-heading__icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(255,255,255,.28);border-radius:16px;color:#f7c85b;background:rgba(255,255,255,.11);font-size:1.5rem}.gallery-heading span,.gallery-section-title span{display:block;margin-bottom:4px;color:#f7c85b;font-size:.66rem;font-weight:850;letter-spacing:.16em}.gallery-heading h1{margin:0;color:#fff;font-size:clamp(1.7rem,3vw,2.5rem);font-weight:800;letter-spacing:-.03em}.gallery-heading p{max-width:760px;margin:5px 0 0;color:#d9eaf7;font-size:.88rem;line-height:1.5}.gallery-heading__count{display:flex;min-width:82px;align-items:center;flex-direction:column;padding:9px 14px;border-left:1px solid rgba(255,255,255,.24)}.gallery-heading__count strong{color:#fff;font-size:1.65rem;line-height:1}.gallery-heading__count small{margin-top:3px;color:#bfe6dc;font-size:.68rem;font-weight:700}.gallery-content{padding:42px 0 58px}.gallery-section-title{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:20px}.gallery-section-title span{color:#138a72}.gallery-section-title h2{margin:0;color:#0b2a4a;font-size:clamp(1.55rem,2.5vw,2.1rem);font-weight:800}.gallery-section-title p{margin:0;color:#718297;font-size:.83rem}.gallery-grid{display:grid;grid-auto-flow:dense;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.gallery-card{position:relative;grid-column:span 4;overflow:hidden;aspect-ratio:4/3;padding:0;border:0;border-radius:13px;background:#dce6ef;box-shadow:0 7px 18px rgba(8,45,80,.09);cursor:pointer}.gallery-card:nth-child(7n+1){grid-column:span 8;grid-row:span 2;aspect-ratio:2/1.49}.gallery-card:nth-child(7n+4){grid-column:span 5}.gallery-card:nth-child(7n+5){grid-column:span 7}.gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .3s ease}.gallery-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(3,23,40,.76));opacity:.55;transition:.25s}.gallery-card__number{position:absolute;z-index:1;left:10px;top:10px;padding:4px 7px;border-radius:7px;color:#fff;background:rgba(4,27,47,.64);font-size:.67rem;font-weight:800;backdrop-filter:blur(5px)}.gallery-card__action{position:absolute;z-index:1;right:12px;bottom:10px;display:flex;align-items:center;gap:6px;color:#fff;font-size:.75rem;font-weight:750;opacity:0;transform:translateY(5px);transition:.25s}.gallery-card:hover img,.gallery-card:focus-visible img{transform:scale(1.045);filter:saturate(1.08)}.gallery-card:hover:after,.gallery-card:focus-visible:after{opacity:1}.gallery-card:hover .gallery-card__action,.gallery-card:focus-visible .gallery-card__action{opacity:1;transform:none}.gallery-card:focus-visible{outline:3px solid #f4b942;outline-offset:3px}.gallery-empty{max-width:650px;margin:35px auto;padding:50px 25px;border:2px dashed #cad9e6;border-radius:18px;text-align:center;background:#fff}.gallery-empty>div{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 14px;border-radius:18px;color:#1769e0;background:#eaf3ff;font-size:1.6rem}.gallery-empty h2{margin:0;color:#0b2a4a;font-weight:800}.gallery-empty p{margin:8px auto 18px;color:#6a7d91}.gallery-empty a{display:inline-block;padding:9px 14px;border-radius:8px;color:#fff;text-decoration:none;font-weight:750;background:#1769e0}.gallery-viewer{position:fixed;z-index:2000;inset:0;display:none;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:64px 25px 25px;background:rgba(2,13,25,.96)}.gallery-viewer.is-open{display:grid}.gallery-viewer figure{display:flex;min-width:0;max-width:1300px;max-height:86vh;margin:auto;align-items:center;justify-content:center}.gallery-viewer figure img{display:block;max-width:100%;max-height:84vh;border-radius:8px;object-fit:contain;box-shadow:0 20px 60px rgba(0,0,0,.35)}.gallery-viewer button{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;background:rgba(255,255,255,.09)}.gallery-viewer button:hover{background:#1769e0}.gallery-viewer button:disabled{opacity:.25}.gallery-viewer__top{position:absolute;top:15px;right:18px;left:18px;display:flex;align-items:center;justify-content:space-between;color:#cfe1f1;font-size:.78rem}.gallery-viewer__close{position:static}.gallery-viewer-open{overflow:hidden!important}@media(max-width:767.98px){.gallery-heading__inner{grid-template-columns:auto minmax(0,1fr);gap:11px;padding-top:18px;padding-bottom:18px}.gallery-heading__icon{width:45px;height:45px;border-radius:12px;font-size:1.15rem}.gallery-heading h1{font-size:1.45rem}.gallery-heading p{font-size:.78rem;line-height:1.4}.gallery-heading__count{display:none}.gallery-content{padding:32px 0 42px}.gallery-section-title{align-items:start;flex-direction:column;gap:5px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-card,.gallery-card:nth-child(7n+1),.gallery-card:nth-child(7n+4),.gallery-card:nth-child(7n+5){grid-column:span 1;grid-row:auto;aspect-ratio:1/1}.gallery-card{border-radius:10px}.gallery-card__action{right:8px;bottom:7px;font-size:.67rem;opacity:1;transform:none}.gallery-viewer{grid-template-columns:1fr;padding:60px 10px 72px}.gallery-viewer__nav{position:absolute;bottom:14px}.gallery-viewer__prev{left:calc(50% - 56px)}.gallery-viewer__next{right:calc(50% - 56px)}}@media(max-width:369.98px){.gallery-grid{grid-template-columns:1fr}.gallery-card,.gallery-card:nth-child(7n+1){aspect-ratio:4/3}}
/* Uniform gallery cards */
.gallery-card,
.gallery-card:nth-child(7n+1),
.gallery-card:nth-child(7n+4),
.gallery-card:nth-child(7n+5){grid-column:span 4;grid-row:auto;aspect-ratio:4/3}

@media(max-width:767.98px){
    .gallery-card,
    .gallery-card:nth-child(7n+1),
    .gallery-card:nth-child(7n+4),
    .gallery-card:nth-child(7n+5){grid-column:span 1;grid-row:auto;aspect-ratio:4/3}
}
