/**
 * CTA Section Block - Image Scaling Styles
 * Makes technician image grow proportionally with form/content expansion
 */

/* Parent container - relative for absolute positioning */
.cta-section .div-block-33.container-1230 {
    position: relative;
    overflow: visible;
}

/* Image container - fixed width, absolute right */
.cta-section .div-block-42 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    overflow: hidden;;
}

/* Image - contain, align bottom */
.cta-section .image-contact-us {
    height: 100%;
    width: auto;
    max-height: none;
}

/* Title and description - constrain width to not overlap image */
.cta-section .paragraph-3.hero-cta {
    width: 80%;
}

.cta-section .rich-text-block.w-richtext {
    width: 70%;
}

/* Orange backdrop - grow with container, oval */
.cta-section .div-block-43 {
    width: 60%;
    height: 85%;
    border-radius: 45%;
}

/* Tablet adjustments */
@media screen and (max-width: 991px) {
    .cta-section .div-block-42 {
        width: 280px;
    }

    .cta-section .image-contact-us {
        max-height: 350px;
    }
}

/* Mobile - hide image (already handled in main.css but ensure specificity) */
@media screen and (max-width: 767px) {
    .cta-section .div-block-42 {
        display: none;
    }

    .cta-section .paragraph-3.hero-cta,
    .cta-section .rich-text-block.w-richtext {
        width: 100%;
    }
}
