.wp-block-gallery.ks-concert-gallery .wp-block-image {
    overflow: hidden;
    border-radius: 8px;
    margin: 0;
}
.wp-block-gallery.ks-concert-gallery .ks-gallery-trigger {
    display: block;
    width: 100%;
    cursor: zoom-in;
}
.wp-block-gallery.ks-concert-gallery .ks-gallery-trigger:focus-visible {
    outline: 3px solid #c6a35a;
    outline-offset: -4px;
}
.wp-block-gallery.ks-concert-gallery .wp-block-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease;
}
.wp-block-gallery.ks-concert-gallery .ks-gallery-trigger:hover img { transform: scale(1.025); }
@media (max-width: 767px) {
    .wp-block-gallery.ks-concert-gallery .wp-block-image { width: calc((100% - var(--ks-gallery-gap, 16px)) / 2) !important; }
}
#ks-concert-gallery-dialog:not([open]) { display: none; }
#ks-concert-gallery-dialog[open] {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 16px 24px;
    box-sizing: border-box;
    border: 0;
    background: rgba(5, 23, 16, .97);
    color: #fff;
    overflow: hidden;
    overscroll-behavior: contain;
    font-family: system-ui, sans-serif;
}
#ks-concert-gallery-dialog::backdrop { background: rgba(0, 0, 0, .7); }
#ks-concert-gallery-dialog .ks-gallery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
}
#ks-concert-gallery-dialog .ks-gallery-counter { font-size: 14px; font-weight: 500; }
#ks-concert-gallery-dialog .ks-gallery-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 12px 60px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}
#ks-concert-gallery-dialog .ks-gallery-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    opacity: 1;
}
#ks-concert-gallery-dialog .ks-gallery-image[hidden],
#ks-concert-gallery-dialog .ks-gallery-status[hidden] { display: none !important; }
#ks-concert-gallery-dialog .ks-gallery-status {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 16px;
}
#ks-concert-gallery-dialog .ks-gallery-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(198, 163, 90, .55);
    border-radius: 50%;
    background: rgba(5, 23, 16, .8);
    color: #ead3a0;
    font: 400 32px/1 system-ui, sans-serif;
    box-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
}
#ks-concert-gallery-dialog .ks-gallery-control:hover { background: #124a35; }
#ks-concert-gallery-dialog .ks-gallery-control:focus-visible { outline: 3px solid #ead3a0; outline-offset: 3px; }
#ks-concert-gallery-dialog .ks-gallery-control:disabled { opacity: .3; cursor: default; }
#ks-concert-gallery-dialog .ks-gallery-prev { position: absolute; left: 0; top: calc(50% - 22px); }
#ks-concert-gallery-dialog .ks-gallery-next { position: absolute; right: 0; top: calc(50% - 22px); }
#ks-concert-gallery-dialog .ks-gallery-footer { text-align: center; padding: 10px 16px 6px; min-height: 36px; }
#ks-concert-gallery-dialog .ks-gallery-caption { margin: 0; font-size: 15px; line-height: 1.5; }
#ks-concert-gallery-dialog .ks-gallery-help { margin: 6px 0 0; font-size: 11px; line-height: 1.4; opacity: .6; }
@media (max-width: 600px) {
    #ks-concert-gallery-dialog[open] { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
    #ks-concert-gallery-dialog .ks-gallery-stage { padding: 12px 0 56px; }
    #ks-concert-gallery-dialog .ks-gallery-prev { left: calc(50% - 54px); top: auto; bottom: 0; }
    #ks-concert-gallery-dialog .ks-gallery-next { right: calc(50% - 54px); top: auto; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .wp-block-gallery.ks-concert-gallery .wp-block-image img { transition: none; }
}
