/* Hero slider: text sits on its own solid field, never on busy artwork. */
.home-hero {
    background: #f3f5f8;
    overflow: hidden;
}

.home-hero .slide-item {
    display: grid;
    grid-template-columns: minmax(320px, 38%) minmax(0, 62%);
    min-height: 560px;
    background: #102346;
}

.home-hero .slide-item-img,
.home-hero .slide-item-img img {
    height: 560px;
}

.home-hero .slide-item-img {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    background: #f3f5f8;
    -webkit-mask-image: none;
    mask-image: none;
}

.home-hero .slide-item-img::before {
    display: none;
}

.home-hero .slide-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-hero .slide-content {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: #102346;
}

.home-hero .slide-content-box {
    top: 0;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0 32px 0 clamp(32px, 7vw, 104px);
    transform: none;
}

.home-hero .slide-content-area {
    width: 100%;
    padding: 0 0 0 28px;
    border-left: 7px solid #ff0f4b;
    background: transparent;
}

.home-hero .slider-title {
    max-width: 470px;
    margin: 0 0 28px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.home-hero .slider-title--long {
    font-size: clamp(1.45rem, 2.35vw, 2.35rem);
    line-height: 1.08;
}

.home-hero .slider-title--very-long {
    font-size: clamp(1.25rem, 1.9vw, 1.9rem);
    line-height: 1.12;
}

.home-hero .slide-content-area a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin: 0;
    padding: 0 20px;
    border-radius: 2px;
    background: #ff0f4b;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-hero .slide-content-area a:hover,
.home-hero .slide-content-area a:focus {
    background: #d9083d;
    color: #fff;
}

/* Slide with no title: let the image take the full width instead of
   leaving the text column empty. */
.home-hero .slide-item--image-only {
    grid-template-columns: 1fr;
}

.home-hero .slide-item--image-only .slide-item-img {
    grid-column: 1;
}

.home-hero .owl-prev,
.home-hero .owl-next {
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border-radius: 50%;
    background: #ff0f4b;
    color: #fff;
    line-height: 46px;
}

.home-hero .owl-prev:hover,
.home-hero .owl-next:hover {
    background: #102346;
}

@media (max-width: 991px) {
    .home-hero .slide-item {
        grid-template-columns: minmax(280px, 42%) minmax(0, 58%);
    }

    .home-hero .slide-content-box {
        padding-left: 32px;
    }
}

@media (max-width: 767px) {
    .home-hero .slide-item {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .home-hero .slide-item-img,
    .home-hero .slide-item-img img {
        height: 250px;
    }

    .home-hero .slide-item-img {
        width: 100%;
    }

    .home-hero .slide-content {
        min-height: 230px;
        padding: 32px 0;
    }

    .home-hero .slide-content-box {
        padding: 0 24px;
    }

    .home-hero .slide-content-area {
        padding-left: 20px;
        border-left-width: 5px;
    }

    .home-hero .slider-title,
    .home-hero .slider-title--long,
    .home-hero .slider-title--very-long {
        margin-bottom: 20px;
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.1;
    }
}
