
.yaq-he {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 400px;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.yaq-he-slides {
    position: absolute;
    inset: 0;
}

.yaq-he-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: #000;
    transition: opacity .45s ease;
}

.yaq-he-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.yaq-he-media {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.yaq-he-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.yaq-he-player {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #000;
    overflow: hidden;
    pointer-events: none;
}

.yaq-he-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.yaq-he-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.99) 15%,
        rgba(0,0,0,.94) 30%,
        rgba(0,0,0,.78) 40%,
        rgba(0,0,0,.45) 49%,
        rgba(0,0,0,.12) 58%,
        rgba(0,0,0,0) 68%
    );
}

.yaq-he-content {
    position: absolute;
    z-index: 20;
    left: 6%;
    top: 50%;
    width: 440px;
    max-width: 42%;
    transform: translateY(-50%);
}

.yaq-he-category {
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #f20b68 !important;
}

.yaq-he-title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 32px !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: -.5px;
    color: #fff !important;
    opacity: 1 !important;
}

.yaq-he-description {
    margin: 0 0 17px !important;
    padding: 0 !important;
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    opacity: .88 !important;
}

.yaq-he-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f20b68 !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 2px;
    transition: background .2s ease, transform .2s ease;
}

.yaq-he-button:hover {
    background: #d9085b !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.yaq-he-controls {
    position: absolute;
    z-index: 30;
    left: 6%;
    bottom: 18px;
    width: 440px;
    max-width: 42%;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-family: Arial, sans-serif;
}

.yaq-he-player-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.yaq-he-control,
.yaq-he-arrow {
    appearance: none;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0;
    transition: color .2s ease, opacity .2s ease;
}

.yaq-he-control {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
}

.yaq-he-control:hover,
.yaq-he-arrow:hover {
    color: #f20b68 !important;
}

.yaq-he-controls-spacer {
    flex: 1;
}

.yaq-he-arrow {
    width: 25px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    line-height: 1;
    opacity: .9;
    flex-shrink: 0;
}

.yaq-he-counter {
    min-width: 43px;
    text-align: center;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 700;
    color: #fff !important;
}

.yaq-he-separator {
    margin: 0 2px;
    opacity: .5;
}

@media (max-width: 1100px) {
    .yaq-he-title {
        font-size: 27px !important;
    }

    .yaq-he-content,
    .yaq-he-controls {
        width: 390px;
        max-width: 43%;
    }

    .yaq-he-description {
        font-size: 13px !important;
    }
}

@media (max-width: 767px) {
    .yaq-he {
        height: 620px;
        min-height: 620px;
    }

    .yaq-he-slide {
        height: 620px;
    }

    .yaq-he-content {
        z-index: 20;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
        height: 270px;
        padding: 27px 24px 20px;
        transform: none;
        background: #000;
    }

    .yaq-he-category {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .yaq-he-title {
        font-size: 25px !important;
        line-height: 1.04 !important;
        margin-bottom: 10px !important;
    }

    .yaq-he-description {
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin-bottom: 14px !important;
    }

    .yaq-he-button {
        padding: 9px 12px;
        font-size: 10px !important;
    }

    .yaq-he-media {
        top: 270px;
        left: 0;
        right: 0;
        width: 100%;
        height: 350px;
    }

    .yaq-he-overlay {
        top: 270px;
        bottom: 0;
        height: 350px;
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0) 50%,
            rgba(0,0,0,.55) 100%
        );
    }

    .yaq-he-controls {
        left: 24px;
        right: 24px;
        bottom: 13px;
        width: auto;
        max-width: none;
        gap: 6px;
    }

    .yaq-he-control {
        width: 23px;
        height: 23px;
        font-size: 12px;
    }

    .yaq-he-arrow {
        font-size: 24px;
    }
}

@media (max-width: 380px) {
    .yaq-he-title {
        font-size: 22px !important;
    }

    .yaq-he-description {
        font-size: 11px !important;
    }

    .yaq-he-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .yaq-he-controls {
        left: 20px;
        right: 20px;
    }
}
