/* ===================================
   HOME CTA COLUMNS BLOCK STYLES
   =================================== */

/* WordPress Block Wrapper - Layer 1 (handles WordPress integration) */
.wp-block-acf-atax-home-cta-columns .home-cta-columns-section {
    width: 100%;
    max-width: 100vw;
}

/* Main Section Container - Layer 2 (handles design constraints) */
.home-cta-columns-section {
    background-color: var(--white);
    width: 100%;
    position: relative;
    padding: 32px 20px 80px 20px; /* Desktop: top 80px, sides 20px, bottom 0px */
}

/* Content Container - Layer 3 (handles width constraints) */
.home-cta-columns-container {
    max-width: 1200px; /* Desktop container width - as requested */
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch; /* Ensure both columns have equal height */
    gap: 93px; 
    padding: 0;
    justify-content: space-between;
}

/* Home CTA Columns Layout */
.home-cta-columns-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0; /* Allow flex item to shrink */
}

.home-cta-columns-image-right {
    flex: 1; /* Take equal space as content column */
    flex-shrink: 0;
    display: flex; /* Enable flexbox for image stretching */
    align-items: stretch; /* Stretch image to fill container height */
    min-height: 0; /* Allow flex item to shrink */
}

/* Mascot above title */
.home-cta-columns-mascot {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0;
}

.home-cta-columns-mascot-image {
    max-width: 120px; /* Reasonable mascot size */
    height: auto;
    display: block;
}

/* Home CTA Columns Typography */
.home-cta-columns-h1 {
    font-size: 48px; /* Desktop default - main title */
    font-weight: 700;
    line-height: 1.2;
    margin: 0; /* No margin - gap handles spacing */
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

.home-cta-columns-body-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0; /* No margin - gap handles spacing */
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

/* City Name Styling */
.city-name {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}


/* Button container */
.home-cta-columns-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

/* Home CTA Columns Image */
.home-cta-columns-collage-image {
    width: 100%;
    height: 100%; /* Full height of parent */
    display: flex;
    align-items: stretch; /* Stretch to fill container height */
}

.home-cta-columns-collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 160px 0 160px 0; /* Top left and bottom right rounded - same as service-intro-one */
}

/* ===================================
   HOME CTA COLUMNS RESPONSIVE DESIGN - GOLDEN STANDARD
   =================================== */

/* ===================================
   LAPTOP BREAKPOINT (1151px-1600px)
   ===================================
   NO font size changes - same fonts as desktop
   NO layout changes - same layout as desktop
   Only spacing adjustments (gaps, padding)
   =================================== */
@media (max-width: 1600px) {
    .home-cta-columns-container {
        /* Reduce gaps only - maintain same layout */
        gap: 60px; /* Reduced from 80px */
    }
    
    .home-cta-columns-content-left {
        /* Adjust max-width for reduced gap */
        max-width: calc(1200px - 561px - 60px - 40px);
    }
}

/* ===================================
   TABLET BREAKPOINT (768px-1150px)
   ===================================
   Columns stack (flex-direction: column)
   Reduced gaps and spacing
   NO font size changes - same fonts as desktop
   Layout transformation happens here
   =================================== */
@media (max-width: 1150px) {
    .home-cta-columns-section {
        /* Maintain main container spacing control */
        padding: 60px 20px 0px 20px; /* Reduced top padding */
    }
    
    .home-cta-columns-container {
        /* Stack columns on tablet */
        flex-direction: column;
        gap: 40px; /* Reduced gap between stacked elements */
    }
    
    .home-cta-columns-content-left {
        /* Full width when stacked */
        max-width: 100%;
        order: 1; /* Content first on tablet */
    }
    
    .home-cta-columns-image-right {
        /* Adjust image for tablet layout */
        width: 100%;
        max-width: 561px; /* Fixed width instead of CSS variable */
        height: auto;
        aspect-ratio: 561/602;
        order: 2; /* Image second on tablet */
    }
}

/* ===================================
   MOBILE BREAKPOINT (0px-767px)
   ===================================
   Stacked layout maintained
   Reduced padding and spacing
   Main titles only: 48px → 36px for mobile readability
   =================================== */
@media (max-width: 767px) {
    .home-cta-columns-section {
        /* Mobile main container spacing control */
        padding: 60px 16px 30px 16px; /* Reduced sides, added bottom */
    }
    
    .home-cta-columns-container {
        /* Maintain stacked layout */
        flex-direction: column;
        gap: 32px; /* Further reduced gap on mobile */
    }
    
    .home-cta-columns-content-left,
    .home-cta-columns-image-right {
        /* Full width on mobile */
        max-width: 100%;
    }
    
    /* Main title exception - 48px → 36px for mobile readability */
    .home-cta-columns-h1 {
        font-size: 36px; /* Mobile title scaling */
    }
}
