/* 3alTrack v290.4 - full-width hero title with a clean bottom cinematic gradient */

/* Keep the photo visible. The darkness now rises naturally from the bottom
   instead of sitting in a blurred rectangular panel over the image. */
.home-page .hero-slide::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    pointer-events: none !important;
    background:
        linear-gradient(
            to top,
            rgba(2, 5, 14, .98) 0%,
            rgba(2, 5, 14, .92) 12%,
            rgba(2, 5, 14, .72) 29%,
            rgba(2, 5, 14, .40) 47%,
            rgba(2, 5, 14, .13) 66%,
            rgba(2, 5, 14, 0) 82%
        ) !important;
}

/* Remove every old glass-card treatment and let the copy occupy the useful
   width of the slider. Left space is reserved for dots and navigation. */
.home-page .hero-slide-content {
    position: absolute !important;
    z-index: 3 !important;
    right: clamp(34px, 4.2vw, 68px) !important;
    left: clamp(120px, 11vw, 178px) !important;
    bottom: clamp(46px, 5.2vw, 72px) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-align: right !important;
}
.home-page .hero-slide-content::before,
.home-page .hero-slide-content::after {
    display: none !important;
    content: none !important;
}

.home-page .hero-slide-content h2 {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(31px, 3.15vw, 49px) !important;
    line-height: 1.27 !important;
    font-weight: 950 !important;
    letter-spacing: -.35px !important;
    white-space: normal !important;
    text-wrap: pretty !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    text-shadow:
        0 3px 5px rgba(0,0,0,.98),
        0 8px 22px rgba(0,0,0,.86),
        0 18px 45px rgba(0,0,0,.52) !important;
}

.home-page .hero-slide-content p {
    width: min(920px, 82%) !important;
    max-width: 920px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255,255,255,.88) !important;
    font-size: clamp(12px, 1.05vw, 15px) !important;
    line-height: 1.82 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow:
        0 2px 4px rgba(0,0,0,.98),
        0 7px 18px rgba(0,0,0,.88) !important;
}

/* Keep the controls visually separate from the copy. */
.home-page .hero-control-strip-v268,
.home-page .hero-slide-dots {
    z-index: 6 !important;
}

@media (max-width: 1000px) {
    .home-page .hero-slide-content {
        right: 34px !important;
        left: 112px !important;
        bottom: 48px !important;
    }
    .home-page .hero-slide-content h2 {
        font-size: clamp(28px, 3.9vw, 40px) !important;
        line-height: 1.31 !important;
    }
    .home-page .hero-slide-content p {
        width: 88% !important;
    }
}

@media (max-width: 760px) {
    .home-page .hero-news-slider {
        min-height: 420px !important;
    }
    .home-page .hero-slide::after {
        background:
            linear-gradient(
                to top,
                rgba(2, 5, 14, .99) 0%,
                rgba(2, 5, 14, .91) 18%,
                rgba(2, 5, 14, .67) 39%,
                rgba(2, 5, 14, .25) 61%,
                rgba(2, 5, 14, 0) 80%
            ) !important;
    }
    .home-page .hero-slide-content {
        right: 17px !important;
        left: 17px !important;
        bottom: 46px !important;
        width: auto !important;
        padding: 0 !important;
    }
    .home-page .hero-slide-content h2 {
        max-width: 100% !important;
        margin-bottom: 8px !important;
        font-size: clamp(21px, 6.2vw, 28px) !important;
        line-height: 1.38 !important;
        letter-spacing: -.2px !important;
    }
    .home-page .hero-slide-content p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 11.5px !important;
        line-height: 1.7 !important;
        -webkit-line-clamp: 2 !important;
    }
}
