/* Drive EV Hero Banner v2 — 3-column bottom row: text | cards | FYV panel */

/* Override parent theme overflow:clip */
body.home .page_content_wrap .content_wrap_fullscreen {
    overflow: visible !important;
}
body.home .page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dev-hero-v2 {
    position: relative;
    width: 100%;
    min-height: calc(100dvh - var(--header-h, 80px));
    overflow: hidden;
    margin-bottom: 0;
}

/* Background image */
.dev-hero-v2__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.dev-hero-v2__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.30) 55%, rgba(0, 0, 0, 0.05) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.00) 65%);
}

/* Content — 2-column flex: left 50% (cards+text) | right 50% (FYV) */
.dev-hero-v2__content {
    position: absolute;
    bottom: 80px;
    left: 100px;
    right: 100px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 30px;
    pointer-events: none;
}

/* Left column — cards on top, text below */
.dev-hero-v2__left {
    flex: 2 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 60px;
    pointer-events: none;
    height: 60vh;
}

/* Heading + bullets */
.dev-hero-v2__text {
    pointer-events: all;
}

.dev-hero-v2__heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.90);
    text-transform: uppercase;
    margin: 0 0 14px;
    line-height: 1.15;
}
.dev-hero-v2__heading strong {
    font-weight: 700;
}
.dev-hero-v2__subheading {
    font-size: 0.85em;
    font-weight: 400;
    text-transform: none;
}
.dev-hero-v2__mobile-br {
    display: none;
}

.dev-hero-v2__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.dev-hero-v2__bullets li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}
.dev-hero-v2__bullets li strong {
    font-weight: 700;
}
.dev-hero-v2__bullet-icon {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    flex-shrink: 0;
}

/* 2 cards side by side */
.dev-hero-v2__cards {
    display: flex;
    flex-direction: row;
    gap: 16px;
    pointer-events: all;
    max-width: 360px;
}
.dev-hero-v2__card {
    flex: 1;
    background: rgba(240, 242, 245, 1);
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s, transform 0.2s;
}
.dev-hero-v2__card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);
    transform: translateY(-2px);
}
.dev-hero-v2__card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00337a;
    line-height: 1.4;
    margin: 0;
}
.dev-hero-v2__card-btn {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #00337a;
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.dev-hero-v2__card-btn:hover {
    background: #002255;
    color: #fff;
}

/* Right column — FYV panel 60% width */
.dev-fyv-q1 {
    flex: 3 1 0;
    height: 60vh;
    pointer-events: all;
    align-self: flex-end;
}

/* ── Responsive ── */

/* Small laptops: 1025px – 1279px (13"–14" screens) */
@media (min-width: 1025px) and (max-width: 1279px) {
    .dev-hero-v2__content {
        bottom: 50px;
        left: 60px;
        right: 60px;
        gap: 20px;
    }
    .dev-hero-v2__left {
        gap: 40px;
        height: 60vh;
    }
    .dev-hero-v2__heading {
        font-size: 26px;
    }
    .dev-hero-v2__bullets li {
        font-size: 12px;
    }
    .dev-hero-v2__cards {
        gap: 12px;
    }
    .dev-hero-v2__card-title {
        font-size: 13px;
    }
    .dev-fyv-q1 {
        height: 60vh;
    }
}

/* Medium laptops: 1280px – 1439px (15"–16" screens) — default styles cover this */

/* Large desktops: 1440px – 1919px */
@media (min-width: 1440px) {
    .dev-hero-v2__content {
        bottom: 70px;
        left: 120px;
        right: 120px;
        gap: 40px;
    }
    .dev-hero-v2__left {
        gap: 60px;
        height: 60vh;
    }
    .dev-hero-v2__heading {
        font-size: 40px;
    }
    .dev-hero-v2__bullets li {
        font-size: 15px;
    }
    .dev-hero-v2__cards {
        gap: 20px;
    }
    .dev-fyv-q1 {
        height: 60vh;
    }
}

/* Ultra-wide: 1920px+ */
@media (min-width: 1920px) {
    .dev-hero-v2__content {
        bottom: 100px;
        left: 180px;
        right: 180px;
        gap: 60px;
    }
    .dev-hero-v2__left {
        gap: 80px;
        height: 60vh;
    }
    .dev-hero-v2__heading {
        font-size: 52px;
    }
    .dev-hero-v2__bullets li {
        font-size: 17px;
    }
    .dev-hero-v2__cards {
        gap: 28px;
    }
    .dev-hero-v2__card-title {
        font-size: 16px;
    }
    .dev-hero-v2__card-btn {
        font-size: 13px;
    }
    .dev-fyv-q1 {
        height: 60vh !important;
    }
}

/* Tablets / small laptops: ≤1024px */
@media (max-width: 1024px) {
    .dev-hero-v2 {
        min-height: 80vh;
    }
    .dev-hero-v2__content {
        bottom: 40px;
        left: 36px;
        right: 36px;
        gap: 16px;
    }
    .dev-hero-v2__left {
        gap: 30px;
        height: 60vh;
    }
    .dev-hero-v2__heading {
        font-size: 24px;
    }
    .dev-hero-v2__bullets li {
        font-size: 12px;
    }
    .dev-hero-v2__cards {
        gap: 10px;
    }
    .dev-fyv-q1 {
        height: 60vh;
    }
}

/* Mobile: ≤767px */
@media (max-width: 767px) {
    /* Reorder: FYV first, left (cards+text) second */
    .dev-fyv-q1          { order: 1; }
    .dev-hero-v2__left   { order: 2; }

    .dev-hero-v2 {
        height: 100dvh;
        min-height: unset;
        overflow: hidden;
    }
    .dev-hero-v2__content {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: calc(var(--header-h, 60px) + 4px) 14px 40px;
        gap: 25px;
        pointer-events: all;
        overflow: hidden;
    }

    /* FYV panel — shrinks to its content */
    .dev-fyv-q1 {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        pointer-events: all;
    }

    /* Left wrapper — stack cards then text, full width */
    .dev-hero-v2__left {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        gap: 16px;
        align-items: center;
        pointer-events: none;
    }

    /* Text section */
    .dev-hero-v2__text {
        max-width: 100%;
        text-align: center;
        pointer-events: all;
    }
    .dev-hero-v2__heading {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 3px;
    }
    /* Keep DRIVE EV inline so it doesn't take an extra line */
    .dev-hero-v2__heading strong {
        display: inline;
        font-size: 18px;
    }
    .dev-hero-v2__mobile-br {
        display: none;
    }
    .dev-hero-v2__bullets {
        gap: 2px;
        align-items: center;
    }
    .dev-hero-v2__bullets li {
        font-size: 11px;
        gap: 4px;
        justify-content: center;
        line-height: 1.3;
        white-space: normal;
    }
    .dev-hero-v2__bullet-icon {
        display: none;
    }

    /* Cards row */
    .dev-hero-v2__cards {
        flex: 0 0 auto;
        flex-direction: row;
        justify-content: center;
        align-self: center;
        width: 100%;
        max-width: 340px;
        gap: 10px;
        pointer-events: all;
    }
    .dev-hero-v2__card {
        flex: 1;
        max-width: 160px;
        padding: 8px 10px;
        gap: 6px;
    }
    .dev-hero-v2__card-title {
        font-size: 11px;
    }
    .dev-hero-v2__card-btn {
        font-size: 10px;
        padding: 6px 8px;
        letter-spacing: 0.8px;
    }
}

/* Small mobile: ≤400px */
@media (max-width: 400px) {
    .dev-hero-v2__heading {
        font-size: 18px;
    }
    .dev-hero-v2__heading strong {
        font-size: 22px;
    }
    .dev-hero-v2__bullets li {
        font-size: 11px;
    }
}
