.cw-gallery-page{padding-top:54px}
.cw-gallery-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}
.cw-gallery-intro>div:first-child{max-width:760px}
.cw-gallery-intro h2{margin:8px 0 10px}
.cw-gallery-intro p{margin:0;color:var(--muted,#64748b);line-height:1.75}
.cw-gallery-tabs{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid var(--border,#e2e8f0);border-radius:14px;background:#fff;flex:0 0 auto}
.cw-gallery-tabs button{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:0;border-radius:10px;background:transparent;color:var(--navy,#0f2742);font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.cw-gallery-tabs button.active{background:var(--primary);color:#fff}
.cw-gallery-tabs button span{min-width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#eef3f6;color:var(--navy,#0f2742);font-size:10px;font-weight:850}
.cw-gallery-tabs button.active span{background:#fff;color:var(--primary)}
.cw-gallery-tabs svg{width:16px;height:16px}
.cw-gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.cw-gallery-filters button{min-height:38px;padding:8px 12px;border:1px solid var(--border,#e2e8f0);border-radius:10px;background:#fff;color:var(--navy,#0f2742);font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.cw-gallery-filters button.active{border-color:var(--primary);background:var(--primary);color:#fff}
.cw-gallery-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.cw-gallery-photo-card{display:grid;padding:0;overflow:hidden;border:1px solid var(--border,#e2e8f0);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(15,39,66,.06);text-align:left;cursor:pointer}
.cw-gallery-photo-card[hidden]{display:none}
.cw-gallery-photo-media{display:grid;place-items:center;overflow:hidden;aspect-ratio:4/3;background:#f4f1ea}
.cw-gallery-photo-card.is-portrait .cw-gallery-photo-media{aspect-ratio:3/4}
.cw-gallery-photo-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.cw-gallery-photo-caption{display:grid;gap:5px;padding:13px 14px 14px}
.cw-gallery-photo-caption small{color:var(--primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.cw-gallery-photo-caption strong{color:var(--navy,#0f2742);font-size:15px;line-height:1.3}
.cw-gallery-photo-caption>span{display:inline-flex;align-items:center;gap:6px;color:var(--muted,#64748b);font-size:11px;font-weight:700}
.cw-gallery-photo-caption svg{width:13px;height:13px}
.cw-gallery-video-groups{display:grid;gap:42px}
.cw-gallery-video-group{display:grid;gap:20px}
.cw-gallery-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.cw-gallery-group-head>div{max-width:760px}
.cw-gallery-group-head h2{margin:7px 0 8px}
.cw-gallery-group-head p{margin:0;color:var(--muted,#64748b);line-height:1.7}
.cw-gallery-group-head>a{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:12px;font-weight:800;white-space:nowrap}
.cw-gallery-group-head>a svg{width:15px;height:15px}
.cw-gallery-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.cw-gallery-video-card{display:grid;padding:0;overflow:hidden;border:1px solid var(--border,#e2e8f0);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(15,39,66,.06);text-align:left;cursor:pointer}
.cw-gallery-video-media{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:16/9;background:#07111d}
.cw-gallery-video-card.is-portrait .cw-gallery-video-media{aspect-ratio:9/16;max-height:520px}
.cw-gallery-video-media video{width:100%;height:100%;display:block;object-fit:contain;background:#07111d}
.cw-gallery-video-play{position:absolute;inset:auto auto 14px 14px;width:48px;height:48px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.92);color:var(--navy,#0f2742);box-shadow:0 8px 22px rgba(0,0,0,.2)}
.cw-gallery-video-play svg{width:19px;height:19px}
.cw-gallery-video-caption{display:grid;gap:4px;padding:13px 14px 14px}
.cw-gallery-video-caption strong{color:var(--navy,#0f2742);font-size:15px;line-height:1.3}
.cw-gallery-video-caption small{color:var(--muted,#64748b);font-size:11px}
.cw-gallery-empty{display:grid;place-items:center;text-align:center;gap:8px;min-height:300px;padding:40px;border:1px dashed #cbd5e1;border-radius:18px;background:#f8fafc}
.cw-gallery-empty svg{width:34px;height:34px;color:var(--primary)}
.cw-gallery-empty h3,.cw-gallery-empty p{margin:0}.cw-gallery-empty p{color:var(--muted,#64748b)}
.cw-gallery-lightbox[hidden],.cw-gallery-video-modal[hidden]{display:none}
.cw-gallery-lightbox,.cw-gallery-video-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:22px}
.cw-gallery-lightbox-backdrop{position:absolute;inset:0;background:rgba(5,12,22,.9)}
.cw-gallery-lightbox-dialog,.cw-gallery-video-dialog{position:relative;width:min(1180px,100%);max-height:calc(100vh - 44px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.36)}
.cw-gallery-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #e5ebf1}
.cw-gallery-lightbox-head>div{min-width:0}.cw-gallery-lightbox-head small,.cw-gallery-lightbox-head strong{display:block}.cw-gallery-lightbox-head small{color:var(--primary);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.cw-gallery-lightbox-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--navy,#0f2742);font-size:18px}
.cw-gallery-lightbox-head button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dce4eb;border-radius:11px;background:#fff;color:var(--navy,#0f2742);cursor:pointer;flex:0 0 auto}
.cw-gallery-lightbox-stage{position:relative;display:grid;place-items:center;min-height:0;padding:18px;background:#07111d}
.cw-gallery-lightbox-stage img{display:block;max-width:100%;max-height:68vh;width:auto;height:auto;object-fit:contain}
.cw-gallery-lightbox-stage>button{position:absolute;top:50%;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:999px;background:#fff;color:var(--navy,#0f2742);box-shadow:0 8px 24px rgba(0,0,0,.25);cursor:pointer;transform:translateY(-50%)}
.cw-gallery-lightbox-stage>button.previous{left:14px}.cw-gallery-lightbox-stage>button.next{right:14px}.cw-gallery-lightbox-stage>button svg{width:20px;height:20px}
.cw-gallery-lightbox-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid #e5ebf1;color:var(--muted,#64748b);font-size:11px}
.cw-gallery-lightbox-foot a{display:inline-flex;align-items:center;gap:6px;color:var(--primary);font-weight:800}.cw-gallery-lightbox-foot svg{width:14px;height:14px}
.cw-gallery-video-stage{display:grid;place-items:center;min-height:0;padding:16px;background:#07111d}.cw-gallery-video-stage video{width:100%;max-height:70vh;display:block;object-fit:contain;background:#07111d}
html.cw-gallery-modal-open{overflow:hidden}
@media(max-width:1180px){.cw-gallery-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cw-gallery-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.cw-gallery-page{padding-top:34px}.cw-gallery-intro,.cw-gallery-group-head{display:grid;align-items:start}.cw-gallery-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.cw-gallery-tabs button{justify-content:center}.cw-gallery-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cw-gallery-video-grid{grid-template-columns:1fr;gap:12px}.cw-gallery-photo-caption{padding:10px}.cw-gallery-photo-caption strong{font-size:13px}.cw-gallery-lightbox,.cw-gallery-video-modal{padding:0}.cw-gallery-lightbox-dialog,.cw-gallery-video-dialog{width:100%;height:100%;max-height:none;border-radius:0}.cw-gallery-lightbox-stage{padding:8px}.cw-gallery-lightbox-stage img{max-height:72vh}.cw-gallery-video-stage{padding:8px}.cw-gallery-video-stage video{max-height:72vh}.cw-gallery-lightbox-foot{padding:10px 12px}.cw-gallery-group-head>a{white-space:normal}}
@media(max-width:460px){.cw-gallery-photo-grid{grid-template-columns:1fr 1fr}.cw-gallery-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.cw-gallery-filters button{white-space:nowrap}.cw-gallery-video-card.is-portrait .cw-gallery-video-media{max-height:470px}}
