header.entry-header {
    display: block !important;
}

.mainBanner {
    font-size: 0;
}

.modelContentSection.blackBg {
    background-color: #000;
}

.topBlackWrapper{
    max-width: 1800px;
    margin: 0 auto;
    padding: 10px 20px;
}

.firstSectionContent h2 {
    font-size: 42px;
    padding-bottom: 30px;
}

.firstSectionContent {
    background-color: #f2f2f2;
    padding: 20px 20px 60px;
    text-align: center;
}

p.firstSectionContentHolder {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px;
}

span.modelPrice {
    color: #e70021;
}

.roundedRedButton a {
    color: #e70021;
    border: 2px solid;
    font-size: 24px;
    padding: 7px 20px;
    display: block;
    max-width: 370px;
    margin: 0 auto;
    border-radius: 50px;
    text-transform: uppercase;
}

.post-type-archive-gac_models .content {
    width: 100%;
    display: flex !important;
}

.model_image a {
    font-size: 0;
}

.vehicleColorSectionMain {
    justify-content: center;
}

.singleSpec h3 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 0;
}

.singleSpec p {
    font-weight: 600;
}


p.infoWhite {
    color: #fff;
    text-align: center;
    margin-bottom: 0;
    padding: 15px;
}

.model-display {
    display: flex;
    flex-direction: column;
}

.section {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    flex-direction: row-reverse;
}

.section:nth-child(even) {
    flex-direction: row;
}

.text-content {
    flex: 1;
}

.text-content-holder {
    margin: 0px 60px;
}

.image-content {
    flex: 1;
    font-size: 0;
}

.text-content-holder h2 {
    text-transform: uppercase;
    font-size: 37px;
    padding: 0 0 30px 0px;
    font-weight: 700;
    color: #e50122;
}

.text-content-holder .roundedRedButton a {
    margin: 0;
    text-align: center;
}

p.intExTitle {
    font-weight: 700;
    margin-bottom: 10px;
}

h2.gallHead {
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 36px;
    margin: 0;
}

.custom-gallery-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    max-width: 1400px;
    padding: 20px;
}

/* Main Gallery */
.custom-main-slider {
    width: 100%;
    margin-bottom: 20px;
}

.custom-main-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.custom-main-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Arrows */
.custom-main-slider .swiper-button-next, .custom-main-slider .swiper-button-prev {
    color: #ff0000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.custom-main-slider .swiper-button-next:after, .custom-main-slider .swiper-button-prev:after {
    font-size: 49px;
}

/* Pagination Dots */
.custom-main-slider .swiper-pagination-bullet {
    background: #ff0000;
    opacity: 0.8;
}

.custom-main-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #a30000;
}

/* Thumbnail Gallery */
.custom-thumb-slider {
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: 10px;
    margin-left: 20px;
}

.custom-thumb-slider .swiper-slide {
    width: 25%;
    height: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0 !important;
}

.custom-thumb-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.vehicleColourNavHolder .swiper-slide {
    width: 100% !important;
}

/* .swiper-button-next, .swiper-button-prev {
    top: var(--swiper-navigation-top-offset,75%) !important;
} */


.custom-thumb-slider .swiper-wrapper {
    gap: 10px;
}

.quform-17 .quform-button-submit button, .quform-17 .quform-element-submit.quform-button-style-theme .quform-button-submit button {
    border-color: #e70021;
    border: 2px solid #e70021;
    border-radius: 50px;
}

.colorLabel {
  opacity: 0;
  visibility: hidden; /* Add this */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Add visibility transition */
  color: #000;
  font-weight: 600;
  margin-left: 10px;
}

.colorLabel.active {
  opacity: 1;
  visibility: visible; /* Add this */
}

span.colorLabelTick {
    position: absolute;
    z-index: 999;
    right: -46px;
    width: 23px;
    top: 4px;
}

.text-content-holder p {
    margin-bottom: 15px;
}

.pricingModels {
    padding-bottom: 26px;
}



@media screen and (max-width: 768px) {

    .vehicleColorSectionMain {
        flex-direction: column;
    }

    .specSectionWrapper {
        width: 100%;
        padding: 20px;
    }

    .specSectionWrapper {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    .vehicleColourNavHolder .swiper-wrapper {
        flex-direction: row;
        gap: 8px;
    }

    .vehicleColourHolder {
        width: 100%;
    }

    .colorLabelHolder {
        flex-direction: column;
    }

    span.colorLabel {
        text-transform: capitalize;
        font-weight: 500;
        width: 100%;
        text-align: center;
        font-size: 12px;
    }

    .vehicleColourNavHolder .swiper-wrapper {
        flex-direction: row;
        gap: 8px;
        margin: 0 !important;
        align-items: center;
        padding-bottom: 20px;
    }

    .vehicleColourNavHolder {
        width: 100% !important;
    }

}

@media screen and (max-width: 480px) {

    span.colorLabel {
        display: none;
    }

    .specsHolder {
        display: flex;
        gap: 10px;
    }

    .singleSpec h3 {
        font-size: 19px;
    }

    .singleSpec p {
        font-size: 12px;
    }
    
    .vehicleColourNavHolder .swiper-slide {
        width: 45px !important;
    }


    .section {
        flex-direction: column-reverse;
    }

    
    .section:nth-child(even) {
        flex-direction: column-reverse;
    }

    .text-content-holder {
        margin: 0px 0px;
        padding: 20px;
    }

}
