/* Model carousel navigation */
#widgetBlock_102 .td-slider__arrow {
    background: #d0d0d0;
    color: #000;
    opacity: 1;
}

#widgetBlock_102 .td-slider__arrow:hover,
#widgetBlock_102 .td-slider__arrow:focus-visible {
    background: #c2c2c2;
    color: #000;
}

#widgetBlock_102 .td-slider__arrow.swiper-button-disabled {
    opacity: 0.45;
}

/* Give text-only model names in the home hero the same display-level presence as model-page headings. */
#home-slider-wrapper .td-slider--main .td-slider__title {
    font-size: clamp(50px, 4.2vw, 64px);
    line-height: 1.1;
}

@media (max-width: 767px) {
    #home-slider-wrapper .td-slider--main .td-slider__title {
        font-size: 32px;
        line-height: 1.15;
    }
}

/* Keep the primary heading hierarchy consistent across every model page. */
.td-section--main-slider .td-text-fade,
.td-section--main-slider .td-text-fade--first,
.td-section--main-slider .td-text-fade--big,
.td-section--main-slider .td-text-fade.out,
.td-section--main-slider .td-text-fade--first.out {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.td-section--main-slider .td-model-hero-title {
    margin-bottom: 0;
}

.td-section--main-slider .td-model-hero-subtitle {
    display: block;
    margin-bottom: 0;
    margin-top: 10px;
}

.td-model-hero-accessible-title {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.td-section__title.td-model-section-title {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 30px;
    text-align: center;
    width: 100%;
}

.td-section__title.td-model-section-title img {
    display: block;
    height: 30px;
    max-width: 100%;
    object-fit: contain;
    width: 312px;
}

.td-model-top-menu__brand {
    color: #fff;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    white-space: nowrap;
}

.td-section__title.td-model-section-title--text {
    color: #111;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin: 0 auto 24px;
    min-height: 0;
    text-align: center;
}

#frame .td-layers > .td-tabs {
    align-items: center;
    display: flex;
    gap: clamp(28px, 5vw, 80px);
    justify-content: center;
    margin: 0 auto 30px;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

#frame .td-layers > .td-tabs .td-tabs__item {
    margin: 0;
}

/* Keep the G700 exterior-detail images equal and aligned in the two-column grid. */
#exterior .g700-exterior-detail-grid {
    align-items: stretch;
    row-gap: 28px;
}

#exterior .g700-exterior-detail-grid .td-card-widget__col,
#exterior .g700-exterior-detail-grid .td-card-widget__slide,
#exterior .g700-exterior-detail-grid .td-card-widget__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#exterior .g700-exterior-detail-grid .g700-exterior-detail-media {
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    overflow: hidden;
    width: 100%;
}

#exterior .g700-exterior-detail-grid .g700-exterior-detail-media picture,
#exterior .g700-exterior-detail-grid .g700-exterior-detail-media img {
    display: block;
    height: 100%;
    width: 100%;
}

#exterior .g700-exterior-detail-grid .g700-exterior-detail-media img {
    object-fit: cover;
    object-position: center;
}

#exterior .g700-exterior-detail-grid .td-card-widget__text {
    flex: 1 1 auto;
}

@media (max-width: 767px) {
    #exterior .g700-exterior-detail-grid .g700-exterior-detail-media {
        aspect-ratio: 4 / 3;
    }
}

/* Normalize the four technology cards despite their different source-image ratios. */
.g700-technology-grid {
    align-items: stretch;
    row-gap: 28px;
}

.g700-technology-grid .td-card-widget__col,
.g700-technology-grid .td-card-widget__slide,
.g700-technology-grid .td-card-widget__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.g700-technology-grid .td-card-widget__img {
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    overflow: hidden;
    width: 100%;
}

.g700-technology-grid .td-card-widget__img picture,
.g700-technology-grid .td-card-widget__img img {
    display: block;
    height: 100%;
    width: 100%;
}

.g700-technology-grid .td-card-widget__img img {
    object-fit: cover;
    object-position: center;
}

.g700-technology-grid .td-card-widget__text {
    flex: 1 1 auto;
}

/* Keep the comfort cards aligned when their source images have different compositions. */
.g700-comfort-grid {
    align-items: stretch;
    row-gap: 28px;
}

.g700-comfort-grid .td-card-widget__col,
.g700-comfort-grid .td-card-widget__slide,
.g700-comfort-grid .td-card-widget__item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.g700-comfort-grid .td-card-widget__img {
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    overflow: hidden;
    width: 100%;
}

.g700-comfort-grid .td-card-widget__img picture,
.g700-comfort-grid .td-card-widget__img img {
    display: block;
    height: 100%;
    width: 100%;
}

.g700-comfort-grid .td-card-widget__img img {
    object-fit: cover;
    object-position: center;
}

.g700-comfort-grid .td-card-widget__text {
    flex: 1 1 auto;
}

/* Dashing has no local documentation files to present. */
#block_key_from_118_uuPkX {
    display: none !important;
}

/* X70+ has no local documentation files to present. */
#block_key_from_122_YS72H {
    display: none !important;
}

/* Hide the empty Dashing availability carousel. */
#block_key_from_1313_EjW4A {
    display: none !important;
}

/* Center the complete vehicle/color presentation below each model hero. */
.td-section--layer:has(.td-slider--colors) > .td-section__container {
    text-align: center;
}

.td-section--layer:has(.td-slider--colors) .td-layers > .td-tabs {
    justify-content: center;
}

.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__item {
    align-items: center;
    text-align: center;
}

.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__img {
    margin-left: auto;
    margin-right: auto;
}

.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__slide-title {
    text-align: center;
    width: 100%;
}

.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__content,
.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__text,
.td-section--layer:has(.td-slider--colors) .td-slider--colors .td-slider__description {
    align-items: center;
    text-align: center;
    width: 100%;
}

.td-section--layer:has(.td-slider--colors) .x50-overview-description,
.td-section--layer:has(.td-slider--colors) > .td-section__container > .td-layers > p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* X50 safety points intentionally share one full-width visual above a uniform text grid. */
.x50-technology-points {
    row-gap: 24px;
}

.x50-technology-points .td-card-widget__col,
.x50-technology-points .td-card-widget__slide,
.x50-technology-points .td-card-widget__item {
    display: flex;
}

.x50-technology-points .td-card-widget__item,
.x50-technology-points .td-card-widget__text {
    width: 100%;
}

.x50-technology-points .td-card-widget__item {
    flex-direction: column;
}

@media (max-width: 767px) {
    .td-section--main-slider h1.td-model-hero-title {
        font-size: 32px;
        line-height: 1.15;
    }

    .td-section--main-slider .td-model-hero-subtitle {
        font-size: 15px;
        line-height: 20px;
    }

    .td-section__title.td-model-section-title img {
        height: auto;
        max-height: 30px;
    }
}
