.ch-video {
    width: 100%;
    min-width: 0;
    --ch-video-max-height: max(180px, calc(100vh - 120px));
    max-width: min(1280px, calc(var(--ch-video-max-height) * 16 / 9));
    margin-left: auto;
    margin-right: auto;
}

@supports (height: 100svh) {
    .ch-video {
        --ch-video-max-height: max(180px, calc(100svh - 120px));
    }
}

.main-inner > .main-wrapper > .ch-video {
    max-width: none;
}

.ch-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.ch-video .ch-video__play,
.ch-video .ch-video__player,
.ch-video .ch-video__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}

.ch-video .ch-video__play {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

.ch-video .ch-video__play:disabled {
    cursor: default;
    opacity: 1;
}

.ch-video .ch-video__play:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -6px;
}

.ch-video .ch-video__poster {
    display: block;
    object-fit: cover;
}

.ch-video__icon {
    position: relative;
    display: block;
    width: 150px;
    max-width: 45%;
    pointer-events: none;
}

.ch-video__icon img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .ch-video__icon {
        width: 80px;
    }

    .ch-video__icon img {
        width: 80px;
    }
}
