/* ============================================================
   Income Protection Banner Widget
   ============================================================ */

.bip-banner-wrap *,
.bip-banner-wrap *::before,
.bip-banner-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Banner layout ─────────────────────────────────────── */


.bip-banner-inner {
    display: flex;
    align-items: center;
        max-width: 1340px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* ── Left: content ─────────────────────────────────────── */
.bip-banner-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 60px 48px 60px 0;
    max-width: 560px;
}

/* ── Title ─────────────────────────────────────────────── */
.bip-banner-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #111111;
}

.bip-title-highlight {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 56px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #EB8D1D;
    display: block;
}

/* ── Content / description ─────────────────────────────── */
.bip-desc-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.5px;
    color: #444444;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bip-desc-text.bip-desc-expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.bip-read-more {
    display: inline;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.5px;
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.bip-read-more:hover {
    background-color: transparent !important;
    text-decoration: underline !important;
}

/* ── Trust badges ──────────────────────────────────────── */
.bip-trust-badges {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.bip-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 26px;
}

.bip-badge:first-child {
    padding-left: 0;
}

.bip-badge-icon {
    flex-shrink: 0;
    stroke: #0485A9;
}

.bip-badge-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #444444;
    white-space: nowrap;
}

.bip-badge-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background-color: #DDDDDD;
    flex-shrink: 0;
}

/* ── CTA Button ────────────────────────────────────────── */
.bip-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0485A9;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.5px;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    transition: background-color 0.25s, gap 0.25s;
    white-space: nowrap;
    align-self: flex-start;
}

.bip-cta-btn:hover {
    background-color: #036b8a;
    gap: 18px;
}

.bip-cta-arrow {
    flex-shrink: 0;
    transition: transform 0.25s;
}

.bip-cta-btn:hover .bip-cta-arrow {
    transform: translateX(5px);
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bip-banner-title,
    .bip-title-highlight {
        font-size: 44px;
    }
    .bip-banner-left {
        padding: 48px 32px 48px 0;
    }
}

@media (max-width: 768px) {
    .bip-banner-wrap {
        padding: 20px 16px;
        background-image: none !important;
    }
    .bip-banner-inner {
        flex-direction: column;
    }
    .bip-banner-left {
        padding: 0;
        max-width: 100%;
        gap: 20px;
        width: 100%;
    }
    .bip-banner-title,
    .bip-title-highlight {
        font-size: 32px !important;
        line-height: 120%;
    }
    .bip-desc-text {
        font-size: 14px;
    }
    .bip-badge-text {
        font-size: 12px;
    }
    .bip-trust-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 0;
        align-items: center;
    }
    .bip-badge {
        padding: 0;
    }
    .bip-badge:first-child {
        padding-left: 0;
    }
    .bip-badge-divider {
        display: none;
    }
    .bip-cta-btn {
        width: 100%;
        justify-content: center;
        align-self: stretch;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .bip-banner-title,
    .bip-title-highlight {
        font-size: 32px;
    }
}
