.YourColor-IntroBoxes.intro-model-intro_v1 {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111820;
}

.yc-detailing-intro {
    --yc-intro-height: clamp(650px, 55.8vw, 920px);
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: var(--yc-intro-height);
    overflow: hidden;
    color: #fff;
    background: #111820;
}

.yc-detailing-intro__background,
.yc-detailing-intro__overlay {
    position: absolute;
    inset: 0;
}

.yc-detailing-intro__background {
    z-index: -3;
    overflow: hidden;
    background: #111820;
}

.yc-detailing-intro__video,
.yc-detailing-intro__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yc-detailing-intro__overlay {
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(9, 15, 22, 0.22) 0%,
            rgba(9, 15, 22, 0.18) 38%,
            rgba(7, 12, 18, 0.89) 100%
        ),
        linear-gradient(
            90deg,
            rgba(7, 12, 18, 0.65) 0%,
            rgba(7, 12, 18, 0.12) 57%,
            rgba(7, 12, 18, 0.34) 100%
        );
}

.yc-detailing-intro__inner {
    position: relative;
    display: flex;
    width: 100%;
    min-height: var(--yc-intro-height);
    padding:
        clamp(28px, 2.7vw, 46px)
        clamp(18px, 2.25vw, 38px)
        clamp(42px, 5.2vw, 88px);
    align-items: flex-end;
}

.yc-detailing-intro__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
}

.yc-detailing-intro__description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 1.28vw, 22px);
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

.yc-detailing-intro__title {
    max-width: 100%;
    margin-bottom: 20px;
    color: #fff;
    font-size: 59px;
    font-weight: 800;
    text-align: right;
}

.yc-detailing-intro__card {
    position: absolute;
    z-index: 4;
    inset-block-start: 37.2%;
    inset-inline-end: clamp(14px, 1.05vw, 18px);
    left: 25px;
    width: clamp(310px, 21.2vw, 360px);
    padding: clamp(15px, 1.2vw, 20px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: clamp(22px, 1.7vw, 29px);
    background: rgba(137, 143, 149, 0.73);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.yc-detailing-intro__card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.77 / 1;
    overflow: hidden;
    border-radius: clamp(16px, 1.12vw, 19px);
    background-color: rgba(10, 15, 20, 0.4);
    background-image: var(--photo);
    background-position: center;
    background-size: cover;
    transition: all 0.2s ease;
}

.yc-detailing-intro__card-media::before {
    position: absolute;
    z-index: 8;
    inset: 0;
    content: "";
    background-color: rgba(0, 0, 0, 0.2);
}

.yc-detailing-intro__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yc-detailing-intro__play {
    position: absolute;
    z-index: 10;
    inset: 50% auto auto 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 0;
    border-radius: 50%;
    color: var(--uicolor, #f26a1b);
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
    transform: translate(-50%, -50%);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    cursor: pointer;
    left: 230px;
}

button.yc-detailing-intro__play.automart-video-gallery__trigger::before,
button.yc-detailing-intro__play.automart-video-gallery__trigger::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    content: "";
    color: #fff;
    transform: translate(-50%, -50%);
    animation: videoplayanimation 3s infinite;
    animation-delay: 0.9s;
    transition: all 0.3s ease;
}

@keyframes videoplayanimation {
    60% {
        box-shadow: 0 0 0 60px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.yc-detailing-intro__play:hover,
.yc-detailing-intro__play:focus-visible {
    color: var(--uicolor, #f26a1b);
    box-shadow: 0 15px 42px rgba(0, 0, 0, 0.32);
    transform: translate(-50%, -50%) scale(1.06);
}

.yc-detailing-intro__play:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 4px;
}

.yc-detailing-intro__play span, .yc-detailing-intro__play i {
    display: block;
    font-size: 34px;
}

.yc-detailing-intro__card-footer {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(15px, 1.15vw, 20px);
    min-height: 76px;
    padding: clamp(16px, 1.35vw, 23px) 2px 0;
}

.yc-detailing-intro__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 2.9vw, 49px);
    height: clamp(42px, 2.9vw, 49px);
    color: #fff;
    font-size: clamp(34px, 2.55vw, 43px);
}

.yc-detailing-intro__card-icon svg,
.yc-detailing-intro__card-icon i,
.yc-detailing-intro__card-icon span {
    display: block;
    width: 100%;
    height: 100%;
}

.yc-detailing-intro__card-divider {
    width: 1px;
    height: 46px;
    background: rgba(255, 255, 255, 0.62);
}

.yc-detailing-intro__card-title {
    min-width: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.02em;
    text-align: right;
    text-transform: uppercase;
}

/* Video modal */
body.automart-video-gallery-modal-open {
    overflow: hidden;
}

.automart-video-gallery-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 48px);
    background: rgba(4, 8, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overscroll-behavior: contain;
    animation: automart-video-modal-fade-in 0.3s ease both;
}

.automart-video-gallery-modal[hidden] {
    display: none;
}

.automart-video-gallery-modal__dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100dvh - 32px);
    padding: clamp(8px, 1vw, 14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(18px, 2vw, 30px);
    background:
        linear-gradient(
            145deg,
            rgba(35, 43, 52, 0.96),
            rgba(12, 18, 25, 0.98)
        );
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.65),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    animation:
        automart-video-modal-dialog-in
        0.35s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        both;
}

.automart-video-gallery-modal__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: clamp(12px, 1.5vw, 22px);
    background: #000;
}

.automart-video-gallery-modal__frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.automart-video-gallery-modal__close {
    position: absolute;
    z-index: 5;
    top: clamp(-12px, -1vw, -8px);
    right: clamp(-12px, -1vw, -8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 3.4vw, 54px);
    height: clamp(42px, 3.4vw, 54px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    background: var(--uicolor, #f26a1b);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.automart-video-gallery-modal__close::before,
.automart-video-gallery-modal__close::after {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    content: "";
    background: currentColor;
}

.automart-video-gallery-modal__close::before {
    transform: rotate(45deg);
}

.automart-video-gallery-modal__close::after {
    transform: rotate(-45deg);
}

.automart-video-gallery-modal__close:hover {
    color: var(--uicolor, #f26a1b);
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(90deg) scale(1.06);
}

.automart-video-gallery-modal__close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@keyframes automart-video-modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes automart-video-modal-dialog-in {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1199px) {
    .yc-detailing-intro {
        --yc-intro-height: clamp(650px, 67vw, 810px);
    }

    .yc-detailing-intro__card {
        inset-block-start: 31%;
        width: min(330px, 31vw);
    }
}

@media (max-width: 899px) {
    .yc-detailing-intro {
        --yc-intro-height: 380px;
    }

    .yc-detailing-intro__inner {
        padding: 140px 22px 48px;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .yc-detailing-intro__card {
        inset-block-start: 70px;
        inset-inline: 22px auto;
        width: min(350px, calc(100% - 44px));
    }

    .yc-detailing-intro__description {
        max-width: 100%;
        margin-bottom: 24px;
        text-align: center;
    }

    .yc-detailing-intro__play {
        width: 50px;
        height: 50px;
        position: relative;
        inset: 0;
        transform: translate(0, 0) scale(1.06) !important;
    }

.yc-detailing-intro__play i {
    font-size: 20px;
}

    .yc-detailing-intro__title {
        font-size: 41px;
        text-align: center;
    }

    .automart-video-gallery-modal {
        padding: 24px 16px;
    }

    .automart-video-gallery-modal__dialog {
        width: 100%;
        padding: 8px;
        border-radius: 20px;
    }

    .automart-video-gallery-modal__frame-wrap {
        border-radius: 14px;
    }

    .automart-video-gallery-modal__close {
        top: -14px;
        right: -6px;
    }
}

@media (max-width: 575px) {
    .yc-detailing-intro {
        --yc-intro-height: 460px;
    }

    .yc-detailing-intro__inner {
        padding: 84px 16px 20px;
    }

    .yc-detailing-intro__card {
        inset-block-start: 34px;
        inset-inline-start: 16px;
        width: calc(100% - 32px);
        padding: 14px;
        border-radius: 22px;
    }

    .yc-detailing-intro__card-media {
        aspect-ratio: 2 / 1;
    }

    .yc-detailing-intro__card-footer {
        min-height: 62px;
        padding-top: 13px;
    }

    .yc-detailing-intro__description {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }

    .yc-detailing-intro__title {
        font-size: 30px;
        text-align: center;
    }

    .automart-video-gallery-modal {
        padding: 18px 12px;
    }

    .automart-video-gallery-modal__dialog {
        padding: 6px;
        border-radius: 16px;
    }

    .automart-video-gallery-modal__frame-wrap {
        border-radius: 11px;
    }

    .automart-video-gallery-modal__close {
        top: -16px;
        right: -4px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 767px) {
    .yc-detailing-intro--mobile-hidden {
        display: none;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .automart-video-gallery-modal {
        padding: 12px 48px;
    }

    .automart-video-gallery-modal__dialog {
        width: auto;
        max-width: 100%;
        height: calc(100dvh - 24px);
        aspect-ratio: 16 / 9;
    }

    .automart-video-gallery-modal__frame-wrap {
        height: 100%;
        aspect-ratio: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yc-detailing-intro__play,
    .automart-video-gallery-modal__close {
        transition: none;
    }

    button.yc-detailing-intro__play.automart-video-gallery__trigger::before,
    button.yc-detailing-intro__play.automart-video-gallery__trigger::after,
    .automart-video-gallery-modal,
    .automart-video-gallery-modal__dialog {
        animation: none;
    }
}

@media (max-width: 400px) {
    .yc-detailing-intro__title {
    font-size: 22px;
}
}