.section-video-overview {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.section-video-overview__filters {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 26px;
    padding: 16px;
    border: 1px solid var(--embedded-border, #d7e4e4);
    border-radius: 12px;
    background: var(--embedded-panel, #f7fbfb);
}

.section-video-overview__filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.section-video-overview__filter-row--categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
    gap: 12px;
    width: 100%;
    padding-bottom: 2px;
}

.section-video-overview__filter-row--versions {
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
}



.section-video-overview__version {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    cursor: pointer;
}

.section-video-overview__version input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.section-video-overview__version span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 1px solid var(--embedded-border, #d2dfdf);
    border-radius: 999px;
    background: var(--embedded-surface, #fff);
    color: var(--embedded-text, #333);
    line-height: 1.2;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.section-video-overview__version:hover span {
    border-color: #fa891b;
    color: #fa891b;
}

.section-video-overview__version input:checked + span {
    border-color: #fa891b;
    background: #fa891b;
    color: #fff;
}

.section-video-overview__version input:focus-visible + span {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 96, 104, .18);
}

.section-video-overview__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--embedded-surface, #fff);
    color: #006068;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease, opacity .18s ease;
}

.section-video-overview__category img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.section-video-overview__category-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #006068;
    color: #fff;
}

.section-video-overview__category:hover {
    border-color: #fa891b;
    transform: translateY(-1px);
}

.section-video-overview__category.is-active {
    border-color: #fa891b;
    background: var(--embedded-active-background, #fff7ef);
    box-shadow: 0 0 0 2px rgba(250, 137, 27, .14);
}

.section-video-overview__category:focus,
.section-video-overview__category:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 96, 104, .18);
}

.section-video-overview__category.is-active:focus,
.section-video-overview__category.is-active:focus-visible {
    box-shadow: 0 0 0 2px rgba(250, 137, 27, .22);
}

.section-video-overview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.video-overview-card[hidden],
.video-overview-card.is-filter-hidden,
.section-video-overview__empty[hidden],
.section-video-overview__modal[hidden] {
    display: none;
}

.video-overview-card {
    min-width: 0;
}

.video-overview-card__button {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 1px solid var(--embedded-border, #d8e3e3);
    border-radius: 14px;
    background: var(--embedded-surface, #fff);
    color: inherit;
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease;
}

.video-overview-card__button:hover {
    border-color: #fa891b;
    transform: translateY(-2px);
}

.video-overview-card__button:focus,
.video-overview-card__button:focus-visible {
    outline: none;
    box-shadow: none;
}

.video-overview-card__poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f2f34;
    overflow: hidden;
}

.video-overview-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overview-card__poster img[hidden] {
    display: none;
}

.video-overview-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(250, 137, 27, .94);
    transform: translate(-50%, -50%);
}

.video-overview-card__play::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 17px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
}

.video-overview-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
}

.video-overview-card__title {
    color: var(--embedded-accent, #006068);
    font-size: 1.08rem;
    line-height: 1.25;
}

.video-overview-card__description {
    color: var(--embedded-text, #444);
    font-size: .94rem;
    line-height: 1.45;
}

.video-overview-card__meta {
    color: var(--embedded-text-muted, #777);
    font-size: .82rem;
    line-height: 1.35;
}

.section-video-overview__empty {
    margin: 22px 0 0;
    color: var(--embedded-text-muted, #666);
}

.section-video-overview__modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.section-video-overview__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
}

.section-video-overview__modal-panel {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    border-radius: 14px;
    padding: 22px;
    background: var(--embedded-surface, #fff);
}

.section-video-overview__modal-title {
    margin: 0 44px 16px 0;
    color: #006068;
    font-size: 1.35rem;
    line-height: 1.25;
}

.section-video-overview__modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fa891b;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.section-video-overview__modal-close:hover {
    background: var(--embedded-surface, #fff);
    color: #fa891b;
    outline: 1px solid #fa891b;
}

.section-video-overview__modal-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f2f34;
    border-radius: 8px;
}

@media (max-width: 760px) {
    .section-video-overview__filters {
        gap: 12px;
    }

    .section-video-overview__filter-row--categories {
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
        gap: 9px;
    }

    .section-video-overview__category {
        width: 50px;
        height: 50px;
        padding: 7px;
    }

    .section-video-overview__grid {
        grid-template-columns: 1fr;
    }

    .section-video-overview__modal {
        padding: 12px;
    }

    .section-video-overview__modal-panel {
        padding: 16px;
    }
}
