/* SECTION WRAPPER */
.module-cta-v2 {
    position: relative;
    background-color: var(--color-primary, #161b35);
    color: var(--color-white, #fff);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.module-cta-v2 .cta-v2-container {
    max-width: var(--width-normal, 1376px);
    margin: 0 auto;
    padding: 0 var(--gutter-size, 20px);
}

.module-cta-v2 .cta-v2-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 100%;
}

.module-cta-v2 h2.cta-v2-heading {
    font-family: var(--font-family-heading, 'Playfair Display', serif);
    font-size: var(--font-size-h2, 2.25rem);
    line-height: 1.25;
    color: var(--color-white, #fff);
    margin: 0;
}

/* MEDIA — stacked above content on mobile, full image shown (no crop) */
.module-cta-v2 .cta-v2-media {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: -3rem;
}

.module-cta-v2 .cta-v2-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA BUTTON — same primary-btn pattern used across the other modules */
.module-cta-v2 .button.primary-btn {
    display: inline-block;
    background-color: var(--color-accent-01, #b82329);
    color: var(--color-white, #fff);
    font-family: var(--font-family-body, 'Public Sans', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.module-cta-v2 .button.primary-btn:hover {
    background-color: #9a1c22;
}

/* DESKTOP LAYOUT — image bleeds along the right edge of the section */
@media (min-width: 1025px) {
    .module-cta-v2 {
        padding-top: 5rem;
        padding-bottom: 5rem;
        min-height: 480px;
        display: flex;
        align-items: center;
    }

    .module-cta-v2 .cta-v2-container {
        width: 100%;
    }

    .module-cta-v2 .cta-v2-content {
        max-width: 50%;
    }

    .module-cta-v2 .cta-v2-media {
        position: absolute;
        top: -60px;
        right: 0;
        width: 38%;
        height: calc(100% + 60px);
        margin-top: 0;
        z-index: 1;
    }

    .module-cta-v2 .cta-v2-media img {
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }
}
