/* Видеоальбом: сетка обложек, плеер встаёт на место обложки по нажатию */
.va-grid { width: var(--page-wide); margin: 0 auto 60px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.va-item { margin: 0; scroll-margin-top: 90px; }
.va-shot, .va-item video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0d1d18; box-shadow: var(--soft-shadow); }
.va-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease, opacity 200ms ease; }
.va-shot:hover img, .va-shot:focus-visible img { transform: scale(1.03); opacity: .9; }
.va-shot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.va-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--green); box-shadow: 0 6px 22px rgba(0, 0, 0, .25); transition: transform 180ms ease, background 180ms ease; }
.va-play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.va-shot:hover .va-play { transform: scale(1.08); background: #fff; }
.va-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(9, 22, 17, .72); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.va-item figcaption { display: grid; gap: 5px; padding: 14px 2px 0; }
.va-item figcaption strong { color: var(--ink); font-size: 16.5px; line-height: 1.3; }
.va-item figcaption span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 1100px) { .va-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .va-grid { grid-template-columns: 1fr; gap: 22px; } .va-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; } }

/* Карточка видеоальбома в медиагалерее: мозаика из кадров 16:9 */
.gal-valbums { display: grid; gap: 22px; margin-top: 26px; }
.gal-valbum { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--soft-shadow); color: inherit; text-decoration: none; transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease; }
.gal-valbum:hover { border-color: rgba(0, 88, 62, .35); box-shadow: var(--shadow); transform: translateY(-2px); }
.gal-valbum-shots { position: relative; display: grid; gap: 3px; aspect-ratio: 16 / 9; align-self: center; width: 100%; background: #0d1d18; overflow: hidden; }
.gal-valbum-shots.is-9 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.gal-valbum-shots.is-4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.gal-valbum-shots img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform 500ms ease, filter 300ms ease; }
.gal-valbum:hover .gal-valbum-shots img { filter: brightness(.92); }
.gal-valbum-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--green); box-shadow: 0 8px 26px rgba(0, 0, 0, .3); transition: transform 180ms ease; }
.gal-valbum:hover .gal-valbum-play { transform: scale(1.07); }
.gal-valbum-play svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.gal-valbum .gal-count { left: 14px; right: auto; bottom: 14px; }
.gal-valbum .gal-copy { display: grid; align-content: center; gap: 12px; padding: 30px 34px; }
.gal-valbum .gal-copy strong { color: var(--green); font-family: var(--serif); font-size: clamp(24px, 2.5vw, 34px); font-weight: 500; line-height: 1.1; }
@media (max-width: 900px) { .gal-valbum { grid-template-columns: 1fr; } .gal-valbum .gal-copy { padding: 20px 20px 24px; } .gal-valbum-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } }
