/* ========== Promo strip (paveikslėlis + YouTube) ========== */

.promo-strip {
    position: relative;
    width: 100%;
    background: #0b1f1c;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
}

.promo-strip__track {
    width: 100%;
    margin: 0;
    position: relative;
}

/* --- Paveikslėlio skaidrė --- */

.promo-strip__slide {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    position: relative;
    line-height: 0;
    box-sizing: border-box;
}

.promo-strip__slide:hover {
    text-decoration: none;
    color: #fff;
}

.promo-strip__img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    object-fit: cover;
}

/* Antraštė paveikslėliui – alt / aria; dizainas 1200×360 */
.promo-strip__text {
    display: none;
}

/* --- YouTube skaidrė: pilnas plotis, proporcingas playeris --- */

.promo-strip__slide--video {
    display: block;
    width: 100%;
    color: #fff;
    background: #0b1f1c;
    line-height: normal;
}

/*
  Klasikinis 16:9 containeris (height:0 + padding-bottom).
  max-width riboja milžiniškus ekranus; centre lygiuojama.
*/
.promo-strip__video-stage {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background: #000;
}

.promo-strip__video-wrap {
    position: relative;
    width: 100%;
    height: 0;
    /* ~ cinematic banner, arčiau senojo 1200×360 (~3.3:1 būtų per plokščia video) */
    padding-bottom: 42%;
    background: #000;
    overflow: hidden;
}

/* Mobilus: arčiau tikro 16:9 */
@media (max-width: 700px) {
    .promo-strip__video-wrap {
        padding-bottom: 56.25%;
    }
}

/* Platus desktop: ne per aukštas */
@media (min-width: 1200px) {
    .promo-strip__video-wrap {
        padding-bottom: 36%;
    }
}

.promo-strip__iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: 0 !important;
    display: block;
    margin: 0;
    padding: 0;
    background: #000;
}

/* Antraštė + aprašymas – gradientas ant video apačios (proporcinga) */
.promo-strip__video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 28px 18px 14px;
    box-sizing: border-box;
    background: linear-gradient(
        to top,
        rgba(0, 20, 16, .92) 0%,
        rgba(0, 20, 16, .65) 55%,
        transparent 100%
    );
    line-height: 1.35;
    pointer-events: none;
}

.promo-strip__video-caption-text {
    flex: 1 1 200px;
    min-width: 0;
    max-width: 100%;
    pointer-events: none;
}

.promo-strip__video-caption .promo-strip__title {
    display: block;
    font-size: clamp(.95rem, 1.6vw, 1.2rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    margin: 0;
}

.promo-strip__video-caption .promo-strip__subtitle {
    display: block;
    margin-top: 4px;
    font-size: clamp(.8rem, 1.2vw, .95rem);
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, .9);
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.promo-strip__video-link {
    pointer-events: auto;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 105, 92, .92);
    border: 1px solid rgba(167, 255, 235, .35);
    color: #e7fff8 !important;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
}

.promo-strip__video-link:hover {
    background: #00897b;
    color: #fff !important;
}

/* Bendri title/subtitle (jei kur kitur) */
.promo-strip__title {
    display: block;
    font-size: 1.05rem;
    line-height: 1.25;
}

.promo-strip__subtitle {
    display: block;
    margin-top: 4px;
    font-size: .88rem;
    opacity: .92;
}

/* Navigacija */
.promo-strip__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}

.promo-strip__slide--video ~ .promo-strip__dots,
.promo-strip:has(.promo-strip__slide--video.is-active) .promo-strip__dots {
    bottom: 12px;
}

.promo-strip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
}

.promo-strip__dot.is-active {
    background: #fff;
}

.promo-strip__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo-strip__close:hover {
    background: rgba(0, 0, 0, .75);
}

@media (max-width: 768px) {
    .promo-strip__video-caption {
        padding: 22px 12px 12px;
        gap: 8px;
    }

    .promo-strip__video-link {
        padding: 7px 12px;
        font-size: .8rem;
    }

    .promo-strip__close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
}
