﻿/* HERO CONTAINER*/
.hero-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/*  SLIDE INNER (BASE) */
.hero-slide-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-top: 1px;
    background-color: #F2F2F2;
}

/* hero text*/
.hero-heading {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 50px;
    color: #D60056;
}

.hero-text {
    color: #1a1a1a;
}

    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
        color: #333;
    }

/* CTA BUTTONS */

/* REMOVE GLOBAL BTN CLICK / FOCUS STYLES */
.hero-cta-group .btn:focus,
.hero-cta-group .btn:active,
.hero-cta-group .btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Prevent Bootstrap / global border shifts on click */
.hero-cta-group .btn:active {
    transform: none;
    border-color: #D60056 !important;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
    max-width: 500px;
    margin-bottom: 130px;
    position: relative;
    z-index: 1;
}

    .hero-cta-group .btn {
        flex: 1 1 auto;
        min-width: 150px;
        padding: 8px 12px;
        background-color: #D60056;
        color: white;
        text-decoration: none;
        border-radius: 10px;
        text-align: center;
        border: 2px solid #D60056;
        font-weight: 900 !important; /*maximum bold */
        font-size: 1.1rem !important; /*stronger presence */
        letter-spacing: 0.5px !important; /*  more emphasis */
        transition: all 0.2s ease-in-out;
    }

        .hero-cta-group .btn:hover {
            background-color: #F2F2F2;
            color: #002856;
            border-color: #002856;
        }

        .hero-cta-group .btn:last-child {
            background-color: #F2F2F2;
            color: #002856;
            border-color: #002856;
        }

            .hero-cta-group .btn:last-child:hover {
                background-color: #D60056;
                color: white;
                border-color: #D60056;
            }

/* BOTTOM STRIP*/
.hero-bottom-color {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90px;
    background-color: #E68396;
    z-index: 0;
}

/* IMAGE BASE*/
.hero-image-block {
    position: relative;
    display: flex;
    z-index: 2;
}

    .hero-image-block img {
        width: 100%;
        height: 550px;
        object-fit: cover;
        display: block;
    }

/*  LEFT BLOCK BASE*/
.hero-content-block {
    max-width: 35%;
}

/*  CUSTOM HERO (TOGGLE = TRUE) */
.custom-hero .hero-slide-inner {
    align-items: stretch;
}

/* 50/50 layout */
.custom-hero .hero-content-block,
.custom-hero .hero-image-block {
    flex: 0 0 50%;
    max-width: 50%;
}

/* left side */
.custom-hero .hero-content-block {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
}

/* right side full height image */
.custom-hero .hero-image-block {
    display: flex;
}

    .custom-hero .hero-image-block img {
        width: 100%;
        height: 100%;
    }

/* STANDARD HERO (TOGGLE = FALSE) */
.standard-hero .hero-slide-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 550px;
}

/* 50/50 */
.standard-hero .hero-content-block,
.standard-hero .hero-image-block {
    flex: 0 0 50%;
    max-width: 50%;
}

/* LEFT CENTER FIX  */
.standard-hero .hero-content-block {
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* RIGHT IMAGE FIX */
.standard-hero .hero-image-block {
    display: flex;
}

    .standard-hero .hero-image-block img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* RESPONSIVE (BOTH MODES)*/
@media (max-width: 769px) {

    .hero-slide-inner {
        flex-direction: column;
        text-align: left;
    }

    .hero-content-block,
    .hero-image-block {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .hero-content-block {
        padding: 20px;
    }

    .hero-image-block img {
        height: auto;
    }

    .hero-cta-group {
        gap: 10px;
    }

        .hero-cta-group .btn {
            min-width: 100%;
            font-size: 0.8rem;
            padding: 7px 10px;
        }

    .hero-bottom-color {
        height: 50px;
    }
   
    /*Override desktop 50/50 layout for BOTH custom and standard hero types */
    .custom-hero .hero-content-block,
    .custom-hero .hero-image-block,
    .standard-hero .hero-content-block,
    .standard-hero .hero-image-block {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    /* Center the image block (no min-height!) */
    .hero-image-block {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

        /*Override desktop image height for BOTH custom and standard hero types */
        .custom-hero .hero-image-block img,
        .standard-hero .hero-image-block img,
        .hero-image-block img {
            width: 100%;
            height: auto !important;
            object-fit: cover;
        }
}