/*
 * Wave Banner - ACF layout "19_wave_banner"
 * Added 2026-11-25 for LCPPV "Regional expertise. Global coordination."
 * Navy band with a PV-coloured wave (bottom right).
 * Global: works on any page using the layout. On LCPPV js/lcppv.js stretches
 * it edge to edge (.pv-fullbleed); elsewhere it sits in the content column.
 * Brand: navy #003265, red #D21C23, orange #F26321, amber #EA961C.
 */

.pv-wave-banner {
    position: relative;
    overflow: hidden !important; /* clip the wave; theme sets overflow: visible on .builder-feld */
    background: #003265;
    color: #fff;
    margin-bottom: 56px;
    isolation: isolate;
}

/* A full-width block directly above the banner (e.g. the LCPPV PV Network wheel)
   sits flush against it: drop that block's theme bottom spacing (.bottom-56). */
.builder-feld:has(.lcppv-wheel-section, .pv-fullbleed):has(+ .pv-wave-banner) {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.pv-wave-banner__wave {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.pv-wave-banner .pv-wave-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.pv-wave-banner__copy {
    max-width: 760px;
}

.pv-wave-banner .pv-wave-banner__heading {
    color: #fff !important;
    font-size: 36px;
    line-height: 44px;
    font-weight: 800;
    margin: 0 0 8px !important;
}

.pv-wave-banner .pv-wave-banner__text {
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
}

.pv-wave-banner .pv-wave-banner__btn {
    flex: 0 0 auto;
    display: inline-block;
    background: #D21C23;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    padding: 14px 24px;
    text-decoration: none;
    transition: background-color .2s ease;
}
.pv-wave-banner .pv-wave-banner__btn:hover,
.pv-wave-banner .pv-wave-banner__btn:focus-visible {
    background: #a8161c;
    color: #fff;
    text-decoration: none;
}
.pv-wave-banner .pv-wave-banner__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Tablet + mobile: stack, keep the text clear of the wave */
@media (max-width: 991px) {
    .pv-wave-banner .pv-wave-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-top: 40px;
        padding-bottom: 72px;
    }
    .pv-wave-banner__wave { width: 100%; height: 56px; }
}

/* Phones (no services sidebar): align the copy with the page content,
   which starts 35px from the viewport edge on LCPPV (measured 360-767px). */
@media (max-width: 767px) {
    .pv-wave-banner .pv-wave-banner__inner {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media (max-width: 575px) {
    .pv-wave-banner .pv-wave-banner__heading { font-size: 28px; line-height: 34px; }
    .pv-wave-banner .pv-wave-banner__btn { width: 100%; text-align: center; }
}
