.gallery-showcase,.gallery-library{border:1px solid #d5e0eb;border-radius:20px;background:#fff;padding:24px;box-shadow:0 18px 46px rgba(16,48,78,.08)}.gallery-showcase{margin-bottom:28px}.gallery-showcase-controls{display:flex;gap:8px}.gallery-showcase-controls button{width:42px;height:42px;border:1px solid #b7c8d8;border-radius:50%;background:#fff;color:#12365b;font-size:1.2rem}.gallery-featured{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.8fr);min-height:320px;margin-top:12px;border-radius:14px;overflow:hidden;background:#102d4b;color:#fff}.gallery-featured img{width:100%;height:100%;min-height:320px;object-fit:cover}.gallery-featured-copy{align-self:center;padding:30px}.gallery-featured-copy h3{font-size:clamp(1.5rem,3vw,2.3rem);margin:.35rem 0 .8rem}.gallery-featured-copy p{color:#e4eef7}.gallery-featured-copy small{color:#b7cede}.gallery-indicators{display:flex;gap:8px;justify-content:center;padding-top:14px}.gallery-indicators button{width:9px;height:9px;border:0;border-radius:50%;background:#afc0cf;padding:0}.gallery-indicators button.is-active{background:#dc192d;transform:scale(1.35)}.gallery-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}.gallery-filters button{border:1px solid #b7c8d8;border-radius:999px;background:#fff;padding:9px 13px;color:#12365b}.gallery-filters button.is-active{background:#12365b;color:#fff}.gallery-filters label{display:flex;align-items:center;gap:7px;margin-left:auto;color:#12365b}.gallery-filters input{width:100px;border:1px solid #b7c8d8;border-radius:8px;padding:9px;text-transform:uppercase}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-card{display:grid;text-align:left;padding:0;overflow:hidden;border:1px solid #d5e0eb;border-radius:14px;background:#fff;color:#12365b;cursor:pointer}.gallery-card:hover,.gallery-card:focus-visible{border-color:#dc192d;box-shadow:0 10px 24px rgba(16,48,78,.12)}.gallery-card img{width:100%;height:180px;object-fit:cover}.gallery-card>span{display:grid;gap:6px;padding:14px}.gallery-card small{color:#58708a}.gallery-empty{padding:28px;text-align:center;color:#58708a}@media(max-width:800px){.gallery-featured{grid-template-columns:1fr}.gallery-featured img{min-height:220px;max-height:280px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-filters label{margin-left:0}}@media(max-width:520px){.gallery-grid{grid-template-columns:1fr}.gallery-showcase,.gallery-library{padding:16px}}
dialog[data-gallery-lightbox]{max-width:min(900px,calc(100vw - 32px));border:0;border-radius:16px;padding:0;overflow:hidden;background:#fff;color:#12365b;box-shadow:0 25px 80px rgba(0,0,0,.3)}dialog[data-gallery-lightbox]::backdrop{background:rgba(5,20,36,.72)}dialog[data-gallery-lightbox]>button{position:absolute;right:10px;top:10px;border:0;border-radius:50%;width:36px;height:36px;background:rgba(255,255,255,.9);font-size:1.4rem;z-index:1}dialog[data-gallery-lightbox] img{display:block;width:100%;max-height:65vh;object-fit:contain;background:#102d4b}dialog[data-gallery-lightbox]>div{padding:20px 24px}
