.xd-mixed-content-2 {
    display: grid;
    grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
    gap: clamp(30px, 3.1vw, 54px);
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(54px, 5.9vw, 82px) clamp(0px, 0vw, 0px) clamp(60px, 6.2vw, 88px) clamp(56px, 6vw, 100px);
    box-sizing: border-box;
    background: #ffffff;
}

.xd-mixed-content-2__content {
    max-width: 430px;
    padding-top: 10px;
}

.xd-mixed-content-2__eyebrow {
    margin: 0 0 16px;
    color: #64389d;
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.xd-mixed-content-2__heading {
    margin: 0 0 24px;
    color: #25124a;
    font-size: clamp(3.15rem, 4.75vw, 5.3rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.xd-mixed-content-2__body {
    max-width: 430px;
    color: #312d36;
    font-size: 1.8rem;
    line-height: 1.38;
}

.xd-mixed-content-2__body > *:first-child {
    margin-top: 0;
}

.xd-mixed-content-2__body > *:last-child {
    margin-bottom: 0;
}

.xd-mixed-content-2__body p,
.xd-mixed-content-2__body ul,
.xd-mixed-content-2__body ol {
    margin: 0 0 16px;
}

.xd-mixed-content-2__button,
.xd-mixed-content-2__button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    margin-top: 22px;
    padding: 0 24px;
    border-radius: 5px;
    background: #f3bd45;
    color: #111111;
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
}

.xd-mixed-content-2__button:hover,
.xd-mixed-content-2__button:focus-visible {
    color: #111111;
    text-decoration: none;
    background: #f7c44e;
}

.xd-mixed-content-2__media {
    align-self: stretch;
    overflow: hidden;
    border-top-left-radius: 42px;
    border-bottom-left-radius: 42px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: #f2f0ea;
}

.xd-mixed-content-2__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 660px;
    aspect-ratio: 1.24 / 1;
    object-fit: cover;
    object-position: center 42%;
}

/* Image-left variant — desktop only */
@media (min-width: 992px) {
    .xd-mixed-content-2--image-left {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
        padding: clamp(54px, 5.9vw, 82px) clamp(56px, 6vw, 100px) clamp(60px, 6.2vw, 88px) 0;
    }

    .xd-mixed-content-2--image-left .xd-mixed-content-2__content {
        order: 2;
    }

    .xd-mixed-content-2--image-left .xd-mixed-content-2__media {
        order: 1;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 42px;
        border-bottom-right-radius: 42px;
    }
}

@media (max-width: 991px) {
    .xd-mixed-content-2--mobile-content-first .xd-mixed-content-2__content {
        order: 1;
    }

    .xd-mixed-content-2--mobile-content-first .xd-mixed-content-2__media {
        order: 2;
    }
}

@media (max-width: 991px) {
    .xd-mixed-content-2 {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 56px 28px 20px;
    }

    .xd-mixed-content-2__content {
        max-width: 100%;
        order: 2;
        padding-top: 0;
    }

    .xd-mixed-content-2__media {
        order: 1;
        border-radius: 30px;
    }

    .xd-mixed-content-2__image {
        min-height: 420px;
        aspect-ratio: 5 / 4;
    }
}

@media (max-width: 575px) {
    .xd-mixed-content-2 {
        gap: 24px;
        padding: 52px 20px 30px;
    }

    .xd-mixed-content-2__eyebrow {
        margin-bottom: 14px;
        font-size: 1.6rem;
    }

    .xd-mixed-content-2__heading {
        margin-bottom: 18px;
        font-size: clamp(2.5rem, 11vw, 3.6rem);
    }

    .xd-mixed-content-2__body {
        font-size: 18px;
        line-height: 1.45;
    }

    .xd-mixed-content-2__button,
    .xd-mixed-content-2__button:visited {
        min-height: 44px;
        margin-top: 24px;
        padding: 0 22px;
    }

    .xd-mixed-content-2__media {
        border-radius: 24px;
    }

    .xd-mixed-content-2__image {
        min-height: 320px;
        aspect-ratio: 1 / 1;
    }
}

/* Wide screens: cap image at 55vw and let content column fill the rest */
@media (min-width: 1600px) {
    .xd-mixed-content-2:not(.xd-mixed-content-2--image-left) {
        grid-template-columns: 1fr 55vw;
    }

    .xd-mixed-content-2--image-left {
        grid-template-columns: 55vw 1fr;
    }

    .xd-mixed-content-2__content {
        max-width: none;
    }
}
