/* =============================================================================
   CTA Section 2  (.cta-section-2)
   Versions: .cta-section-2--dark | .cta-section-2--light

   HTML:
   .cta-section-2.section.cta-section-2--[dark|light]
     .container
       .cta-section-2__inner          ← horizontal flex row
         .cta-section-2__left         ← WYSIWYG: subtitle p + h1/h2 + desc p
           .cta-section-2__content
         .cta-section-2__right        ← buttons group
           .cta-section-2__buttons
             a.btn | a.btn.transparent-blue | ...

   Two visual layouts from PDFs (same HTML, different ACF content):
   A) CTA_2  — full-width banner: left text / right buttons side-by-side
      Light: white card on noise bg  |  Dark: dark bg, white text
   B) CTA_3  — centered card: all content stacked center-aligned
      Light: white card on noise bg  |  Dark: dark bg, white text
      Detected via: .cta-section-2__right being empty or buttons stacking

   Since both use same template, we style for the banner layout (A) by default,
   and provide .cta-section-2--centered modifier for vertical layout (B).
   In practice the layout depends on button count and content width.
   We handle both gracefully via flex-wrap.
   ============================================================================= */


/* =============================================================================
   SECTION BACKGROUNDS
   ============================================================================= */

.cta-section-2--light {
    background-color: #F4F5F3;
    background-image: url("../../images/background_noise_white.webp");
    background-repeat: repeat;
    background-size: contain;
}

.cta-section-2--dark {
    background-color: #2A3E49;
    background-image: url("../../images/background_big_blue_2.webp");
    background-size: cover;
    background-repeat: no-repeat;
}


/* =============================================================================
   WHITE CARD  — inner wrapper
   Both versions wrap content in a white rounded card
   ============================================================================= */
.cta-section-2__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 2px 24px 0 rgba(42, 62, 73, 0.08);
}

/* Dark version: card has no white bg — content sits on dark section bg */
.cta-section-2--dark .cta-section-2__inner {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}


/* =============================================================================
   LEFT — text content
   ============================================================================= */
.cta-section-2__left {
    flex: 1;
    min-width: 0;
}

.cta-section-2__content {
    display: flex;
    flex-direction: column;
}

/* Subtitle — small label above h2 ("Need help?", "Queensland service") */
.cta-section-2__content p:first-child,
.cta-section-2__content .cta2-subtitle {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    margin: 0 0 16px;
}

.cta-section-2--light .cta-section-2__content p:first-child {
    color: #53707F;
}

.cta-section-2--dark .cta-section-2__content p:first-child {
    color: #F4F5F3;
}

/* Heading */
.cta-section-2__content h1,
.cta-section-2__content h2,
.cta-section-2__content h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: normal;
    margin: 0 0 8px;
}

.cta-section-2--light .cta-section-2__content h1,
.cta-section-2--light .cta-section-2__content h2,
.cta-section-2--light .cta-section-2__content h3 {
    color: #2A3E49;
}

.cta-section-2--dark .cta-section-2__content h1,
.cta-section-2--dark .cta-section-2__content h2,
.cta-section-2--dark .cta-section-2__content h3 {
    color: #FFFFFF;
}

/* Description paragraph */
.cta-section-2__content p:not(:first-child) {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.cta-section-2--light .cta-section-2__content p:not(:first-child) {
    color: #53707F;
}

.cta-section-2--dark .cta-section-2__content p:not(:first-child) {
    color: #F4F5F3;
}


/* =============================================================================
   RIGHT — buttons
   ============================================================================= */
.cta-section-2__right {
    flex-shrink: 0;
}

.cta-section-2__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Button sizing */
.cta-section-2__buttons .btn {
    height: 48px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

/* transparent-blue on light bg */
.cta-section-2--light .cta-section-2__buttons .btn.transparent-blue {
    background-color: transparent;
    border: 2px solid #2A3E49;
    color: #2A3E49;
}

.cta-section-2--light .cta-section-2__buttons .btn.transparent-blue:hover {
    border-color: #53707F;
    color: #53707F;
}

/* transparent-blue on dark bg → white outline */
.cta-section-2--dark .cta-section-2__buttons .btn.transparent-blue,
.cta-section-2--dark .cta-section-2__buttons .btn.transparent-blur {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #FFFFFF;
}

.cta-section-2--dark .cta-section-2__buttons .btn.transparent-blue:hover,
.cta-section-2--dark .cta-section-2__buttons .btn.transparent-blur:hover {
    border-color: #F4CA35;
    color: #F4CA35;
}


/* =============================================================================
   RESPONSIVE — Tablet  (≤ 1024px)
   ============================================================================= */
@media (max-width: 1024px) {
    .cta-section-2__inner {
        padding: 28px 32px;
        gap: 24px;
    }

    .cta-section-2__content h1,
    .cta-section-2__content h2,
    .cta-section-2__content h3 {
        font-size: 30px;
    }

    .cta-section-2__buttons .btn {
        padding: 12px 20px;
        font-size: 15px;
        height: 48px;
    }
}


/* =============================================================================
   RESPONSIVE — Tablet portrait  (≤ 768px)
   Stack: left text above, buttons below full-width
   ============================================================================= */
@media (max-width: 768px) {
	.cta-section-2--light {
		background-color: #FFFFFF;
		background-image: none;
		padding-top: 40px;
		padding-bottom: 40px;
	}
    .cta-section-2__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
        padding: 28px 24px;
        border-radius: 12px;
		box-shadow: none;
    }

    .cta-section-2--dark .cta-section-2__inner {
        padding: 0;
		box-shadow: none;
    }

    .cta-section-2__right {
        flex-shrink: unset;
        width: 100%;
    }

    .cta-section-2__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-section-2__buttons .btn {
        width: 100%;
        height: 52px;
        text-align: center;
        justify-content: center;
    }

    .cta-section-2__content h1,
    .cta-section-2__content h2,
    .cta-section-2__content h3 {
        font-size: 28px;
    }
}


/* =============================================================================
   RESPONSIVE — Mobile  (≤ 576px)
   CTA_3 layout: centered text + full-width stacked buttons (both versions)
   ============================================================================= */
@media (max-width: 576px) {
    .cta-section-2__inner {
        padding: 24px 16px;
        border-radius: 12px;
        text-align: center;
        align-items: center;
    }

    .cta-section-2--dark .cta-section-2__inner {
        padding: 0;
        text-align: left;
    }

    .cta-section-2__content {
        align-items: center;
    }

    .cta-section-2--dark .cta-section-2__content {
        align-items: flex-start;
    }

    .cta-section-2__content h1,
    .cta-section-2__content h2,
    .cta-section-2__content h3 {
        font-size: 36px;
    }

    .cta-section-2__buttons {
        width: 100%;
    }

    .cta-section-2__buttons .btn {
        height: 48px;
        font-size: 16px;
    }
}
/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjdGEtc2VjdGlvbi0yLmNzcyIsInNvdXJjZXNDb250ZW50IjpbXX0= */
