.tvzp-ks-widget,
.tvzp-ks-widget * {
    box-sizing: border-box;
}

.tvzp-ks-widget {
    width: 100%;
}

.tvzp-ks-grid {
    --tvzp-ks-columns: 2;
    --tvzp-ks-gap: 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
}

.tvzp-ks-grid .tvzp-ks-card {
    flex: 0 1 calc((100% - (var(--tvzp-ks-columns) - 1) * var(--tvzp-ks-gap)) / var(--tvzp-ks-columns));
    min-width: 0;
}

.tvzp-ks-carousel .owl-stage {
    display: flex;
}

.tvzp-ks-carousel .owl-item {
    display: flex;
}

.tvzp-ks-carousel .owl-item .tvzp-ks-card {
    width: 100%;
}

.tvzp-ks-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tvzp-ks-card__media {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / .7;
    overflow: hidden;
    background: #163b17;
    border-radius: 14px;
}

.tvzp-ks-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% var(--tvzp-ks-img-y, 50%);
}

.tvzp-ks-card__play {
    position: absolute;
    z-index: 2;
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #e11111;
    box-shadow: 0 18px 36px rgba(225, 17, 17, .35);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.type-video .tvzp-ks-card__thumb-wrap {
    z-index: 999;
}

.tvzp-ks-card__play:hover {
    transform: translate(-50%, -50%) scale(1.04);
}

.tvzp-ks-card__play i {
    font-size: 36px;
    line-height: 1;
}

.tvzp-ks-card__play svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
}

.tvzp-ks-card__content {
    padding: 30px 0 0;
    text-align: center;
}

.tvzp-ks-card__title {
    margin: 0 0 16px;
    color: #e11111;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tvzp-ks-card__description {
    color: #555;
    font-size: 21px;
    line-height: 1.6;
}

.tvzp-ks-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    padding: 16px 36px;
    min-width: 180px;
    border-radius: 4px;
    color: #fff;
    background: #000;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.tvzp-ks-card__button:hover {
    color: #fff;
    background: #e11111;
}

.tvzp-ks-style-2 .tvzp-ks-card__media {
    align-items: flex-end;
}

.tvzp-ks-style-2 .tvzp-ks-card__content {
    text-align: left;
}

.tvzp-ks-style-2 .tvzp-ks-card__title {
    font-size: 28px;
}

.tvzp-ks-style-2 .tvzp-ks-card__description {
    font-size: 17px;
    line-height: 1.55;
}

.tvzp-ks-carousel {
    position: relative;
}

.tvzp-ks-carousel .owl-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.tvzp-ks-carousel .owl-nav button {
    width: 42px;
    height: 42px;
    border-radius: 999px !important;
    color: #111 !important;
    background: #f2f2f2 !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

.tvzp-ks-carousel .owl-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}

.tvzp-ks-carousel .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #c9c9c9;
}

.tvzp-ks-carousel .owl-dot.active span {
    background: #e11111;
}

.tvzp-ks-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .86);
}

.tvzp-ks-modal.is-open {
    display: flex;
}

.tvzp-ks-modal__inner {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
}

.tvzp-ks-modal__inner iframe,
.tvzp-ks-modal__inner video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tvzp-ks-modal__close {
    position: absolute;
    right: 0;
    top: -44px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    color: #fff;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .tvzp-ks-grid {
        --tvzp-ks-columns: 2;
    }

    .tvzp-ks-card__title {
        font-size: 28px;
    }

    .tvzp-ks-card__description {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .tvzp-ks-grid {
        --tvzp-ks-columns: 1;
    }

    .tvzp-ks-grid .tvzp-ks-card {
        flex-basis: 100%;
    }

    .tvzp-ks-card__play {
        width: 72px;
        height: 72px;
    }

    .tvzp-ks-card__title {
        font-size: 24px;
    }

    .tvzp-ks-card__description {
        font-size: 16px;
    }
}
