/* ==========================================================
   DimosTV Hero Slider — Pixel Perfect Visual Baseline 1.7.2.20
   Final cascade layer loaded after all legacy hero/responsive CSS.
========================================================== */

.dtv-front-hero-slider {
    position: relative;
    margin: 0 0 64px;
}

.dtv-front-hero-slider .dtv-front-slider-track {
    height: clamp(540px, 37.5vw, 620px);
    min-height: 540px;
    border-radius: 28px;
    overflow: hidden;
    background: #0b1728;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}

.dtv-front-hero-slider .dtv-front-hero-card img {
    object-position: center 42%;
    transform: scale(1.015);
    transition: transform 8s cubic-bezier(.2,.65,.25,1);
}

.dtv-front-hero-slider .dtv-front-slide.is-active .dtv-front-hero-card img {
    transform: scale(1.075);
}

.dtv-front-hero-slider .dtv-front-hero-overlay {
    background:
        linear-gradient(90deg,
            rgba(5, 14, 26, .94) 0%,
            rgba(5, 14, 26, .84) 18%,
            rgba(5, 14, 26, .58) 36%,
            rgba(5, 14, 26, .16) 58%,
            rgba(5, 14, 26, .04) 76%,
            rgba(5, 14, 26, .20) 100%),
        linear-gradient(0deg,
            rgba(5, 14, 26, .76) 0%,
            rgba(5, 14, 26, .22) 35%,
            rgba(5, 14, 26, .04) 68%,
            rgba(5, 14, 26, .08) 100%);
}

.dtv-front-hero-slider .dtv-front-hero-content {
    left: clamp(156px, 13.6vw, 218px);
    right: 96px;
    bottom: 112px;
    width: min(650px, calc(100% - 370px));
    max-width: 650px;
}

.dtv-front-hero-slider .dtv-front-badge {
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .015em;
    box-shadow: 0 10px 24px rgba(0, 102, 204, .24);
}

.dtv-front-hero-slider .dtv-front-hero-content h1 {
    max-width: 650px;
    margin: 24px 0 0;
    font-family: var(--dtv-font-heading, "Commissioner", "Segoe UI", Arial, sans-serif);
    font-size: clamp(31px, 2.49vw, 41px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -1.35px;
    text-wrap: balance;
    text-shadow: 0 5px 22px rgba(0,0,0,.28);
}

.dtv-front-hero-slider .dtv-front-hero-content p {
    max-width: 520px;
    margin: 18px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.48;
    color: rgba(255,255,255,.92);
    text-shadow: 0 2px 12px rgba(0,0,0,.24);
}

.dtv-front-hero-slider .dtv-front-hero-cta {
    gap: 10px;
    margin-top: 25px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .035em;
}

.dtv-front-hero-slider .dtv-front-hero-cta svg {
    width: 14px;
    height: 14px;
}

.dtv-front-hero-slider .dtv-front-hero-cta::after {
    width: 64px;
    height: 2px;
    margin-left: 2px;
}

.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
    top: 50%;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: rgba(8, 19, 34, .68);
    color: #fff;
    font-size: 36px;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow:hover,
.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow:focus-visible {
    background: rgba(8, 19, 34, .88);
    border-color: rgba(255,255,255,.42);
    transform: translateY(-50%) scale(1.04);
}

.dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev { left: 28px; }
.dtv-front-hero-slider button.dtv-home-hero__side-arrow--next { right: 28px; }

.dtv-front-hero-slider .dtv-front-slider-controls {
    left: clamp(156px, 13.6vw, 218px);
    right: 44px;
    bottom: 42px;
    gap: 24px;
}

.dtv-front-hero-slider .dtv-front-slider-dots {
    flex: 0 0 auto;
    width: auto;
    max-width: 250px;
    gap: 9px;
}

.dtv-front-hero-slider button.dtv-front-slider-dot {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.28) !important;
}

.dtv-front-hero-slider button.dtv-front-slider-dot.is-active {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
}

.dtv-front-hero-slider .dtv-front-slider-actions {
    margin-top: 0;
}

.dtv-front-hero-slider button.dtv-front-slider-pause,
.dtv-front-hero-slider button.dtv-front-slider-play {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(8, 19, 34, .68);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transform: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dtv-front-hero-slider button.dtv-front-slider-pause:hover,
.dtv-front-hero-slider button.dtv-front-slider-play:hover,
.dtv-front-hero-slider button.dtv-front-slider-pause:focus-visible,
.dtv-front-hero-slider button.dtv-front-slider-play:focus-visible {
    background: rgba(8, 19, 34, .88);
    border-color: rgba(255,255,255,.42);
}

@media (max-width: 1200px) {
    .dtv-front-hero-slider .dtv-front-slider-track {
        height: 560px;
        min-height: 560px;
        border-radius: 24px;
    }

    .dtv-front-hero-slider .dtv-front-hero-content {
        left: 118px;
        right: 88px;
        bottom: 112px;
        width: min(610px, calc(100% - 238px));
    }

    .dtv-front-hero-slider .dtv-front-hero-content h1 {
        font-size: clamp(29px, 3.12vw, 36px);
    }

    .dtv-front-hero-slider .dtv-front-slider-controls {
        left: 118px;
        right: 38px;
    }
}

@media (max-width: 768px) {
    .dtv-front-hero-slider { margin-bottom: 48px; }

    .dtv-front-hero-slider .dtv-front-slider-track {
        height: min(580px, 76vh);
        min-height: 510px;
        border-radius: 20px;
    }

    .dtv-front-hero-slider .dtv-front-hero-card img {
        object-position: 58% center;
    }

    .dtv-front-hero-slider .dtv-front-hero-overlay {
        background:
            linear-gradient(0deg, rgba(5,14,26,.94) 0%, rgba(5,14,26,.68) 48%, rgba(5,14,26,.12) 100%),
            linear-gradient(90deg, rgba(5,14,26,.42) 0%, rgba(5,14,26,.08) 100%);
    }

    .dtv-front-hero-slider .dtv-front-hero-content {
        left: 24px;
        right: 24px;
        bottom: 96px;
        width: auto;
        max-width: none;
    }

    .dtv-front-hero-slider .dtv-front-badge {
        padding: 7px 12px;
        font-size: 10px;
    }

    .dtv-front-hero-slider .dtv-front-hero-content h1 {
        margin-top: 16px;
        max-width: 100%;
        font-size: clamp(20px, 6.3vw, 28px);
        line-height: 1.01;
        letter-spacing: -.7px;
    }

    .dtv-front-hero-slider .dtv-front-hero-content p {
        display: -webkit-box;
        max-width: 100%;
        margin-top: 13px;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.42;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dtv-front-hero-slider .dtv-front-hero-cta {
        margin-top: 19px;
        font-size: 12px;
    }

    .dtv-front-hero-slider .dtv-front-hero-cta::after { width: 42px; }

    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        font-size: 27px;
    }

    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev { left: 12px; }
    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--next { right: 12px; }

    .dtv-front-hero-slider .dtv-front-slider-controls {
        left: 24px;
        right: 20px;
        bottom: 24px;
    }

    .dtv-front-hero-slider .dtv-front-slider-dots {
        max-width: calc(100% - 66px);
        gap: 7px;
    }

    .dtv-front-hero-slider button.dtv-front-slider-dot,
    .dtv-front-hero-slider button.dtv-front-slider-dot.is-active {
        flex: 1 1 28px;
        width: auto;
        min-width: 22px;
        max-width: 42px;
        height: 4px;
    }

    .dtv-front-hero-slider button.dtv-front-slider-pause,
    .dtv-front-hero-slider button.dtv-front-slider-play {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .dtv-front-hero-slider .dtv-front-slider-track {
        height: min(550px, 74vh);
        min-height: 490px;
    }

    .dtv-front-hero-slider .dtv-front-hero-content {
        left: 20px;
        right: 20px;
        bottom: 92px;
    }

    .dtv-front-hero-slider .dtv-front-hero-content h1 {
        font-size: clamp(19px, 6.42vw, 24px);
    }

    .dtv-front-hero-slider .dtv-front-slider-controls {
        left: 20px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dtv-front-hero-slider .dtv-front-hero-card img,
    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
        transition: none;
    }
}


/* ==========================================================
   1.7.2.19 — Precision control alignment and scale correction
========================================================== */

/* Render navigation glyphs independently from the button text baseline. */
.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
    position: absolute !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    text-indent: 0 !important;
    appearance: none;
    -webkit-appearance: none;
}

.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow::before {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    color: currentColor;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -52%);
}

.dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev::before { content: "‹"; }
.dtv-front-hero-slider button.dtv-home-hero__side-arrow--next::before { content: "›"; }

.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow:hover,
.dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow:focus-visible {
    background: #CC0000 !important;
    border-color: #CC0000 !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(204, 0, 0, .48), 0 0 0 5px rgba(204, 0, 0, .12) !important;
    transform: translateY(-50%) scale(1.045) !important;
}

.dtv-front-hero-slider button.dtv-front-slider-pause:hover,
.dtv-front-hero-slider button.dtv-front-slider-play:hover,
.dtv-front-hero-slider button.dtv-front-slider-pause:focus-visible,
.dtv-front-hero-slider button.dtv-front-slider-play:focus-visible {
    background: #CC0000 !important;
    border-color: #CC0000 !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(204, 0, 0, .48), 0 0 0 5px rgba(204, 0, 0, .12) !important;
    transform: scale(1.045) !important;
}

/* Defeat generic theme button heights and preserve slim progress rails. */
.dtv-front-hero-slider .dtv-front-slider-dots > button.dtv-front-slider-dot,
.dtv-front-hero-slider .dtv-front-slider-dots > button.dtv-front-slider-dot.is-active {
    display: block !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    line-height: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
}

.dtv-front-hero-slider .dtv-front-slider-dots > button.dtv-front-slider-dot.is-active {
    flex-basis: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
}

.dtv-front-hero-slider .dtv-front-slider-dot::after {
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
}

@media (max-width: 768px) {
    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow::before {
        font-size: 25px;
    }

    .dtv-front-hero-slider .dtv-front-slider-dots > button.dtv-front-slider-dot,
    .dtv-front-hero-slider .dtv-front-slider-dots > button.dtv-front-slider-dot.is-active {
        flex: 1 1 22px !important;
        width: auto !important;
        min-width: 18px !important;
        max-width: 34px !important;
        height: 3px !important;
        min-height: 3px !important;
        max-height: 3px !important;
    }
}

/* ==========================================================
   1.7.2.20 — Hero desktop alignment and mobile composition
========================================================== */

/* Desktop: align the complete editorial content block closer to the left edge. */
@media (min-width: 1201px) {
    .dtv-front-hero-slider .dtv-front-hero-content {
        left: clamp(108px, 8.1vw, 132px) !important;
        width: min(650px, calc(100% - 300px)) !important;
    }

    .dtv-front-hero-slider .dtv-front-slider-controls {
        left: clamp(108px, 8.1vw, 132px) !important;
    }
}

/* Use geometric CSS icons instead of platform-dependent emoji glyphs. */
.dtv-front-hero-slider button.dtv-front-slider-pause,
.dtv-front-hero-slider button.dtv-front-slider-play {
    position: relative !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
}

.dtv-front-hero-slider button.dtv-front-slider-pause::before,
.dtv-front-hero-slider button.dtv-front-slider-play::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    transform: translate(-50%, -50%);
    text-indent: 0;
}

.dtv-front-hero-slider button.dtv-front-slider-pause::before {
    width: 13px;
    height: 18px;
    background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65% 100%);
    border-radius: 1px;
}

.dtv-front-hero-slider button.dtv-front-slider-play::before {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #fff;
}

@media (max-width: 768px) {
    /* Keep the image as a true full-height hero background on mobile. */
    .dtv-front-hero-slider .dtv-front-hero-card,
    .dtv-front-hero-slider .dtv-front-hero-card picture {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .dtv-front-hero-slider .dtv-front-hero-card img {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: 58% center !important;
    }

    /* A continuous overlay preserves image visibility through the full hero. */
    .dtv-front-hero-slider .dtv-front-hero-overlay {
        background:
            linear-gradient(0deg,
                rgba(5,14,26,.97) 0%,
                rgba(5,14,26,.88) 31%,
                rgba(5,14,26,.58) 57%,
                rgba(5,14,26,.18) 79%,
                rgba(5,14,26,.08) 100%),
            linear-gradient(90deg, rgba(5,14,26,.34) 0%, rgba(5,14,26,.05) 100%) !important;
    }

    /* Navigation sits just above the Featured badge, not over the title. */
    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
        top: 41% !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--prev { left: 16px !important; }
    .dtv-front-hero-slider button.dtv-home-hero__side-arrow--next { right: 16px !important; }

    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow::before {
        font-size: 24px !important;
    }

    /* Play/pause remains anchored at the lower-right corner. */
    .dtv-front-hero-slider .dtv-front-slider-controls {
        right: 18px !important;
        bottom: 22px !important;
    }

    .dtv-front-hero-slider .dtv-front-slider-actions {
        position: absolute !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    .dtv-front-hero-slider button.dtv-front-slider-pause,
    .dtv-front-hero-slider button.dtv-front-slider-play {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

@media (max-width: 420px) {
    .dtv-front-hero-slider .dtv-front-slider-track > button.dtv-home-hero__side-arrow {
        top: 40.5% !important;
    }
}
