@import "tailwindcss";
@import "./britainpost.css";

@source "../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php";
@source "../../storage/framework/views/*.php";
@source "../**/*.blade.php";
@source "../**/*.js";

.bp-brand__logo{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

.bp-footer__logo-image{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}

/* BritainPost official logo */
.bp-brand__mark--official {
    width: 44px !important;
    height: 20px !important;
    min-width: 44px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.bp-brand__mark--official::before,
.bp-brand__mark--official::after {
    display: none !important;
    content: none !important;
}

.bp-brand__logo {
    display: block !important;
    width: 44px !important;
    height: 20px !important;
    object-fit: contain !important;
}

.bp-footer__logo-mark--official {
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

.bp-footer__logo-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* =========================================================
   BritainPost official logo — clean rectangular presentation
   ========================================================= */

.bp-brand__mark,
.bp-brand__mark--official {
    display: block !important;
    width: 48px !important;
    height: 22px !important;
    min-width: 48px !important;
    flex: 0 0 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.bp-brand__mark::before,
.bp-brand__mark::after,
.bp-brand__mark > span {
    display: none !important;
    content: none !important;
}

.bp-brand__logo {
    display: block !important;
    width: 48px !important;
    height: 22px !important;
    max-width: none !important;
    object-fit: fill !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Footer logo: remove the temporary red icon container */
.bp-footer__logo-mark,
.bp-footer__logo-mark--official {
    display: block !important;
    width: 54px !important;
    height: 25px !important;
    min-width: 54px !important;
    flex: 0 0 54px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.bp-footer__logo-mark::before,
.bp-footer__logo-mark::after {
    display: none !important;
    content: none !important;
}

.bp-footer__logo-image {
    display: block !important;
    width: 54px !important;
    height: 25px !important;
    max-width: none !important;
    object-fit: fill !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 680px) {
    .bp-brand__mark,
    .bp-brand__mark--official,
    .bp-brand__logo {
        width: 44px !important;
        height: 20px !important;
        min-width: 44px !important;
        flex-basis: 44px !important;
    }
}

/* Footer copyright */
.bp-footer__bottom > p{
    color:#C8102E;
    font-weight:500;
}

.bp-footer__bottom > p strong{
    color:#C8102E;
    font-weight:700;
}

/* BritainPost KPI exact container alignment */
body .bp-v3-metrics {
    margin: 0 !important;
    padding: 8px 0 8px !important;
}

/*
|--------------------------------------------------------------------------
| Important
|--------------------------------------------------------------------------
| Do not override .bp-container here.
| The KPI now uses the exact same shared container width as the hero,
| category bar and all other homepage sections.
*/

body .bp-v3-metrics__grid {
    width: 100% !important;
    min-height: 78px !important;

    display: grid !important;
    grid-template-columns:
        104px
        repeat(5, minmax(0, 1fr)) !important;

    align-items: center !important;
    gap: 0 !important;

    padding: 0 14px !important;
    overflow: hidden !important;

    border: 1px solid rgba(15, 35, 66, 0.07) !important;
    border-radius: 24px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(250, 251, 253, 0.95) 100%
        ) !important;

    box-shadow:
        0 1px 2px rgba(15, 35, 66, 0.025),
        0 12px 30px rgba(15, 35, 66, 0.065),
        inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;

    backdrop-filter: blur(20px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(145%) !important;
}

body .bp-v3-metrics__live {
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    gap: 9px !important;
    padding: 0 16px 0 8px !important;

    border-right: 1px solid rgba(15, 35, 66, 0.09) !important;

    color: #e51d2a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.065em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

body .bp-v3-metrics__pulse {
    width: 9px !important;
    height: 9px !important;
    flex: 0 0 9px !important;

    border-radius: 999px !important;
    background: #e51d2a !important;

    box-shadow:
        0 0 0 5px rgba(229, 29, 42, 0.075) !important;

    animation: bp-live-pulse 1.8s ease-in-out infinite !important;
}

body .bp-v3-metrics__grid article {
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 9px !important;
    padding: 0 12px !important;

    border: 0 !important;
    border-right: 1px solid rgba(15, 35, 66, 0.08) !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

body .bp-v3-metrics__grid article:last-child {
    border-right: 0 !important;
}

body .bp-v3-metrics__grid article > div {
    display: contents !important;
}

body .bp-v3-metrics .bp-v3-metric-icon {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    border: 1px solid rgba(229, 29, 42, 0.16) !important;
    border-radius: 999px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 249, 0.98),
            rgba(255, 239, 241, 0.90)
        ) !important;

    color: #e51d2a !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 4px 12px rgba(229, 29, 42, 0.045) !important;

    font-size: 15px !important;
    line-height: 1 !important;
}

body .bp-v3-metrics__grid article strong {
    order: 2 !important;

    margin: 0 !important;

    color: #0b2344 !important;

    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;

    white-space: nowrap !important;
}

body .bp-v3-metrics__grid article small {
    order: 3 !important;

    margin: 0 !important;

    color: #68778e !important;

    font-size: 11.5px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: none !important;

    white-space: nowrap !important;
}

body .bp-v3-metrics__grid article > span:last-child:not(.bp-v3-metric-icon) {
    display: none !important;
}

body .bp-v3-hero {
    margin-top: 0 !important;
}

@keyframes bp-live-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

@media (max-width: 1180px) {
    body .bp-v3-metrics__grid {
        grid-template-columns:
            92px
            repeat(5, minmax(0, 1fr)) !important;

        padding-inline: 10px !important;
    }

    body .bp-v3-metrics__grid article {
        gap: 7px !important;
        padding-inline: 8px !important;
    }

    body .bp-v3-metrics .bp-v3-metric-icon {
        width: 33px !important;
        height: 33px !important;
        flex-basis: 33px !important;
    }

    body .bp-v3-metrics__grid article strong {
        font-size: 19px !important;
    }

    body .bp-v3-metrics__grid article small {
        font-size: 10px !important;
    }
}

@media (max-width: 980px) {
    body .bp-v3-metrics {
        padding: 14px 0 20px !important;
    }

    body .bp-v3-metrics__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        padding: 12px !important;
    }

    body .bp-v3-metrics__live {
        justify-content: center !important;
    }

    body .bp-v3-metrics__grid article {
        min-height: 58px !important;
        height: auto !important;
    }
}

@media (max-width: 680px) {
    body .bp-v3-metrics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        border-radius: 20px !important;
    }

    body .bp-v3-metrics__live {
        grid-column: 1 / -1 !important;

        border-right: 0 !important;
        border-bottom: 1px solid rgba(15, 35, 66, 0.08) !important;
    }

    body .bp-v3-metrics__grid article {
        justify-content: flex-start !important;
    }

    body .bp-v3-metrics__grid article small {
        white-space: normal !important;
    }
}

/* BritainPost KPI equal 8px spacing — final override */
html body section.bp-v3-metrics {
    margin: 0 !important;
    padding-block: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

html body section.bp-v3-metrics + section.bp-v3-hero {
    margin-top: 0 !important;
}

/* BritainPost exact KPI spacing: 8px above and 8px below */
html body section.bp-v3-metrics {
    margin: 0 !important;
    padding: 8px 0 0 !important;
}

html body section.bp-v3-metrics .bp-container,
html body section.bp-v3-metrics .bp-v3-metrics__grid {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html body section.bp-v3-metrics + section.bp-v3-hero {
    margin-top: 0 !important;
    padding-top: 8px !important;
}

/* BritainPost KPI minimal Apple typography + Ask AI */
html body .bp-v3-metrics__grid {
    min-height: 72px !important;
    grid-template-columns:
        96px
        repeat(5, minmax(0, 1fr))
        108px !important;
    padding-inline: 12px !important;
}

html body .bp-v3-metrics__live {
    height: 40px !important;
    gap: 8px !important;
    padding: 0 14px 0 6px !important;

    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.055em !important;

    border-right-color: rgba(15, 35, 66, 0.055) !important;
}

html body .bp-v3-metrics__pulse {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;

    box-shadow:
        0 0 0 4px rgba(229, 29, 42, 0.065) !important;
}

html body .bp-v3-metrics__grid article {
    height: 40px !important;
    min-height: 40px !important;

    gap: 8px !important;
    padding-inline: 10px !important;

    border-right-color: rgba(15, 35, 66, 0.055) !important;
}

html body .bp-v3-metrics .bp-v3-metric-icon {
    width: 33px !important;
    height: 33px !important;
    flex-basis: 33px !important;

    font-size: 14px !important;

    border-color: rgba(229, 29, 42, 0.14) !important;
    background: rgba(229, 29, 42, 0.045) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 3px 9px rgba(229, 29, 42, 0.035) !important;
}

html body .bp-v3-metrics__grid article strong {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

html body .bp-v3-metrics__grid article small {
    color: #748094 !important;

    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: -0.005em !important;
}

html body .bp-v3-metrics__ask-ai {
    height: 40px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;
    padding: 0 12px !important;

    border: 0 !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.92),
            rgba(247, 249, 252, 0.90)
        ) !important;

    color: #142b4c !important;

    box-shadow:
        inset 0 0 0 1px rgba(15, 35, 66, 0.075),
        0 3px 10px rgba(15, 35, 66, 0.045) !important;

    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    transition:
        transform 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease !important;
}

html body .bp-v3-metrics__ask-ai:hover {
    transform: translateY(-1px) !important;

    background: rgba(255, 255, 255, 1) !important;

    box-shadow:
        inset 0 0 0 1px rgba(229, 29, 42, 0.13),
        0 6px 16px rgba(15, 35, 66, 0.07) !important;
}

html body .bp-v3-metrics__ask-ai:focus-visible {
    outline: 3px solid rgba(229, 29, 42, 0.16) !important;
    outline-offset: 3px !important;
}

html body .bp-v3-metrics__ask-icon {
    color: #e51d2a !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

html {
    scroll-behavior: smooth;
}

#ask-britainpost-ai {
    scroll-margin-top: 110px;
}

@media (max-width: 1180px) {
    html body .bp-v3-metrics__grid {
        grid-template-columns:
            82px
            repeat(5, minmax(0, 1fr))
            94px !important;
    }

    html body .bp-v3-metrics__grid article {
        padding-inline: 6px !important;
        gap: 6px !important;
    }

    html body .bp-v3-metrics .bp-v3-metric-icon {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px !important;
    }

    html body .bp-v3-metrics__grid article strong {
        font-size: 18px !important;
    }

    html body .bp-v3-metrics__grid article small {
        font-size: 9.5px !important;
    }

    html body .bp-v3-metrics__ask-ai {
        padding-inline: 9px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 980px) {
    html body .bp-v3-metrics__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    html body .bp-v3-metrics__ask-ai {
        min-height: 52px !important;
        height: auto !important;
    }
}

@media (max-width: 680px) {
    html body .bp-v3-metrics__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body .bp-v3-metrics__ask-ai {
        grid-column: 1 / -1 !important;
    }
}

/* BritainPost Ask AI button alignment fix */
html body .bp-v3-metrics__ask-ai {
    align-self: center !important;
    justify-self: stretch !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    margin: 0 0 0 10px !important;
    padding: 0 12px !important;

    gap: 6px !important;

    border-radius: 12px !important;

    font-size: 11.5px !important;
    font-weight: 550 !important;
    letter-spacing: -0.01em !important;

    box-shadow:
        inset 0 0 0 1px rgba(15, 35, 66, 0.07),
        0 2px 7px rgba(15, 35, 66, 0.035) !important;
}

html body .bp-v3-metrics__ask-icon {
    flex: 0 0 auto !important;
    font-size: 12px !important;
}

html body .bp-v3-metrics__grid {
    grid-template-columns:
        96px
        repeat(5, minmax(0, 1fr))
        minmax(92px, 104px) !important;
}

@media (max-width: 1180px) {
    html body .bp-v3-metrics__grid {
        grid-template-columns:
            82px
            repeat(5, minmax(0, 1fr))
            minmax(84px, 94px) !important;
    }

    html body .bp-v3-metrics__ask-ai {
        margin-left: 6px !important;
        padding-inline: 9px !important;
    }
}

/* BritainPost - Match KPI to Categories spacing (8px) */
html body section.bp-v3-categories {
    margin-top: 0 !important;
    padding-top: 8px !important;
}

html body section.bp-v3-metrics {
    padding-bottom: 8px !important;
}

/* BritainPost - Reduce gap before Latest News */
html body section.bp-v3-latest,
html body .bp-v3-latest {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

html body section.bp-ai-newsroom,
html body .bp-ai-newsroom {
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
}

/* =========================================================
   BritainPost Nia — Apple UK Presenter
   ========================================================= */

.bp-ai-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(340px, .88fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

.bp-ai-command-grid > .bp-ai-ask {
    margin: 0;
}

.bp-nina-presenter {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    color: #081f49;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(23, 77, 180, .13),
            transparent 35%
        ),
        radial-gradient(
            circle at 0% 15%,
            rgba(209, 17, 61, .09),
            transparent 32%
        ),
        rgba(255, 255, 255, .94);
    border: 1px solid rgba(28, 76, 153, .17);
    border-radius: 30px;
    box-shadow:
        0 28px 70px rgba(21, 51, 103, .12),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
}

.bp-nina-presenter::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 8px;
    background: linear-gradient(
        90deg,
        #d80b38 0%,
        #d80b38 26%,
        #ffffff 26%,
        #ffffff 38%,
        #123f9c 38%,
        #123f9c 72%,
        #ffffff 72%,
        #ffffff 82%,
        #d80b38 82%,
        #d80b38 100%
    );
}

.bp-nina-presenter__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 31px 26px 24px;
    overflow: hidden;
    background:
        linear-gradient(
            125deg,
            rgba(14, 56, 145, .08),
            rgba(255, 255, 255, .76) 50%,
            rgba(212, 12, 57, .07)
        );
    border-bottom: 1px solid rgba(23, 66, 139, .1);
}

.bp-nina-presenter__header::after {
    content: "";
    position: absolute;
    top: -85px;
    right: -75px;
    width: 235px;
    height: 180px;
    opacity: .075;
    background:
        linear-gradient(
            28deg,
            transparent 42%,
            #d80b38 42%,
            #d80b38 49%,
            transparent 49%
        ),
        linear-gradient(
            -28deg,
            transparent 42%,
            #d80b38 42%,
            #d80b38 49%,
            transparent 49%
        ),
        linear-gradient(
            90deg,
            transparent 43%,
            #123f9c 43%,
            #123f9c 57%,
            transparent 57%
        ),
        linear-gradient(
            0deg,
            transparent 43%,
            #123f9c 43%,
            #123f9c 57%,
            transparent 57%
        );
    transform: rotate(-8deg);
    pointer-events: none;
}

.bp-nina-presenter__profile {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.bp-nina-presenter__avatar {
    position: relative;
    flex: 0 0 102px;
    width: 102px;
    height: 102px;
    padding: 5px;
    border-radius: 999px;
    background: linear-gradient(145deg, #123f9c, #ffffff 48%, #d80b38);
    box-shadow:
        0 14px 32px rgba(14, 50, 111, .16),
        0 0 0 1px rgba(10, 47, 111, .08);
}

.bp-nina-presenter__avatar img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border: 4px solid #fff;
    border-radius: inherit;
    transform: translateZ(0);
    transition:
        transform .5s cubic-bezier(.2, .8, .2, 1),
        filter .5s ease;
}

.bp-nina-presenter__avatar-ring {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(21, 75, 174, .2);
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
}

.bp-nina-presenter__identity {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.bp-nina-presenter__identity strong {
    color: #071e4a;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.055em;
}

.bp-nina-presenter__identity span {
    margin-top: 7px;
    color: #5a6e91;
    font-size: 14px;
    font-weight: 650;
}

.bp-nina-presenter__identity small {
    margin-top: 5px;
    color: #d20e3d;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.bp-nina-presenter__badges {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.bp-nina-presenter__language,
.bp-nina-presenter__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 12px;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bp-nina-presenter__language {
    color: #123f9c;
    background: rgba(239, 245, 255, .95);
    border: 1px solid rgba(18, 63, 156, .14);
}

.bp-nina-presenter__live {
    color: #08773f;
    background: rgba(235, 251, 242, .96);
    border: 1px solid rgba(25, 151, 88, .15);
}

.bp-nina-presenter__live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19b866;
    box-shadow: 0 0 0 5px rgba(25, 184, 102, .12);
}

.bp-nina-presenter__body {
    padding: 27px 26px 24px;
}

.bp-nina-presenter__greeting {
    display: block;
    margin-bottom: 17px;
    color: #071e4a;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.bp-nina-presenter__brief {
    position: relative;
    display: grid;
    grid-template-columns: 5px minmax(0, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.bp-nina-presenter__brief > i {
    display: block;
    width: 5px;
    min-height: 100%;
    background: linear-gradient(180deg, #d80b38, #123f9c);
    border-radius: 999px;
}

.bp-nina-presenter__brief p {
    margin: 0;
    color: #526789;
    font-size: 14px;
    line-height: 1.65;
}

.bp-nina-presenter__primary {
    appearance: none;
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    color: #fff;
    background:
        linear-gradient(
            105deg,
            #d70b3d 0%,
            #d70b3d 22%,
            #254fc6 58%,
            #073690 100%
        );
    border: 0;
    border-radius: 18px;
    box-shadow:
        0 14px 30px rgba(17, 63, 161, .2),
        inset 0 1px 0 rgba(255, 255, 255, .25);
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.bp-nina-presenter__primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(17, 63, 161, .27),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

.bp-nina-presenter__play-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #123f9c;
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 7px 18px rgba(5, 24, 66, .16);
}

.bp-nina-presenter__controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 19px 0;
}

.bp-nina-presenter__controls button {
    appearance: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    padding: 0;
    color: #16335f;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.bp-nina-presenter__controls button > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(23, 68, 145, .13);
    border-radius: 999px;
    box-shadow: 0 9px 22px rgba(17, 51, 105, .08);
    font-size: 18px;
    transition:
        transform .2s ease,
        background-color .2s ease;
}

.bp-nina-presenter__controls button:hover:not(:disabled) > span {
    transform: translateY(-2px);
    background: #fff;
}

.bp-nina-presenter__controls button small {
    color: #6a7b98;
    font-size: 10px;
    font-weight: 750;
}

.bp-nina-presenter__controls button:disabled {
    cursor: default;
    opacity: .36;
}

.bp-nina-presenter__voice-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    background: linear-gradient(
        120deg,
        rgba(242, 247, 255, .94),
        rgba(255, 250, 251, .94)
    );
    border: 1px solid rgba(28, 77, 163, .13);
    border-radius: 17px;
}

.bp-nina-presenter__voice-card > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.bp-nina-presenter__voice-card strong {
    color: #15325f;
    font-size: 11px;
    line-height: 1.38;
}

.bp-nina-presenter__voice-card div span {
    margin-top: 3px;
    color: #7686a0;
    font-size: 10px;
}

.bp-nina-presenter__flag {
    font-size: 28px;
}

.bp-nina-presenter__wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 32px;
}

.bp-nina-presenter__wave i {
    display: block;
    width: 3px;
    height: 8px;
    background: linear-gradient(180deg, #d70b3d, #164cac);
    border-radius: 999px;
}

.bp-nina-presenter__wave i:nth-child(2),
.bp-nina-presenter__wave i:nth-child(6) {
    height: 14px;
}

.bp-nina-presenter__wave i:nth-child(3),
.bp-nina-presenter__wave i:nth-child(5) {
    height: 22px;
}

.bp-nina-presenter__wave i:nth-child(4) {
    height: 30px;
}

.bp-nina-presenter__privacy {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 17px;
    padding-top: 16px;
    color: #8a98ad;
    border-top: 1px solid rgba(25, 62, 124, .1);
    font-size: 9px;
    font-weight: 650;
    letter-spacing: .025em;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__avatar img {
    animation: bp-nina-presenting 2.6s ease-in-out infinite;
    filter:
        saturate(1.03)
        drop-shadow(0 12px 18px rgba(23, 63, 130, .15));
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__avatar-ring {
    opacity: 1;
    animation: bp-nina-avatar-pulse 1.7s ease-out infinite;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__live i {
    animation: bp-nina-live-pulse 1.2s ease-in-out infinite;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i {
    animation: bp-nina-wave .62s ease-in-out infinite alternate;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(2) {
    animation-delay: .08s;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(3) {
    animation-delay: .16s;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(4) {
    animation-delay: .24s;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(5) {
    animation-delay: .32s;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(6) {
    animation-delay: .4s;
}

.bp-nina-presenter.is-speaking
.bp-nina-presenter__wave i:nth-child(7) {
    animation-delay: .48s;
}

@keyframes bp-nina-presenting {
    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-1.5px) rotate(-.35deg) scale(1.008);
    }

    55% {
        transform: translateY(1px) rotate(.3deg) scale(1.012);
    }

    80% {
        transform: translateY(-.5px) rotate(-.15deg) scale(1.006);
    }
}

@keyframes bp-nina-avatar-pulse {
    0% {
        opacity: .5;
        transform: scale(.94);
    }

    100% {
        opacity: 0;
        transform: scale(1.17);
    }
}

@keyframes bp-nina-live-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(25, 184, 102, .11);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(25, 184, 102, .04);
    }
}

@keyframes bp-nina-wave {
    from {
        transform: scaleY(.34);
    }

    to {
        transform: scaleY(1);
    }
}

@media (max-width: 1080px) {
    .bp-ai-command-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr);
    }

    .bp-nina-presenter__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .bp-nina-presenter__badges {
        position: absolute;
        top: 25px;
        right: 22px;
    }
}

@media (max-width: 920px) {
    .bp-ai-command-grid {
        grid-template-columns: 1fr;
    }

    .bp-nina-presenter {
        max-width: none;
    }

    .bp-nina-presenter__header {
        align-items: center;
        flex-direction: row;
    }

    .bp-nina-presenter__badges {
        position: static;
    }
}

@media (max-width: 580px) {
    .bp-nina-presenter {
        border-radius: 24px;
    }

    .bp-nina-presenter__header {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 20px 21px;
    }

    .bp-nina-presenter__badges {
        display: flex;
        width: 100%;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .bp-nina-presenter__avatar {
        flex-basis: 84px;
        width: 84px;
        height: 84px;
    }

    .bp-nina-presenter__identity strong {
        font-size: 29px;
    }

    .bp-nina-presenter__body {
        padding: 23px 20px 21px;
    }

    .bp-nina-presenter__controls {
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-nina-presenter *,
    .bp-nina-presenter *::before,
    .bp-nina-presenter *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


@import "./nina-presenter.css";

/* ============================================================
   BritainPost Breaking News — British Flag Theme
   ============================================================ */

.bp-breaking {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 64px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 16, 64, 0.25);
    background:
        linear-gradient(
            90deg,
            #041d55 0%,
            #062e7b 42%,
            #061f5b 100%
        );
    color: #ffffff;
}

.bp-breaking::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 3;
    width: 6px;
    background: #ff3344;
}

.bp-breaking::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 72% 50%,
            rgba(53, 101, 194, 0.2),
            transparent 34%
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.02),
            transparent 42%,
            rgba(255, 255, 255, 0.02)
        );
}


.bp-breaking__flag{
    position:absolute;
    top:0;
    right:0;
    width:220px;
    height:100%;
    opacity:.14;
    pointer-events:none;
    overflow:hidden;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,.75) 46%,
            rgba(207,20,43,.9) 49%,
            rgba(207,20,43,.9) 51%,
            rgba(255,255,255,.75) 54%,
            transparent 100%
        ),
        linear-gradient(
            -32deg,
            transparent 46%,
            rgba(255,255,255,.55) 47%,
            rgba(207,20,43,.7) 49%,
            rgba(207,20,43,.7) 51%,
            rgba(255,255,255,.55) 53%,
            transparent 54%
        );
    mask-image:linear-gradient(
        90deg,
        transparent,
        rgba(0,0,0,.35) 18%,
        #000 100%
    );
}


.bp-breaking__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 64px;
    gap: 28px;
}

.bp-breaking__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    color: #ff3a4d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.bp-breaking__pulse {
    position: relative;
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border: 1.5px solid #ff3a4d;
    border-radius: 999px;
}

.bp-breaking__pulse::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff3a4d;
    box-shadow: 0 0 0 4px rgba(255, 58, 77, 0.08);
}

.bp-breaking__story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    gap: 26px;
    color: #ffffff;
    text-decoration: none;
}

.bp-breaking__headline {
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(0.92rem, 1.05vw, 1.08rem);
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-breaking__arrow {
    display: inline-grid;
    width: 46px;
    height: 36px;
    place-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    transition:
        transform 180ms ease,
        color 180ms ease;
}

.bp-breaking__story:hover .bp-breaking__arrow {
    color: #ff3a4d;
    transform: translateX(4px);
}

.bp-breaking__time {
    min-width: max-content;
    color: #ff3a4d;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .bp-breaking__inner {
        gap: 16px;
    }

    .bp-breaking__label {
        padding-right: 16px;
    }

    .bp-breaking__flag {
        right: -160px;
        opacity: 0.38;
    }

    .bp-breaking__headline {
        font-size: 0.9rem;
    }

    .bp-breaking__arrow {
        width: 36px;
    }
}

@media (max-width: 680px) {
    .bp-breaking {
        min-height: 58px;
    }

    .bp-breaking__inner {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 58px;
        gap: 12px;
    }

    .bp-breaking__label {
        gap: 7px;
        padding-right: 12px;
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    .bp-breaking__pulse {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .bp-breaking__pulse::before {
        width: 7px;
        height: 7px;
    }

    .bp-breaking__story {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .bp-breaking__headline {
        font-size: 0.8rem;
    }

    .bp-breaking__arrow,
    .bp-breaking__time {
        display: none;
    }

    .bp-breaking__flag {
        right: -260px;
        width: 430px;
        opacity: 0.26;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .bp-breaking__pulse::before {
        animation: bp-breaking-pulse 1.8s ease-out infinite;
    }
}

@keyframes bp-breaking-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 58, 77, 0.46);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 58, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 58, 77, 0);
    }
}

/* ============================================================
   BritainPost Breaking News — Compact Clean Override
   ============================================================ */

.bp-breaking {
    min-height: 34px !important;
    height: 34px !important;
    overflow: hidden !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(0, 15, 55, 0.18) !important;
    background:
        linear-gradient(
            90deg,
            #061c4f 0%,
            #073078 52%,
            #061c4f 100%
        ) !important;
}

.bp-breaking::before {
    width: 4px !important;
}

.bp-breaking::after {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025),
            transparent 40%,
            rgba(255, 255, 255, 0.035)
        ) !important;
}

.bp-breaking__flag {
    top: 50% !important;
    right: 44px !important;
    width: 210px !important;
    height: 74px !important;
    opacity: 0.2 !important;
    transform: translateY(-50%) rotate(0deg) !important;
    filter: none !important;
    mask-image:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.28) 28%,
            #000 72%,
            #000 100%
        ) !important;
    background:
        linear-gradient(
            33deg,
            transparent 43%,
            rgba(255, 255, 255, 0.72) 43%,
            rgba(255, 255, 255, 0.72) 48%,
            rgba(207, 23, 56, 0.82) 48%,
            rgba(207, 23, 56, 0.82) 52%,
            rgba(255, 255, 255, 0.72) 52%,
            rgba(255, 255, 255, 0.72) 57%,
            transparent 57%
        ),
        linear-gradient(
            -33deg,
            transparent 43%,
            rgba(255, 255, 255, 0.72) 43%,
            rgba(255, 255, 255, 0.72) 48%,
            rgba(207, 23, 56, 0.82) 48%,
            rgba(207, 23, 56, 0.82) 52%,
            rgba(255, 255, 255, 0.72) 52%,
            rgba(255, 255, 255, 0.72) 57%,
            transparent 57%
        ),
        linear-gradient(
            90deg,
            transparent 39%,
            rgba(255, 255, 255, 0.74) 39%,
            rgba(255, 255, 255, 0.74) 44%,
            rgba(207, 23, 56, 0.84) 44%,
            rgba(207, 23, 56, 0.84) 56%,
            rgba(255, 255, 255, 0.74) 56%,
            rgba(255, 255, 255, 0.74) 61%,
            transparent 61%
        ),
        linear-gradient(
            0deg,
            transparent 35%,
            rgba(255, 255, 255, 0.74) 35%,
            rgba(255, 255, 255, 0.74) 42%,
            rgba(207, 23, 56, 0.84) 42%,
            rgba(207, 23, 56, 0.84) 58%,
            rgba(255, 255, 255, 0.74) 58%,
            rgba(255, 255, 255, 0.74) 65%,
            transparent 65%
        ) !important;
}

.bp-breaking__inner {
    min-height: 34px !important;
    height: 34px !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 18px !important;
}

.bp-breaking__label {
    gap: 7px !important;
    padding-right: 18px !important;
    font-size: 0.64rem !important;
    letter-spacing: 0.15em !important;
    border-right-color: rgba(255, 255, 255, 0.16) !important;
}

.bp-breaking__pulse {
    width: 16px !important;
    height: 16px !important;
    flex-basis: 16px !important;
    border-width: 1px !important;
}

.bp-breaking__pulse::before {
    width: 6px !important;
    height: 6px !important;
    box-shadow: none !important;
}

.bp-breaking__story {
    gap: 16px !important;
}

.bp-breaking__headline {
    font-size: 0.78rem !important;
    font-weight: 650 !important;
    line-height: 1 !important;
}

.bp-breaking__arrow {
    width: 34px !important;
    height: 22px !important;
    font-size: 1.35rem !important;
    border-right-color: rgba(255, 255, 255, 0.16) !important;
}

.bp-breaking__time {
    font-size: 0.72rem !important;
    line-height: 1 !important;
}

@media (max-width: 900px) {
    .bp-breaking__inner {
        gap: 12px !important;
    }

    .bp-breaking__label {
        padding-right: 12px !important;
    }

    .bp-breaking__flag {
        right: 20px !important;
        width: 170px !important;
        opacity: 0.14 !important;
    }

    .bp-breaking__headline {
        font-size: 0.74rem !important;
    }
}

@media (max-width: 680px) {
    .bp-breaking,
    .bp-breaking__inner {
        min-height: 32px !important;
        height: 32px !important;
    }

    .bp-breaking__inner {
        grid-template-columns: auto minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    .bp-breaking__label {
        gap: 5px !important;
        padding-right: 9px !important;
        font-size: 0.56rem !important;
        letter-spacing: 0.1em !important;
    }

    .bp-breaking__pulse {
        width: 14px !important;
        height: 14px !important;
        flex-basis: 14px !important;
    }

    .bp-breaking__pulse::before {
        width: 5px !important;
        height: 5px !important;
    }

    .bp-breaking__headline {
        font-size: 0.68rem !important;
    }

    .bp-breaking__flag {
        display: none !important;
    }

    .bp-breaking__arrow,
    .bp-breaking__time {
        display: none !important;
    }
}

/* ============================================================
   BritainPost Featured Partners — Three Card Horizontal Layout
   ============================================================ */

.bp-partners {
    padding: 34px 0 42px;
    overflow: hidden;
    background: #ffffff;
}

.bp-partners__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.bp-partners__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #ef3340;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.bp-partners__heading h2 {
    margin: 0;
    color: #082957;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: var(--bp-leading-headline);
}

.bp-partners__heading p {
    margin: 9px 0 0;
    color: #71809a;
    font-size: 0.96rem;
    line-height: 1.45;
}

.bp-partners__disclosure {
    flex: 0 0 auto;
    color: #7d899d;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.bp-partners__viewport {
    width: 100%;
    overflow: hidden;
}

.bp-partners__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    width: 100%;
}

.bp-partner-card {
    min-width: 0;
    height: 100%;
}

.bp-partner-card__link {
    position: relative;
    display: block;
    min-height: 250px;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(7, 41, 87, 0.08);
    border-radius: 22px;
    background: #092957;
    box-shadow:
        0 14px 36px rgba(6, 31, 71, 0.08),
        0 2px 8px rgba(6, 31, 71, 0.04);
    color: #ffffff;
    text-decoration: none;
    transform: translateZ(0);
}

.bp-partner-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bp-partner-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(3, 18, 42, 0.16) 0%,
            rgba(3, 18, 42, 0.28) 35%,
            rgba(3, 18, 42, 0.9) 100%
        );
}

.bp-partner-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 250px;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.bp-partner-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bp-partner-card__sponsored {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(3, 19, 46, 0.25);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.bp-partner-card__brand {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-partner-card__copy h3 {
    max-width: 320px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.22rem, 1.55vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.bp-partner-card__action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 750;
}

.bp-partner-card__action span {
    font-size: 1rem;
    transition: transform 180ms ease;
}

.bp-partner-card__link:hover .bp-partner-card__image {
    transform: scale(1.04);
}

.bp-partner-card__link:hover .bp-partner-card__action span {
    transform: translateX(4px);
}

@media (max-width: 980px) {
    .bp-partners__track {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .bp-partners__track::-webkit-scrollbar {
        display: none;
    }

    .bp-partner-card {
        scroll-snap-align: start;
    }

    .bp-partner-card__link,
    .bp-partner-card__content {
        min-height: 235px;
    }
}

@media (max-width: 700px) {
    .bp-partners {
        padding: 28px 0 34px;
    }

    .bp-partners__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .bp-partners__track {
        grid-template-columns: repeat(3, minmax(82vw, 1fr));
        gap: 12px;
    }

    .bp-partner-card__link,
    .bp-partner-card__content {
        min-height: 230px;
    }

    .bp-partner-card__content {
        padding: 18px;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost V3.5.2 — Latest News Grid
|--------------------------------------------------------------------------
*/

.bp-latest-news {
    padding: clamp(64px, 8vw, 108px) 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fc 100%
        );
}

.bp-latest-news__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 48px;
    align-items: end;
    margin-bottom: 38px;
}

.bp-latest-news__header h2 {
    margin: 8px 0 0;
    color: #0b1830;
    font-size: clamp(2.15rem, 4vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.bp-latest-news__intro {
    max-width: 44ch;
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.7;
}

.bp-latest-news__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.bp-latest-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 24, 48, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 1px 2px rgba(11, 24, 48, 0.03),
        0 18px 50px rgba(11, 24, 48, 0.06);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.bp-latest-card:hover {
    transform: translateY(-5px);
    border-color: rgba(18, 54, 108, 0.16);
    box-shadow:
        0 2px 5px rgba(11, 24, 48, 0.04),
        0 24px 65px rgba(11, 24, 48, 0.11);
}

.bp-latest-card__link {
    display: flex;
    min-height: 100%;
    padding: clamp(25px, 3.4vw, 38px);
    color: inherit;
    text-decoration: none;
    flex-direction: column;
}

.bp-latest-card__top {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.bp-latest-card__category {
    display: inline-flex;
    min-height: 30px;
    padding: 6px 12px;
    align-items: center;
    border: 1px solid rgba(19, 56, 112, 0.1);
    border-radius: 999px;
    background: #f0f5fc;
    color: #173f78;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.bp-latest-card__arrow {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #f4f6f9;
    color: #122a50;
    font-size: 1rem;
    transition:
        transform 220ms ease,
        background 220ms ease;
}

.bp-latest-card:hover .bp-latest-card__arrow {
    transform: translate(2px, -2px);
    background: #e8eef7;
}

.bp-latest-card h3 {
    margin: 0;
    color: #0b1830;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    font-weight: 750;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.bp-latest-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 18px 0 30px;
    color: #667085;
    font-size: 0.96rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bp-latest-card__meta {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid rgba(11, 24, 48, 0.07);
    color: #7a8494;
    font-size: 0.8rem;
    font-weight: 600;
}

.bp-latest-news__empty {
    padding: 44px;
    border: 1px dashed rgba(11, 24, 48, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    color: #667085;
    text-align: center;
}

.bp-latest-news__empty p {
    margin: 0;
}

@media (max-width: 900px) {
    .bp-latest-news__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-latest-news__intro {
        max-width: 58ch;
    }
}

@media (max-width: 680px) {
    .bp-latest-news {
        padding: 58px 0 68px;
    }

    .bp-latest-news__header {
        margin-bottom: 28px;
    }

    .bp-latest-news__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bp-latest-card {
        border-radius: 23px;
    }

    .bp-latest-card__top {
        margin-bottom: 24px;
    }

    .bp-latest-card__link {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-latest-card,
    .bp-latest-card__arrow {
        transition: none;
    }

    .bp-latest-card:hover {
        transform: none;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost V3.5.3 — Featured Categories
|--------------------------------------------------------------------------
*/

.bp-featured-categories {
    padding: clamp(64px, 8vw, 108px) 0;
    background: #ffffff;
}

.bp-featured-categories__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
    gap: 48px;
    align-items: end;
    margin-bottom: 38px;
}

.bp-featured-categories__header h2 {
    margin: 8px 0 0;
    color: #0b1830;
    font-size: clamp(2.15rem, 4vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.bp-featured-categories__intro {
    max-width: 46ch;
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.7;
}

.bp-featured-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bp-category-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 24, 48, 0.08);
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(246, 249, 253, 1) 100%
        );
    box-shadow:
        0 1px 2px rgba(11, 24, 48, 0.03),
        0 16px 44px rgba(11, 24, 48, 0.055);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.bp-category-card--active:hover {
    transform: translateY(-5px);
    border-color: rgba(25, 62, 116, 0.16);
    box-shadow:
        0 2px 5px rgba(11, 24, 48, 0.04),
        0 24px 62px rgba(11, 24, 48, 0.1);
}

.bp-category-card__link,
.bp-category-card__empty-content {
    display: flex;
    min-height: 340px;
    padding: clamp(24px, 2.8vw, 32px);
    color: inherit;
    text-decoration: none;
    flex-direction: column;
}

.bp-category-card__top {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 46px;
}

.bp-category-card__label {
    display: inline-flex;
    min-height: 31px;
    padding: 7px 13px;
    align-items: center;
    border: 1px solid rgba(20, 56, 110, 0.1);
    border-radius: 999px;
    background: #edf3fb;
    color: #153f79;
    font-size: 0.73rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    line-height: 1;
    text-transform: uppercase;
}

.bp-category-card__arrow {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgba(11, 24, 48, 0.055);
    color: #122a50;
    font-size: 1rem;
    transition:
        transform 220ms ease,
        background 220ms ease;
}

.bp-category-card:hover .bp-category-card__arrow {
    transform: translate(2px, -2px);
    background: rgba(11, 24, 48, 0.09);
}

.bp-category-card__eyebrow {
    margin: 0 0 12px;
    color: #8a94a3;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.bp-category-card h3 {
    margin: 0;
    color: #0b1830;
    font-size: clamp(1.25rem, 1.8vw, 1.72rem);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -0.033em;
}

.bp-category-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 17px 0 28px;
    color: #667085;
    font-size: 1rem;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bp-category-card__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(11, 24, 48, 0.07);
    color: #7a8494;
    font-size: 0.78rem;
    font-weight: 600;
}

.bp-category-card--empty {
    border-style: dashed;
    background:
        linear-gradient(
            145deg,
            rgba(250, 251, 253, 1) 0%,
            rgba(245, 247, 250, 1) 100%
        );
    box-shadow: none;
}

.bp-category-card--empty h3 {
    color: #697586;
}

.bp-category-card--empty .bp-category-card__summary {
    color: #98a2b3;
}

@media (max-width: 1000px) {
    .bp-featured-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bp-featured-categories__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-featured-categories__intro {
        max-width: 58ch;
    }
}

@media (max-width: 650px) {
    .bp-featured-categories {
        padding: 58px 0 68px;
    }

    .bp-featured-categories__header {
        margin-bottom: 28px;
    }

    .bp-featured-categories__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bp-category-card {
        border-radius: 23px;
    }

    .bp-category-card__link,
    .bp-category-card__empty-content {
        min-height: 310px;
        padding: 24px;
    }

    .bp-category-card__top {
        margin-bottom: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-category-card,
    .bp-category-card__arrow {
        transition: none;
    }

    .bp-category-card--active:hover {
        transform: none;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost Homepage V4.1 — Featured Categories
|--------------------------------------------------------------------------
| Compact Apple-inspired category navigation.
| These rules intentionally override the previous V3.5.3 card treatment.
*/

.bp-v4-categories {
    position: relative;
    padding: clamp(68px, 7vw, 96px) 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfe 100%
        );
}

.bp-v4-categories::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(31, 75, 145, 0.055),
            transparent 68%
        );
    pointer-events: none;
}

.bp-v4-categories__header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 450px);
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

.bp-v4-categories__header h2 {
    margin: 8px 0 0;
    color: #0b1830;
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.bp-v4-categories__intro {
    max-width: 44ch;
    margin: 0;
    color: #69768c;
    font-size: 1rem;
    line-height: 1.7;
}

.bp-v4-categories__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(11, 24, 48, 0.075);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 1px 2px rgba(11, 24, 48, 0.025),
        0 18px 48px rgba(11, 24, 48, 0.055);
}

.bp-v4-category-card {
    min-width: 0;
    min-height: 210px;
    border-right: 1px solid rgba(11, 24, 48, 0.065);
    border-bottom: 1px solid rgba(11, 24, 48, 0.065);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(251, 252, 254, 0.98)
        );
}

.bp-v4-category-card:nth-child(3n) {
    border-right: 0;
}

.bp-v4-category-card:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.bp-v4-category-card__link,
.bp-v4-category-card__empty {
    display: flex;
    min-height: 210px;
    padding: 27px 28px 25px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bp-v4-category-card__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
}

.bp-v4-category-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(24, 64, 123, 0.09);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            #f4f7fc,
            #edf2f9
        );
    color: #173f78;
    font-size: 0.95rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bp-v4-category-card__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #929cac;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.bp-v4-category-card h3 {
    margin: 0;
    color: #0c1b35;
    font-size: 1.05rem;
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.bp-v4-category-card__arrow {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 35, 66, 0.045);
    color: #173f78;
    font-size: 0.95rem;
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.bp-v4-category-card__headline {
    display: -webkit-box;
    overflow: hidden;
    margin: 27px 0 22px;
    color: #243550;
    font-size: 1rem;
    font-weight: 610;
    line-height: 1.42;
    letter-spacing: -0.018em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bp-v4-category-card__meta {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    color: #8490a3;
    font-size: 0.73rem;
    font-weight: 580;
}

.bp-v4-category-card--active {
    transition:
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.bp-v4-category-card--active:hover {
    position: relative;
    z-index: 2;
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(20, 58, 113, 0.075),
        0 16px 38px rgba(15, 35, 66, 0.075);
}

.bp-v4-category-card--active:hover
.bp-v4-category-card__arrow {
    background: rgba(205, 24, 48, 0.08);
    color: #cc1830;
    transform: translateX(2px);
}

.bp-v4-category-card--empty {
    background:
        linear-gradient(
            145deg,
            rgba(251, 252, 254, 0.92),
            rgba(247, 249, 252, 0.92)
        );
}

.bp-v4-category-card--empty
.bp-v4-category-card__icon {
    opacity: 0.72;
}

.bp-v4-category-card--empty
.bp-v4-category-card__headline {
    color: #8c97a8;
    font-weight: 520;
}

.bp-v4-category-card--empty
.bp-v4-category-card__meta {
    color: #a1a9b6;
}

@media (max-width: 960px) {
    .bp-v4-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-v4-category-card,
    .bp-v4-category-card:nth-child(3n) {
        border-right:
            1px solid rgba(11, 24, 48, 0.065);
    }

    .bp-v4-category-card:nth-child(2n) {
        border-right: 0;
    }

    .bp-v4-category-card:nth-last-child(-n + 3) {
        border-bottom:
            1px solid rgba(11, 24, 48, 0.065);
    }

    .bp-v4-category-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 820px) {
    .bp-v4-categories__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-v4-categories__intro {
        max-width: 58ch;
    }
}

@media (max-width: 620px) {
    .bp-v4-categories {
        padding: 58px 0 68px;
    }

    .bp-v4-categories__header {
        margin-bottom: 27px;
    }

    .bp-v4-categories__grid {
        grid-template-columns: 1fr;
        border-radius: 23px;
    }

    .bp-v4-category-card,
    .bp-v4-category-card:nth-child(2n),
    .bp-v4-category-card:nth-child(3n) {
        min-height: 188px;
        border-right: 0;
        border-bottom:
            1px solid rgba(11, 24, 48, 0.065);
    }

    .bp-v4-category-card:last-child {
        border-bottom: 0;
    }

    .bp-v4-category-card__link,
    .bp-v4-category-card__empty {
        min-height: 188px;
        padding: 23px;
    }

    .bp-v4-category-card__headline {
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v4-category-card--active,
    .bp-v4-category-card__arrow {
        transition: none;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost Homepage V4.2 — Editorial Featured Categories
|--------------------------------------------------------------------------
*/

.bp-v4-editorial-categories {
    position: relative;
    padding: clamp(72px, 8vw, 116px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(43, 87, 160, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 7% 92%,
            rgba(211, 26, 54, 0.04),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafd 100%
        );
}

.bp-v4-editorial-categories__header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(290px, 450px);
    gap: 56px;
    align-items: end;
    margin-bottom: 38px;
}

.bp-v4-editorial-categories__header h2 {
    margin: 8px 0 0;
    color: #0a1831;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 620;
    line-height: 0.98;
    letter-spacing: var(--bp-tracking-headline);
}

.bp-v4-editorial-categories__intro {
    max-width: 43ch;
    margin: 0;
    color: #69768c;
    font-size: 1rem;
    line-height: 1.75;
}

.bp-v4-editorial-categories__stage {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(320px, 0.85fr);
    gap: 20px;
}

.bp-v4-category-lead,
.bp-v4-category-feature,
.bp-v4-category-navigation {
    border: 1px solid rgba(14, 35, 68, 0.075);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 1px 2px rgba(14, 35, 68, 0.025),
        0 22px 64px rgba(14, 35, 68, 0.075);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bp-v4-category-lead {
    position: relative;
    min-height: 478px;
    overflow: hidden;
    border-radius: 34px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(37, 78, 151, 0.17),
            transparent 44%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(209, 25, 50, 0.09),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f8fd 100%
        );
}

.bp-v4-category-lead::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(20, 57, 112, 0.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(20, 57, 112, 0.025),
        0 0 0 84px rgba(20, 57, 112, 0.018);
    pointer-events: none;
}

.bp-v4-category-lead__link {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 478px;
    padding: clamp(30px, 4vw, 48px);
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bp-v4-category-lead__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bp-v4-category-pill {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid rgba(20, 57, 112, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: #173f78;
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bp-v4-category-lead__arrow {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: #173f78;
    font-size: 1.05rem;
    box-shadow:
        inset 0 0 0 1px rgba(14, 35, 68, 0.06),
        0 8px 20px rgba(14, 35, 68, 0.055);
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.bp-v4-category-lead__content {
    max-width: 720px;
    margin-top: auto;
    padding: 70px 0 38px;
}

.bp-v4-category-label {
    margin: 0 0 15px;
    color: #d31e35;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bp-v4-category-lead h3 {
    max-width: 16ch;
    margin: 0;
    color: #091831;
    font-size: clamp(2.15rem, 4vw, 4rem);
    font-weight: 660;
    line-height: 1.01;
    letter-spacing: -0.058em;
}

.bp-v4-category-lead__summary {
    max-width: 62ch;
    margin: 24px 0 0;
    color: #647188;
    font-size: 1rem;
    line-height: 1.7;
}

.bp-v4-category-lead__footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(14, 35, 68, 0.075);
    color: #5f6e84;
    font-size: 0.78rem;
    font-weight: 650;
}

.bp-v4-category-line {
    width: 34px;
    height: 1px;
    background: rgba(14, 35, 68, 0.15);
}

.bp-v4-category-lead__link:hover
.bp-v4-category-lead__arrow {
    transform: translate(3px, -3px);
    background: #ffffff;
}

.bp-v4-category-support {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bp-v4-category-feature {
    min-height: 229px;
    overflow: hidden;
    border-radius: 28px;
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.bp-v4-category-feature__link {
    display: flex;
    min-height: 229px;
    padding: 27px 29px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bp-v4-category-feature__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
}

.bp-v4-category-feature__icon,
.bp-v4-category-navigation__icon {
    display: grid;
    place-items: center;
    border: 1px solid rgba(24, 64, 123, 0.09);
    background:
        linear-gradient(
            145deg,
            #f5f8fc,
            #edf2f9
        );
    color: #18447f;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bp-v4-category-feature__icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
}

.bp-v4-category-feature__heading div > span,
.bp-v4-category-navigation__item div div > span {
    display: block;
    margin-bottom: 4px;
    color: #909bac;
    font-size: 0.65rem;
    font-weight: 730;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bp-v4-category-feature h3,
.bp-v4-category-navigation h3 {
    margin: 0;
    color: #0b1b35;
    letter-spacing: -0.03em;
}

.bp-v4-category-feature h3 {
    font-size: 1.12rem;
}

.bp-v4-category-feature__arrow {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: rgba(15, 35, 66, 0.045);
    color: #173f78;
}

.bp-v4-category-feature__headline,
.bp-v4-category-feature__description {
    margin: 27px 0 20px;
    color: #243550;
    line-height: 1.45;
}

.bp-v4-category-feature__headline {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1.06rem;
    font-weight: 650;
    letter-spacing: -0.022em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bp-v4-category-feature__description {
    font-size: 0.92rem;
}

.bp-v4-category-feature__action {
    margin-top: auto;
    color: #7b8799;
    font-size: 0.74rem;
    font-weight: 650;
}

.bp-v4-category-feature:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 5px rgba(14, 35, 68, 0.035),
        0 28px 70px rgba(14, 35, 68, 0.1);
}

.bp-v4-category-navigation {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
    overflow: hidden;
    border-radius: 28px;
}

.bp-v4-category-navigation__item {
    min-width: 0;
    border-right: 1px solid rgba(14, 35, 68, 0.07);
}

.bp-v4-category-navigation__item:last-child {
    border-right: 0;
}

.bp-v4-category-navigation__item > a,
.bp-v4-category-navigation__item > div {
    display: grid;
    min-height: 166px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 15px;
    align-items: start;
    padding: 25px 27px;
    color: inherit;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.bp-v4-category-navigation__icon {
    width: 39px;
    height: 39px;
    border-radius: 13px;
}

.bp-v4-category-navigation h3 {
    font-size: 1rem;
}

.bp-v4-category-navigation p {
    display: -webkit-box;
    overflow: hidden;
    margin: 13px 0 0;
    color: #778397;
    font-size: 0.8rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bp-v4-category-navigation__arrow {
    color: #244d83;
    font-size: 0.95rem;
}

.bp-v4-category-navigation__item > a:hover {
    background: rgba(244, 247, 252, 0.76);
}

@media (max-width: 980px) {
    .bp-v4-editorial-categories__stage {
        grid-template-columns: 1fr;
    }

    .bp-v4-category-support {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
}

@media (max-width: 820px) {
    .bp-v4-editorial-categories__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-v4-category-navigation {
        grid-template-columns: 1fr;
    }

    .bp-v4-category-navigation__item {
        border-right: 0;
        border-bottom: 1px solid rgba(14, 35, 68, 0.07);
    }

    .bp-v4-category-navigation__item:last-child {
        border-bottom: 0;
    }

    .bp-v4-category-navigation__item > a,
    .bp-v4-category-navigation__item > div {
        min-height: 130px;
    }
}

@media (max-width: 650px) {
    .bp-v4-editorial-categories {
        padding: 58px 0 70px;
    }

    .bp-v4-category-lead,
    .bp-v4-category-lead__link {
        min-height: 430px;
    }

    .bp-v4-category-lead {
        border-radius: 27px;
    }

    .bp-v4-category-lead__link {
        padding: 25px;
    }

    .bp-v4-category-lead__content {
        padding-top: 55px;
    }

    .bp-v4-category-support {
        grid-template-columns: 1fr;
    }

    .bp-v4-category-feature {
        border-radius: 24px;
    }

    .bp-v4-category-navigation {
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v4-category-feature,
    .bp-v4-category-lead__arrow,
    .bp-v4-category-navigation__item > a {
        transition: none;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost Homepage V4.3 — Five Story Editorial Showcase
|--------------------------------------------------------------------------
*/

.bp-v4-story-showcase {
    position: relative;
    padding: clamp(72px, 8vw, 112px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 4%,
            rgba(32, 78, 153, 0.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7f9fc 100%
        );
}

.bp-v4-story-showcase__header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(290px, 440px);
    gap: 54px;
    align-items: end;
    margin-bottom: 38px;
}

.bp-v4-story-showcase__header h2 {
    margin: 8px 0 0;
    color: #091831;
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.bp-v4-story-showcase__intro {
    max-width: 43ch;
    margin: 0;
    color: #69768c;
    font-size: 1rem;
    line-height: 1.75;
}

.bp-v4-story-showcase__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.38fr)
        minmax(390px, 0.92fr);
    gap: 20px;
    align-items: stretch;
}

.bp-v4-story-lead {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-radius: 34px;
    background: #0b1830;
    box-shadow:
        0 2px 5px rgba(7, 22, 48, 0.08),
        0 28px 75px rgba(7, 22, 48, 0.18);
}

.bp-v4-story-lead__link {
    position: relative;
    display: block;
    min-height: 650px;
    color: #ffffff;
    text-decoration: none;
}

.bp-v4-story-lead__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.bp-v4-story-lead__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(4, 14, 34, 0.12) 0%,
            rgba(4, 14, 34, 0.22) 32%,
            rgba(4, 14, 34, 0.88) 100%
        ),
        linear-gradient(
            90deg,
            rgba(4, 14, 34, 0.35),
            transparent 70%
        );
}

.bp-v4-story-lead__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 650px;
    padding: clamp(28px, 4vw, 48px);
    flex-direction: column;
}

.bp-v4-story-lead__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bp-v4-story-pill {
    display: inline-flex;
    min-height: 37px;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-v4-story-lead__arrow {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #123b72;
    font-size: 1.05rem;
    box-shadow: 0 10px 26px rgba(4, 14, 34, 0.18);
    transition: transform 180ms ease;
}

.bp-v4-story-lead__body {
    max-width: 760px;
    margin-top: auto;
}

.bp-v4-story-label {
    margin: 0 0 15px;
    color: #ff4657;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bp-v4-story-lead h3 {
    max-width: 15ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.4vw, 4.45rem);
    font-weight: 670;
    line-height: 0.98;
    letter-spacing: -0.062em;
}

.bp-v4-story-lead__body > p:not(.bp-v4-story-label) {
    max-width: 60ch;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.bp-v4-story-lead footer {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.77rem;
    font-weight: 620;
}

.bp-v4-story-lead__link:hover
.bp-v4-story-lead__image {
    transform: scale(1.035);
}

.bp-v4-story-lead__link:hover
.bp-v4-story-lead__arrow {
    transform: translate(3px, -3px);
}

.bp-v4-story-stack {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.bp-v4-story-stack-card {
    min-height: 151px;
    overflow: hidden;
    border: 1px solid rgba(13, 34, 66, 0.075);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 1px 2px rgba(13, 34, 66, 0.025),
        0 15px 38px rgba(13, 34, 66, 0.065);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease;
}

.bp-v4-story-stack-card > a {
    display: grid;
    min-height: 151px;
    grid-template-columns: 155px minmax(0, 1fr);
    color: inherit;
    text-decoration: none;
}

.bp-v4-story-stack-card__image {
    min-height: 151px;
    overflow: hidden;
    background: #e9eef5;
}

.bp-v4-story-stack-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 151px;
    object-fit: cover;
    transition: transform 500ms ease;
}

.bp-v4-story-stack-card__content {
    display: flex;
    min-width: 0;
    padding: 20px 21px;
    flex-direction: column;
}

.bp-v4-story-stack-card__meta {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    color: #77859a;
    font-size: 0.68rem;
    font-weight: 690;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bp-v4-story-stack-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 14px 0 12px;
    color: #0b1a33;
    font-size: 1rem;
    font-weight: 680;
    line-height: 1.32;
    letter-spacing: -0.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bp-v4-story-stack-card__action {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    color: #6e7c90;
    font-size: 0.72rem;
    font-weight: 650;
}

.bp-v4-story-stack-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 5px rgba(13, 34, 66, 0.04),
        0 22px 52px rgba(13, 34, 66, 0.1);
}

.bp-v4-story-stack-card:hover img {
    transform: scale(1.055);
}

.bp-v4-story-categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid rgba(13, 34, 66, 0.075);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 1px 2px rgba(13, 34, 66, 0.025),
        0 15px 40px rgba(13, 34, 66, 0.055);
}

.bp-v4-story-categories a {
    display: grid;
    min-height: 100px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 20px;
    border-right: 1px solid rgba(13, 34, 66, 0.065);
    color: inherit;
    text-decoration: none;
    transition: background-color 180ms ease;
}

.bp-v4-story-categories a:last-child {
    border-right: 0;
}

.bp-v4-story-categories a > span:first-child {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(24, 64, 123, 0.09);
    border-radius: 12px;
    background: #f1f5fa;
    color: #17447e;
}

.bp-v4-story-categories small {
    display: block;
    margin-bottom: 3px;
    color: #909bac;
    font-size: 0.6rem;
    font-weight: 720;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-v4-story-categories strong {
    color: #0b1a33;
    font-size: 0.9rem;
    font-weight: 690;
}

.bp-v4-story-categories a:hover {
    background: #f7f9fc;
}

.bp-v4-story-showcase__empty {
    padding: 50px;
    border: 1px solid rgba(13, 34, 66, 0.075);
    border-radius: 28px;
    background: #ffffff;
    color: #69768c;
}

@media (max-width: 1100px) {
    .bp-v4-story-showcase__layout {
        grid-template-columns: 1fr;
    }

    .bp-v4-story-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .bp-v4-story-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bp-v4-story-categories a:nth-child(3n) {
        border-right: 0;
    }

    .bp-v4-story-categories a:nth-child(-n + 3) {
        border-bottom: 1px solid rgba(13, 34, 66, 0.065);
    }
}

@media (max-width: 820px) {
    .bp-v4-story-showcase__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .bp-v4-story-stack {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .bp-v4-story-showcase {
        padding: 58px 0 70px;
    }

    .bp-v4-story-lead,
    .bp-v4-story-lead__link,
    .bp-v4-story-lead__content {
        min-height: 570px;
    }

    .bp-v4-story-lead {
        border-radius: 27px;
    }

    .bp-v4-story-lead__content {
        padding: 25px;
    }

    .bp-v4-story-stack-card > a {
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .bp-v4-story-categories {
        grid-template-columns: 1fr;
    }

    .bp-v4-story-categories a,
    .bp-v4-story-categories a:nth-child(3n) {
        border-right: 0;
        border-bottom: 1px solid rgba(13, 34, 66, 0.065);
    }

    .bp-v4-story-categories a:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v4-story-lead__image,
    .bp-v4-story-lead__arrow,
    .bp-v4-story-stack-card,
    .bp-v4-story-stack-card__image img,
    .bp-v4-story-categories a {
        transition: none;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost Homepage V4.4 — Final Compact Featured Stories
|--------------------------------------------------------------------------
*/

.bp-v4-compact-showcase {
    position: relative;
    padding: clamp(52px, 5vw, 76px) 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 2%,
            rgba(38, 79, 149, 0.06),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafd 100%
        );
}

.bp-v4-compact-showcase__header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 430px);
    gap: 48px;
    align-items: end;
    margin-bottom: 28px;
}

.bp-v4-compact-showcase__header h2 {
    text-wrap: balance;
    max-width: 12ch;
    margin: 7px 0 0;
    color: #091831;
    font-size: var(--bp-type-headline);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.bp-v4-compact-showcase__intro {
    max-width: var(--bp-summary-width);
    margin: 0;
    color: #69768c;
    font-size: 0.97rem;
    line-height: 1.65;
}

.bp-v4-compact-showcase__layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.78fr)
        minmax(350px, 0.92fr);
    gap: 18px;
    align-items: stretch;
}

.bp-v4-compact-showcase__editorial {
    min-width: 0;
}

.bp-v4-compact-lead {
    overflow: hidden;
    border: 1px solid rgba(12, 32, 63, 0.075);
    border-radius: 27px;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(12, 32, 63, 0.025),
        0 18px 46px rgba(12, 32, 63, 0.075);
}

.bp-v4-compact-lead__link {
    display: grid;
    min-height: 328px;
    grid-template-columns:
        minmax(300px, 1.02fr)
        minmax(340px, 1.08fr);
    color: inherit;
    text-decoration: none;
}

.bp-v4-compact-lead__media {
    position: relative;
    min-height: 328px;
    overflow: hidden;
    background: #e8edf5;
}

.bp-v4-compact-lead__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 328px;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1);
}

.bp-v4-compact-lead__pill {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.91);
    color: #ba1c31;
    box-shadow: 0 7px 18px rgba(7, 21, 46, 0.12);
    font-size: 0.67rem;
    font-weight: 780;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.bp-v4-compact-lead__content {
    display: flex;
    min-width: 0;
    padding: 29px 31px 27px;
    flex-direction: column;
}

.bp-v4-compact-lead__top {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.bp-v4-compact-lead__top p {
    margin: 0;
    color: #d52139;
    font-size: 0.68rem;
    font-weight: 790;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.bp-v4-compact-lead__top > span {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    border-radius: 50%;
    background: #f3f5f8;
    color: #173d73;
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.bp-v4-compact-lead h3 {
    text-wrap: balance;
    max-width: 18ch;
    display: -webkit-box;
    overflow: hidden;
    margin: 24px 0 0;
    color: #091831;
    font-size: var(--bp-type-title);
    font-weight: 690;
    line-height: var(--bp-leading-title);
    letter-spacing: var(--bp-tracking-title);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bp-v4-compact-lead__summary {
    max-width: var(--bp-summary-width);
    text-wrap: pretty;
    display: -webkit-box;
    overflow: hidden;
    margin: 17px 0 0;
    color: #5f6e85;
    font-size: 0.91rem;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bp-v4-compact-lead footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 19px;
    border-top: 1px solid rgba(12, 32, 63, 0.075);
    color: #748197;
    font-size: 0.74rem;
    font-weight: 590;
}

.bp-v4-compact-lead__link:hover
.bp-v4-compact-lead__media img {
    transform: scale(1.035);
}

.bp-v4-compact-lead__link:hover
.bp-v4-compact-lead__top > span {
    background: rgba(212, 28, 53, 0.08);
    color: #cc1c34;
    transform: translate(2px, -2px);
}

.bp-v4-compact-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 13px;
}

.bp-v4-compact-story {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 32, 63, 0.075);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 1px 2px rgba(12, 32, 63, 0.02),
        0 12px 30px rgba(12, 32, 63, 0.055);
    transition:
        transform 190ms ease,
        box-shadow 190ms ease;
}

.bp-v4-compact-story > a {
    display: flex;
    min-height: 266px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bp-v4-compact-story__media {
    position: relative;
    height: 124px;
    overflow: hidden;
    background: #e8edf5;
}

.bp-v4-compact-story__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.bp-v4-compact-story__media > span {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.93);
    color: #163e73;
    box-shadow: 0 7px 18px rgba(7, 21, 46, 0.12);
}

.bp-v4-compact-story__content {
    display: flex;
    min-height: 142px;
    padding: 17px 17px 15px;
    flex-direction: column;
}

.bp-v4-compact-story__content > p {
    margin: 0;
    color: #d21c35;
    font-size: 0.62rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-v4-compact-story h3 {
    text-wrap: balance;
    display: -webkit-box;
    overflow: hidden;
    margin: 12px 0 13px;
    color: #0a1932;
    font-size: 0.93rem;
    font-weight: 680;
    line-height: 1.3;
    letter-spacing: -0.028em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bp-v4-compact-story footer {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    color: #7c899c;
    font-size: 0.66rem;
    font-weight: 570;
}

.bp-v4-compact-story:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 5px rgba(12, 32, 63, 0.035),
        0 18px 42px rgba(12, 32, 63, 0.085);
}

.bp-v4-compact-story:hover img {
    transform: scale(1.045);
}

.bp-v4-compact-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.bp-v4-compact-category {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 32, 63, 0.075);
    border-radius: 21px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(250, 251, 253, 0.98)
        );
    box-shadow:
        0 1px 2px rgba(12, 32, 63, 0.02),
        0 12px 30px rgba(12, 32, 63, 0.055);
    transition:
        transform 190ms ease,
        box-shadow 190ms ease;
}

.bp-v4-compact-category > a,
.bp-v4-compact-category > div {
    display: flex;
    min-height: 195px;
    padding: 20px;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bp-v4-compact-category__icon {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    border: 1px solid rgba(30, 75, 148, 0.07);
    border-radius: 13px;
    background:
        linear-gradient(
            145deg,
            #f3f6fb,
            #eaf0f9
        );
    color: #174785;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    font-size: 1rem;
}

.bp-v4-compact-category p {
    margin: 16px 0 0;
    color: #d41f37;
    font-size: 0.62rem;
    font-weight: 780;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bp-v4-compact-category h3 {
    text-wrap: balance;
    margin: 7px 0 0;
    color: #0a1932;
    font-size: 1.3rem;
    font-weight: 690;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.bp-v4-compact-category__description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 12px;
    color: #627087;
    font-size: 0.78rem;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bp-v4-compact-category__action {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    color: #d31c35;
    font-size: 0.71rem;
    font-weight: 690;
}

.bp-v4-compact-category:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 5px rgba(12, 32, 63, 0.035),
        0 18px 42px rgba(12, 32, 63, 0.085);
}

.bp-v4-compact-category:hover
.bp-v4-compact-category__action span {
    transform: translateX(3px);
}

.bp-v4-compact-category__action span {
    transition: transform 180ms ease;
}

@media (max-width: 1120px) {
    .bp-v4-compact-showcase__layout {
        grid-template-columns: 1fr;
    }

    .bp-v4-compact-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .bp-v4-compact-showcase__header {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bp-v4-compact-lead__link {
        grid-template-columns: 1fr;
    }

    .bp-v4-compact-lead__media,
    .bp-v4-compact-lead__media img {
        min-height: 280px;
        height: 280px;
    }

    .bp-v4-compact-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .bp-v4-compact-showcase {
        padding: 48px 0 58px;
    }

    .bp-v4-compact-showcase__header {
        margin-bottom: 23px;
    }

    .bp-v4-compact-lead {
        border-radius: 23px;
    }

    .bp-v4-compact-lead__media,
    .bp-v4-compact-lead__media img {
        min-height: 235px;
        height: 235px;
    }

    .bp-v4-compact-lead__content {
        padding: 23px;
    }

    .bp-v4-compact-lead h3 {
        font-size: 1.75rem;
    }

    .bp-v4-compact-support-grid,
    .bp-v4-compact-categories {
        grid-template-columns: 1fr;
    }

    .bp-v4-compact-story > a {
        min-height: 235px;
    }

    .bp-v4-compact-category > a,
    .bp-v4-compact-category > div {
        min-height: 175px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v4-compact-lead__media img,
    .bp-v4-compact-lead__top > span,
    .bp-v4-compact-story,
    .bp-v4-compact-story__media img,
    .bp-v4-compact-category,
    .bp-v4-compact-category__action span {
        transition: none;
    }
}

/* END BritainPost Homepage V4.4 */

/*
|--------------------------------------------------------------------------
| BritainPost V4.4 — Four Supporting Story Slots
|--------------------------------------------------------------------------
*/

.bp-v4-compact-story--fallback > div {
    display: flex;
    min-height: 266px;
    flex-direction: column;
    color: inherit;
}

.bp-v4-compact-story--fallback
.bp-v4-compact-story__content {
    flex: 1;
}

.bp-v4-compact-story--fallback {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fafbfd 100%
        );
}

/*
|--------------------------------------------------------------------------
| BritainPost V4.4 — Compact Section Spacing and Baseline Alignment
|--------------------------------------------------------------------------
*/

html body .bp-v4-compact-showcase {
    padding-top: clamp(34px, 3.2vw, 48px);
    padding-bottom: clamp(34px, 3.2vw, 48px);
}

html body .bp-v4-compact-showcase__header {
    margin-bottom: 20px;
}

html body .bp-v4-compact-showcase__layout {
    align-items: stretch;
}

html body .bp-v4-compact-showcase__editorial {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: stretch;
    min-height: 100%;
}

html body .bp-v4-compact-support-grid {
    height: 100%;
    align-items: stretch;
}

html body .bp-v4-compact-story {
    height: 100%;
}

html body .bp-v4-compact-story > a,
html body .bp-v4-compact-story--fallback > div {
    height: 100%;
    min-height: 266px;
}

html body .bp-v4-compact-categories {
    height: 100%;
    align-self: stretch;
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

html body .bp-v4-compact-category {
    height: 100%;
}

html body .bp-v4-compact-category > a,
html body .bp-v4-compact-category > div {
    height: 100%;
    min-height: 0;
}

@media (min-width: 1121px) {
    html body .bp-v4-compact-showcase__editorial,
    html body .bp-v4-compact-categories {
        min-height: 607px;
        max-height: 607px;
    }

    html body .bp-v4-compact-lead,
    html body .bp-v4-compact-lead__link,
    html body .bp-v4-compact-lead__media,
    html body .bp-v4-compact-lead__media img {
        height: 328px;
        min-height: 328px;
    }

    html body .bp-v4-compact-support-grid {
        height: 266px;
        min-height: 266px;
    }

    html body .bp-v4-compact-story,
    html body .bp-v4-compact-story > a,
    html body .bp-v4-compact-story--fallback > div {
        height: 266px;
        min-height: 266px;
    }
}

@media (max-width: 1120px) {
    html body .bp-v4-compact-showcase__editorial,
    html body .bp-v4-compact-categories {
        min-height: 0;
        max-height: none;
    }
}

@media (max-width: 650px) {
    html body .bp-v4-compact-showcase {
        padding-top: 32px;
        padding-bottom: 38px;
    }

    html body .bp-v4-compact-showcase__header {
        margin-bottom: 18px;
    }
}

/*
|--------------------------------------------------------------------------
| BritainPost V4.4 — Editorial Breathing and British Detail
|--------------------------------------------------------------------------
*/

html body .bp-v4-compact-lead h3 {
    line-height: 1.12;
    letter-spacing: -0.042em;
}

html body .bp-v4-compact-lead__summary {
    margin-top: 19px;
    line-height: 1.7;
}

html body .bp-v4-compact-story h3 {
    margin-top: 13px;
    line-height: 1.38;
    letter-spacing: -0.022em;
}

html body .bp-v4-compact-story__content {
    padding-top: 18px;
}

html body .bp-v4-compact-category {
    position: relative;
}

html body .bp-v4-compact-category::before {
    content: "";
    position: absolute;
    top: 0;
    right: 22px;
    left: 22px;
    height: 2px;
    opacity: 0.62;
    border-radius: 0 0 999px 999px;
    background:
        linear-gradient(
            90deg,
            #c8102e 0%,
            #c8102e 34%,
            rgba(255, 255, 255, 0) 34%,
            rgba(255, 255, 255, 0) 47%,
            #173f78 47%,
            #173f78 100%
        );
}

html body .bp-v4-compact-category__icon {
    width: 42px;
    height: 42px;
    color: #174785;
}

html body .bp-v4-compact-category:nth-child(2n)
.bp-v4-compact-category__icon {
    color: #c8102e;
}

html body .bp-v4-compact-category__icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

html body .bp-v4-compact-category h3 {
    margin-top: 8px;
    line-height: 1.16;
}

html body .bp-v4-compact-category__description {
    margin-top: 13px;
    line-height: 1.58;
}

html body .bp-v4-compact-category__action {
    padding-top: 16px;
}

/*
|--------------------------------------------------------------------------
| BritainPost V5.0.1 — Premium Motion Foundation
|--------------------------------------------------------------------------
*/

:root {
    --bp-motion-fast: 160ms;
    --bp-motion-standard: 260ms;
    --bp-motion-slow: 520ms;

    --bp-ease-standard:
        cubic-bezier(0.22, 1, 0.36, 1);

    --bp-ease-emphasized:
        cubic-bezier(0.16, 1, 0.3, 1);

    --bp-ease-exit:
        cubic-bezier(0.4, 0, 1, 1);

    --bp-focus-ring:
        0 0 0 4px rgba(31, 92, 176, 0.16);
}

/*
|--------------------------------------------------------------------------
| Global interactive motion
|--------------------------------------------------------------------------
*/

a,
button,
input,
select,
textarea,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

a,
button,
[role="button"] {
    transition:
        color var(--bp-motion-fast) var(--bp-ease-standard),
        background-color var(--bp-motion-fast) var(--bp-ease-standard),
        border-color var(--bp-motion-fast) var(--bp-ease-standard),
        box-shadow var(--bp-motion-standard) var(--bp-ease-standard),
        opacity var(--bp-motion-fast) var(--bp-ease-standard),
        transform var(--bp-motion-standard) var(--bp-ease-emphasized);
}

button,
[role="button"],
input[type="button"],
input[type="submit"] {
    transform: translateZ(0);
}

button:active,
[role="button"]:active,
input[type="button"]:active,
input[type="submit"]:active {
    transform: scale(0.975);
}

/*
|--------------------------------------------------------------------------
| Accessible focus system
|--------------------------------------------------------------------------
*/

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: none;
    box-shadow: var(--bp-focus-ring);
}

.bp-v4-compact-lead__link:focus-visible,
.bp-v4-compact-story > a:focus-visible,
.bp-v4-compact-category > a:focus-visible {
    position: relative;
    z-index: 2;
    border-radius: inherit;
}

/*
|--------------------------------------------------------------------------
| Premium card motion
|--------------------------------------------------------------------------
*/

.bp-v4-compact-lead,
.bp-v4-compact-story,
.bp-v4-compact-category {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.bp-v4-compact-lead {
    transition:
        border-color var(--bp-motion-standard)
            var(--bp-ease-standard),
        box-shadow var(--bp-motion-standard)
            var(--bp-ease-standard),
        transform var(--bp-motion-standard)
            var(--bp-ease-emphasized);
}

.bp-v4-compact-lead:hover {
    border-color: rgba(24, 67, 126, 0.12);
    box-shadow:
        0 2px 5px rgba(12, 32, 63, 0.035),
        0 24px 58px rgba(12, 32, 63, 0.105);
    transform: translateY(-3px);
}

.bp-v4-compact-story,
.bp-v4-compact-category {
    transition:
        border-color var(--bp-motion-standard)
            var(--bp-ease-standard),
        box-shadow var(--bp-motion-standard)
            var(--bp-ease-standard),
        transform var(--bp-motion-standard)
            var(--bp-ease-emphasized);
}

.bp-v4-compact-story:hover,
.bp-v4-compact-category:hover {
    border-color: rgba(24, 67, 126, 0.12);
    transform: translateY(-4px);
}

/*
|--------------------------------------------------------------------------
| Editorial image motion
|--------------------------------------------------------------------------
*/

.bp-v4-compact-lead__media,
.bp-v4-compact-story__media {
    isolation: isolate;
}

.bp-v4-compact-lead__media img,
.bp-v4-compact-story__media img {
    backface-visibility: hidden;
    transform: scale(1.001);
    transition:
        transform var(--bp-motion-slow)
            var(--bp-ease-emphasized),
        filter var(--bp-motion-standard)
            var(--bp-ease-standard);
    will-change: transform;
}

.bp-v4-compact-lead__link:hover
.bp-v4-compact-lead__media img {
    transform: scale(1.045);
}

.bp-v4-compact-story:hover
.bp-v4-compact-story__media img {
    transform: scale(1.055);
}

/*
|--------------------------------------------------------------------------
| Directional icon motion
|--------------------------------------------------------------------------
*/

.bp-v4-compact-lead__top > span,
.bp-v4-compact-story__media > span,
.bp-v4-compact-category__action span {
    transition:
        background-color var(--bp-motion-fast)
            var(--bp-ease-standard),
        color var(--bp-motion-fast)
            var(--bp-ease-standard),
        transform var(--bp-motion-standard)
            var(--bp-ease-emphasized);
}

.bp-v4-compact-lead__link:hover
.bp-v4-compact-lead__top > span {
    transform: translate(3px, -3px);
}

.bp-v4-compact-story:hover
.bp-v4-compact-story__media > span {
    transform: translateX(3px);
}

.bp-v4-compact-category:hover
.bp-v4-compact-category__action span {
    transform: translateX(4px);
}

/*
|--------------------------------------------------------------------------
| Navigation and text-link refinement
|--------------------------------------------------------------------------
*/

.bp-v4-compact-category__action,
.bp-v4-compact-lead__top p,
.bp-v4-compact-story__content > p {
    transition:
        color var(--bp-motion-fast)
            var(--bp-ease-standard),
        opacity var(--bp-motion-fast)
            var(--bp-ease-standard);
}

.bp-v4-compact-category:hover
.bp-v4-compact-category__action {
    color: #b8172d;
}

/*
|--------------------------------------------------------------------------
| Reduced-motion accessibility
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .bp-v4-compact-lead,
    .bp-v4-compact-story,
    .bp-v4-compact-category,
    .bp-v4-compact-lead__media img,
    .bp-v4-compact-story__media img {
        transform: none !important;
        will-change: auto;
    }
}

/* END BritainPost V5.0.1 */



/* ==========================================================
   BritainPost Motion V5.0.2
   ========================================================== */

.bp-reveal{
    opacity:0;
    transform:translate3d(0,28px,0);
    transition:
        opacity .6s cubic-bezier(.22,1,.36,1),
        transform .6s cubic-bezier(.22,1,.36,1);
    will-change:opacity,transform;
    backface-visibility:hidden;
}

.bp-reveal--visible{
    opacity:1;
    transform:none;
}

.bp-reveal-delay-1{transition-delay:.08s;}
.bp-reveal-delay-2{transition-delay:.16s;}
.bp-reveal-delay-3{transition-delay:.24s;}
.bp-reveal-delay-4{transition-delay:.32s;}

@media (prefers-reduced-motion:reduce){

.bp-reveal{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
}

}

/*
|--------------------------------------------------------------------------
| BritainPost V5.1.1 — Editorial Typography Foundation
|--------------------------------------------------------------------------
*/

:root {
    --bp-font-editorial:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --bp-type-display:
        clamp(2.65rem, 5.4vw, 5.75rem);

    --bp-type-headline:
        clamp(2.1rem, 4vw, 4.35rem);

    --bp-type-title:
        clamp(1.55rem, 2.5vw, 2.75rem);

    --bp-type-subtitle:
        clamp(1.05rem, 1.4vw, 1.25rem);

    --bp-type-body:
        clamp(1rem, 0.35vw + 0.91rem, 1.125rem);

    --bp-type-small:
        clamp(0.78rem, 0.2vw + 0.74rem, 0.88rem);

    --bp-leading-display: 0.96;
    --bp-leading-headline: 1.04;
    --bp-leading-title: 1.12;
    --bp-leading-body: 1.72;
    --bp-leading-small: 1.5;

    --bp-tracking-display: -0.062em;
    --bp-tracking-headline: -0.052em;
    --bp-tracking-title: -0.035em;
    --bp-tracking-label: 0.105em;

    --bp-reading-width: 68ch;
    --bp-summary-width: 52ch;
    --bp-headline-width: 20ch;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--bp-font-editorial);
    font-kerning: normal;
    font-synthesis: none;
}

.bp-display {
    max-width: var(--bp-headline-width);
    margin: 0;
    font-size: var(--bp-type-display);
    font-weight: 720;
    line-height: var(--bp-leading-display);
    letter-spacing: var(--bp-tracking-display);
    text-wrap: balance;
}

.bp-headline {
    max-width: var(--bp-headline-width);
    margin: 0;
    font-size: var(--bp-type-headline);
    font-weight: 700;
    line-height: var(--bp-leading-headline);
    letter-spacing: var(--bp-tracking-headline);
    text-wrap: balance;
}

.bp-title {
    margin: 0;
    font-size: var(--bp-type-title);
    font-weight: 680;
    line-height: var(--bp-leading-title);
    letter-spacing: var(--bp-tracking-title);
    text-wrap: balance;
}

.bp-subtitle {
    max-width: var(--bp-summary-width);
    margin: 0;
    font-size: var(--bp-type-subtitle);
    font-weight: 450;
    line-height: 1.58;
    letter-spacing: -0.014em;
    text-wrap: pretty;
}

.bp-body {
    max-width: var(--bp-reading-width);
    font-size: var(--bp-type-body);
    line-height: var(--bp-leading-body);
    text-wrap: pretty;
}

.bp-caption {
    font-size: var(--bp-type-small);
    line-height: var(--bp-leading-small);
}

.bp-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.7rem;
    align-items: center;
    font-size: var(--bp-type-small);
    font-weight: 560;
    line-height: var(--bp-leading-small);
    letter-spacing: -0.006em;
    font-variant-numeric: tabular-nums;
}

.bp-kicker {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 790;
    line-height: 1.4;
    letter-spacing: var(--bp-tracking-label);
    text-transform: uppercase;
}

.bp-reading-width {
    width: min(100%, var(--bp-reading-width));
}

.bp-summary-width {
    width: min(100%, var(--bp-summary-width));
}

.bp-balanced {
    text-wrap: balance;
}

.bp-pretty {
    text-wrap: pretty;
}

@media (max-width: 650px) {
    :root {
        --bp-type-display:
            clamp(2.3rem, 11vw, 3.55rem);

        --bp-type-headline:
            clamp(1.9rem, 8.5vw, 2.85rem);

        --bp-type-title:
            clamp(1.4rem, 6.5vw, 2rem);

        --bp-leading-display: 1;
        --bp-leading-headline: 1.06;
    }
}

/* END BritainPost V5.1.1 */

/* BritainPost V10.1F.2 Article Hero */

.bp-article__image {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 48px;
    overflow: hidden;
    border-radius: 28px;
    background: #f3f5f8;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.10),
        0 2px 10px rgba(15, 23, 42, 0.05);
}

.bp-article__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.bp-article__image figcaption {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px 16px;
    color: #5f6877;
    background: #ffffff;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.bp-article__image figcaption span {
    flex: 1;
}

.bp-article__image figcaption small {
    flex-shrink: 0;
    color: #7b8492;
    font: inherit;
    text-align: right;
}

@media (max-width: 768px) {
    .bp-article__image {
        margin-bottom: 32px;
        border-radius: 20px;
        box-shadow:
            0 16px 36px rgba(15, 23, 42, 0.09),
            0 2px 8px rgba(15, 23, 42, 0.04);
    }

    .bp-article__image figcaption {
        display: block;
        padding: 12px 14px 14px;
    }

    .bp-article__image figcaption small {
        display: block;
        margin-top: 4px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .bp-article__image {
        margin-bottom: 28px;
        border-radius: 16px;
    }

    .bp-article__image img {
        aspect-ratio: 4 / 3;
    }
}


/* BritainPost Hero Typography Recovery */

html body .bp-v3-lead__content {
    padding: 42px 48px !important;
    justify-content: flex-start !important;
}

html body .bp-v3-lead h1 {
    font-size: 42px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    font-weight: 500 !important;
    max-width: 430px !important;
    margin: 10px 0 18px !important;
}

html body .bp-v3-lead p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 420px !important;
    margin: 0 !important;
}

html body .bp-v3-lead__meta {
    margin-top: 18px !important;
}

html body .bp-v3-lead__actions {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 22px !important;
}

html body .bp-v3-slider-dots {
    margin-top: 18px !important;
}


/* Hero title size reduction only */

html body .bp-v3-lead h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    max-width: 430px !important;
    margin-top: 12px !important;
    margin-bottom: 20px !important;
}


/* Hero compact typography pass */

html body .bp-v3-lead h1 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    max-width: 420px !important;
    margin: 8px 0 14px !important;
}

html body .bp-v3-lead__content {
    padding-top: 36px !important;
    padding-bottom: 30px !important;
}

html body .bp-v3-lead p {
    font-size: 15px !important;
    line-height: 1.5 !important;
    max-width: 390px !important;
}

html body .bp-v3-lead__meta {
    margin-top: 14px !important;
}

html body .bp-v3-lead__actions {
    margin-top: 16px !important;
}


/* BritainPost Hero Final Typography Polish */

html body .bp-kicker {
    color: #d71920 !important;
    font-size: 14px !important;
    letter-spacing: 0.18em !important;
    font-weight: 700 !important;
}

html body .bp-v3-lead h1 {
    font-size: 24px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
    max-width: 520px !important;
    margin-top: 12px !important;
    margin-bottom: 18px !important;
}

html body .bp-v3-lead__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

html body .bp-v3-lead__actions a,
html body .bp-v3-lead__actions button {
    height: 42px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}


/* Hero final compact Apple style */

html body .bp-kicker {
    color: #e21b2d !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: 0.22em !important;
    font-weight: 700 !important;
    margin-bottom: 22px !important;
}

html body .bp-v3-lead h1 {
    font-size: 24px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.03em !important;
    font-weight: 500 !important;
    max-width: 520px !important;
    margin: 0 0 22px !important;
}

html body .bp-v3-lead p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    max-width: 470px !important;
}

html body .bp-v3-lead__meta {
    margin-top: 20px !important;
}

html body .bp-v3-lead__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-top: 22px !important;
}

html body .bp-v3-lead__actions a,
html body .bp-v3-lead__actions button {
    height: 44px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}


/* Reduce Top Story label only */
html body .bp-kicker {
    font-size: 8px !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 18px !important;
}


/* BritainPost hero TOP STORY label size fix */
html body .bp-v3-lead__content > .bp-kicker {
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: 0.28em !important;
    margin-bottom: 14px !important;
    transform: none !important;
}




/* HERO BUTTON FINAL APPLE MINIMAL */

html body .bp-v3-lead__actions {
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height:44px !important;
    min-height:44px !important;

    padding:0 20px !important;

    border-radius:12px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:14px !important;
    font-weight:600 !important;

    letter-spacing:-0.01em !important;

    gap:8px !important;

    white-space:nowrap !important;
}


html body .bp-v3-lead__actions .bp-button {

    background:#e91e3b !important;
    color:white !important;
    border:none !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    background:white !important;

    color:#102a43 !important;

    border:1px solid rgba(16,42,67,.16) !important;

}


html body .bp-v3-lead__actions span {

    font-size:15px !important;

}


/* HERO BUTTONS FINAL COMPACT APPLE STYLE */

html body .bp-v3-lead__actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin-top: 18px !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 44px !important;
    min-height: 44px !important;

    padding: 0 18px !important;

    border-radius: 14px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    gap: 8px !important;

    box-sizing: border-box !important;
}


html body .bp-v3-lead__actions .bp-button {

    background: #e91e3b !important;

    color: #ffffff !important;

    border: none !important;

    box-shadow:
        0 8px 18px rgba(233,30,59,.16) !important;
}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    background: #ffffff !important;

    color: #102a43 !important;

    border: 1px solid rgba(16,42,67,.16) !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 4px !important;

    font-size: 15px !important;

}


html body .bp-v3-slider-dots {

    margin-top: 16px !important;

}



/* HERO BUTTONS CONTAINER FINAL FIX */

html body .bp-v3-lead__content {
    overflow: hidden !important;
}


html body .bp-v3-lead__actions {

    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center !important;

    gap: 10px !important;

    margin-top: 14px !important;

    width: 100% !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 38px !important;

    min-height: 38px !important;

    padding: 0 16px !important;

    border-radius: 12px !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

}


html body .bp-v3-lead__actions .bp-button {

    flex: 0 0 auto !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex: 0 0 auto !important;

}


html body .bp-v3-lead__actions span {

    margin-left: 5px !important;

    font-size: 14px !important;

}


html body .bp-v3-slider-dots {

    margin-top: 12px !important;

}



/* HERO FIX - KEEP CONTENT INSIDE CARD */

html body .bp-v3-lead__content {

    justify-content: flex-start !important;

    padding: 36px 48px 28px !important;

    height: 100% !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

}


/* Limit summary height so buttons stay visible */

html body .bp-v3-lead__content [data-hero-summary] {

    display: -webkit-box !important;

    -webkit-line-clamp: 4 !important;

    -webkit-box-orient: vertical !important;

    overflow: hidden !important;

    margin-bottom: 0 !important;

}


/* Bring meta/buttons back inside */

html body .bp-v3-lead__meta {

    margin-top: 14px !important;

}


html body .bp-v3-lead__actions {

    margin-top: 12px !important;

}


html body .bp-v3-slider-dots {

    margin-top: 10px !important;

}


/* Small Apple style buttons */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 40px !important;

    min-height: 40px !important;

    padding: 0 18px !important;

    border-radius: 12px !important;

    font-size: 14px !important;

}



/* HERO BUTTONS SMALL CONTAINER FIX */

html body .bp-v3-lead__actions {
    gap: 10px !important;
    margin-top: 10px !important;
    overflow: hidden !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 36px !important;
    min-height: 36px !important;

    padding: 0 14px !important;

    border-radius: 11px !important;

    font-size: 13px !important;

    font-weight: 600 !important;

    line-height: 1 !important;

    white-space: nowrap !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 5px !important;

    font-size: 13px !important;

}


html body .bp-v3-slider-dots {

    margin-top: 10px !important;

}



/* HERO BUTTON WIDTH + APPLE COMPACT FIX */

html body .bp-v3-lead__actions {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 10px !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex: 0 1 auto !important;

    width: auto !important;

    max-width: 180px !important;

    height: 38px !important;

    min-height: 38px !important;

    padding: 0 16px !important;

    border-radius: 12px !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    letter-spacing: -0.01em !important;

    white-space: nowrap !important;

    overflow: hidden !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 6px !important;

    font-size: 14px !important;

}


/* Keep dots inside */

html body .bp-v3-slider-dots {

    margin-top: 12px !important;

    position: relative !important;

}



/* HERO BUTTON FINAL APPLE COMPACT RECTANGLE */

html body .bp-v3-lead__actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 42px !important;
    min-height: 42px !important;

    padding: 0 18px !important;

    border-radius: 12px !important;

    flex: 0 1 auto !important;

    width: auto !important;

    max-width: 48% !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    font-size: 14px !important;

    font-weight: 600 !important;

    box-sizing: border-box !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 8px !important;

    font-size: 15px !important;

}


html body .bp-v3-lead__actions .bp-button {

    background:#e91e3b !important;

    border-radius:12px !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    border-radius:12px !important;

}



/* HERO BUTTON OVERFLOW FINAL FIX */

html body .bp-v3-lead__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex: 0 0 auto !important;

    width: auto !important;

    max-width: none !important;

    height: 42px !important;

    min-height: 42px !important;

    padding: 0 20px !important;

    border-radius: 12px !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

    white-space: nowrap !important;

    font-size: 14px !important;

    font-weight: 600 !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 8px !important;

    font-size: 15px !important;

}


/* keep inside hero content */

html body .bp-v3-lead__content {
    overflow: hidden !important;
}



/* HERO BUTTON WIDTH BALANCE FIX */

html body .bp-v3-lead__actions {

    gap: 8px !important;

    width: 100% !important;

    max-width: 100% !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height: 42px !important;

    min-height: 42px !important;

    padding-left: 14px !important;

    padding-right: 14px !important;

    border-radius: 12px !important;

    font-size: 14px !important;

    flex-shrink: 1 !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 6px !important;

}



/* HERO BUTTON TEXT ALIGN FINAL FIX */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    overflow: hidden !important;

    flex-shrink: 1 !important;

    min-width: 0 !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    display: inline-flex !important;

    margin-left: 6px !important;

    flex-shrink: 0 !important;

}


html body .bp-v3-lead__actions .bp-button {

    padding-left: 18px !important;

    padding-right: 16px !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    padding-left: 18px !important;

    padding-right: 16px !important;

}



/* HERO BUTTON INNER CONTENT FINAL FIX */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    gap: 8px !important;

    overflow: hidden !important;

    box-sizing: border-box !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left: 0 !important;

    display: inline-block !important;

    position: static !important;

    transform: none !important;

}


html body .bp-v3-lead__actions .bp-button {

    padding-left: 18px !important;
    padding-right: 18px !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    padding-left: 18px !important;
    padding-right: 18px !important;

}




/* HERO BUTTON CONTENT CLEAN FIX */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;

    overflow:hidden !important;
    white-space:nowrap !important;

}


html body .bp-v3-lead__actions .bp-button-text {

    display:block !important;
    flex:none !important;

}


html body .bp-v3-lead__actions .bp-button-icon {

    display:block !important;
    flex:none !important;

    margin:0 !important;
    padding:0 !important;

    line-height:1 !important;

}




/* HERO BUTTON FLEX WIDTH FINAL FIX */

html body .bp-v3-lead__actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 12px !important;
    overflow: hidden !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;

    padding-left: 20px !important;
    padding-right: 20px !important;

    border-radius: 14px !important;

    box-sizing: border-box !important;

    white-space: nowrap !important;
    overflow: hidden !important;

}


html body .bp-v3-lead__actions .bp-button-text,
html body .bp-v3-lead__actions .bp-button-icon {

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;

}




/* HERO ACTIONS - APPLE EDITORIAL TEXT LINKS */

html body .bp-v3-lead__actions {

    display:flex !important;
    align-items:center !important;
    gap:24px !important;
    flex-wrap:wrap !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    background:transparent !important;

    border:none !important;

    box-shadow:none !important;

    padding:0 !important;

    height:auto !important;

    min-height:0 !important;

    width:auto !important;

    border-radius:0 !important;

    font-size:17px !important;

    font-weight:600 !important;

    line-height:1.2 !important;

    white-space:nowrap !important;

    display:inline-flex !important;

    align-items:center !important;

}


html body .bp-v3-lead__actions .bp-button {

    color:#e31e3b !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    color:#102a43 !important;

}


html body .bp-v3-lead__actions span {

    margin-left:8px !important;

    font-size:18px !important;

}


html body .bp-v3-lead__actions .bp-button:hover,
html body .bp-v3-lead__actions .bp-v3-outline-button:hover {

    opacity:.65 !important;

}




/* HERO ACTION LINKS INLINE FINAL */

html body .bp-v3-lead__actions {

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:28px !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;

    white-space:nowrap !important;

}


html body .bp-v3-lead__actions .bp-button {

    color:#e31e3b !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    color:#102a43 !important;

}


html body .bp-v3-lead__actions span {

    margin-left:8px !important;

}




/* HERO ACTION LINKS FINAL SPACING */

html body .bp-v3-lead__actions {

    display:flex !important;

    flex-direction:row !important;

    flex-wrap:nowrap !important;

    align-items:center !important;

    gap:18px !important;

    width:100% !important;

    overflow:visible !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    font-size:15px !important;

    font-weight:600 !important;

    letter-spacing:-0.015em !important;

    padding:0 !important;

    margin:0 !important;

    flex:none !important;

    white-space:nowrap !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:6px !important;

    font-size:15px !important;

}


html body .bp-v3-lead__actions .bp-button {

    color:#e31e3b !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    color:#102a43 !important;

}




/* HERO BUTTONS SMALL APPLE STYLE */

html body .bp-v3-lead__actions {

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height:42px !important;
    min-height:42px !important;

    padding:0 16px !important;

    border-radius:14px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    font-size:15px !important;
    font-weight:600 !important;

    white-space:nowrap !important;

    flex:0 1 auto !important;

    box-sizing:border-box !important;

}


html body .bp-v3-lead__actions .bp-button {

    background:#e31e3b !important;
    color:#fff !important;

    box-shadow:
    0 8px 20px rgba(227,30,59,.18) !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    background:#fff !important;

    color:#102a43 !important;

    border:1px solid rgba(16,42,67,.15) !important;

}


html body .bp-v3-lead__actions span {

    margin-left:6px !important;
    font-size:15px !important;

}




/* HERO BUTTON OVERFLOW FINAL FIX */

html body .bp-v3-lead__actions {
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    overflow:hidden !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:0 0 auto !important;

    width:auto !important;

    min-width:max-content !important;

    box-sizing:border-box !important;

    overflow:visible !important;

    white-space:nowrap !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    display:inline-block !important;

    flex-shrink:0 !important;

}




/* HERO CONTENT WIDTH UTILIZATION FIX */

html body .bp-v3-lead__content {

    padding-left: 36px !important;
    padding-right: 36px !important;

}


html body .bp-v3-lead__actions {

    width:100% !important;

    display:flex !important;

    flex-direction:row !important;

    flex-wrap:nowrap !important;

    gap:16px !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:0 0 auto !important;

}




/* HERO BUTTON WIDTH BALANCE FIX */

html body .bp-v3-lead__actions {

    display:flex !important;

    width:100% !important;

    max-width:100% !important;

    gap:12px !important;

    overflow:hidden !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:1 1 0 !important;

    max-width:none !important;

    min-width:0 !important;

    justify-content:center !important;

    overflow:hidden !important;

    text-overflow:ellipsis !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    flex-shrink:0 !important;

}




/* HERO BUTTON INNER SPACING FINAL */

html body .bp-v3-lead__actions {

    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:12px !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height:42px !important;
    min-height:42px !important;

    padding-left:18px !important;
    padding-right:18px !important;

    border-radius:14px !important;

    flex:0 0 auto !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    white-space:nowrap !important;

    font-size:15px !important;
    font-weight:600 !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:6px !important;

    font-size:15px !important;

    line-height:1 !important;

}


/* prevent arrow pushing outside */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    overflow:hidden !important;

}




/* HERO BUTTON INNER SPACING FINAL */

html body .bp-v3-lead__actions {

    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:12px !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height:42px !important;
    min-height:42px !important;

    padding-left:18px !important;
    padding-right:18px !important;

    border-radius:14px !important;

    flex:0 0 auto !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    white-space:nowrap !important;

    font-size:15px !important;
    font-weight:600 !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:6px !important;

    font-size:15px !important;

    line-height:1 !important;

}


/* prevent arrow pushing outside */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    overflow:hidden !important;

}




/* HERO BUTTON CLEAN RESET */

html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions {

    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:12px !important;

    overflow:visible !important;
    width:auto !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-button,
html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-v3-outline-button {

    flex:none !important;

    width:auto !important;
    min-width:auto !important;
    max-width:none !important;

    height:42px !important;

    padding:0 18px !important;

    margin:0 !important;

    border-radius:14px !important;

    display:inline-flex !important;

    align-items:center !important;
    justify-content:center !important;

    white-space:nowrap !important;

    overflow:visible !important;

    box-sizing:border-box !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-button span,
html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-v3-outline-button span {

    display:inline-block !important;

    margin-left:8px !important;

    position:static !important;

}




/* HERO BUTTON CONTAINER FINAL ALIGNMENT */

html body .bp-v3-lead__actions {

    display:flex !important;

    flex-direction:row !important;

    align-items:center !important;

    gap:10px !important;

    width:100% !important;

    max-width:100% !important;

    overflow:hidden !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:1 1 0 !important;

    min-width:0 !important;

    max-width:180px !important;

    height:42px !important;

    padding:0 12px !important;

    border-radius:14px !important;

    font-size:15px !important;

    overflow:hidden !important;

    white-space:nowrap !important;

}


html body .bp-v3-lead__actions span {

    margin-left:5px !important;

    flex-shrink:0 !important;

}




/* HERO BUTTON INNER SPACE REDUCTION */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    padding-left:14px !important;
    padding-right:14px !important;

    gap:4px !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:4px !important;

    font-size:14px !important;

}




/* HERO BUTTON FINAL COMPACT SPACING */

html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    padding-left:10px !important;
    padding-right:10px !important;

}


html body .bp-v3-lead__actions {

    gap:8px !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:3px !important;

}




/* HERO ACTIONS FINAL WIDTH FIX */

html body .bp-v3-lead__actions {

    width:100% !important;
    max-width:100% !important;

    display:flex !important;
    flex-wrap:nowrap !important;

    gap:12px !important;

    overflow:hidden !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:1 1 0 !important;

    width:auto !important;

    max-width:none !important;

    min-width:0 !important;

    padding-left:16px !important;
    padding-right:16px !important;

    height:48px !important;

    border-radius:14px !important;

    white-space:nowrap !important;

    overflow:hidden !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    flex-shrink:0 !important;

    margin-left:6px !important;

}




/* HERO CONTENT SPACE OPTIMIZATION */

html body .bp-v3-lead__content {

    padding-left:32px !important;
    padding-right:32px !important;

}


html body .bp-v3-lead__actions {

    width:100% !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:0 1 auto !important;

}




/* HERO BUTTON CONTENT WIDTH FIX */

html body .bp-v3-lead__actions {

    display:flex !important;

    flex-wrap:nowrap !important;

    gap:12px !important;

    width:auto !important;

}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    flex:0 0 auto !important;

    width:auto !important;

    min-width:0 !important;

    padding-left:18px !important;

    padding-right:18px !important;

    height:46px !important;

    border-radius:14px !important;

    white-space:nowrap !important;

}


html body .bp-v3-lead__actions .bp-button span,
html body .bp-v3-lead__actions .bp-v3-outline-button span {

    margin-left:6px !important;

    padding:0 !important;

}




/* HERO BUTTON CLEAN APPLE STYLE FINAL */

html body .bp-v3-lead__actions {
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:18px !important;
    width:100% !important;
    flex-wrap:nowrap !important;
}


html body .bp-v3-lead__actions .bp-button,
html body .bp-v3-lead__actions .bp-v3-outline-button {

    height:48px !important;

    padding:0 24px !important;

    border-radius:16px !important;

    display:inline-flex !important;

    align-items:center !important;

    justify-content:center !important;

    gap:8px !important;

    font-size:15px !important;

    font-weight:600 !important;

    line-height:1 !important;

    white-space:nowrap !important;

    flex:0 1 auto !important;

    min-width:0 !important;

    width:auto !important;

    max-width:none !important;

    box-sizing:border-box !important;

}


html body .bp-v3-lead__actions .bp-button {

    background:#e91e3b !important;

    color:#fff !important;

}


html body .bp-v3-lead__actions .bp-v3-outline-button {

    background:#fff !important;

    color:#102a43 !important;

    border:1px solid rgba(16,42,67,.15) !important;

}


html body .bp-v3-lead__actions span {

    margin-left:4px !important;

    font-size:16px !important;

}




/* HERO BUTTON FINAL SPACE UTILIZATION */

html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions {

    display:flex !important;

    flex-direction:row !important;

    flex-wrap:nowrap !important;

    gap:10px !important;

    width:fit-content !important;

    max-width:100% !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-button,
html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-v3-outline-button {

    width:auto !important;

    min-width:0 !important;

    max-width:none !important;

    flex:0 0 auto !important;

    height:44px !important;

    padding:0 14px !important;

    border-radius:14px !important;

    gap:4px !important;

    font-size:14px !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-button span,
html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-v3-outline-button span {

    margin-left:3px !important;

    font-size:14px !important;

}




/* HERO BUTTON LAST WIDTH BALANCE */

html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions {
    gap: 8px !important;
}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-button,
html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions > .bp-v3-outline-button {

    padding-left: 12px !important;
    padding-right: 12px !important;

}




/* HERO CONTENT LEFT ALIGNMENT FIX */

html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__content {

    padding-left: 24px !important;
    padding-right: 24px !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-lead__actions {

    margin-left: 0 !important;

}


html body section.bp-v3-hero article.bp-v3-lead .bp-v3-slider-dots {

    margin-left: 0 !important;

}



/* =========================================================
   BritainPost — Unified Public Section Titles
   Loaded last to override legacy title rules
   ========================================================= */

html body #featured-stories-title,
html body .bp-v4-compact-showcase__header h2,
html body .bp-partners__heading h2,
html body .bp-latest-news__header h2,
html body .bp-featured-categories__header h2,
html body .bp-section-heading h2,
html body .bp-section-header h2,
html body .bp-editorial-section__header h2,
html body .bp-technology-section__header h2,
html body .bp-shorts-section__header h2,
html body .bp-ai-newsroom-section__header h2 {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: clamp(1.75rem, 2.25vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
}

@media (max-width: 900px) {
    html body #featured-stories-title,
    html body .bp-v4-compact-showcase__header h2,
    html body .bp-partners__heading h2,
    html body .bp-latest-news__header h2,
    html body .bp-featured-categories__header h2,
    html body .bp-section-heading h2,
    html body .bp-section-header h2,
    html body .bp-editorial-section__header h2,
    html body .bp-technology-section__header h2,
    html body .bp-shorts-section__header h2,
    html body .bp-ai-newsroom-section__header h2 {
        font-size: clamp(1.55rem, 5vw, 2rem) !important;
        font-weight: 500 !important;
    }
}

@media (max-width: 520px) {
    html body #featured-stories-title,
    html body .bp-v4-compact-showcase__header h2,
    html body .bp-partners__heading h2,
    html body .bp-latest-news__header h2,
    html body .bp-featured-categories__header h2,
    html body .bp-section-heading h2,
    html body .bp-section-header h2,
    html body .bp-editorial-section__header h2,
    html body .bp-technology-section__header h2,
    html body .bp-shorts-section__header h2,
    html body .bp-ai-newsroom-section__header h2 {
        font-size: clamp(1.4rem, 7vw, 1.75rem) !important;
        line-height: 1.15 !important;
    }
}

/* END Unified Public Section Titles */

/* =========================================================
   BritainPost — Shorts and Technology Title Fix
   ========================================================= */

html body .bp-shorts__heading h2,
html body .bp-britain-shorts__heading h2,
html body .bp-britain-shorts h2,
html body .bp-technology__heading h2,
html body .bp-technology-section__heading h2,
html body .bp-technology-section h2,
html body .bp-tech-section h2 {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: clamp(1.75rem, 2.25vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
}

@media (max-width: 900px) {
    html body .bp-shorts__heading h2,
    html body .bp-britain-shorts__heading h2,
    html body .bp-britain-shorts h2,
    html body .bp-technology__heading h2,
    html body .bp-technology-section__heading h2,
    html body .bp-technology-section h2,
    html body .bp-tech-section h2 {
        font-size: clamp(1.55rem, 5vw, 2rem) !important;
        font-weight: 500 !important;
        line-height: 1.14 !important;
    }
}

@media (max-width: 520px) {
    html body .bp-shorts__heading h2,
    html body .bp-britain-shorts__heading h2,
    html body .bp-britain-shorts h2,
    html body .bp-technology__heading h2,
    html body .bp-technology-section__heading h2,
    html body .bp-technology-section h2,
    html body .bp-tech-section h2 {
        font-size: clamp(1.4rem, 7vw, 1.75rem) !important;
        line-height: 1.15 !important;
    }
}

/* END Shorts and Technology Title Fix */

/* BritainPost — Exact Unified Section Title */
html body .bp-unified-section-title {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: clamp(1.75rem, 2.25vw, 2.5rem) !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
}

@media (max-width: 900px) {
    html body .bp-unified-section-title {
        font-size: clamp(1.55rem, 5vw, 2rem) !important;
        font-weight: 500 !important;
        line-height: 1.14 !important;
    }
}

@media (max-width: 520px) {
    html body .bp-unified-section-title {
        font-size: clamp(1.4rem, 7vw, 1.75rem) !important;
        line-height: 1.15 !important;
    }
}

/* END Exact Unified Section Title */

/* ==========================================================
| bp-homepage-weather-v1
| Minimal Apple-inspired London weather tile
========================================================== */

.bp-v3-weather__icon {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    flex: 0 0 auto;
}

.bp-v3-weather__icon svg {
    display: block;
    width: 30px;
    height: 30px;
    overflow: visible;
}

.bp-v3-weather__sun {
    fill: #f5b942;
    opacity: 0.95;
}

.bp-v3-weather__cloud {
    fill: #dce4ee;
    stroke: #8795a8;
    stroke-linejoin: round;
    stroke-width: 1.25;
}

.bp-v3-weather strong {
    min-width: 2.4ch;
    font-variant-numeric: tabular-nums;
}

.bp-v3-weather small {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-v3-weather:not(.is-loaded) .bp-v3-weather__icon {
    opacity: 0.72;
}

.bp-v3-weather.is-loaded .bp-v3-weather__icon {
    animation: bp-weather-arrive 420ms ease-out both;
}

@keyframes bp-weather-arrive {
    from {
        opacity: 0;
        transform: translateY(3px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v3-weather.is-loaded .bp-v3-weather__icon {
        animation: none;
    }
}

/* ==========================================================
| bp-homepage-metric-icons-v2
| Unified minimal newsroom and weather icons
========================================================== */

.bp-v3-metric-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-v3-metric-icon svg rect {
    fill: none;
}

.bp-v3-weather__sun {
    fill: #f8bd45;
    stroke: none;
}

.bp-v3-weather__sun-ray {
    fill: none;
    stroke: #f8bd45;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.bp-v3-weather__cloud {
    fill: #e4ebf3;
    stroke: #8392a7;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-v3-weather__separator {
    color: #9aa5b5;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    margin-inline: -2px 1px;
}

.bp-v3-weather small {
    max-width: 165px;
}

/* ==========================================================
| bp-apple-weather-icons-v1
| Dynamic Apple-inspired condition icons
========================================================== */

.bp-v3-weather__icon {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    overflow: visible;
}

.bp-weather-symbol {
    width: 38px;
    height: 38px;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 1px 1px rgb(15 23 42 / 0.08));
}

.bp-weather-sun circle {
    fill: #ffd52f;
    stroke: none;
}

.bp-weather-sun path {
    fill: none;
    stroke: #ffd52f;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-weather-cloud {
    fill: #c9cbd0;
    stroke: none;
}

.bp-weather-cloud--rain {
    fill: #c4c7cc;
}

.bp-weather-cloud--heavy {
    fill: #afb3b9;
}

.bp-weather-cloud--storm {
    fill: #979ca4;
}

.bp-weather-rain path {
    fill: none;
    stroke: #35c7f4;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.bp-weather-rain--heavy path {
    stroke-width: 2.8;
}

.bp-weather-fog-lines path {
    fill: none;
    stroke: #b5b8bd;
    stroke-width: 2.4;
    stroke-linecap: round;
}

.bp-weather-snow path {
    fill: none;
    stroke: #c5c8cd;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-weather-lightning {
    fill: #ffd22e;
    stroke: none;
}

.bp-v3-weather.is-loaded .bp-weather-symbol {
    animation: bp-weather-symbol-enter 380ms ease-out both;
}

@keyframes bp-weather-symbol-enter {
    from {
        opacity: 0;
        transform: translateY(2px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v3-weather.is-loaded .bp-weather-symbol {
        animation: none;
    }
}

/* ==========================================================
| bp-ask-ai-liquid-glass-v1
| Subtle Apple-inspired Ask AI button
========================================================== */

.bp-v3-metrics__ask-ai {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    gap: 10px;
    min-height: 58px;
    padding-inline: 22px;
    border: 1px solid rgb(255 255 255 / 0.82);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgb(255 255 255 / 0.86),
            rgb(247 249 253 / 0.64)
        );
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 0.94),
        inset 0 -1px 0 rgb(15 23 42 / 0.035),
        0 8px 24px rgb(23 35 60 / 0.07),
        0 2px 6px rgb(23 35 60 / 0.04);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.bp-v3-metrics__ask-ai::before {
    position: absolute;
    z-index: -1;
    top: -80%;
    left: -45%;
    width: 46%;
    height: 260%;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgb(255 255 255 / 0.78),
            transparent
        );
    content: "";
    opacity: 0;
    transform: rotate(18deg);
    pointer-events: none;
}

.bp-v3-metrics__ask-ai::after {
    position: absolute;
    z-index: -2;
    inset: 1px;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at 24% 10%,
            rgb(255 255 255 / 0.85),
            transparent 44%
        );
    content: "";
    pointer-events: none;
}

.bp-v3-metrics__ask-ai:hover {
    border-color: rgb(226 229 238 / 0.95);
    background:
        linear-gradient(
            145deg,
            rgb(255 255 255 / 0.96),
            rgb(248 250 255 / 0.78)
        );
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 1),
        inset 0 -1px 0 rgb(15 23 42 / 0.04),
        0 11px 28px rgb(23 35 60 / 0.10),
        0 3px 8px rgb(23 35 60 / 0.05);
    transform: translateY(-2px);
}

.bp-v3-metrics__ask-ai:hover::before {
    animation: bp-ask-ai-glass-sheen 850ms ease-out;
}

.bp-v3-metrics__ask-ai:active {
    box-shadow:
        inset 0 1px 3px rgb(15 23 42 / 0.05),
        0 5px 14px rgb(23 35 60 / 0.07);
    transform: translateY(0) scale(0.985);
}

.bp-v3-metrics__ask-ai:focus-visible {
    outline: 3px solid rgb(223 31 45 / 0.16);
    outline-offset: 3px;
}

.bp-v3-metrics__ask-icon {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    flex: 0 0 24px;
}

.bp-v3-metrics__ask-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    overflow: visible;
}

.bp-ask-ai-sparkle {
    fill: #df1f2d;
    transform-box: fill-box;
    transform-origin: center;
}

.bp-ask-ai-sparkle--main {
    animation:
        bp-ask-ai-breathe 3.6s ease-in-out infinite;
}

.bp-ask-ai-sparkle--small {
    opacity: 0.76;
    animation:
        bp-ask-ai-twinkle 3.6s ease-in-out 800ms infinite;
}

.bp-v3-metrics__ask-ai:hover .bp-ask-ai-sparkle--main {
    animation-duration: 1.4s;
}

.bp-v3-metrics__ask-ai:hover .bp-ask-ai-sparkle--small {
    animation-duration: 1.4s;
}

.bp-v3-metrics__ask-ai > span:last-child {
    color: #14233e;
    font-weight: 720;
    letter-spacing: -0.015em;
}

@keyframes bp-ask-ai-breathe {
    0%,
    100% {
        opacity: 0.9;
        transform: scale(1) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.09) rotate(4deg);
    }
}

@keyframes bp-ask-ai-twinkle {
    0%,
    35%,
    100% {
        opacity: 0.42;
        transform: scale(0.82);
    }

    55% {
        opacity: 0.92;
        transform: scale(1.08);
    }
}

@keyframes bp-ask-ai-glass-sheen {
    0% {
        left: -45%;
        opacity: 0;
    }

    20% {
        opacity: 0.58;
    }

    100% {
        left: 115%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v3-metrics__ask-ai,
    .bp-ask-ai-sparkle--main,
    .bp-ask-ai-sparkle--small {
        animation: none;
        transition: none;
    }

    .bp-v3-metrics__ask-ai:hover::before {
        animation: none;
    }
}

/* ==========================================================
   BritainPost AI Newsroom — Functional Answer Controls
   ========================================================== */

.bp-ai-ask.is-loading {
    cursor: progress;
}

.bp-ai-ask.is-loading .bp-ai-ask__input-wrap {
    box-shadow:
        0 0 0 4px rgba(47, 91, 205, 0.08),
        0 18px 42px rgba(18, 53, 126, 0.08);
}

.bp-ai-ask__input-wrap button:disabled {
    cursor: wait;
    opacity: 0.75;
}

.bp-ai-answer__read {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background:
        linear-gradient(
            105deg,
            #e20b4d,
            #8d2b9a 48%,
            #1948ae
        );
    box-shadow:
        0 10px 24px rgba(36, 71, 164, 0.18);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

.bp-ai-answer__read:hover:not(:disabled) {
    box-shadow:
        0 14px 30px rgba(36, 71, 164, 0.25);
    transform: translateY(-1px);
}

.bp-ai-answer__read:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.bp-ai-answer__disclaimer {
    margin: 15px 0 0;
    color: #7b879c;
    font-size: 12px;
    line-height: 1.55;
}

.bp-ai-answer__no-sources {
    margin: 8px 0 0;
    color: #8490a3;
    font-size: 13px;
    line-height: 1.5;
}

.bp-nina-presenter.is-paused
.bp-nina-presenter__wave i {
    animation-play-state: paused;
    opacity: 0.42;
}

@media (prefers-reduced-motion: reduce) {
    .bp-ai-answer__read {
        transition: none;
    }
}


/* BP LIVE AI NEWSROOM COMPACT V2 */
@media (min-width: 921px) {
    .bp-ai-command-grid {
        grid-template-columns:
            minmax(0, 2.3fr)
            minmax(300px, 0.72fr) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .bp-ai-command-grid > .bp-ai-ask {
        min-width: 0 !important;
        min-height: 390px !important;
        height: auto !important;
        padding: 28px 30px !important;
    }

    .bp-nina-presenter {
        width: 100% !important;
        min-width: 300px !important;
        max-width: 370px !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: start !important;
        justify-self: end !important;
        border-radius: 24px !important;
    }

    .bp-nina-presenter__header {
        gap: 12px !important;
        padding: 20px 18px 16px !important;
    }

    .bp-nina-presenter__profile {
        gap: 11px !important;
    }

    .bp-nina-presenter__avatar,
    .bp-nina-presenter.is-idle .bp-nina-presenter__avatar,
    .bp-nina-presenter.is-speaking .bp-nina-presenter__avatar,
    .bp-nina-presenter.is-paused .bp-nina-presenter__avatar,
    .bp-nina-presenter.is-thinking .bp-nina-presenter__avatar {
        flex: 0 0 88px !important;
        width: 88px !important;
        height: 88px !important;
        padding: 4px !important;
    }

    .bp-nina-presenter__identity strong {
        font-size: 29px !important;
    }

    .bp-nina-presenter__identity span {
        margin-top: 5px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .bp-nina-presenter__identity small {
        display: none !important;
    }

    .bp-nina-presenter__badges {
        gap: 6px !important;
    }

    .bp-nina-presenter__language,
    .bp-nina-presenter__live {
        min-height: 27px !important;
        padding: 0 9px !important;
        font-size: 8px !important;
    }

    .bp-nina-presenter__body {
        padding: 17px 18px 15px !important;
    }

    .bp-nina-presenter__greeting {
        margin-bottom: 9px !important;
        font-size: 21px !important;
        line-height: 1.15 !important;
    }

    .bp-nina-presenter__brief {
        grid-template-columns: 4px minmax(0, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 13px !important;
    }

    .bp-nina-presenter__brief > i {
        width: 4px !important;
    }

    .bp-nina-presenter__brief p {
        font-size: 12px !important;
        line-height: 1.48 !important;
    }

    .bp-nina-presenter__primary {
        min-height: 48px !important;
        padding: 0 14px !important;
        border-radius: 15px !important;
        font-size: 13px !important;
    }

    .bp-nina-presenter__controls {
        gap: 5px !important;
        margin-top: 9px !important;
    }

    .bp-nina-presenter__controls button {
        min-height: 47px !important;
        padding: 5px 3px !important;
    }

    .bp-nina-presenter__controls button > span {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
    }

    .bp-nina-presenter__controls button small {
        margin-top: 2px !important;
        font-size: 8px !important;
    }

    .bp-nina-presenter__voice-card {
        gap: 8px !important;
        min-height: 53px !important;
        margin-top: 9px !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
    }

    .bp-nina-presenter__voice-card strong {
        font-size: 10px !important;
    }

    .bp-nina-presenter__voice-card div span {
        font-size: 8px !important;
    }

    .bp-nina-presenter__privacy {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 8px !important;
    }

    .bp-ai-answer {
        max-height: 310px !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 1080px) and (min-width: 921px) {
    .bp-ai-command-grid {
        grid-template-columns:
            minmax(0, 1.85fr)
            minmax(290px, 0.76fr) !important;
    }

    .bp-nina-presenter {
        min-width: 290px !important;
        max-width: 340px !important;
    }
}


/* BP AI NEWSROOM COMPACT HEADER V3 */

/*
 * Outfit provides the fluid contemporary geometric appearance requested
 * for the AI experience. It is scoped strictly to this section.
 */
.bp-ai-newsroom,
.bp-ai-newsroom button,
.bp-ai-newsroom input,
.bp-ai-newsroom textarea,
.bp-ai-newsroom select {
    font-family:
        "Outfit",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/*
 * Remove the oversized introductory whitespace and convert the heading
 * area into one concise Apple-style horizontal command bar.
 */
.bp-ai-newsroom {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

.bp-ai-newsroom__header {
    display: flex !important;
    min-height: 0 !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-bottom: 18px !important;
    padding: 17px 22px !important;
}

/*
 * The first header group contains:
 * BritainPost Intelligence, AI Newsroom and the supporting description.
 */
.bp-ai-newsroom__header > div:first-child {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
}

/* BritainPost Intelligence badge */
.bp-ai-newsroom__header > div:first-child > span:first-child,
.bp-ai-newsroom__eyebrow {
    display: inline-flex !important;
    min-height: 34px !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 13px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
}

/* Small vertical separator before AI Newsroom */
.bp-ai-newsroom__header h2 {
    position: relative !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding-left: 19px !important;
    font-size: clamp(25px, 2.2vw, 33px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.045em !important;
    white-space: nowrap !important;
}

.bp-ai-newsroom__header h2::before {
    content: "" !important;
    position: absolute !important;
    top: 10% !important;
    bottom: 10% !important;
    left: 0 !important;
    width: 1px !important;
    background: currentColor !important;
    opacity: .2 !important;
}

.bp-ai-newsroom__header p {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: -.01em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Keep the newsroom action compact on the right. */
.bp-ai-newsroom__button {
    min-height: 48px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/*
 * Slightly more futuristic typography without changing any colours.
 */
.bp-ai-ask__eyebrow,
.bp-ai-ask__status,
.bp-nina-presenter__language,
.bp-nina-presenter__live {
    letter-spacing: .08em !important;
}

.bp-ai-ask__heading h3,
.bp-nina-presenter__identity strong,
.bp-nina-presenter__greeting {
    font-family:
        "Outfit",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
    letter-spacing: -.045em !important;
}

.bp-ai-ask__input-wrap input {
    letter-spacing: -.012em !important;
}

/* Tablet: description moves below without recreating excessive height. */
@media (max-width: 1180px) and (min-width: 921px) {
    .bp-ai-newsroom__header {
        gap: 16px !important;
        padding: 16px 18px !important;
    }

    .bp-ai-newsroom__header > div:first-child {
        display: grid !important;
        grid-template-columns: auto auto !important;
        gap: 6px 15px !important;
    }

    .bp-ai-newsroom__header p {
        grid-column: 1 / -1 !important;
        padding-left: 0 !important;
        font-size: 13px !important;
    }

    .bp-ai-newsroom__button {
        min-height: 46px !important;
        padding: 0 17px !important;
    }
}

/* Mobile: clean stacked header with controlled spacing. */
@media (max-width: 920px) {
    .bp-ai-newsroom {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .bp-ai-newsroom__header {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 16px !important;
        padding: 17px !important;
    }

    .bp-ai-newsroom__header > div:first-child {
        display: flex !important;
        width: 100% !important;
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 9px !important;
    }

    .bp-ai-newsroom__header h2 {
        padding-left: 0 !important;
        font-size: 28px !important;
    }

    .bp-ai-newsroom__header h2::before {
        display: none !important;
    }

    .bp-ai-newsroom__header p {
        overflow: visible !important;
        font-size: 14px !important;
        white-space: normal !important;
    }

    .bp-ai-newsroom__button {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* BP AI NEWSROOM SORA COMPACT V4 */

/* AI-specific geometric typography */
.bp-ai-newsroom,
.bp-ai-newsroom *,
.bp-ai-newsroom input,
.bp-ai-newsroom button,
.bp-ai-newsroom textarea,
.bp-ai-newsroom select {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/* Remove unnecessary outer vertical space */
html body .bp-ai-newsroom {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

/* Compact one-line AI Newsroom header */
.bp-ai-newsroom__header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 0 14px !important;
    padding: 14px 18px !important;
    border-radius: 22px !important;
}

.bp-ai-newsroom__header > div:first-child {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
}

/* BritainPost Intelligence badge */
.bp-ai-newsroom__eyebrow,
.bp-ai-newsroom__header > div:first-child > span:first-child {
    display: inline-flex !important;
    min-height: 32px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: .015em !important;
}

/* AI Newsroom title */
.bp-ai-newsroom__header h2 {
    position: relative !important;
    margin: 0 !important;
    padding-left: 17px !important;
    font-size: clamp(24px, 2vw, 31px) !important;
    font-weight: 650 !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
    white-space: nowrap !important;
}

.bp-ai-newsroom__header h2::before {
    content: "" !important;
    position: absolute !important;
    top: 8% !important;
    bottom: 8% !important;
    left: 0 !important;
    width: 1px !important;
    background: currentColor !important;
    opacity: .22 !important;
}

/* Supporting description */
.bp-ai-newsroom__header p {
    min-width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: -.015em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Header action */
.bp-ai-newsroom__button {
    display: inline-flex !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    letter-spacing: -.015em !important;
    white-space: nowrap !important;
}

/* Reduce gap below the compact header */
.bp-ai-command-grid {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* Ask AI card: less empty space */
@media (min-width: 921px) {
    .bp-ai-command-grid {
        grid-template-columns:
            minmax(0, 2.3fr)
            minmax(300px, .72fr) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .bp-ai-command-grid > .bp-ai-ask {
        min-height: 335px !important;
        height: auto !important;
        padding: 24px 28px !important;
    }

    .bp-ai-ask__heading {
        margin-bottom: 18px !important;
    }

    .bp-ai-ask__eyebrow {
        font-size: 11px !important;
        font-weight: 650 !important;
        letter-spacing: .07em !important;
    }

    .bp-ai-ask__heading h3 {
        margin-top: 10px !important;
        font-size: clamp(26px, 2.25vw, 35px) !important;
        font-weight: 600 !important;
        line-height: 1.04 !important;
        letter-spacing: -.055em !important;
    }

    .bp-ai-ask__heading p {
        margin-top: 9px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
        letter-spacing: -.01em !important;
    }

    .bp-ai-ask__form {
        margin-top: 18px !important;
    }

    .bp-ai-ask__input-wrap {
        min-height: 64px !important;
        border-radius: 18px !important;
    }

    .bp-ai-ask__input-wrap input {
        font-size: 14px !important;
        font-weight: 400 !important;
        letter-spacing: -.015em !important;
    }

    .bp-ai-ask__input-wrap button {
        min-width: 112px !important;
        min-height: 52px !important;
        margin: 5px !important;
        border-radius: 15px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .bp-ai-ask__suggestions {
        margin-top: 14px !important;
        gap: 7px !important;
    }

    .bp-ai-ask__suggestions > span {
        font-size: 10px !important;
        font-weight: 500 !important;
    }

    .bp-ai-ask__suggestions button {
        min-height: 34px !important;
        padding: 0 13px !important;
        font-size: 10px !important;
        font-weight: 550 !important;
        letter-spacing: -.01em !important;
    }

    /* Nia typography */
    .bp-nina-presenter__identity strong {
        font-size: 28px !important;
        font-weight: 650 !important;
        letter-spacing: -.055em !important;
    }

    .bp-nina-presenter__identity span {
        font-size: 11px !important;
        font-weight: 450 !important;
        letter-spacing: -.015em !important;
    }

    .bp-nina-presenter__greeting {
        font-size: 22px !important;
        font-weight: 600 !important;
        letter-spacing: -.05em !important;
    }

    .bp-nina-presenter__brief p {
        font-size: 11.5px !important;
        font-weight: 400 !important;
        letter-spacing: -.01em !important;
    }

    .bp-nina-presenter__primary {
        font-weight: 600 !important;
        letter-spacing: -.015em !important;
    }
}

/* Medium desktop */
@media (max-width: 1180px) and (min-width: 921px) {
    .bp-ai-newsroom__header > div:first-child {
        grid-template-columns: auto auto !important;
        gap: 7px 14px !important;
    }

    .bp-ai-newsroom__header p {
        grid-column: 1 / -1 !important;
        padding-left: 0 !important;
        font-size: 12px !important;
    }

    .bp-ai-newsroom__button {
        min-height: 43px !important;
        padding: 0 16px !important;
        font-size: 12px !important;
    }
}

/* Mobile and tablet */
@media (max-width: 920px) {
    html body .bp-ai-newsroom {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .bp-ai-newsroom__header {
        display: flex !important;
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 12px !important;
        padding: 15px !important;
    }

    .bp-ai-newsroom__header > div:first-child {
        display: flex !important;
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .bp-ai-newsroom__header h2 {
        padding-left: 0 !important;
        font-size: 27px !important;
    }

    .bp-ai-newsroom__header h2::before {
        display: none !important;
    }

    .bp-ai-newsroom__header p {
        overflow: visible !important;
        font-size: 12.5px !important;
        white-space: normal !important;
    }

    .bp-ai-newsroom__button {
        width: 100% !important;
        min-height: 44px !important;
    }

    .bp-ai-command-grid > .bp-ai-ask {
        min-height: 0 !important;
        padding: 21px 18px !important;
    }
}

/* BP AI NEWSROOM INLINE HEADER V5
   Compact badge, title, description and button into one row.
   Everything below the header remains unchanged.
*/

@media (min-width: 921px) {
    html body .bp-ai-newsroom .bp-ai-newsroom__header {
        display: grid !important;
        grid-template-columns:
            auto
            auto
            minmax(220px, 1fr)
            auto !important;
        min-height: 0 !important;
        align-items: center !important;
        column-gap: 20px !important;
        row-gap: 0 !important;
        margin: 0 0 16px !important;
        padding: 14px 18px !important;
    }

    /*
     * Allow the badge, title and description inside the wrapper
     * to participate directly in the header grid.
     */
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header > div:first-child {
        display: contents !important;
    }

    /* BritainPost Intelligence badge */
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header
    .bp-ai-newsroom__eyebrow {
        grid-column: 1 !important;
        display: inline-flex !important;
        min-height: 34px !important;
        width: auto !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 13px !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }

    /* AI Newsroom title */
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header h2 {
        grid-column: 2 !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 0 0 20px !important;
        font-size: clamp(26px, 2.1vw, 34px) !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__header h2::before {
        content: "" !important;
        position: absolute !important;
        top: 4px !important;
        bottom: 4px !important;
        left: 0 !important;
        display: block !important;
        width: 1px !important;
        background: currentColor !important;
        opacity: .2 !important;
    }

    /* Supporting description */
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header p {
        grid-column: 3 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Open AI Newsroom button */
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header
    .bp-ai-newsroom__button {
        grid-column: 4 !important;
        min-height: 46px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 20px !important;
        white-space: nowrap !important;
    }

    /* Remove the large empty area around the heading */
    html body .bp-ai-newsroom {
        padding-top: 12px !important;
    }
}

/* Medium screens: keep it compact using two rows */
@media (min-width: 921px) and (max-width: 1180px) {
    html body .bp-ai-newsroom .bp-ai-newsroom__header {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        column-gap: 16px !important;
        row-gap: 6px !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__header
    .bp-ai-newsroom__eyebrow {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__header h2 {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__header p {
        grid-column: 1 / 3 !important;
        grid-row: 2 !important;
        padding-left: 0 !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__header
    .bp-ai-newsroom__button {
        grid-column: 3 !important;
        grid-row: 1 / 3 !important;
    }
}

/* Preserve a clean stacked layout on mobile */
@media (max-width: 920px) {
    html body .bp-ai-newsroom
    .bp-ai-newsroom__header > div:first-child {
        display: flex !important;
    }
}



/* BP AI NEWSROOM COMPACT INTRO V7 */

html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 0 18px !important;
    padding: 14px 18px !important;
    border: 1px solid rgba(23, 66, 139, .10) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .55) !important;
    box-shadow:
        0 12px 34px rgba(17, 49, 104, .045),
        inset 0 1px 0 rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(18px) !important;
}

html body .bp-ai-newsroom .bp-ai-newsroom__compact-copy {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 18px !important;
}

html body .bp-ai-newsroom .bp-ai-newsroom__compact-badge {
    display: inline-flex !important;
    min-height: 36px !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    color: #2858ad !important;
    border: 1px solid rgba(54, 105, 203, .17) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .76) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
}

html body .bp-ai-newsroom
.bp-ai-newsroom__compact-badge
.bp-ai-badge__pulse {
    display: block !important;
    width: 9px !important;
    height: 9px !important;
    flex: 0 0 9px !important;
    margin: 0 !important;
}

html body .bp-ai-newsroom .bp-ai-newsroom__compact-separator {
    display: block !important;
    width: 1px !important;
    height: 34px !important;
    flex: 0 0 1px !important;
    background: rgba(8, 31, 73, .18) !important;
}

html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro h2 {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #071e4a !important;
    font-size: clamp(26px, 2.1vw, 34px) !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    letter-spacing: -.055em !important;
    white-space: nowrap !important;
}

html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro p {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #627492 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    letter-spacing: -.015em !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .bp-ai-newsroom
.bp-ai-newsroom__compact-intro
.bp-ai-newsroom__button {
    display: inline-flex !important;
    min-height: 46px !important;
    width: auto !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

/* Remove the old oversized intro spacing completely. */
html body .bp-ai-newsroom .bp-ai-newsroom__shell {
    padding-top: 0 !important;
}

html body .bp-ai-newsroom {
    padding-top: 12px !important;
}

/* Medium desktop */
@media (max-width: 1180px) and (min-width: 921px) {
    html body .bp-ai-newsroom .bp-ai-newsroom__compact-copy {
        display: grid !important;
        grid-template-columns: auto 1px auto !important;
        gap: 7px 14px !important;
    }

    html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro p {
        grid-column: 1 / 4 !important;
        overflow: visible !important;
        white-space: normal !important;
    }
}

/* Mobile and tablet */
@media (max-width: 920px) {
    html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro {
        display: flex !important;
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 13px !important;
        margin-bottom: 14px !important;
        padding: 16px !important;
    }

    html body .bp-ai-newsroom .bp-ai-newsroom__compact-copy {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    html body .bp-ai-newsroom .bp-ai-newsroom__compact-separator {
        display: none !important;
    }

    html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro h2 {
        font-size: 28px !important;
    }

    html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro p {
        overflow: visible !important;
        white-space: normal !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-newsroom__compact-intro
    .bp-ai-newsroom__button {
        width: 100% !important;
    }
}

/* BP AI HEADER SPACING + NIA BUTTON COLOUR V8 */

/* Give the compact header its own breathing space above the main AI board. */
html body .bp-ai-newsroom .bp-ai-newsroom__compact-intro {
    margin-bottom: 24px !important;
}

/* Prevent the next board from visually touching or overlapping the header. */
html body .bp-ai-newsroom .bp-ai-command-grid {
    margin-top: 0 !important;
}

/* Match the Open AI Newsroom button to Nia's red-to-blue action colour. */
html body .bp-ai-newsroom
.bp-ai-newsroom__compact-intro
.bp-ai-newsroom__button {
    color: #ffffff !important;
    background:
        linear-gradient(
            105deg,
            #d70b3d 0%,
            #d70b3d 22%,
            #254fc6 58%,
            #073690 100%
        ) !important;
    border-color: transparent !important;
    box-shadow:
        0 14px 30px rgba(17, 63, 161, .20),
        inset 0 1px 0 rgba(255, 255, 255, .25) !important;
}

/* Keep hover subtle and premium. */
html body .bp-ai-newsroom
.bp-ai-newsroom__compact-intro
.bp-ai-newsroom__button:hover {
    transform: translateY(-1px) !important;
    box-shadow:
        0 18px 34px rgba(17, 63, 161, .24),
        inset 0 1px 0 rgba(255, 255, 255, .28) !important;
}


/* BP AI INITIAL EQUAL CARD HEIGHT V9 */

/*
 * Initial state:
 * Keep Ask BritainPost AI and Nia exactly the same height.
 */
@media (min-width: 921px) {
    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer[hidden]) {
        align-items: stretch !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer[hidden])
    > .bp-ai-ask,
    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer[hidden])
    > .bp-nina-presenter {
        align-self: stretch !important;
        height: auto !important;
        min-height: 100% !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer[hidden])
    > .bp-ai-ask {
        display: flex !important;
        flex-direction: column !important;
    }

    /*
     * Keep the visible Ask AI controls near the top while allowing
     * the card background to extend cleanly to Nia's full height.
     */
    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer[hidden])
    .bp-ai-ask__suggestions {
        margin-bottom: 0 !important;
    }

    /*
     * Result state:
     * Let the Ask AI card grow independently when an answer appears.
     */
    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer:not([hidden])) {
        align-items: start !important;
    }

    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer:not([hidden]))
    > .bp-ai-ask,
    html body .bp-ai-newsroom
    .bp-ai-command-grid:has(.bp-ai-answer:not([hidden]))
    > .bp-nina-presenter {
        align-self: start !important;
        min-height: 0 !important;
        height: auto !important;
    }
}


/* BP NIA COMPACT BRIEF V2 */
.bp-ai-command-grid {
    align-items: start !important;
}

.bp-nina-presenter {
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
}

.bp-nina-presenter__body {
    min-height: 0 !important;
}

.bp-nina-presenter__brief {
    max-height: 6.5rem !important;
    overflow: hidden !important;
}

.bp-nina-presenter__brief p {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
}

@media (max-width: 767px) {
    .bp-nina-presenter__brief {
        max-height: 5.8rem !important;
    }

    .bp-nina-presenter__brief p {
        -webkit-line-clamp: 3 !important;
    }
}

/* UI-H1: clean homepage hero image */
.bp-v3-lead__image::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.bp-v3-lead__flag {
    display: none !important;
    background: none !important;
}

/*
|--------------------------------------------------------------------------
| BritainPost Sprint N1 — Nia Orb and AI modal foundation
|--------------------------------------------------------------------------
*/

.bp-nia-orb {
    position: relative;
    display: inline-grid;
    width: 3.7rem;
    height: 3.7rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    overflow: visible;
    border: 1px solid rgba(15, 37, 69, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 252, 0.94));
    box-shadow:
        0 14px 34px rgba(15, 37, 69, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    cursor: pointer;
    isolation: isolate;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.bp-nia-orb__halo {
    position: absolute;
    inset: -0.34rem;
    z-index: -1;
    border-radius: inherit;
    background:
        conic-gradient(
            from 190deg,
            rgba(14, 46, 91, 0.1),
            rgba(236, 29, 61, 0.25),
            rgba(79, 111, 190, 0.22),
            rgba(14, 46, 91, 0.1)
        );
    filter: blur(7px);
    opacity: 0.62;
    animation: bp-nia-orb-breathe 3.8s ease-in-out infinite;
}

.bp-nia-orb__core {
    position: relative;
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border-radius: inherit;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.92), transparent 19%),
        linear-gradient(145deg, #18365f 8%, #5c64a5 50%, #e51e3e 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.44),
        0 8px 18px rgba(18, 43, 81, 0.22);
}

.bp-nia-orb__spark--one {
    font-size: 1.08rem;
    line-height: 1;
    animation: bp-nia-orb-sparkle 3.2s ease-in-out infinite;
}

.bp-nia-orb__spark--two {
    position: absolute;
    top: 0.48rem;
    right: 0.52rem;
    font-size: 1rem;
    opacity: 0.88;
    animation: bp-nia-orb-particle 2.9s ease-in-out 500ms infinite;
}

.bp-nia-orb:hover {
    transform: translateY(-1px) scale(1.025);
    border-color: rgba(229, 30, 62, 0.22);
    box-shadow:
        0 18px 42px rgba(15, 37, 69, 0.14),
        0 0 0 5px rgba(229, 30, 62, 0.045);
}

.bp-nia-orb:active {
    transform: scale(0.97);
}

.bp-nia-orb:focus-visible {
    outline: 3px solid rgba(229, 30, 62, 0.23);
    outline-offset: 4px;
}

.bp-nia-modal[hidden] {
    display: none !important;
}

.bp-nia-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2.5rem);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 240ms ease,
        visibility 240ms ease;
}

.bp-nia-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.bp-nia-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        rgba(8, 19, 38, 0.48);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.bp-nia-modal__panel {
    position: relative;
    z-index: 1;
    width: min(58rem, 100%);
    max-height: min(52rem, calc(100vh - 2rem));
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 2rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 253, 0.96));
    box-shadow:
        0 42px 100px rgba(5, 18, 39, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translateY(1.5rem) scale(0.975);
    transition:
        opacity 260ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bp-nia-modal.is-open .bp-nia-modal__panel {
    opacity: 1;
    transform: none;
}

.bp-nia-modal__header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(15, 37, 69, 0.08);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bp-nia-modal__identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.bp-nia-modal__identity > span:first-child {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(145deg, #18365f, #646aa8 52%, #e51e3e);
    box-shadow: 0 10px 24px rgba(20, 49, 88, 0.22);
}

.bp-nia-modal__identity span {
    color: #6a7890;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-nia-modal__identity h2 {
    margin: 0.14rem 0 0;
    color: #0c294e;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.1;
}

.bp-nia-modal__close {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(15, 37, 69, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #17314f;
    font-size: 1.55rem;
    cursor: pointer;
    transition:
        transform 180ms ease,
        background-color 180ms ease;
}

.bp-nia-modal__close:hover {
    transform: rotate(4deg) scale(1.03);
    background: #ffffff;
}

.bp-nia-modal__body {
    padding: clamp(1.35rem, 3vw, 2.5rem);
}

.bp-nia-modal__body > p {
    max-width: 44rem;
    margin: 0 auto 1.5rem;
    color: #66758d;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}

.bp-nia-modal__placeholder {
    display: grid;
    min-height: 19rem;
    place-items: center;
    align-content: center;
    gap: 0.8rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(15, 37, 69, 0.08);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 50% 0, rgba(229, 30, 62, 0.07), transparent 38%),
        #ffffff;
    text-align: center;
}

.bp-nia-modal__placeholder > span {
    display: grid;
    width: 4.4rem;
    height: 4.4rem;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 1.55rem;
    background: linear-gradient(145deg, #18365f, #646aa8 52%, #e51e3e);
    animation: bp-nia-orb-breathe 3.8s ease-in-out infinite;
}

.bp-nia-modal__placeholder strong {
    color: #0c294e;
    font-size: 1.35rem;
}

.bp-nia-modal__placeholder p {
    max-width: 31rem;
    margin: 0 0 0.7rem;
    color: #69778d;
    line-height: 1.65;
}

html.bp-nia-modal-open,
html.bp-nia-modal-open body {
    overflow: hidden;
}

@keyframes bp-nia-orb-breathe {
    0%,
    100% {
        opacity: 0.52;
        transform: scale(0.94);
    }

    50% {
        opacity: 0.92;
        transform: scale(1.08);
    }
}

@keyframes bp-nia-orb-sparkle {
    0%,
    100% {
        opacity: 0.84;
        transform: rotate(0deg) scale(0.92);
    }

    50% {
        opacity: 1;
        transform: rotate(12deg) scale(1.08);
    }
}

@keyframes bp-nia-orb-particle {
    0%,
    100% {
        opacity: 0.42;
        transform: translate3d(0, 0.1rem, 0) scale(0.78);
    }

    50% {
        opacity: 1;
        transform: translate3d(0.1rem, -0.18rem, 0) scale(1.15);
    }
}

@media (max-width: 640px) {
    .bp-nia-orb {
        width: 3.25rem;
        height: 3.25rem;
    }

    .bp-nia-orb__core {
        width: 2.22rem;
        height: 2.22rem;
    }

    .bp-nia-modal {
        padding: 0.55rem;
    }

    .bp-nia-modal__panel {
        max-height: calc(100vh - 1.1rem);
        border-radius: 1.4rem;
    }

    .bp-nia-modal__header {
        padding: 1rem;
    }

    .bp-nia-modal__body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-nia-orb,
    .bp-nia-orb *,
    .bp-nia-modal,
    .bp-nia-modal__panel {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================
   BritainPost
   Nia Modal Header Typography V2
   ========================================================== */

#bp-nia-modal-title{
    display:inline-flex;
    align-items:center;
    gap:.12em;
    margin:.15rem 0 0;

    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;
    font-size:2.05rem;
    font-weight:600;
    line-height:1.05;
    letter-spacing:-0.03em;
    color:#082451;
}

#bp-nia-modal-title span[aria-hidden]{
    display:inline-block;
    font-size:.74em;
    line-height:1;
    margin-left:.02em;
    transform:translateY(.03em);
}

@media (max-width:768px){

    #bp-nia-modal-title{
        font-size:2.35rem;
    }

}


/* BP NIA MODAL TITLE — FINAL STACKED FIX */
.bp-nia-modal__identity #bp-nia-modal-title {
    display: block !important;
    margin: 0.28rem 0 0 !important;
    color: #082451;
    font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap;
}

.bp-nia-modal__identity #bp-nia-modal-title > span {
    display: inline-block !important;
    margin-left: 0.08em;
    font-size: 0.7em !important;
    line-height: 1 !important;
    vertical-align: 0.05em;
    transform: none !important;
    letter-spacing: 0;
}

@media (max-width: 720px) {
    .bp-nia-modal__identity #bp-nia-modal-title {
        font-size: 1.8rem !important;
    }
}
/* END BP NIA MODAL TITLE — FINAL STACKED FIX */

/* BP NIA MODAL UNIFIED TYPOGRAPHY V1 */

/* Apply the same AI typography throughout this popup only. */
.bp-nia-modal,
.bp-nia-modal button,
.bp-nia-modal input,
.bp-nia-modal textarea,
.bp-nia-modal select {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/* Preserve the original stacked header arrangement. */
.bp-nia-modal__identity > div {
    display: block;
}

/* Match the presenter-card name more closely. */
.bp-nia-modal__identity #bp-nia-modal-title {
    display: block !important;
    margin: 0.22rem 0 0 !important;
    color: #082451;
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
    font-size: 1.72rem !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap;
}

/* Keep the butterfly proportional to the smaller title. */
.bp-nia-modal__identity #bp-nia-modal-title > span {
    display: inline-block !important;
    margin-left: 0.06em;
    font-size: 0.66em !important;
    line-height: 1 !important;
    vertical-align: 0.04em;
    transform: none !important;
    letter-spacing: 0 !important;
}

/* Maintain clean AI-style heading weights throughout. */
.bp-nia-modal h1,
.bp-nia-modal h2,
.bp-nia-modal h3,
.bp-nia-modal h4,
.bp-nia-modal strong {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

@media (max-width: 720px) {
    .bp-nia-modal__identity #bp-nia-modal-title {
        font-size: 1.55rem !important;
    }
}

/* END BP NIA MODAL UNIFIED TYPOGRAPHY V1 */

/* ==========================================================
   BritainPost AI Section
   Unified Sora Typography
   ========================================================== */

[data-bp-ai-search],
[data-bp-ai-search] *{
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Segoe UI",
        sans-serif !important;
}

/* Slightly stronger AI headings */

[data-bp-ai-search] h1,
[data-bp-ai-search] h2,
[data-bp-ai-search] h3,
[data-bp-ai-search] strong{
    font-weight:700;
    letter-spacing:-0.03em;
}


/* ==========================================================
   BP HOMEPAGE AI NEWSROOM — COMPLETE SORA FONT OVERRIDE
   ========================================================== */

.bp-ai-newsroom,
.bp-ai-newsroom *,
.bp-ai-newsroom input,
.bp-ai-newsroom button,
.bp-ai-newsroom textarea,
.bp-ai-newsroom select,
.bp-ai-newsroom .bp-nina-presenter,
.bp-ai-newsroom .bp-nina-presenter * {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Segoe UI",
        sans-serif !important;
}

.bp-ai-newsroom input::placeholder,
.bp-ai-newsroom textarea::placeholder {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/* Preserve premium AI heading character */
.bp-ai-newsroom h1,
.bp-ai-newsroom h2,
.bp-ai-newsroom h3,
.bp-ai-newsroom h4,
.bp-ai-newsroom strong {
    font-family:
        "Sora",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/* END BP HOMEPAGE AI NEWSROOM — COMPLETE SORA FONT OVERRIDE */

/* BritainPost NL1B — Newsletter status */
.bp-newsletter-status {
    display: grid;
    gap: 0.2rem;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.45;
}

.bp-newsletter-status[hidden] {
    display: none;
}

.bp-newsletter-status strong,
.bp-newsletter-status span {
    display: block;
}

.bp-newsletter-status strong {
    font-weight: 700;
}

.bp-newsletter-status.is-success {
    color: #166534;
}

.bp-newsletter-status.is-error {
    color: #b42318;
}

[data-bp-newsletter-form] button[aria-busy="true"] {
    cursor: wait;
    opacity: 0.72;
}

/* UI-NL3.2 — PREMIUM APPLE NEWSLETTER CARD */
.bp-v3-subscribe {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(7, 27, 51, 0.09);
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
        0 26px 68px rgba(7, 27, 51, 0.12),
        0 2px 8px rgba(7, 27, 51, 0.04);
    flex-direction: column;
    isolation: isolate;
}

.bp-v3-subscribe::before {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            #071b33 0 74%,
            #c8102e 74% 100%
        );
    content: "";
}

.bp-v3-subscribe__visual {
    position: relative;
    min-height: 205px;
    overflow: hidden;
    background: #dce5ef;
}

.bp-v3-subscribe__visual img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: 57% 46%;
    transform: scale(1.015);
    transition:
        transform 700ms cubic-bezier(.2, .7, .2, 1),
        filter 700ms ease;
}

.bp-v3-subscribe:hover .bp-v3-subscribe__visual img {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.045);
}

.bp-v3-subscribe__visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 27, 51, 0.01) 15%,
            rgba(7, 27, 51, 0.66) 100%
        );
}

.bp-v3-subscribe__visual-copy {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 21px;
    left: 24px;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(7, 27, 51, 0.55);
}

.bp-v3-subscribe__visual-copy span,
.bp-v3-subscribe__visual-copy strong {
    display: block;
}

.bp-v3-subscribe__visual-copy span {
    margin-bottom: 6px;
    font-size: 0.58rem;
    font-weight: 780;
    letter-spacing: 0.12em;
    opacity: 0.82;
    text-transform: uppercase;
}

.bp-v3-subscribe__visual-copy strong {
    max-width: 245px;
    font-size: 1.12rem;
    font-weight: 740;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

.bp-v3-subscribe__content {
    position: relative;
    z-index: 2;
    padding: 29px 25px 26px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(200, 216, 235, 0.28),
            transparent 39%
        ),
        #ffffff;
}

.bp-v3-subscribe__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8102e;
    font-size: 0.61rem;
    font-weight: 820;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bp-v3-subscribe__eyebrow > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(200, 16, 46, 0.14);
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.06);
    font-size: 0.7rem;
    letter-spacing: 0;
}

.bp-v3-subscribe h2 {
    margin: 17px 0 0;
    color: #071b33;
    font-family: var(--bp-font-sans);
    font-size: clamp(1.85rem, 2.8vw, 2.4rem);
    font-weight: 780;
    letter-spacing: -0.057em;
    line-height: 1.01;
}

.bp-v3-subscribe h2 span {
    color: #c8102e;
}

.bp-v3-subscribe .bp-v3-subscribe__intro {
    max-width: 490px;
    margin: 17px 0 0;
    color: #657286;
    font-size: 0.79rem;
    line-height: 1.68;
}

.bp-v3-subscribe .bp-v3-subscribe__form {
    display: grid;
    gap: 10px;
    margin-top: 23px;
}

.bp-v3-subscribe__field {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 55px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(7, 27, 51, 0.13);
    border-radius: 17px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.97),
            rgba(247, 249, 252, 0.95)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 7px 18px rgba(7, 27, 51, 0.055);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.bp-v3-subscribe__field:focus-within {
    border-color: rgba(19, 88, 212, 0.48);
    box-shadow:
        0 0 0 4px rgba(19, 88, 212, 0.10),
        0 11px 25px rgba(7, 27, 51, 0.08);
    transform: translateY(-1px);
}

.bp-v3-subscribe__field > span {
    display: grid;
    width: 48px;
    height: 100%;
    flex: 0 0 auto;
    place-items: center;
    color: #8793a4;
    font-size: 0.85rem;
}

.bp-v3-subscribe .bp-v3-subscribe__field input {
    width: 100%;
    min-width: 0;
    min-height: 53px;
    padding: 0 16px 0 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #071b33;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 560;
}

.bp-v3-subscribe .bp-v3-subscribe__field input::placeholder {
    color: #98a3b2;
    opacity: 1;
}

.bp-v3-subscribe .bp-v3-subscribe__form > button {
    display: inline-flex;
    min-height: 55px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #123158 0%,
            #071b33 58%,
            #041226 100%
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 14px 29px rgba(7, 27, 51, 0.23);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.77rem;
    font-weight: 780;
    letter-spacing: -0.01em;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.bp-v3-subscribe .bp-v3-subscribe__form > button:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 35px rgba(7, 27, 51, 0.29);
    filter: brightness(1.07);
    transform: translateY(-2px);
}

.bp-v3-subscribe .bp-v3-subscribe__form > button:active {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 18px rgba(7, 27, 51, 0.18);
    transform: translateY(0);
}

.bp-v3-subscribe .bp-v3-subscribe__form > button span:last-child {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    font-size: 0.9rem;
    transition: transform 180ms ease;
}

.bp-v3-subscribe .bp-v3-subscribe__form > button:hover span:last-child {
    transform: translateX(3px);
}

.bp-v3-subscribe .bp-v3-subscribe__privacy {
    display: block;
    margin-top: 14px;
    color: #8a95a5;
    font-size: 0.59rem;
    line-height: 1.55;
}

.bp-v3-subscribe .bp-v3-subscribe__privacy::before {
    margin-right: 7px;
    color: #3b9b6a;
    content: "●";
    font-size: 0.43rem;
    vertical-align: 1px;
}

.bp-v3-subscribe .bp-newsletter-status {
    grid-column: 1 / -1;
    margin-top: 2px;
}

.bp-v3-subscribe [data-bp-newsletter-form]
button[aria-busy="true"] {
    cursor: progress;
    filter: saturate(0.7);
    opacity: 0.82;
}

@media (min-width: 781px) and (max-width: 1120px) {
    .bp-v3-subscribe {
        display: grid;
        min-height: 380px;
        grid-template-columns:
            minmax(0, 0.94fr)
            minmax(0, 1.06fr);
    }

    .bp-v3-subscribe__visual {
        min-height: 100%;
        order: 2;
    }

    .bp-v3-subscribe__content {
        display: flex;
        justify-content: center;
        padding: 38px 35px;
        flex-direction: column;
        order: 1;
    }

    .bp-v3-subscribe__visual-copy {
        right: 30px;
        bottom: 28px;
        left: 30px;
    }
}

@media (max-width: 780px) {
    .bp-v3-subscribe {
        border-radius: 24px;
    }

    .bp-v3-subscribe__visual {
        min-height: 225px;
    }

    .bp-v3-subscribe__content {
        padding: 29px 22px 25px;
    }

    .bp-v3-subscribe h2 {
        font-size: clamp(2rem, 9vw, 2.85rem);
    }

    .bp-v3-subscribe .bp-v3-subscribe__intro {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-v3-subscribe__visual img,
    .bp-v3-subscribe__field,
    .bp-v3-subscribe .bp-v3-subscribe__form > button,
    .bp-v3-subscribe
    .bp-v3-subscribe__form > button span:last-child {
        transition: none;
    }
}

/* UI-NL3.3 — COMPACT NEWSLETTER CARD */
.bp-v3-right-rail {
    align-content: start;
}

.bp-v3-subscribe__visual {
    min-height: 168px;
}

.bp-v3-subscribe__visual img {
    object-position: 57% 43%;
}

.bp-v3-subscribe__visual-copy {
    right: 21px;
    bottom: 17px;
    left: 21px;
}

.bp-v3-subscribe__visual-copy span {
    margin-bottom: 4px;
    font-size: 0.52rem;
}

.bp-v3-subscribe__visual-copy strong {
    max-width: 225px;
    font-size: 0.98rem;
    line-height: 1.16;
}

.bp-v3-subscribe__content {
    padding: 23px 23px 21px;
}

.bp-v3-subscribe__eyebrow {
    gap: 7px;
    font-size: 0.56rem;
}

.bp-v3-subscribe__eyebrow > span {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
}

.bp-v3-subscribe h2 {
    margin-top: 13px;
    font-size: clamp(1.48rem, 2.15vw, 1.82rem);
    letter-spacing: -0.048em;
    line-height: 1.04;
}

.bp-v3-subscribe .bp-v3-subscribe__intro {
    margin-top: 13px;
    font-size: 0.71rem;
    line-height: 1.58;
}

.bp-v3-subscribe .bp-v3-subscribe__form {
    gap: 8px;
    margin-top: 17px;
}

.bp-v3-subscribe__field {
    min-height: 48px;
    border-radius: 14px;
}

.bp-v3-subscribe__field > span {
    width: 43px;
    font-size: 0.76rem;
}

.bp-v3-subscribe .bp-v3-subscribe__field input {
    min-height: 46px;
    font-size: 0.73rem;
}

.bp-v3-subscribe .bp-v3-subscribe__form > button {
    min-height: 48px;
    padding: 0 17px;
    border-radius: 14px;
    font-size: 0.71rem;
}

.bp-v3-subscribe .bp-v3-subscribe__form > button span:last-child {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
}

.bp-v3-subscribe .bp-v3-subscribe__privacy {
    margin-top: 11px;
    font-size: 0.53rem;
}

@media (min-width: 781px) and (max-width: 1120px) {
    .bp-v3-subscribe {
        min-height: 320px;
    }

    .bp-v3-subscribe__content {
        padding: 29px 30px;
    }

    .bp-v3-subscribe h2 {
        font-size: clamp(1.7rem, 3vw, 2.15rem);
    }
}

@media (max-width: 780px) {
    .bp-v3-subscribe__visual {
        min-height: 178px;
    }

    .bp-v3-subscribe__content {
        padding: 23px 20px 21px;
    }

    .bp-v3-subscribe h2 {
        font-size: clamp(1.75rem, 7.8vw, 2.3rem);
    }
}

