/* Tilburg112 galerij/lightbox kern – 1.0.49.5 */
html.t112-gallery-core-open,
html.t112-gallery-core-open body,
body.t112-gallery-core-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.single-post .t112-gallery-core {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: min(100%, 920px) !important;
    max-width: 920px !important;
    margin: 30px auto 22px !important;
    overflow: hidden !important;
    border: 1px solid #dce3eb !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .09) !important;
    contain: none !important;
    content-visibility: visible !important;
}

.single-post .t112-gallery-core .persportal-gallery-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 15px 17px !important;
    border-bottom: 1px solid #e7ebf0 !important;
    background: #fff !important;
}

.single-post .t112-gallery-core .persportal-gallery-title span {
    display: block !important;
    margin: 0 0 4px !important;
    color: #8a6700 !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.single-post .t112-gallery-core .persportal-gallery-title h2 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: clamp(20px, 3vw, 27px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
}

.single-post .t112-gallery-core .persportal-gallery-head > strong {
    flex: 0 0 auto !important;
    padding: 7px 10px !important;
    border: 1px solid #e2e7ed !important;
    border-radius: 999px !important;
    background: #f7f8fa !important;
    color: #536171 !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.single-post .t112-gallery-core .persportal-gallery-stage {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #07111f !important;
}

.single-post .t112-gallery-core .gallery-open {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    cursor: zoom-in !important;
}

.single-post .t112-gallery-core .gallery-main-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    background: #07111f !important;
    border-radius: 0 !important;
}

.single-post .t112-gallery-core .gallery-nav {
    position: absolute !important;
    top: 50% !important;
    z-index: 8 !important;
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 0 3px !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 50% !important;
    background: rgba(3,8,18,.72) !important;
    color: #fff !important;
    font-size: 29px !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,.22) !important;
}
.single-post .t112-gallery-core .gallery-prev { left: 13px !important; }
.single-post .t112-gallery-core .gallery-next { right: 13px !important; }
.single-post .t112-gallery-core .gallery-nav:hover,
.single-post .t112-gallery-core .gallery-nav:focus-visible {
    border-color: #ffd60a !important;
    background: #ffd60a !important;
    color: #111827 !important;
    outline: none !important;
}

.single-post .t112-gallery-core .persportal-gallery-photo-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 50px !important;
    padding: 10px 16px !important;
    border-top: 1px solid #e7ebf0 !important;
    background: #fff !important;
}
.single-post .t112-gallery-core .persportal-gallery-credit {
    display: flex !important;
    align-items: baseline !important;
    gap: 7px !important;
    min-width: 0 !important;
}
.single-post .t112-gallery-core .persportal-gallery-credit span {
    color: #8a6700 !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}
.single-post .t112-gallery-core .persportal-gallery-credit strong {
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}
.single-post .t112-gallery-core .persportal-gallery-photo-info p {
    max-width: 54% !important;
    margin: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-align: right !important;
}

.single-post .t112-gallery-core .persportal-gallery-thumbs {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 10px 12px 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-top: 1px solid #e7ebf0 !important;
    background: #f6f8fa !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}
.single-post .t112-gallery-core .persportal-gallery-thumbs::-webkit-scrollbar { display: none !important; }
.single-post .t112-gallery-core .gallery-thumb {
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 59px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    border-radius: 7px !important;
    background: #dfe5ec !important;
    opacity: .72 !important;
    transform: none !important;
}
.single-post .t112-gallery-core .gallery-thumb.is-active {
    border-color: #ffd60a !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 2px rgba(255,214,10,.22) !important;
}
.single-post .t112-gallery-core .gallery-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 5px !important;
}

body.t112-has-public-gallery [data-t112-featured-gallery-open] {
    cursor: zoom-in !important;
    outline: none !important;
}
body.t112-has-public-gallery [data-t112-featured-gallery-open]:focus-visible {
    box-shadow: 0 0 0 4px rgba(255,214,10,.45) !important;
}

.t112-gallery-core-lightbox[hidden] { display: none !important; }
body > .t112-gallery-core-lightbox:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483640 !important;
    display: grid !important;
    place-items: center !important;
    width: 100vw !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: clamp(8px, 2vw, 24px) !important;
    overflow: hidden !important;
    isolation: isolate !important;
}
.t112-gallery-core-backdrop {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(1,6,15,.94) !important;
    backdrop-filter: blur(9px) !important;
}
.t112-gallery-core-panel {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    place-items: center !important;
    width: min(1500px, 100%) !important;
    height: min(940px, 100%) !important;
    min-width: 0 !important;
    outline: none !important;
}
.t112-gallery-core-figure {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
.t112-gallery-core-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 120px) !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.45) !important;
}
.t112-gallery-core-caption {
    position: absolute !important;
    left: 50% !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    max-width: calc(100% - 120px) !important;
    padding: 9px 13px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 999px !important;
    background: rgba(3,8,18,.78) !important;
    color: #fff !important;
    transform: translateX(-50%) !important;
    backdrop-filter: blur(8px) !important;
}
.t112-gallery-core-caption > span {
    color: #ffd60a !important;
    font-size: 9px !important;
    font-weight: 950 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}
.t112-gallery-core-caption strong { font-size: 13px !important; white-space: nowrap !important; }
.t112-gallery-core-caption small {
    overflow: hidden !important;
    color: #dbe4ef !important;
    font-size: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.t112-gallery-core-caption small[hidden] { display: none !important; }
.t112-gallery-core-close,
.t112-gallery-core-nav {
    position: absolute !important;
    z-index: 6 !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    background: rgba(3,8,18,.72) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
    backdrop-filter: blur(8px) !important;
}
.t112-gallery-core-close {
    top: 0 !important;
    right: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    font-size: 31px !important;
}
.t112-gallery-core-nav {
    top: 50% !important;
    width: 52px !important;
    height: 64px !important;
    border-radius: 15px !important;
    font-size: 38px !important;
    transform: translateY(-50%) !important;
}
.t112-gallery-core-prev { left: 0 !important; }
.t112-gallery-core-next { right: 0 !important; }
.t112-gallery-core-close:hover,
.t112-gallery-core-nav:hover,
.t112-gallery-core-close:focus-visible,
.t112-gallery-core-nav:focus-visible {
    border-color: #ffd60a !important;
    background: #ffd60a !important;
    color: #111827 !important;
    outline: none !important;
}
.t112-gallery-core-counter {
    position: absolute !important;
    top: 10px !important;
    left: 50% !important;
    z-index: 6 !important;
    padding: 7px 11px !important;
    border-radius: 999px !important;
    background: rgba(3,8,18,.72) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    transform: translateX(-50%) !important;
}
.t112-gallery-core-loader {
    position: absolute !important;
    z-index: 5 !important;
    width: 42px !important;
    height: 42px !important;
    border: 4px solid rgba(255,255,255,.25) !important;
    border-top-color: #ffd60a !important;
    border-radius: 50% !important;
    animation: t112-gallery-spin .8s linear infinite !important;
}
.t112-gallery-core-loader[hidden] { display: none !important; }
@keyframes t112-gallery-spin { to { transform: rotate(360deg); } }

@media (max-width: 700px) {
    .single-post .t112-gallery-core { margin-top: 24px !important; border-radius: 12px !important; }
    .single-post .t112-gallery-core .persportal-gallery-head { padding: 13px 14px !important; }
    .single-post .t112-gallery-core .persportal-gallery-stage { aspect-ratio: 4 / 3 !important; }
    .single-post .t112-gallery-core .gallery-nav { width: 38px !important; height: 38px !important; font-size: 26px !important; }
    .single-post .t112-gallery-core .gallery-prev { left: 8px !important; }
    .single-post .t112-gallery-core .gallery-next { right: 8px !important; }
    .single-post .t112-gallery-core .persportal-gallery-photo-info { display: block !important; padding: 10px 13px !important; }
    .single-post .t112-gallery-core .persportal-gallery-photo-info p { max-width: 100% !important; margin-top: 4px !important; text-align: left !important; }
    .single-post .t112-gallery-core .gallery-thumb { flex-basis: 76px !important; width: 76px !important; height: 52px !important; }
    body > .t112-gallery-core-lightbox:not([hidden]) { padding: 7px !important; }
    .t112-gallery-core-panel { height: 100% !important; }
    .t112-gallery-core-image { max-height: calc(100dvh - 105px) !important; border-radius: 5px !important; }
    .t112-gallery-core-close { top: 5px !important; right: 5px !important; width: 43px !important; height: 43px !important; }
    .t112-gallery-core-nav { width: 42px !important; height: 54px !important; border-radius: 12px !important; font-size: 32px !important; }
    .t112-gallery-core-prev { left: 5px !important; }
    .t112-gallery-core-next { right: 5px !important; }
    .t112-gallery-core-caption { bottom: 7px !important; max-width: calc(100% - 28px) !important; border-radius: 12px !important; }
    .t112-gallery-core-caption small { display: none !important; }
}
