.videos-page {
    max-width: 1140px;
}

.video-topics {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.video-topics a {
    padding: .5rem .9rem;
    border: 1px solid var(--brand-color-8);
    border-radius: 2rem;
}

.video-topics a:hover,
.video-topics a:focus {
    background: var(--brand-color-8);
    color: #fff;
    text-decoration: none;
}

.video-section {
    scroll-margin-top: 1rem;
}

.video-section h2 {
    font-size: 1.75rem;
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.video-card,
.video-podcast {
    background: #fff;
    border-radius: .5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: #000;
}

.video-player iframe,
.video-player video,
.video-play,
.video-play img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}

.video-player iframe,
.video-player video,
.video-play {
    position: absolute;
    inset: 0;
}

.video-play img {
    object-fit: cover;
}

.video-play-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: .7rem 1rem;
    border-radius: .4rem;
    color: #fff;
    background: rgba(0, 0, 0, .8);
    white-space: nowrap;
}

.video-play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

.video-card-label,
.video-podcast > div {
    padding: 1.25rem;
}

.video-card h3,
.video-podcast h3 {
    font-size: 1.2rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.video-podcast img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.video-hosted {
    max-width: 800px;
}

@media (min-width: 768px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-podcast { display: grid; grid-template-columns: 1fr 2fr; align-items: center; }
}
