/* Inherit the website portfolio toolbar, typography, filter, and grid. */
.dw-video-gallery [hidden] { display: none !important; }
.dw-video-gallery .dw-video-intro { margin: 16px 0 0; max-width: 650px; color: #526271; font-size: 1.05rem; line-height: 1.6; }
.dw-video-gallery .dw-work-gallery-toolbar { padding-bottom: 24px; background: #fff; }
body.dw-video-page:not(.dw-mobile-menu-open) #wrapper > header { background: #fff !important; }
.dw-video-gallery .dw-video-count { margin: 12px 0 20px; color: #526271; }
.dw-video-gallery .dw-work-gallery-grid { gap: 24px; align-items: start; }
.dw-video-card { overflow: hidden; background: #fff; border: 1px solid #d5e0e4; border-radius: 8px; }
.dw-video-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #081b2b; }
.dw-video-card-copy { padding: 22px; }
.dw-video-card-copy h2 { margin: 8px 0 12px; font-size: 1.45rem; line-height: 1.2; color: #081b2b; }
.dw-video-card-copy p { line-height: 1.6; }
.dw-video-category { margin: 0; font-size: .85rem; font-weight: 700; color: #116777; }
.dw-video-disclosure { font-size: .85rem; color: #526271; }
.dw-video-empty { padding: clamp(36px, 6vw, 80px) 24px; border-block: 1px solid #d5e0e4; }
.dw-video-empty h2 { margin: 0 0 16px; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.2; }
.dw-video-empty p { max-width: 580px; margin-bottom: 24px; line-height: 1.6; color: #526271; }
.dw-video-link { margin: 4px 0 0; }
.dw-video-empty a, .dw-video-footer-link a, .dw-video-link a { color: #116777; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.dw-video-footer-link { margin: 32px 0 0; }
.dw-video-gallery a:focus-visible, .dw-video-gallery select:focus-visible, .dw-video-gallery video:focus-visible { outline: 3px solid #116777; outline-offset: 4px; }
@media (max-width: 767px) {
    .dw-video-gallery .dw-work-gallery-head { grid-template-columns: 1fr; }
    .dw-video-gallery .dw-work-gallery-controls { justify-self: start; width: 100%; max-width: none; }
    .dw-video-gallery .dw-work-gallery-grid { grid-template-columns: 1fr; }
    .dw-video-gallery .dw-work-gallery-grid-wrap { padding-inline: 20px; }
}

/* Scope header contrast and typography to the light video gallery. */
body.dw-video-page #wrapper > header #menu-main a { color: #081b2b !important; text-shadow: none !important; }
body.dw-video-page #wrapper > header #menu-main .current-menu-item > a { color: #007f8c !important; }
.dw-video-gallery h1, .dw-video-gallery h2 { font-family: "Roboto Condensed", "Roboto", sans-serif !important; font-weight: 700 !important; }
@media (max-width: 767px) { .dw-video-gallery .dw-work-gallery-toolbar { padding-top: 36px; } }
