.banner {
    position: relative;
    width: 100%;
    height: 50vh; /* Adjust the height as needed (e.g., 50% of viewport height) */
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;

    /* Fallback for smaller screens where the height might be insufficient */
    min-height: 100%;
    min-width: 100%;
    object-fit: cover; /* Ensures the image covers the banner area without distortion */
}

.responsive-header {
    position: relative; /* Establish a positioning context for absolutely positioned children */
    width: 100%;
    height: 0; /* Reset height to allow padding-top to define aspect ratio */
    padding-top: 56.25%; /* Aspect ratio: 16:9 (adjust as needed) */
    background-size: cover; /* Adjust to ensure the image covers the header */
    background-repeat: no-repeat;
    background-position: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure it fills the parent */
    background: rgba(0, 0, 0, 0.3); /* Optional overlay color for visual effect */
    display: flex; /* Optional: Center content */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.responsive-header h1 {
    position: absolute;
    top: 50%; /* Adjust this value for the desired distance from the top */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    color: #fff; /* Text color */
    text-align: center;
    margin: 0;
    font-size: 3.125vw;
    font-weight: 700;
}

/*    FROM SITE */

.fh-config {
    background-color: #fff;
    padding-top: 0;
    height: 28.6vw;
    position: relative;
    z-index: 1;
}

.fh-config {
    width: 100%;
    display: flex;
    box-sizing: border-box;
    --swiper-theme-color: #ff6600;
    --swiper-pagination-color: #00ff33;
}

.panoramic-box {
    width: 100%;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.single.single-car-model .panoramic-box > div {
    flex: 1;
    height: 100%;
    position: relative;
}

/*.single.single-car-model .panoramic-box .panoramic-left-bg {*/
/*    width: 18.17vw;*/
/*    position: absolute;*/
/*    right: 0;*/
/*    bottom: -2px;*/
/*}*/

.single.single-car-model .panoramic-box .panoramic-left-bg {
    width: 28.6vw;
    position: absolute;
    right: 0;
    bottom: 0px;
    font-size: 7vw;
    color: #f1f1f1;
    line-height: 1;
}

.single.single-car-model .panoramic-box .panoramic-center {
    position: relative;
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 {
    position: absolute;
    top: 7vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img {
    width: 8.76vw;
    position: relative;
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img > div {
    transform: translateX(0) rotateX(63deg);
}

@keyframes zhuan {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img .zhuan-img {
    width: 100%;
    animation: zhuan 5s linear infinite;
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img .text-720 {
    position: absolute;
    left: -.5vw;
    right: 0;
    top: 3.2vw;
    bottom: 0;
    margin: auto;
    z-index: 1;
    text-align: center;
    font-size: 2vw;
    font-weight: 700;
    transform: translateX(0) rotateX(0);
}

.single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img .text-720 .yuandian {
    position: absolute;
    width: .5vw;
    height: .5vw;
    background-color: #282828;
    border-radius: 50%;
    top: .5vw;
    margin-left: .2vw;
}

.single.single-car-model .panoramic-box .panoramic-center > img {
    width: 41.15vw;
    position: absolute;
    bottom: -7.5vw;
    left: -5vw;
}

.single.single-car-model .panoramic-box .panoramic-right {
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-sizing: border-box;
    transform: translate(3vw, 4vw);
}

.single.single-car-model .panoramic-box .panoramic-right .item-h9 {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.single.single-car-model .panoramic-box .panoramic-right .active-color .h9-color {
    background-color: #bebebe;
}

.single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 4vw;
    height: 4vw;
    overflow: hidden;
}

.single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color > img {
    width: 2.76vw;
    height: 2.76vw;
    border-radius: 50%;
}

.single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-title {
    padding-left: 1vw;
    color: #adadad;
    font-size: .8vw;
}

.single.single-car-model .panoramic-box .panoramic-right .active-color .h9-title {
    color: #5c5c5c;
    font-weight: 700;
}

.single.single-car-model .carmodel_top {
    background-color: #f1f1f1;
    position: relative;
    /*min-height: 600px;*/
    padding-bottom: 8vw;
}

/*.single.single-car-model .carmodel_top {*/
/*    opacity: 0;*/
/*}*/

/*.single.single-car-model .carmodel_top.active {*/
/*    opacity: 1;*/
/*    transition: opacity 5s ease;*/
/*}*/

.single.single-car-model .carmodel_top .param-detail {
    height: 32.81vw;
    padding-top: 21%;
    width: 68%;
}

.single.single-car-model .specs-block {
    width: 100%;
    display: flex;
    color: #fff;
}

.single.single-car-model .specs-block > .main {
    width: 20%;
    background-color: #333;;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.single.single-car-model .specs-block .spec-block-item {
    line-height: 3em;
    font-size: 1vw;
}

.single.single-car-model .specs-block .spec-block-item.item-real {
    cursor: pointer;
    height: 100%;
    flex: 1;
    border-left: 1px solid #fff;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;;
}

.single.single-car-model .specs-block .spec-block-item.item-real.active {
    background-color: #686868;
}


.single.single-car-model .param-detail {
    width: 60%;
    margin: auto;
    padding-top: 8%;
    padding-bottom: 2%;
    box-sizing: border-box;
    position: relative;
}

.pc-carmodel-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6vw;
    padding: 0 1.56vw;
    height: 2.6vw;
    line-height: 2.6vw;
    background-color: #000;
    color: #d0d1cc;
    font-size: .78vw;
    text-align: center;
    cursor: pointer;
}

.txt-uppercase {
    text-transform: uppercase;
}

.new-h9-param-title {
    width: 84%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    top: 15vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.new-h9-param-title .new-h9-param-xian-1 {
    transform: rotate(180deg);
}

.new-h9-param-title > img {
    width: 29.68vw;
}

.new-h9-param-title .new-h9-param-carname {
    color: #2e2e2e;
    font-size: 1.875vw;
    font-weight: bolder;
}

.char-block .top {
    font-size: .9vw;
}

.h9-720-btn {
    font-weight: 700;
    font-size: 1.2vw;
    color: #000;
}

.char-block .char-description {
    font-weight: 700;
    font-size: 1.5vw;
}

/* Video container */
.hgq-post-car .video-container {
    position: relative;
    width: 100%;
    height: 54vw; /* Full viewport height */
    overflow: hidden;
}

/* Video styling */
.hgq-post-car video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
}

/* Overlay styling */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensures it appears above the video */
}

/* Content styling */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; /* White text */
    text-align: center;
    z-index: 2; /* Ensures it appears above the overlay */
}

.content h1 {
    font-size: 2.5rem;
    margin: 0;
}

.content p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.brake-system {
    width: 100%;
    padding: .82em;
    background-color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.2vw;
    color: #000;
    box-shadow: 2px 2px 3px #eee;
    box-sizing: border-box;
    background-color: #ccc;
    cursor: pointer;
}

.brake-system .icon-up {
    display: inline-block;
    width: 1.2vw;
    height: 1.4vw;
    background: url(https://www.hongqi-auto.com/images/cartype/up.png) no-repeat;
    background-size: 100%;
    transform: rotate(180deg);
    /*transition: .4s;*/
    vertical-align: middle;
}

.pdf-block {
    margin: 0 auto;
    max-width: 1424px;
    width: 96%;
}

.pdf-block iframe {
    width: 100%;
}

.text-h2-title {
    width: 100%;
    text-align: center;
    padding-top: 4%;
    padding-bottom: 4%;
    font-size: 1.8vw;
    color: #2e2e2e;
    font-weight: 700;
}

/* start */

.hgq-post-car-container {
    width: calc(100% - 80px);
    margin: 0 auto;
}

.hgq-post-car .color-car-image {
    display: none;
}

.hgq-post-car .color-car-image.active {
    display: block;
}

.hgq-post-car #commen_test_drive {
    display: flex;
}

.hgq-post-car #commen_test_drive .contact-test-drive {
    width: 20%;
}
.hgq-post-car #map {
    width: 80%;
}

.hgq-post-car #map iframe {
    height: 24vw;
}

.hgq-post-car .contact-test-drive form {
    display: block;
    width: calc(100% - 20px);
}

.hgq-post-car .contact-test-drive form label {
    display: block;
}

.hgq-post-car .contact-test-drive label br {
    display: none;
}

.hgq-post-car .contact-test-drive select,
.hgq-post-car .contact-test-drive input {
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    outline: none;
    position: relative;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    appearance: none; /* Removes default styling */
    -webkit-appearance: none; /* For WebKit browsers */
    -moz-appearance: none; /* For Firefox */
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 4px;
    color: #898989;
    width: 100%;
}

.hgq-post-car .contact-test-drive select {
    color: #ccc
}

.hgq-post-car .contact-test-drive label:has(select) {
    position: relative;
}

.hgq-post-car .contact-test-drive label:has(select)::after {
    font-style: normal;
    content: "";
    position: absolute;
    top: 25%;
    right: 0.5em;
    display: inline-block;
    width: 0.6vw;
    opacity: 0.5;
    height: 1vw;
    background: url(https://www.hongqi-auto.com/images/cartype/up.png) no-repeat;
    background-size: 100%;
    transform: rotate(180deg);
    pointer-events: none;
}

.hgq-post-car .contact-test-drive input[type="submit"] {
    background-color: #898989;
    line-height: inherit;
    color: #fff;
    transition: all .3s;
    border: 1px solid #898989;
    text-transform: uppercase;
}

.hgq-post-car .contact-test-drive input[type="submit"]:hover {
    background-color: #343c45;
}

.hgq-post-car .car-model-content {
    margin-top: 4%;
}

@media screen and (max-width: 1124px) {
    .hgq-post-car #map {
        width: 68%;
    }

    .hgq-post-car #commen_test_drive .contact-test-drive {
        width: 32%;
        font-size: 1.5vw;
    }

    .hgq-post-car #map iframe {
        height: 35vw;
    }
}

@media screen and (max-width: 800px) {
    .hgq-post-car-container {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .panoramic-box {
        flex-direction: column;
        padding-top: 6vw;
    }

    .panoramic-box .panoramic-left {
        display: none;
    }

    .single.single-car-model .panoramic-box .panoramic-center {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 22vw;
        align-items: center;
        height: auto;
    }

    .single.single-car-model .panoramic-box .panoramic-center .h9-720 {
        position: initial;
        transform: none;
        padding: 3vw;
    }

    .single.single-car-model .panoramic-box .panoramic-center > img {
        position: initial;
        width: 70vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right {
        flex-direction: row;
    }

    .carmodel_top .pc-carmodel-btn {
        display: none;
    }

    .carmodel_top .new-h9-param-title {
        position: initial;
        transform: none;
        width: 100%;
    }

    .carmodel_top {
        padding-top: 40vw;
    }

    .single.single-car-model .carmodel_top .param-detail {
        height: auto;
        padding-top: 5%;
        width: 100%;
    }

    .characteristics-content {
        justify-content: center;
        padding: 0 4vw;
    }

    .new-h9-param-title .new-h9-param-carname {
        font-size: 2.875vw;
    }

    .char-block .top {
        font-size: 1.9vw;
    }

    .char-block .char-description {
        font-size: 2.5vw;
    }

    .brake-system {
        font-size: 2vw;
    }

    .brake-system .icon-up {
        width: 2vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color {
        width: 7vw;
        height: 7vw;
        border: 1px solid #fff;
    }

    .single.single-car-model .panoramic-box .panoramic-right {
        width: 100%;
        position: relative;
        /* justify-content: end; */
        transform: none;
        padding-top: 4vw;
        justify-content: center;
        gap: 5vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right .active-color .h9-color {
        background-color: #fff;
    }

    .single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color > img {
        width: 6vw;
        height: 6vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right .h9-title {
        display: none;
    }

    .single.single-car-model .panoramic-box .panoramic-right .active-color .h9-title {
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        top:12vw;
        font-size: 2.2vw;
        display: flex;
        justify-content: center;
        padding: 8px;
        border-top: 2px solid #ccc;
        border-bottom: 2px solid #ccc;
    }
}

@media screen and (max-width: 640px) {
    .single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img {
        width: 12.76vw;
    }

    .single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img .text-720 {
        top: 4.5vw;
        font-size: 2.5vw;
    }

    .h9-720-btn {
        font-size: 1.5vw;
    }

    .single.single-car-model .specs-block {
        flex-wrap: wrap;
    }

    .single.single-car-model .specs-block .spec-block-item {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .char-block {
        text-align: center;
    }

    .single.single-car-model .panoramic-box .panoramic-center > img {
        position: initial;
        width: 98%;
    }

    .single.single-car-model .panoramic-box .panoramic-center {
        padding-top: 40vw;
    }

    .single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img {
        width: 16.76vw;
    }

    .single.single-car-model .panoramic-box .panoramic-center .h9-720 .h9-720-img .text-720 {
        top: 5.5vw;
        font-size: 3.5vw;
    }

    .h9-720-btn {
        font-size: 2.4vw;
    }

    .carmodel_top {
        padding-top: 62vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color > img {
        width: 9vw;
        height: 9vw;
    }

    .single.single-car-model .panoramic-box .panoramic-right .item-h9 .h9-color {
        width: 10vw;
        height: 10vw;
        border: 1px solid #fff;
    }

    .single.single-car-model .panoramic-box .panoramic-right {
        gap: 8vw
    }

    .single.single-car-model .panoramic-box .panoramic-right .active-color .h9-title {
        top: 16vw;
    }

    .carmodel_top {
        padding-top: 68vw;
    }

    .text-h2-title {
        font-size: 3vw;
        margin-top: 8vw;
    }

    .hgq-post-car #commen_test_drive {
        flex-direction: column;
    }

    .hgq-post-car #commen_test_drive .contact-test-drive {
        width: 100%;
        font-size: 2.5vw;
    }

    .hgq-post-car #map {
        width: 100%;
    }

    .hgq-post-car .contact-test-drive form {
        width: 100%;
    }

}

@media screen and (max-width: 475px) {
    .char-block {
        text-align: center;
    }
}