.hkv-gallery { width:min(1180px,calc(100% - clamp(32px,8vw,96px))); }
.hkv-gallery .vc-heading {margin-block:14px 18px}
.gallery-filters {display:flex;gap:6px;flex-wrap:wrap;align-items:center;padding-block:0 8px}
.gallery-filters a,.hkv-gallery .gallery-more {display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border-radius:6px;color:#175543;font-size:.95rem;font-weight:650}
.gallery-filters a {background:#e8f1e5}
.gallery-filters a[aria-current=page] {background:#165a45;color:#fff}
.gallery-filters a:hover,.hkv-gallery .gallery-more:hover {background:#ffdd83;color:#332438}
.hkv-gallery .gallery-album {margin-block:24px 40px}
.gallery-section-head {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-block-end:12px}
.gallery-section-head h2 {color:#382741}
.gallery-section-head>span,.gallery-kind,.gallery-details [data-gallery-context] {font-size:.82rem;color:#655568;font-weight:500}
.hkv-gallery .gallery-more {margin-inline-start:auto;padding-inline:10px;gap:5px;font-size:.87rem}
.gallery-grid {list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px 16px}
.gallery-image {color:#302038;display:flex;flex-direction:column;gap:3px;height:100%}
.gallery-image strong {color:#35263d;line-height:1.38;overflow-wrap:anywhere;font-size:1rem}
.gallery-image:hover strong,.gallery-image:focus-visible strong {color:#126249}
.gallery-frame {width:100%;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;background:#f5e8cf;border-radius:6px;margin-block-end:4px}
.gallery-frame img {width:100%;height:100%;object-fit:contain;min-height:0;transition:transform .15s ease-out}
@media (prefers-reduced-motion:no-preference) {.gallery-image:hover img{transform:scale(1.025)}}
.gallery-empty {background:#f8efd9;padding:16px 18px;border-radius:6px;color:#513f50}
.gallery-empty a {margin-inline-start:.7em}
.gallery-lightbox {width:min(880px,94vw);max-width:none;max-height:92vh;max-height:92dvh;border:0;padding:0;border-radius:10px;background:#fffbf2;color:#34253a}
.gallery-lightbox::backdrop {background:rgb(34 23 36/.82)}
.gallery-lightbox[open]{display:flex;flex-direction:column}
.gallery-stage {position:relative;display:grid;place-items:center;min-height:0;background:#312834;flex:1}
.gallery-stage img {width:100%;height:auto;max-height:66vh;max-height:66dvh;object-fit:contain}
.gallery-lightbox button {display:grid;place-items:center;border:0;background:#e4ebdc;color:#24483e;min-width:44px;min-height:44px;border-radius:5px;font:700 1.25rem/1 system-ui;padding:4px 12px}
.gallery-lightbox button:hover:enabled {background:#ffdd83;color:#412d32}
.gallery-lightbox button:disabled {opacity:.35;cursor:default}
.gallery-lightbox .gallery-close {position:absolute;inset:6px 6px auto auto;background:#fffbf2}
.gallery-details {display:flex;gap:12px;justify-content:space-between;align-items:center;padding:12px 16px;overflow:auto}
.hkv-gallery .gallery-details h2 {font-size:1.05rem;margin-block:2px;line-height:1.4}
.gallery-details a {display:inline-flex;align-items:center;min-height:36px}
.gallery-steps {display:flex;gap:6px}
@media (max-width:850px){.gallery-grid {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.gallery-filters a {font-size:.85rem;padding-inline:10px}.gallery-image strong {font-size:.9rem}.gallery-kind{font-size:.75rem}.gallery-details{align-items:flex-start;padding:9px 10px}.hkv-gallery .gallery-album{margin-block:16px 28px}}
