.section_hero {
    background-color: var(--color-brand--cisive-blue, #0F68F8);
    flex-flow: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Inline style from module field will override the default background-color */

.gradient_underlay {
    width: 100%;
    position: absolute;
    inset: 0%;
    overflow: visible;
    z-index: 0;
    pointer-events: none;
}

.has-no-gradient .gradient_underlay {
    display: none;
}

/* Background gradient overlay - positioned on the right side for blue-to-purple transition */
.gradient_image-right {
    z-index: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    min-width: 50%;
    object-fit: cover;
    object-position: right center;
    /* Fallback CSS gradient if image doesn't load */
    background: linear-gradient(to left, rgba(186, 44, 253, 0.8) 0%, rgba(15, 104, 248, 0.6) 50%, transparent 100%);
}

.gradient_image-left {
    z-index: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    min-width: 50%;
    object-fit: cover;
    object-position: left center;
}

.padding-global {
    position: relative;
    z-index: 1;
    padding-left: 5%;
    padding-right: 5%;
}

@media (max-width: 479px) {
    .padding-global {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.container-large {
    max-width: 72rem;
    /* 1152px - matches mirror site */
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Issue #1 (Antique handoff 2026-06, round 2): on pages built from the cisive-home template
   (.cisive-home-wrapper, e.g. /driver-iq), template_cisive-home.css narrows .container-large to
   64rem, which centers the hero inside a 1024px box and pushes the H1/subtitle/CTA ~64px right of
   the logo. Restore the hero to the full 72rem there — mirroring the template's own
   .hero-carousel exemption — so the hero left edge lines up with the nav logo. */
.cisive-home-wrapper .section_hero .container-large {
    max-width: 72rem;
}

.hero_component {
    grid-column-gap: 0rem;
    grid-row-gap: 0rem;
    flex-flow: column;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    justify-content: center;
    place-items: center stretch;
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

.breadcrumb_parent-with-children {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.breadcrumbs-2 {
    grid-column-gap: .625rem;
    grid-row-gap: .625rem;
    align-items: center;
    padding-right: 5%;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-text-white {
    color: var(--color-neutral--white, #fff);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-text-grey {
    opacity: .75;
    color: var(--color-neutral--white, #fff);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-slash {
    opacity: .75;
    pointer-events: none;
    color: var(--color-neutral--white, #fff);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
}

.hero_wrapper-solution {
    z-index: 4;
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    grid-template-rows: auto;
    grid-template-columns: 1fr 31rem;
    grid-auto-columns: 1fr;
    align-items: center;
    display: grid;
    position: relative;
    max-width: 72rem;
    /* 1152px - matches container-large max-width */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* No Picture Mode - Center content */
.hero_wrapper-solution.no-picture {
    display: flex;
    grid-template-columns: 1fr;
}

.hero_wrapper-solution.no-picture .hero_left {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.hero_wrapper-solution.no-picture .hero_right {
    display: none;
}

.hero_left {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    padding-left: 4rem;
    /* Desktop: 4rem */
}

.hero_left.alt-brand,
.alt-brand {
    padding-left: 4rem;
    /* Desktop: 4rem */
}

/* Solutions Overview Page - no padding (left-aligned) */
/* Exclude no-picture mode - padding should inherit from parent when centered */
.hero_wrapper-solution:not(.no-picture) .hero_left:not(.alt-brand) {
    padding-left: 0;
}

/* Issue #1 (Antique handoff 2026-06): align hero H1/subtitle/CTA with the breadcrumb + logo
   left edge by removing the alt-brand left indent on product heroes (driver-iq home + most
   /cisive-solutions/* pages). Scoped with :not(.is-customers) so the /customers hero is untouched. */
.hero_component:not(.is-customers) .hero_wrapper-solution:not(.no-picture) .hero_left.alt-brand {
    padding-left: 0;
}

.text-color-white {
    color: #fff;
}

.hero_left h1,
h1 {
    font-family: var(--font-family--gordita, "Gordita", Arial, sans-serif) !important;
    font-weight: 700 !important;
}

.hero_left p {
    font-family: var(--font-family--gordita, "Gordita", Arial, sans-serif) !important;
}

/* Scoped to simple-hero module to avoid conflicts with navigation module */
.section_hero .eyebrow,
.hero_left .eyebrow {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    color: #fff;
    font-family: var(--font-family--gordita, "Gordita", Arial, sans-serif) !important;
}

.max-width-medium {
    max-width: 600px;
}

.max-width-small {
    max-width: 480px;
}

/* Button group - matches mirror site layout (two CTAs side-by-side) */
.section_hero .button-group,
.simple-hero .button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Button - matches mirror site .button-secondary (white bg, blue text) */
/* Source: https://cdn.prod.website-files.com/65cf010a22aa72c96c77d22e/css/cisive-dev.shared.273643dd8.min.css */
.section_hero .button-secondary,
.simple-hero .button-secondary {
    background-color: var(--color-neutral--white, #ffffff) !important;
    color: var(--color-brand--cisive-blue, #0f68f8) !important;
    text-align: center;
    border-radius: 2.5rem;
    /* 40px - rounded, not square */
    padding: 0.75rem 1.5rem;
    /* 12px 24px */
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600 !important;
    font-family: var(--font-family--gordita) !important;
    text-decoration: none;
    display: inline-block;
    border: 0 !important;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    line-height: inherit;
}

.section_hero .button-secondary:hover,
.section_hero .button-secondary:focus,
.simple-hero .button-secondary:hover,
.simple-hero .button-secondary:focus {
    background-color: var(--color-neutral--white, #ffffff) !important;
    /* Keep white background */
    background-image: linear-gradient(#0000000d, #0000000d) !important;
    /* rgba(0,0,0,0.05) overlay */
    box-shadow: 0 2px 6px #0003 !important;
    /* rgba(0,0,0,0.2) */
    color: var(--color-brand--cisive-blue, #0f68f8) !important;
    /* Ensure text stays blue on hover */
    -webkit-text-fill-color: var(--color-brand--cisive-blue, #0f68f8) !important;
    /* Override webkit text fill */
}

/* Secondary CTA button - matches mirror site .button-semi-transparent (glassmorphic) */
/* Source: mirror/www.cisive.com/driver-iq.html (inline embed on the anchor) */
.section_hero .button-semi-transparent,
.simple-hero .button-semi-transparent {
    z-index: 0;
    grid-column-gap: 0.5rem;
    grid-row-gap: 0.5rem;
    color: var(--color-neutral--white, #ffffff);
    text-align: center;
    border-radius: 2.5rem;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-family--gordita) !important;
    text-decoration: none;
    transition: background-color 0.2s cubic-bezier(0.215, 0.61, 0.355, 1), box-shadow 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    display: flex;
    position: relative;
    box-sizing: border-box;
    line-height: inherit;
    cursor: pointer;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.section_hero .button-semi-transparent:hover,
.section_hero .button-semi-transparent:focus,
.simple-hero .button-semi-transparent:hover,
.simple-hero .button-semi-transparent:focus {
    background-image: linear-gradient(#00000008, #00000008);
    box-shadow: 0 2px 6px #0003;
    color: var(--color-neutral--white, #ffffff);
}

.hero_right {
    justify-content: center;
    align-items: center;
    display: flex;
}

.hero_right img,
.image-9 {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 991px) {
    .hero_wrapper-solution {
        grid-template-columns: 1fr;
        grid-column-gap: 2rem;
        grid-row-gap: 2rem;
    }

    .hero_left.alt-brand,
    .alt-brand {
        padding-left: 2rem;
        /* Tablet: reduce to 2rem */
    }

    /* Solutions Overview Page - no padding at all breakpoints */
    /* Exclude no-picture mode */
    .hero_wrapper-solution:not(.no-picture) .hero_left:not(.alt-brand) {
        padding-left: 0;
    }

    .hero_wrapper-solution.is-partners {
        flex-flow: column;
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .section_hero .button-group,
    .simple-hero .button-group {
        width: 100%;
        align-items: stretch;
    }

    .section_hero .button-secondary,
    .section_hero .button-semi-transparent,
    .simple-hero .button-secondary,
    .simple-hero .button-semi-transparent {
        width: 100%;
        justify-content: center;
    }


    .hero_left.alt-brand,
    .alt-brand {
        padding-left: 1rem;
        /* Mobile: reduce to 1rem */
    }

    /* Solutions Overview Page - no padding at all breakpoints */
    /* Exclude no-picture mode */
    .hero_wrapper-solution:not(.no-picture) .hero_left:not(.alt-brand) {
        padding-left: 0;
    }
}

@media (max-width: 479px) {

    .hero_left.alt-brand,
    .alt-brand {
        padding-left: 0;
        /* Small mobile: remove padding, rely on padding-global */
    }

    /* Solutions Overview Page - no padding at all breakpoints */
    /* Exclude no-picture mode */
    .hero_wrapper-solution:not(.no-picture) .hero_left:not(.alt-brand) {
        padding-left: 0;
    }
}
