﻿/* =========================================
   VERIFIED CARS
   MOBILE / TABLET LAYOUT
   ========================================= */

@media (max-width: 980px) {

    .vc-header-inner {
        width: min(calc(100% - 32px), var(--vc-width));
        min-height: 66px;
    }

    .vc-nav {
        display: none;
    }

    .vc-menu-button {
        margin-left: auto;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 38px;
        padding: 0 14px;

        border: 1px solid var(--vc-line);
        border-radius: 4px;

        background: transparent;
        color: white;

        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1px;

        cursor: pointer;
    }


    /* HERO */

    .car-hero-bg {
        min-height: auto;
    }

    .car-hero-shade {
        background:
            linear-gradient(
                0deg,
                rgba(0,0,0,.96) 0%,
                rgba(0,0,0,.74) 48%,
                rgba(0,0,0,.18) 100%
            );
    }

    .car-hero-content {
        width: min(calc(100% - 36px), var(--vc-width));
        min-height: 720px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;

        gap: 18px;

        padding: 300px 0 30px;
    }

    .car-hero-info {
        padding: 0;
    }

    .car-hero-info h1 {
        font-size: clamp(42px, 11vw, 64px);
    }

    .car-hero-description {
        max-width: 620px;
    }

    .car-verification {
        width: 100%;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }

    .verify-title {
        grid-column: 1 / -1;
    }


    /* PHOTO STRIP */

    .car-photo-strip {
        width: min(calc(100% - 32px), var(--vc-width));

        grid-template-columns: repeat(2, 1fr);

        margin-top: 16px;
    }


    /* FOOTER */

    .vc-footer-inner {
        width: min(calc(100% - 32px), var(--vc-width));
    }
}


@media (max-width: 600px) {

    .vc-header-inner {
        width: calc(100% - 24px);
    }

    .vc-brand-name {
        display: none;
    }

    .vc-logo {
        font-size: 27px;
    }


    /* HERO */

    .car-hero-bg {
        background-position: center top;
    }

    .car-hero-content {
        width: calc(100% - 28px);

        min-height: 690px;

        padding-top: 270px;
        padding-bottom: 22px;
    }

    .vc-kicker {
        margin-bottom: 9px;
    }

    .car-hero-info h1 {
        margin-bottom: 18px;

        font-size: clamp(39px, 13vw, 56px);
        letter-spacing: -2px;
    }


    /* FIXED DATA DRAWERS */

    .car-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-meta > span {
        min-height: 64px;
        padding: 11px 12px;
    }

    .car-price {
        min-height: 62px;
    }

    .car-price strong {
        font-size: 28px;
    }


    /* ACTIONS */

    .car-actions {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        min-height: 42px;
    }

    .vc-button {
        width: 100%;
        padding: 0 10px;
    }


    /* VERIFICATION */

    .car-verification {
        padding: 16px;

        grid-template-columns: 1fr 1fr;
    }

    .verify-item {
        grid-template-columns: 24px 1fr;
        gap: 7px;

        padding: 9px 0;
    }


    /* PHOTOS */

    .car-photo-strip {
        width: calc(100% - 24px);

        grid-template-columns: repeat(2, 1fr);
        gap: 7px;

        margin-bottom: 32px;
    }

    .photo-slot {
        border-radius: 6px;
    }


    /* FOOTER */

    .vc-footer-inner {
        width: calc(100% - 28px);
        min-height: 90px;

        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        gap: 5px;
    }
}


@media (max-width: 380px) {

    .car-actions {
        grid-template-columns: 1fr;
    }

    .car-verification {
        grid-template-columns: 1fr;
    }

    .car-photo-strip {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   VERIFIED-CARS-MOBILE-TUNE
   Mobile hero framing + subtle hero action emphasis
   ========================================================= */

@media (max-width: 768px) {

    /* Show more of the vehicle instead of heavily cropping it */
    .car-hero-bg {
        background-size: auto 79% !important;
        background-position: 50% 0% !important;
        background-repeat: no-repeat !important;
        background-color: #050505;
    }

    /* Slightly stronger SHARE / LISTEN only inside hero */
    .car-hero .vc-button {
        border-color: rgba(255,255,255,.34);
        background: rgba(255,255,255,.045);
        color: #fff;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.025),
            0 6px 20px rgba(0,0,0,.16);
    }

    .car-hero .vc-button:active {
        background: rgba(255,255,255,.09);
        border-color: rgba(255,255,255,.48);
    }
}

/* /VERIFIED-CARS-MOBILE-TUNE */


/* VERIFIED CARS - HERO ZOOM TWEAK MOBILE */
.car-hero-bg {
    background-position: 60% top;
    background-size: 125% auto;
}

/* VERIFIED CARS - HERO BRIGHTER / CLEANER MOBILE */
.car-hero {
    min-height: 660px;
}

.car-hero-bg {
    background-position: 64% top;
    background-size: 108% auto;
}

.car-hero-shade {
    background:
        linear-gradient(180deg,
            rgba(0,0,0,.28) 0%,
            rgba(0,0,0,.14) 38%,
            rgba(0,0,0,.24) 70%,
            rgba(0,0,0,.34) 100%),
        linear-gradient(90deg,
            rgba(0,0,0,.42) 0%,
            rgba(0,0,0,.18) 42%,
            rgba(0,0,0,.08) 100%);
}

.car-hero-content {
    align-items: start;
    padding-top: 86px;
}

.car-hero-info {
    max-width: 230px;
    padding: 14px 12px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.14) 100%);
    border: 1px solid rgba(255,255,255,.08);
}

.car-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 180px;
}

.car-meta span {
    padding: 0 0 8px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.car-actions {
    margin-top: 14px;
}

.car-actions .vc-button {
    background: rgba(0,0,0,.18);
}

/* =========================================================
   VERIFIED CARS - HERO CLEAN V2 MOBILE
   ========================================================= */

.car-hero {
    min-height: 690px !important;
}

.car-hero-bg {
    background-size: auto 79% !important;
    background-position: 58% top !important;
    background-repeat: no-repeat !important;
    background-color: #050505 !important;
}

.car-hero-shade {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.34) 0%,
            rgba(0,0,0,.14) 38%,
            rgba(0,0,0,.03) 100%
        ) !important;
}

.car-hero-info {
    width: 175px !important;
    max-width: 175px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.car-meta {
    width: 165px !important;
}

.car-hero-content {
    padding-left: 14px !important;
}

/* VERIFIED CARS - META TIGHTEN MOBILE */
.car-meta > span {
    padding-top: 3px !important;
    padding-bottom: 4px !important;
}

.car-meta strong {
    margin-bottom: 1px !important;
    line-height: 1.02 !important;
}

.car-meta small {
    line-height: 1 !important;
}

/* VERIFIED CARS - FINAL MOBILE META TUNE */
@media (max-width: 768px) {

    .car-hero-info {
        width: 155px !important;
        max-width: 155px !important;
    }

    .car-meta {
        width: 148px !important;
        max-width: 148px !important;
    }

    .car-meta > span {
        padding-top: 2px !important;
        padding-bottom: 3px !important;
    }

    .car-meta strong {
        margin-bottom: 0 !important;
    }

    .car-hero-content {
        padding-left: 10px !important;
    }
}
.vc-spec-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
}

.vc-spec-value {
    padding-left: 22px;
    text-align: left;
    white-space: normal;
}
/* =========================================================
   VERIFIED CARS - MOBILE TITLE AT TOP
   Keep SHARE / LISTEN at bottom
   ========================================================= */

@media (max-width: 768px) {

    /* Cancel ineffective top positioning on whole info block */
    .car-hero-info {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* VERIFIED VEHICLE badge */
    .car-hero-info > .vc-kicker {
        position: absolute !important;
        top: 94px !important;
        left: 12px !important;
        z-index: 8 !important;

        margin: 0 !important;
    }

    /* BMW i3 */
    .car-hero-info > h1 {
        position: absolute !important;
        top: 130px !important;
        left: 12px !important;
        z-index: 8 !important;

        margin: 0 !important;

        font-size: clamp(40px, 13vw, 56px) !important;
        line-height: .95 !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE TITLE TOP RIGHT
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-info > .vc-kicker {
        top: 76px !important;
        left: auto !important;
        right: 14px !important;

        text-align: right !important;
    }

    .car-hero-info > h1 {
        top: 110px !important;
        left: auto !important;
        right: 14px !important;

        width: auto !important;
        max-width: 230px !important;

        text-align: right !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE TITLE HIGHER
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-info > .vc-kicker {
        top: 48px !important;
    }

    .car-hero-info > h1 {
        top: 82px !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE TITLE EVEN HIGHER
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-info > .vc-kicker {
        top: 26px !important;
    }

    .car-hero-info > h1 {
        top: 58px !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE TITLE FINAL POSITION
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-info > .vc-kicker {
        top: 18px !important;
    }

    .car-hero-info > h1 {
        top: 48px !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE ACTIONS TIGHTER
   ========================================================= */

@media (max-width: 768px) {

    .car-actions {
        margin-top: 10px !important;
        padding-top: 0 !important;
        gap: 8px !important;
    }

    .car-actions .vc-button {
        min-height: 38px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .car-hero-content {
        padding-bottom: 10px !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE ACTIONS TIGHTER
   ========================================================= */

@media (max-width: 768px) {

    .car-actions {
        margin-top: 10px !important;
        padding-top: 0 !important;
        gap: 8px !important;
    }

    .car-actions .vc-button {
        min-height: 38px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .car-hero-content {
        padding-bottom: 10px !important;
    }
}


/* =========================================================
   VERIFIED CARS - MOBILE SUMMARY GAP FINAL
   ========================================================= */

@media (max-width: 768px) {

    .vc-mobile-vehicle-summary {
        margin-top: 4px !important;
    }

    .car-actions {
        margin-bottom: 4px !important;
    }
}


/* =========================================================
   VERIFIED CARS - BUYER ACCESS MOBILE TUNE
   ========================================================= */

@media (max-width: 768px) {

    .buyer-access {
        position: relative !important;
        padding: 20px 16px 16px !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .buyer-access .buyer-lock {
        position: absolute !important;
        right: 14px !important;
        bottom: 48px !important;

        font-size: 72px !important;
        line-height: 1 !important;
        font-weight: 900 !important;

        opacity: .16 !important;
        transform: skewX(-6deg) !important;

        pointer-events: none !important;
    }

    .buyer-access .vc-card-text {
        max-width: 78% !important;
        margin-bottom: 16px !important;
    }

    .buyer-access .vc-button {
        position: relative !important;
        z-index: 2 !important;

        width: 100% !important;
        min-height: 40px !important;

        margin-top: 8px !important;
    }
}


/* =========================================================
   VERIFIED CARS - BUYER ACCESS WATERMARK FINAL
   ========================================================= */

@media (max-width: 768px) {

    .buyer-access .buyer-lock {
        right: -6px !important;
        bottom: 34px !important;
        opacity: .12 !important;
    }
}


/* =========================================================
   VERIFIED CARS - BUYER ACCESS WATERMARK CLEAN
   ========================================================= */

@media (max-width: 768px) {

    .buyer-access .buyer-lock {
        right: -10px !important;
        bottom: 74px !important;

        font-size: 64px !important;
        opacity: .09 !important;

        z-index: 0 !important;
    }

    .buyer-access .vc-button,
    .buyer-access .vc-card-text,
    .buyer-access .vc-kicker,
    .buyer-access h3 {
        position: relative !important;
        z-index: 2 !important;
    }
}


/* =========================================================
   VERIFIED CARS - ABOUT ME PORTRAIT MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .about-photo-card {
        min-height: 390px !important;
    }

    .about-photo-slot img {
        height: 94% !important;
        max-width: 102% !important;
    }

    .about-photo-card::after {
        height: 24% !important;
    }

    .about-photo-card::before {
        width: 150px !important;
        height: 150px !important;
        top: 35% !important;
    }
}


@media (max-width: 768px) {

    .about-photo-slot img {
        height: 100% !important;
        max-height: 100% !important;
    }

    .about-photo-card::after {
        height: 30% !important;
    }
}


/* =========================================================
   VERIFIED CARS - ABOUT PORTRAIT MOBILE HEIGHT
   ========================================================= */

@media (max-width: 768px) {

    .about-photo-card {
        min-height: 330px !important;
        height: 330px !important;
    }

    .about-photo-slot img {
        height: 96% !important;
        max-height: 96% !important;
    }
}

/* MOBILE */

@media (max-width: 768px) {

    .rfy-choice {
        max-width: none;
        margin: 14px 0 24px;
        gap: 8px;
    }

    .rfy-choice > .vc-listen,
    .rfy-choice > .rfy-read-more > summary {
        min-height: 40px;
    }

    .rfy-choice > .rfy-read-more > .rfy-read-more-content {
        padding-top: 16px;
    }

    .rfy-choice > .rfy-read-more > .rfy-read-more-content p {
        font-size: 13px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {

    .rfy-choice > .vc-listen {
        height: 40px;
        min-height: 40px;
    }

}
/* =========================================================
   VERIFIED CARS - MOBILE HERO SHOW MORE CAR
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-bg {
        background-size: auto 70% !important;
        background-position: 54% top !important;
        background-repeat: no-repeat !important;
        background-color: #050505 !important;
    }

}


/* VERIFIED CARS - MOBILE HERO FINAL FRAMING */

@media (max-width: 768px) {

    .car-hero-bg {
        background-size: auto 74% !important;
        background-position: 54% top !important;
    }

}


/* =========================================================
   VERIFIED CARS - MOBILE HERO ACTIONS SEPARATED
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-bg {
        position: relative !important;
        background-size: auto 70% !important;
        background-position: 54% top !important;
    }

    .car-hero-content {
        position: relative !important;
        min-height: 640px !important;
        padding-bottom: 110px !important;
    }

    .car-hero-info {
        position: static !important;
    }

    .car-hero-info .car-actions {
        position: absolute !important;

        left: 14px !important;
        right: 14px !important;
        bottom: 14px !important;

        width: auto !important;
        margin: 0 !important;

        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;

        z-index: 10 !important;
    }

    .car-hero-info .car-actions .vc-button {
        width: 100% !important;
        min-height: 42px !important;
        margin: 0 !important;
    }

}


/* VERIFIED CARS - MOBILE HERO ACTIONS GAP TUNE */

@media (max-width: 768px) {

    .car-hero-content {
        min-height: 590px !important;
        padding-bottom: 104px !important;
    }

    .car-hero-info .car-actions {
        bottom: 10px !important;
    }

}


/* VERIFIED CARS - MOBILE HERO REMOVE ACTION GAP */

@media (max-width: 768px) {

    .car-hero-content {
        padding-bottom: 12px !important;
    }

    .car-hero-info .car-actions {
        bottom: 10px !important;
    }

}


/* =========================================================
   VERIFIED CARS - MOBILE HERO HEIGHT FINAL OVERRIDE
   ========================================================= */

@media (max-width: 768px) {

    .car-hero-bg .car-hero-content {
        min-height: 430px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .car-hero-bg {
        background-size: auto 100% !important;
        background-position: 54% top !important;
    }

    .car-hero > .car-actions {
        margin-top: 6px !important;
    }

}

