/* Scoped to the homepage album section and its modal. No shared home classes. */
.vta-albums { --vta-albums-navy: #102f50; --vta-albums-blue: #0066cc; --vta-albums-muted: #667d96; padding: 64px 20px; background: #fff; color: var(--vta-albums-navy); scroll-margin-top: 128px; }
.vta-albums *, .vta-albums *::before, .vta-albums *::after { box-sizing: border-box; }
.vta-albums [hidden] { display: none !important; }
.vta-albums__container { max-width: 1160px; margin-inline: auto; }
.vta-albums__header { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.vta-albums__eyebrow { margin: 0 0 12px; color: var(--vta-albums-blue); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; }
.vta-albums__title { margin: 0; color: var(--vta-albums-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3.5vw, 42px); font-weight: 400; line-height: 1.16; letter-spacing: -.025em; }
.vta-albums__subtitle { margin: 16px 0 0; color: var(--vta-albums-muted); font-size: 14px; line-height: 1.8; }
.vta-albums__layout { display: grid; grid-template-columns: 1.06fr 1fr; gap: 20px; align-items: stretch; }
.vta-albums__video { position: relative; min-width: 0; min-height: 424px; overflow: hidden; border-radius: 18px; background: #102f50; isolation: isolate; }
.vta-albums__poster, .vta-albums__cover-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.vta-albums__poster { position: absolute; inset: 0; }
.vta-albums__video::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 26, 46, .05) 15%, rgba(7, 26, 46, .72)); }
.vta-albums__video-copy { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 24px; color: #fff; pointer-events: none; }
.vta-albums__video-title { display: block; margin: 0 0 7px; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; line-height: 1.2; }
.vta-albums__video-description { margin: 0; font-size: 12px; line-height: 1.6; opacity: .9; }
.vta-albums__play { position: absolute; z-index: 2; inset: 0; display: grid; width: 100%; height: 100%; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.vta-albums__play-icon { display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(0,102,204,.88); box-shadow: 0 0 0 8px rgba(255,255,255,.13); transition: transform .2s ease, background .2s ease; }
.vta-albums__play-icon svg { width: 23px; height: 23px; margin-left: 3px; fill: currentColor; }
.vta-albums__play:hover .vta-albums__play-icon { transform: scale(1.06); background: #0066cc; }
.vta-albums__player { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; border: 0; background: #071a2e; }
.vta-albums__video[data-playing='true'] .vta-albums__video-copy { display: none; }
.vta-albums__covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.vta-albums__cover { position: relative; display: block; min-width: 0; min-height: 204px; overflow: hidden; padding: 0; border: 1px solid #e5ebf2; border-radius: 14px; background: #173b57; color: #fff; text-align: left; text-decoration: none; cursor: pointer; font: inherit; isolation: isolate; }
.vta-albums__placeholder { display: grid; min-width: 0; min-height: 204px; place-content: center; justify-items: center; gap: 12px; padding: 20px; border: 1px solid #dce7f1; border-radius: 14px; background: #f2f7fc; color: #667d96; text-align: center; }
.vta-albums__placeholder-icon { display: block; width: 42px; height: 42px; stroke: #6d8aa6; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.vta-albums__placeholder-text { margin: 0; color: #526d88; font-size: 13px; line-height: 1.5; }
.vta-albums__cover-image { position: absolute; inset: 0; transition: transform .35s ease; }
.vta-albums__cover::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 10%, rgba(7,26,46,.35) 48%, rgba(7,26,46,.88)); }
.vta-albums__cover:hover .vta-albums__cover-image { transform: scale(1.035); }
.vta-albums__cover-copy { position: absolute; z-index: 1; left: 17px; right: 17px; bottom: 16px; }
.vta-albums__cover-title { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.vta-albums__cover-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 10px; font-size: 10px; line-height: 1.5; }
.vta-albums__count { color: rgba(255,255,255,.85); }
.vta-albums__view { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; }
.vta-albums__view svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vta-albums__cover:focus-visible, .vta-albums__play:focus-visible { outline: 3px solid #6db7ff; outline-offset: 4px; }
.vta-albums__empty { padding: 24px; border: 1px solid #e5ebf2; border-radius: 14px; color: var(--vta-albums-muted); font-size: 14px; line-height: 1.7; }
.vta-albums-open { overflow: hidden !important; }
.vta-albums__dialog { position: fixed; inset: 0; width: min(1380px, calc(100vw - 40px)); max-width: none; height: min(920px, calc(100dvh - 40px)); max-height: none; margin: auto; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #091f35; color: #fff; box-shadow: 0 25px 100px rgba(0,0,0,.35); }
.vta-albums__dialog:not([open]) { display: none; }
.vta-albums__dialog[open] { display: flex; flex-direction: column; }
.vta-albums__dialog::backdrop { background: rgba(3,13,23,.86); }
.vta-albums__dialog-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; padding: 15px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.vta-albums__dialog-title { margin: 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.vta-albums__dialog-description { max-width: 850px; margin: 5px 0 0; color: #b8cadd; font-size: 12px; line-height: 1.5; max-height: 3em; overflow-y: auto; }
.vta-albums__close { flex-shrink: 0; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.vta-albums__close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vta-albums__viewer { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 54px minmax(0,1fr) 54px; padding: 12px 14px 0; gap: 8px; align-items: center; }
.vta-albums__stage { position: relative; display: grid; height: 100%; width: 100%; min-height: 100px; min-width: 0; place-items: center; overflow: hidden; touch-action: pan-y pinch-zoom; }
.vta-albums__lightbox-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; opacity: 0; transition: opacity .15s ease; }
.vta-albums__lightbox-image.is-loaded { opacity: 1; }
.vta-albums__nav { display: grid; width: 44px; height: 44px; place-items: center; justify-self: center; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: #12324f; color: #fff; cursor: pointer; }
.vta-albums__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.vta-albums__nav:disabled { opacity: .3; cursor: default; }
.vta-albums__dialog button:focus-visible { outline: 3px solid #73b9ff; outline-offset: 3px; }
.vta-albums__status { position: absolute; z-index: 2; left: 10%; right: 10%; top: 50%; transform: translateY(-50%); margin: 0; color: #c7d8e9; text-align: center; font-size: 14px; line-height: 1.7; pointer-events: none; }
.vta-albums__status.is-error { color: #fff; }
.vta-albums__retry { position: absolute; z-index: 3; top: calc(50% + 48px); left: 50%; transform: translateX(-50%); min-height: 44px; padding: 8px 20px; border: 1px solid #73b9ff; border-radius: 8px; background: #0066cc; color: #fff; cursor: pointer; font: inherit; font-size: 12px; }
.vta-albums__details { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 12px 28px; min-height: 44px; }
.vta-albums__caption { margin: 0; color: #d2dfeb; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; max-height: 4.95em; overflow-y: auto; }
.vta-albums__position { flex-shrink: 0; margin: 0 0 0 auto; color: #c7d8e9; font-size: 12px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.vta-albums__thumbnails { display: flex; flex: 0 0 auto; gap: 9px; max-width: 100%; padding: 9px 22px 17px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #477299 #102f50; }
.vta-albums__thumbnail { position: relative; flex: 0 0 88px; width: 88px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: #173b57; color: #fff; cursor: pointer; font: inherit; }
.vta-albums__thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vta-albums__thumbnail[aria-current='true'] { border-color: #73b9ff; }
@media (max-width: 900px) {
    .vta-albums { padding: 52px 20px; }
    .vta-albums__layout { grid-template-columns: 1fr; gap: 18px; }
    .vta-albums__video { min-height: 0; aspect-ratio: 16/9; }
    .vta-albums__covers { grid-template-rows: auto; }
    .vta-albums__cover, .vta-albums__placeholder { min-height: 0; aspect-ratio: 1.42; }
}
@media (max-width: 600px) {
    .vta-albums { padding: 42px 16px; scroll-margin-top: 84px; }
    .vta-albums__header { margin-bottom: 24px; }
    .vta-albums__eyebrow { font-size: 9px; margin-bottom: 10px; }
    .vta-albums__title { font-size: 31px; }
    .vta-albums__subtitle { margin-top: 12px; font-size: 12px; line-height: 1.7; }
    .vta-albums__video { border-radius: 13px; }
    .vta-albums__video-copy { left: 17px; right: 17px; bottom: 16px; }
    .vta-albums__video-title { font-size: 20px; }
    .vta-albums__video-description { font-size: 10px; }
    .vta-albums__play-icon { width: 52px; height: 52px; }
    .vta-albums__covers { gap: 12px; }
    .vta-albums__cover, .vta-albums__placeholder { aspect-ratio: .98; border-radius: 11px; }
    .vta-albums__placeholder { gap: 10px; padding: 14px; }
    .vta-albums__placeholder-icon { width: 34px; height: 34px; }
    .vta-albums__placeholder-text { font-size: 11px; }
    .vta-albums__cover-copy { left: 12px; right: 12px; bottom: 12px; }
    .vta-albums__cover-title { font-size: 13px; line-height: 1.4; margin-bottom: 7px; }
    .vta-albums__cover-meta { gap: 4px; font-size: 9px; }
    .vta-albums__dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
    .vta-albums__dialog-header { min-height: 72px; padding: max(12px, env(safe-area-inset-top)) 14px 12px; gap: 10px; }
    .vta-albums__dialog-title { font-size: 16px; }
    .vta-albums__dialog-description { font-size: 11px; }
    .vta-albums__viewer { grid-template-columns: 1fr; padding: 0 8px; gap: 0; }
    .vta-albums__stage { grid-column: 1; grid-row: 1; }
    .vta-albums__nav { position: absolute; z-index: 3; bottom: 12px; width: 44px; height: 44px; background: rgba(13,43,70,.86); }
    .vta-albums__nav--prev { left: 18px; }
    .vta-albums__nav--next { right: 18px; }
    .vta-albums__details { padding: 10px 16px; gap: 14px; }
    .vta-albums__caption, .vta-albums__position { font-size: 11px; }
    .vta-albums__thumbnails { padding: 8px 16px max(14px, env(safe-area-inset-bottom)); gap: 8px; }
    .vta-albums__thumbnail { flex-basis: 72px; width: 72px; height: 54px; }
}
@media (max-height: 500px) and (orientation: landscape) {
    .vta-albums__dialog-header { min-height: 52px; padding-block: 5px; }
    .vta-albums__dialog-description { display: none; }
    .vta-albums__thumbnails { padding-block: 5px; }
    .vta-albums__thumbnail { width: 60px; flex-basis: 60px; height: 40px; }
    .vta-albums__details { min-height: 30px; padding-block: 5px; }
    .vta-albums__caption { max-height: 1.65em; }
}
@media (prefers-reduced-motion: reduce) {
    .vta-albums__cover-image, .vta-albums__play-icon, .vta-albums__lightbox-image { transition: none; }
}

