/* Figma 47:2 | 哈啰租车 desktop refresh */
.bd-page--car .bd-shell {
    width: min(1180px, calc(100% - 100px));
}

.bd-page--car .bd-hero {
    min-height: 1145px;
    padding: var(--hg-space-32) 0 var(--hg-space-18);
    align-items: flex-start;
}

.bd-page--car .bd-hero > .bd-shell {
    width: 100%;
}

.bd-page--car .bd-hero-copy {
    max-width: 860px;
    margin: 0 auto var(--hg-space-12);
}

.bd-page--car .bd-hero h1 {
    font-size: 72px;
    line-height: var(--hg-line-normal);
}

.bd-page--car .bd-hero-copy > p:last-of-type {
    margin-top: var(--hg-space-5);
    font-size: 22px;
    line-height: 1.45;
}

.bd-page--car .bd-hero-media {
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    border-radius: 0;
    box-shadow: none;
}

.bd-page--car .bd-hero-media img {
    width: 100%;
    height: 761px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

.bd-page--car .bd-overview {
    margin-top: -48px;
    padding-bottom: 128px;
}

.bd-page--car .bd-overview-grid {
    grid-template-columns: 196px 218px 243px minmax(0, 1fr);
    gap: 16px;
}

.bd-page--car .bd-stat,
.bd-page--car .bd-overview-copy {
    min-height: 218px;
    border-radius: 24px;
}

.bd-page--car .bd-stat {
    padding: 30px;
}

.bd-page--car .bd-stat strong {
    font-size: 48px;
}

.bd-page--car .bd-overview-copy {
    padding: 32px;
}

.bd-page--car .bd-overview-copy h2 {
    margin-bottom: 16px;
    font-size: 28px;
}

.bd-page--car .bd-overview-copy p {
    font-size: 15px;
    line-height: 1.85;
}

.bd-page--car .bd-overview-copy.bd-overview-copy--rentcar p {
    margin-top: 0;
}

.bd-page--car #scenes {
    padding-top: var(--hg-space-32);
}

.bd-page--car .rentcar-scene-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bd-page--car .rentcar-scene-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 8px;
    background: #17243a;
}

.bd-page--car .rentcar-scene-card::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, rgba(5, 17, 36, 0.02) 24%, rgba(5, 17, 36, 0.82) 100%);
}

.bd-page--car .rentcar-scene-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 650ms var(--bd-ease);
}

.bd-page--car .rentcar-scene-card:hover img {
    transform: scale(1.035);
}

.bd-page--car .rentcar-scene-copy {
    position: absolute;
    right: 36px;
    bottom: 26px;
    left: 36px;
    z-index: 2;
    color: #fff;
}

.bd-page--car .rentcar-scene-copy h3 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.bd-page--car .rentcar-scene-copy p {
    max-width: 510px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
}

.bd-page--car .rentcar-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bd-page--car .rentcar-model-grid .bd-media-card {
    min-height: 260px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.bd-page--car .rentcar-model-grid .bd-media-card::before {
    display: none;
}

.bd-page--car .rentcar-model-grid .bd-media-card:hover {
    transform: none;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.bd-page--car .rentcar-model-grid .bd-media-card img {
    display: block;
    width: calc(100% - 36px);
    height: auto;
    aspect-ratio: 339 / 177;
    margin: var(--hg-space-2) var(--hg-space-4) 0;
    object-fit: cover;
    background: transparent;
    transition: none;
}

.bd-page--car .rentcar-model-grid .bd-media-card figcaption {
    padding: var(--hg-space-6) var(--hg-space-6) var(--hg-space-5);
}

.bd-page--car .rentcar-model-grid .bd-media-card h3 {
    font-size: 22px;
}

.bd-page--car .rentcar-model-grid .bd-media-card p {
    margin-top: 4px;
    font-size: 16px;
}

.bd-page--car .rentcar-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bd-page--car .rentcar-service-grid .bd-service-card:first-child {
    grid-column: auto;
}

.bd-page--car .rentcar-service-grid .bd-service-card {
    display: flex;
    min-width: 0;
    min-height: 400px;
    padding: clamp(var(--hg-space-5), 2vw, var(--hg-space-8));
    flex-direction: column;
    justify-content: flex-start;
    border: 0;
    border-radius: 28px;
    background: #fff;
    box-shadow: none;
}

.bd-page--car .rentcar-service-grid .bd-service-card img {
    width: min(132px, 54%);
    height: 120px;
    aspect-ratio: auto;
    object-fit: contain;
    align-self: center;
    margin-bottom: var(--hg-space-6);
    background: #fff;
}

.bd-page--car .rentcar-service-grid .bd-service-copy {
    padding: 0;
}

.bd-page--car .rentcar-service-grid .bd-service-copy h3 {
    margin-bottom: 12px;
    color: #1d1d1f;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.35;
}

.bd-page--car .rentcar-service-grid .bd-service-copy p {
    color: #6e6e73;
    font-size: 16px;
    line-height: 1.7;
}

.bd-page--car #service {
    background: #f5f5f7;
}

@media (max-width: 1080px) {
    .bd-page--car .bd-shell {
        width: min(100% - 56px, 1180px);
    }

    .bd-page--car .bd-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bd-page--car .bd-overview-copy {
        grid-column: 1 / -1;
    }

    .bd-page--car .bd-hero h1 {
        font-size: 64px;
    }
}

@media (max-width: 720px) {
    .bd-page--car .bd-shell {
        width: min(100% - 32px, 1180px);
    }

    .bd-page--car .bd-hero {
        min-height: auto;
        padding: var(--hg-space-24) 0 var(--hg-space-10);
    }

    .bd-page--car .bd-hero-copy {
        margin-bottom: 30px;
    }

    .bd-page--car .bd-hero h1 {
        font-size: 50px;
    }

    .bd-page--car .bd-hero-copy > p:last-of-type {
        font-size: 17px;
    }

    .bd-page--car .bd-hero-media {
        width: 100vw;
        max-width: none;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 0;
    }

    .bd-page--car .bd-hero-media img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .bd-page--car .bd-overview-grid,
    .bd-page--car .rentcar-scene-grid,
    .bd-page--car .rentcar-model-grid,
    .bd-page--car .rentcar-service-grid {
        grid-template-columns: 1fr;
    }

    .bd-page--car .rentcar-service-grid .bd-service-card {
        min-height: 330px;
    }

    .bd-page--car .bd-overview-copy {
        grid-column: auto;
    }

    .bd-page--car .rentcar-scene-card,
    .bd-page--car .rentcar-scene-card img {
        min-height: 230px;
        height: 230px;
    }

    .bd-page--car .rentcar-scene-copy {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .bd-page--car .rentcar-scene-copy h3 {
        font-size: var(--hg-font-xl-2);
    }

    .bd-page--car .rentcar-scene-copy p {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bd-page--car .rentcar-scene-card img {
        transition: none;
    }
}

/* Align the car-rental post-hero data with the Hitch overview layout. */
@media (min-width: 801px) {
    .bd-page--car .bd-overview {
        margin-top: 0;
        padding: 112px 0 128px;
        background: #fff;
    }

    .bd-page--car .bd-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 64px;
    }

    .bd-page--car .bd-overview-copy {
        order: -1;
        grid-column: 1 / -1;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        text-align: center;
    }

    .bd-page--car .bd-overview-copy h2 {
        margin: 0;
        color: #0b1220;
        font-size: 48px;
        font-weight: 650;
        line-height: 1.2;
    }

    .bd-page--car .bd-overview-copy p {
        max-width: 760px;
        margin: 20px auto 0;
        color: #667085;
        font-size: 18px;
        line-height: 1.6;
    }

    .bd-page--car .bd-stat {
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    .bd-page--car .bd-stat strong {
        font-size: 52px;
    }

    .bd-page--car .bd-stat span {
        margin-top: 12px;
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .bd-page--car .bd-overview {
        margin-top: 0;
        padding: 80px 0;
        background: #fff;
    }

    .bd-page--car .bd-overview-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bd-page--car .bd-overview-copy {
        order: -1;
        grid-column: auto;
        min-height: 0;
        padding: 0 0 36px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        text-align: left;
    }

    .bd-page--car .bd-overview-copy h2 {
        margin: 0;
        font-size: 36px;
        line-height: 1.2;
    }

    .bd-page--car .bd-overview-copy p {
        margin-top: 18px;
        font-size: 17px;
        line-height: 1.8;
    }

    .bd-page--car .bd-stat {
        min-height: 0;
        padding: 22px 0;
        border-top: 1px solid var(--bd-line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
}
