/* Gallery presentation. All album names, captions and media come from existing records. */
.dt-gallery {
    --gallery-navy: #0b1f4b;
    --gallery-gold: #fed255;
    --gallery-border: #e1e7f2;
    background: #f8f9ff;
    color: #5f6f87;
    font: 400 14px/1.8 "Rubik", Arial, sans-serif;
}
.dt-gallery *, .dt-gallery *::before, .dt-gallery *::after { box-sizing: border-box; }
.dt-gallery .container { width: 100%; max-width: 1280px; padding: 0 32px; }
.dt-gallery h1, .dt-gallery h2, .dt-gallery h3, .dt-gallery h4, .dt-gallery h5 { color: #172842; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.dt-gallery a:focus-visible, .dt-gallery button:focus-visible { outline: 3px solid #bd9323; outline-offset: 4px; }
.dt-gallery-banner { position: relative; isolation: isolate; overflow: hidden; padding: 42px max(32px, calc((100% - 1216px) / 2)); border-bottom: 3px solid #c9a227; background: linear-gradient(120deg, #091b3b, #19395f); }
.dt-gallery-banner .breadcrumbs-img { position: absolute; inset: 0 0 0 52%; z-index: -2; opacity: .35; }
.dt-gallery-banner .breadcrumbs-img img { width: 100%; height: 100%; object-fit: cover; }
.dt-gallery-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, #0b1f4b, #0b1f4bca 65%, #0b1f4b45), linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px); background-size: auto, 28px 28px, 28px 28px; }
.dt-gallery .dt-gallery-banner .page-title { margin: 0 0 14px; color: #fff; font-size: clamp(32px, 3.5vw, 42px); line-height: 1.25; }
.dt-gallery-banner ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.8; }
.dt-gallery-banner li + li::before { content: '/'; margin-right: 12px; color: #879dc5; }
.dt-gallery-banner a { color: #ffe08f; }
.dt-gallery-banner a:hover { color: #fff; }
.dt-gallery-section { padding: 30px 0 60px; }
.dt-gallery-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 28px; padding: 16px; border: 1px solid var(--gallery-border); border-radius: 11px; background: #fff; box-shadow: 0 2px 12px #0b1f4b03; }
.dt-gallery .filter-category { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; flex: 1; margin: 0; padding: 0; list-style: none; }
.dt-gallery .filter-category li { margin: 0; }
.dt-gallery .album-filter-link { display: block; padding: 9px 14px; border: 1px solid transparent; border-radius: 7px; background: #edf2fd; color: #546984; font-size: 12px; line-height: 1.7; white-space: nowrap; transition: background .2s, color .2s; }
.dt-gallery .album-filter-link:hover { background: #e1e9fa; color: #0b1f4b; }
.dt-gallery .filter-category li.active .album-filter-link { background: #0b1f4b; color: #fff; box-shadow: 0 2px 5px #0b1f4b15; }
.dt-gallery-search-tools { display: flex; align-items: center; gap: 10px; flex: 0 1 280px; }
.dt-gallery-search-tools[hidden], .dt-gallery-card[hidden], .dt-gallery-search-empty[hidden] { display: none !important; }
.dt-gallery-search { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; margin: 0; padding: 9px 12px; border: 1px solid #dee6f3; border-radius: 7px; background: #f7f9ff; color: #8a99b0; }
.dt-gallery-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; color: #2e466c; font: 400 12px/1.7 "Rubik", sans-serif; }
.dt-gallery-search:focus-within { border-color: #b28a20; box-shadow: 0 0 0 3px #c9a2271c; }
.dt-gallery #gallery-count { display: grid; place-items: center; min-width: 38px; min-height: 38px; margin: 0; padding: 8px 10px; border: 1px solid #eadfb9; border-radius: 7px; background: #fff8e6; color: #8a6b1c; font-size: 12px; font-weight: 500; }
.dt-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; transition: opacity .15s; }
.dt-gallery-grid[aria-busy="true"] { opacity: .5; pointer-events: none; }
.dt-gallery-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--gallery-border); border-radius: 11px; background: #fff; box-shadow: 0 3px 14px #0b1f4b05; transition: box-shadow .2s, border-color .2s; }
.dt-gallery-card:hover { border-color: #cfb96b; box-shadow: 0 8px 24px #0b1f4b0b; }
.dt-gallery .gallery-item-wrap { position: relative; flex-shrink: 0; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid #e8edf6; background: #edf2fc; }
.dt-gallery .gallery-image-link { position: relative; display: block; width: 100%; height: 100%; }
.dt-gallery .gallery-image-link img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dt-gallery-expand { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff66; border-radius: 7px; background: #0b1f4be8; color: #fff; font-size: 13px; box-shadow: 0 3px 9px #00000014; }
.dt-gallery .video-container { position: relative; width: 100%; height: 100%; background: #0a1830; }
.dt-gallery .video-container iframe { display: block; width: 100%; height: 100%; border: 0; }
.dt-gallery-video-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 100%; background: radial-gradient(ellipse at top right, #284970, transparent 80%), #102541; color: #dce5f4; font-size: 13px; }
.dt-gallery-video-symbol { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #d5bc77; border-radius: 50%; color: #e8ce8d; font-size: 20px; transition: background .2s; }
.dt-gallery-video-symbol i { margin-left: 3px; }
.dt-gallery-video-play:hover { color: #fff; }
.dt-gallery-video-play:hover .dt-gallery-video-symbol { background: #ffffff12; }
.video-container.is-loading::after { content: 'Loading video...'; position: absolute; inset: 0; display: grid; place-items: center; background: #0a1830; color: #dce5f4; font-size: 13px; pointer-events: none; }
.dt-gallery-invalid { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; border: 0; border-radius: 0; background: #f2f5fc; color: #687991; }
.dt-gallery-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 20px 22px 22px; }
.dt-gallery-album { display: inline-block; max-width: 100%; margin-bottom: 10px; padding: 3px 8px; border: 1px solid #e9ddb5; border-radius: 5px; background: #fff8e5; color: #8b6b1b; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.dt-gallery .dt-gallery-caption { margin: 0; color: #1a2e4c; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.dt-gallery #gallery-status:empty { display: none; }
.dt-gallery #gallery-status { margin-bottom: 22px; padding: 13px 16px; border: 1px solid #e0e7f3; border-radius: 8px; background: #fff; color: #65758e; font-size: 13px; }
.dt-gallery #gallery-status.is-error { border-color: #f1d4d4; background: #fff5f5; color: #974141; }
.dt-gallery-empty, .dt-gallery-search-empty { grid-column: 1 / -1; padding: 44px 24px; border: 1px solid var(--gallery-border); border-top: 3px solid #c9a227; border-radius: 11px; background: #fff; text-align: center; }
.dt-gallery-empty > i { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border: 1px solid #e6d8ad; border-radius: 13px; background: #fff7df; color: #a07a18; font-size: 23px; }
.dt-gallery .dt-gallery-empty h5 { margin: 0; color: #67768d; font: 400 15px/1.8 "Rubik", sans-serif; letter-spacing: 0; }
.dt-gallery-search-empty { margin-top: 4px; }
.mfp-bg.dt-gallery-lightbox { background: #06142c; opacity: .96; }
.dt-gallery-lightbox .mfp-title { color: #e7edf9; font: 400 13px/1.7 "Rubik", sans-serif; }
.dt-gallery-lightbox .mfp-counter { color: #d9c585; }
.dt-gallery-lightbox button.mfp-close { color: #fff; opacity: 1; }
.dt-gallery-lightbox .mfp-arrow::after { border-top-width: 11px; border-bottom-width: 11px; }
@media (max-width: 991px) {
    .dt-gallery .container { padding: 0 24px; }
    .dt-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .dt-gallery .filter-category { flex-basis: 100%; }
    .dt-gallery-search-tools { flex: 1 1 100%; }
}
@media (max-width: 599px) {
    .dt-gallery .container { padding: 0 18px; }
    .dt-gallery-banner { padding: 32px 18px; }
    .dt-gallery-section { padding: 22px 0 40px; }
    .dt-gallery-toolbar { gap: 14px; padding: 12px; margin-bottom: 22px; }
    .dt-gallery .filter-category { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
    .dt-gallery .filter-category li { flex-shrink: 0; }
    .dt-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .dt-gallery-card-body { padding: 18px 20px 20px; }
    .dt-gallery .dt-gallery-caption { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .dt-gallery *, .dt-gallery-lightbox * { transition: none !important; animation: none !important; } }
