/* === FULLWIDTH BANNER === */
.fullwidth-banner-home-page {
    position: relative;
    width: 100%;
    min-height: 650px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 40px !important;
}

/* Blue shape — solid with curved bottom-right edge */
.fullwidth-banner-home-page .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 100%;
    background-color: #004483CC;
    border-bottom-right-radius: 80px;
    z-index: 1;
}

/* Content sits on top of the blue shape */
.fullwidth-banner-home-page .banner-container {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 60px 40px 60px 10%;
}

.fullwidth-banner-home-page .title {
    color: #ffffff;
    font-size: 4.375rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px 0;
}

.fullwidth-banner-home-page .description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.125rem;
    line-height: 1.25;
    margin: 0 0 65px 0;
    font-weight: 800;
}

/* CTA button row */
.fullwidth-banner-home-page .cta-buttons {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.fullwidth-banner-home-page .cta-button {
    display: flex;
    align-items: center;
    gap: 9px;
    background-color: #FFCC35;
    color: #004483;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 20px 32px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.fullwidth-banner-home-page .cta-button .btn-arrow {
    width: 15px;
    height: auto;
}

/* .fullwidth-banner-home-page .cta-button:hover {
    background-color: #d4900a;
    transform: translateY(-2px);
} */

/* ============================================
   MOBILE — @media query replaces wp_is_mobile()
   ============================================ */
@media screen and (max-width: 768px) {

    .fullwidth-banner-home-page {
        min-height: auto;
        flex-direction: column;
        background-position: center top;
        padding: 0px !important;
        border-bottom-right-radius: 40px;
    }

    .fullwidth-banner-home-page .overlay {
        display: none;
    }

    /* Image visible on top via ::before pseudo element */
    .fullwidth-banner-home-page::before {
        content: '';
        display: block;
        width: 100%;
        height: 280px;
        background-image: inherit;
        background-size: cover;
        background-position: right top;
        flex-shrink: 0;
    }

    /* Solid blue below — curved bottom-right */
    .fullwidth-banner-home-page .banner-container {
        width: 100%;
        background-color: #004483;
        padding: 28px 22px 42px 22px;
        border-bottom-right-radius: 40px;
        text-align: left;
    }

    .fullwidth-banner-home-page .title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .fullwidth-banner-home-page .description {
        font-size: 1.38rem;
        font-weight: 800;
        line-height: 1.6;
        margin-bottom: 28px;
        max-width: 100%;
    }

    /* Buttons — auto width, stacked, left-aligned */
    .fullwidth-banner-home-page .cta-buttons {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .fullwidth-banner-home-page .cta-button {
        width: auto;
        padding: 16px 28px;
        min-width: 283px;
    }
}