:root {
    --bp-nav-navy: #101d35;
    --bp-nav-navy-soft: #273650;
    --bp-nav-red: #d8243f;
    --bp-nav-red-soft: #fbe9ed;
    --bp-nav-line: #e5e9f0;
    --bp-nav-muted: #69768a;
    --bp-nav-surface: rgba(255, 255, 255, 0.94);
}

.bp-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(218, 224, 233, 0.86);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.bp-header__inner {
    display: grid;
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 3vw, 48px);
}

.bp-brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bp-nav-navy);
    text-decoration: none;
}

.bp-brand__mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
}

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

.bp-brand__name {
    font-size: 22px;
    font-weight: 780;
    letter-spacing: -0.045em;
}

.bp-brand__name span {
    color: var(--bp-nav-red);
}

.bp-nav {
    display: flex;
    min-width: 0;
    align-items: stretch;
    justify-content: center;
    gap: clamp(5px, 0.7vw, 13px);
    align-self: stretch;
}

.bp-nav__home,
.bp-nav__section-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #647187;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.012em;
    text-decoration: none;
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.bp-nav__home:hover,
.bp-nav__section-link:hover,
.bp-nav__item.is-open .bp-nav__section-link,
.bp-nav__home.is-active,
.bp-nav__item.is-active .bp-nav__section-link {
    color: var(--bp-nav-navy);
}

.bp-nav__home::after,
.bp-nav__trigger-row::after {
    position: absolute;
    right: 7px;
    bottom: 0;
    left: 7px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--bp-nav-red);
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.bp-nav__home.is-active::after,
.bp-nav__item.is-active .bp-nav__trigger-row::after,
.bp-nav__item.is-open .bp-nav__trigger-row::after {
    opacity: 1;
    transform: scaleX(1);
}

.bp-nav__item {
    position: static;
    display: flex;
    align-items: stretch;
}

.bp-nav__trigger-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1px;
    padding: 0 4px;
}

.bp-nav__toggle {
    display: grid;
    width: 24px;
    height: 30px;
    padding: 0;
    border: 0;
    place-items: center;
    color: #8792a4;
    background: transparent;
    cursor: pointer;
}

.bp-nav__toggle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.bp-nav__item.is-open .bp-nav__toggle svg {
    transform: rotate(180deg);
}

.bp-mega-menu {
    position: absolute;
    z-index: 1001;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    visibility: hidden;
    overflow: hidden;
    border-bottom: 1px solid rgba(219, 225, 234, 0.9);
    border-radius: 0 0 26px 26px;
    background: var(--bp-nav-surface);
    box-shadow:
        0 28px 70px rgba(17, 29, 53, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
        opacity 170ms ease,
        transform 170ms ease,
        visibility 170ms ease;
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.bp-nav__item.is-open .bp-mega-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.bp-mega-menu__inner {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.85fr)
        minmax(420px, 1.7fr)
        minmax(220px, 0.8fr);
    gap: clamp(35px, 5vw, 74px);
    padding-top: 42px;
    padding-bottom: 44px;
}

.bp-mega-menu__intro {
    padding-right: 32px;
    border-right: 1px solid var(--bp-nav-line);
}

.bp-mega-menu__eyebrow,
.bp-mega-menu__heading {
    margin: 0 0 12px;
    color: var(--bp-nav-red);
    font-size: 11px;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bp-mega-menu__intro h2 {
    margin: 0;
    color: var(--bp-nav-navy);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 1;
}

.bp-mega-menu__intro > p:not(.bp-mega-menu__eyebrow) {
    max-width: 290px;
    margin: 17px 0 24px;
    color: var(--bp-nav-muted);
    font-size: 14px;
    line-height: 1.65;
}

.bp-mega-menu__intro > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bp-nav-navy);
    font-size: 14px;
    font-weight: 720;
    text-decoration: none;
}

.bp-mega-menu__intro > a span {
    color: var(--bp-nav-red);
    transition: transform 160ms ease;
}

.bp-mega-menu__intro > a:hover span {
    transform: translateX(3px);
}

.bp-mega-menu__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.bp-mega-menu__links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #4f5d72;
    background: rgba(247, 249, 252, 0.72);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.bp-mega-menu__links a:hover {
    border-color: rgba(218, 36, 63, 0.14);
    color: var(--bp-nav-navy);
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 29, 53, 0.07);
    transform: translateY(-1px);
}

.bp-mega-menu__links svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--bp-nav-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-mega-menu__feature {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(218, 224, 233, 0.9);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(216, 36, 63, 0.13),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #f7f9fc,
            #ffffff
        );
}

.bp-mega-menu__feature::after {
    position: absolute;
    right: -35px;
    bottom: -45px;
    width: 130px;
    height: 130px;
    border: 22px solid rgba(16, 29, 53, 0.045);
    border-radius: 50%;
    content: "";
}

.bp-mega-menu__flag {
    position: relative;
    display: block;
    width: 40px;
    height: 28px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--bp-nav-navy);
    box-shadow: 0 5px 15px rgba(16, 29, 53, 0.16);
}

.bp-mega-menu__flag::before,
.bp-mega-menu__flag::after,
.bp-mega-menu__flag span::before,
.bp-mega-menu__flag span::after {
    position: absolute;
    content: "";
}

.bp-mega-menu__flag::before {
    top: 11px;
    right: 0;
    left: 0;
    height: 6px;
    background: #fff;
}

.bp-mega-menu__flag::after {
    top: 0;
    bottom: 0;
    left: 17px;
    width: 6px;
    background: #fff;
}

.bp-mega-menu__flag span::before {
    top: 12px;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--bp-nav-red);
}

.bp-mega-menu__flag span::after {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 4px;
    background: var(--bp-nav-red);
}

.bp-mega-menu__feature h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--bp-nav-navy);
    font-size: 19px;
    font-weight: 720;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.bp-mega-menu__feature > p:last-child {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: var(--bp-nav-muted);
    font-size: 13px;
    line-height: 1.55;
}

.bp-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bp-mobile-nav-toggle {
    display: none;
}

/* Category pages */

.bp-section-page {
    min-height: 70vh;
    padding: 34px 0 90px;
    background:
        radial-gradient(
            circle at 90% 4%,
            rgba(216, 36, 63, 0.045),
            transparent 22%
        ),
        #fff;
}

.bp-section-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: #8994a4;
    font-size: 12px;
    font-weight: 650;
}

.bp-section-breadcrumbs a {
    color: #66758a;
    text-decoration: none;
}

.bp-section-breadcrumbs a:hover {
    color: var(--bp-nav-red);
}

.bp-section-hero {
    position: relative;
    display: flex;
    min-height: 220px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    padding: clamp(32px, 5vw, 60px);
    border: 1px solid rgba(218, 224, 233, 0.86);
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(246, 248, 252, 0.94)
        );
    box-shadow:
        0 24px 70px rgba(16, 29, 53, 0.07),
        inset 0 1px 0 #fff;
}

.bp-section-hero__eyebrow {
    margin: 0 0 12px;
    color: var(--bp-nav-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.bp-section-hero h1 {
    margin: 0;
    color: var(--bp-nav-navy);
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 770;
    letter-spacing: -0.07em;
    line-height: 0.92;
}

.bp-section-hero__description {
    max-width: 610px;
    margin: 22px 0 0;
    color: #657388;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.55;
}

.bp-section-hero__identity {
    position: relative;
    width: 185px;
    min-width: 185px;
    height: 120px;
    opacity: 0.97;
}

.bp-section-hero__identity span {
    position: absolute;
    border-radius: 999px;
    transform: rotate(-32deg);
}

.bp-section-hero__identity span:nth-child(1) {
    top: 11px;
    right: -30px;
    width: 200px;
    height: 29px;
    background: var(--bp-nav-navy);
}

.bp-section-hero__identity span:nth-child(2) {
    top: 53px;
    right: -5px;
    width: 150px;
    height: 18px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(218, 224, 233, 0.7);
}

.bp-section-hero__identity span:nth-child(3) {
    top: 79px;
    right: 4px;
    width: 119px;
    height: 13px;
    background: var(--bp-nav-red);
}

.bp-section-topics {
    display: flex;
    gap: 8px;
    margin: 25px 0 42px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bp-section-topics::-webkit-scrollbar {
    display: none;
}

.bp-section-topics a {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid #e3e8ef;
    border-radius: 999px;
    color: #66748a;
    background: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 680;
    text-decoration: none;
    transition:
        color 160ms ease,
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.bp-section-topics a:hover,
.bp-section-topics a.is-active {
    border-color: var(--bp-nav-navy);
    color: #fff;
    background: var(--bp-nav-navy);
    transform: translateY(-1px);
}

.bp-section-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(340px, 0.82fr);
    gap: clamp(28px, 5vw, 65px);
    align-items: center;
    padding-bottom: 54px;
    border-bottom: 1px solid var(--bp-nav-line);
}

.bp-section-lead__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 25px;
    background: #edf1f6;
    box-shadow: 0 18px 45px rgba(16, 29, 53, 0.1);
}

.bp-section-lead__image img,
.bp-section-card__image img,
.bp-topic-mini-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 480ms cubic-bezier(.2,.7,.2,1);
}

.bp-section-lead:hover .bp-section-lead__image img,
.bp-section-card:hover .bp-section-card__image img,
.bp-topic-mini-card:hover .bp-topic-mini-card__image img {
    transform: scale(1.025);
}

.bp-section-card__category {
    margin: 0 0 13px;
    color: var(--bp-nav-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-section-lead h2 {
    margin: 0;
    font-size: clamp(33px, 4.3vw, 58px);
    font-weight: 750;
    letter-spacing: -0.055em;
    line-height: 1.03;
}

.bp-section-lead h2 a,
.bp-section-card h3 a {
    color: var(--bp-nav-navy);
    text-decoration: none;
}

.bp-section-lead__summary {
    margin: 23px 0;
    color: #657388;
    font-size: 16px;
    line-height: 1.65;
}

.bp-section-card__meta {
    display: flex;
    gap: 14px;
    color: #8994a5;
    font-size: 12px;
    font-weight: 630;
}

.bp-section-latest {
    padding: 58px 0 25px;
}

.bp-section-heading-row,
.bp-topic-preview__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.bp-section-heading-row p,
.bp-topic-preview__header p {
    margin: 0 0 6px;
    color: var(--bp-nav-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bp-section-heading-row h2,
.bp-topic-preview__header h2 {
    margin: 0;
    color: var(--bp-nav-navy);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 740;
    letter-spacing: -0.045em;
}

.bp-section-heading-row > span {
    color: #8792a4;
    font-size: 12px;
    font-weight: 650;
}

.bp-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 24px;
}

.bp-section-card {
    min-width: 0;
}

.bp-section-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 19px;
    background: #edf1f6;
}

.bp-section-card h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 720;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.bp-section-card__summary {
    margin: 14px 0 17px;
    color: #6a7789;
    font-size: 14px;
    line-height: 1.55;
}

.bp-section-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(16, 29, 53, 0.45);
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(216, 36, 63, 0.13),
            transparent 34%
        ),
        linear-gradient(145deg, #eef2f7, #f9fafc);
    font-size: 16px;
    font-weight: 780;
    letter-spacing: -0.025em;
}

.bp-topic-preview-list {
    display: grid;
    gap: 38px;
    padding-top: 58px;
}

.bp-topic-preview {
    padding-top: 38px;
    border-top: 1px solid var(--bp-nav-line);
}

.bp-topic-preview__header a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bp-nav-navy);
    font-size: 13px;
    font-weight: 720;
    text-decoration: none;
}

.bp-topic-preview__header a span {
    color: var(--bp-nav-red);
}

.bp-topic-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 28px;
}

.bp-topic-mini-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--bp-nav-navy);
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.bp-topic-mini-card:hover {
    border-color: #e3e8ef;
    box-shadow: 0 12px 34px rgba(16, 29, 53, 0.07);
    transform: translateY(-2px);
}

.bp-topic-mini-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 13px;
    background: #eef2f7;
}

.bp-topic-mini-card__content {
    display: grid;
    gap: 9px;
}

.bp-topic-mini-card strong {
    font-size: 17px;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.bp-topic-mini-card small {
    color: #8a95a5;
    font-size: 11px;
    font-weight: 620;
}

.bp-topic-preview__empty {
    padding: 25px;
    border: 1px dashed #dfe5ed;
    border-radius: 18px;
    color: #7a8799;
    background: #fafbfd;
    font-size: 14px;
}

.bp-section-empty {
    display: grid;
    max-width: 720px;
    min-height: 390px;
    margin: 10px auto 0;
    place-items: center;
    align-content: center;
    padding: 50px;
    border: 1px solid #e2e7ee;
    border-radius: 28px;
    background: #fafbfd;
    text-align: center;
}

.bp-section-empty > span {
    display: grid;
    width: 60px;
    height: 60px;
    margin-bottom: 22px;
    border-radius: 19px;
    place-items: center;
    color: #fff;
    background: var(--bp-nav-navy);
    font-weight: 800;
}

.bp-section-empty h2 {
    margin: 0;
    color: var(--bp-nav-navy);
    font-size: 32px;
    letter-spacing: -0.04em;
}

.bp-section-empty p {
    max-width: 520px;
    margin: 17px 0 25px;
    color: #6f7c8e;
    line-height: 1.65;
}

.bp-section-empty a {
    padding: 11px 17px;
    border-radius: 999px;
    color: #fff;
    background: var(--bp-nav-red);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bp-section-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid var(--bp-nav-line);
    color: #7d899a;
    font-size: 13px;
    font-weight: 660;
}

.bp-section-pagination a,
.bp-section-pagination > span:first-child,
.bp-section-pagination > span:last-child {
    padding: 10px 15px;
    border: 1px solid #dfe5ed;
    border-radius: 999px;
    color: var(--bp-nav-navy);
    background: #fff;
    text-decoration: none;
}

.bp-section-pagination .is-disabled {
    color: #adb5c1;
    background: #f7f8fa;
}

@media (max-width: 1250px) {
    .bp-header__inner {
        gap: 20px;
    }

    .bp-nav {
        gap: 2px;
    }

    .bp-nav__home,
    .bp-nav__section-link {
        font-size: 13px;
    }

    .bp-mega-menu__inner {
        grid-template-columns:
            minmax(190px, 0.7fr)
            minmax(370px, 1.5fr)
            minmax(200px, 0.7fr);
        gap: 32px;
    }
}

@media (max-width: 1100px) {
    .bp-header__inner {
        grid-template-columns: auto 1fr auto;
        min-height: 70px;
    }

    .bp-mobile-nav-toggle {
        position: relative;
        z-index: 3;
        display: grid;
        width: 42px;
        height: 42px;
        margin-left: auto;
        border: 1px solid #e0e5ed;
        border-radius: 14px;
        place-items: center;
        background: #fff;
        cursor: pointer;
    }

    .bp-mobile-nav-toggle span {
        position: absolute;
        width: 17px;
        height: 1.5px;
        border-radius: 999px;
        background: var(--bp-nav-navy);
        transition:
            transform 180ms ease,
            top 180ms ease;
    }

    .bp-mobile-nav-toggle span:first-child {
        top: 16px;
    }

    .bp-mobile-nav-toggle span:last-child {
        top: 24px;
    }

    .bp-header.is-mobile-open
    .bp-mobile-nav-toggle span:first-child {
        top: 20px;
        transform: rotate(45deg);
    }

    .bp-header.is-mobile-open
    .bp-mobile-nav-toggle span:last-child {
        top: 20px;
        transform: rotate(-45deg);
    }

    .bp-nav {
        position: fixed;
        z-index: 1001;
        top: 71px;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        visibility: hidden;
        overflow-y: auto;
        padding: 20px;
        background: rgba(250, 251, 253, 0.97);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 170ms ease,
            transform 170ms ease,
            visibility 170ms ease;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .bp-header.is-mobile-open .bp-nav {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .bp-nav__home {
        display: flex;
        min-height: 54px;
        padding: 0 16px;
        border: 1px solid #e2e7ee;
        border-radius: 16px;
        background: #fff;
    }

    .bp-nav__home::after,
    .bp-nav__trigger-row::after {
        display: none;
    }

    .bp-nav__item {
        display: block;
        margin-top: 9px;
        border: 1px solid #e2e7ee;
        border-radius: 17px;
        background: #fff;
    }

    .bp-nav__trigger-row {
        min-height: 56px;
        justify-content: space-between;
        padding: 0 8px 0 16px;
    }

    .bp-nav__section-link {
        flex: 1;
        align-self: stretch;
    }

    .bp-nav__toggle {
        width: 44px;
        height: 44px;
    }

    .bp-mega-menu {
        position: static;
        display: none;
        visibility: visible;
        border: 0;
        border-radius: 0 0 17px 17px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        transition: none;
    }

    .bp-nav__item.is-open .bp-mega-menu {
        display: block;
    }

    .bp-mega-menu__inner {
        display: block;
        padding: 5px 15px 18px;
    }

    .bp-mega-menu__intro,
    .bp-mega-menu__feature {
        display: none;
    }

    .bp-mega-menu__heading {
        margin: 4px 0 12px;
    }

    .bp-mega-menu__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-header__actions {
        display: none;
    }
}

@media (max-width: 850px) {
    .bp-section-page {
        padding-top: 24px;
    }

    .bp-section-hero {
        min-height: 190px;
        padding: 34px;
        border-radius: 24px;
    }

    .bp-section-hero__identity {
        display: none;
    }

    .bp-section-lead {
        grid-template-columns: 1fr;
    }

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

    .bp-topic-preview__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .bp-brand__name {
        font-size: 19px;
    }

    .bp-mega-menu__links {
        grid-template-columns: 1fr;
    }

    .bp-section-breadcrumbs {
        margin-bottom: 22px;
    }

    .bp-section-hero {
        min-height: 175px;
        padding: 28px 23px;
        border-radius: 21px;
    }

    .bp-section-hero h1 {
        font-size: 47px;
    }

    .bp-section-hero__description {
        font-size: 15px;
    }

    .bp-section-topics {
        margin-bottom: 32px;
    }

    .bp-section-lead {
        gap: 25px;
        padding-bottom: 38px;
    }

    .bp-section-lead__image {
        border-radius: 19px;
    }

    .bp-section-lead h2 {
        font-size: 33px;
    }

    .bp-section-grid {
        grid-template-columns: 1fr;
    }

    .bp-section-heading-row,
    .bp-topic-preview__header {
        align-items: flex-start;
    }

    .bp-section-heading-row > span {
        display: none;
    }

    .bp-topic-preview__header {
        flex-direction: column;
        gap: 12px;
    }

    .bp-topic-mini-card {
        grid-template-columns: 105px minmax(0, 1fr);
        padding: 8px;
    }

    .bp-section-pagination {
        flex-wrap: wrap;
    }

    .bp-section-pagination > span:nth-child(2) {
        width: 100%;
        order: -1;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-mega-menu,
    .bp-nav__toggle svg,
    .bp-section-lead__image img,
    .bp-section-card__image img,
    .bp-topic-mini-card__image img {
        transition: none;
    }
}

/* ==========================================================
   BritainPost Navigation — Nia AI News Presenter Card
   ========================================================== */

.bp-mega-menu__nia-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 272px;
    flex-direction: column;
    overflow: hidden;
    padding: 21px;
    border: 1px solid rgba(181, 197, 228, 0.68);
    border-radius: 20px;
    color: var(--bp-nav-navy);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(229, 30, 81, 0.16),
            transparent 42%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(33, 72, 177, 0.12),
            transparent 44%
        ),
        linear-gradient(
            145deg,
            rgba(249, 251, 255, 0.99),
            rgba(255, 248, 251, 0.97)
        );
    box-shadow:
        0 15px 38px rgba(14, 39, 91, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    text-decoration: none;
    isolation: isolate;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.bp-mega-menu__nia-card::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #e3184f 0%,
            #ef7896 30%,
            #c9d7f7 30%,
            #768fc9 67%,
            #f9d9e1 67%,
            #ee8298 100%
        );
    content: "";
}

.bp-mega-menu__nia-card::after {
    position: absolute;
    z-index: -1;
    top: -53px;
    right: -55px;
    width: 190px;
    height: 190px;
    background:
        linear-gradient(
            35deg,
            transparent 42%,
            rgba(17, 50, 118, 0.05) 42%,
            rgba(17, 50, 118, 0.05) 53%,
            transparent 53%
        ),
        linear-gradient(
            -35deg,
            transparent 42%,
            rgba(225, 24, 79, 0.07) 42%,
            rgba(225, 24, 79, 0.07) 53%,
            transparent 53%
        );
    content: "";
    transform: rotate(12deg);
}

.bp-mega-menu__nia-card:hover,
.bp-mega-menu__nia-card:focus-visible {
    border-color: rgba(211, 43, 84, 0.34);
    box-shadow:
        0 22px 50px rgba(14, 39, 91, 0.16),
        0 8px 22px rgba(224, 29, 79, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    outline: none;
    transform: translateY(-3px);
}

.bp-mega-menu__nia-glow {
    position: absolute;
    z-index: -1;
    right: -45px;
    bottom: -60px;
    width: 170px;
    height: 170px;
    border: 25px solid rgba(19, 49, 111, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

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

.bp-mega-menu__nia-avatar {
    position: relative;
    display: grid;
    width: 78px;
    min-width: 78px;
    height: 78px;
    padding: 5px;
    border-radius: 50%;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            #587abe,
            #d9e3fb 48%,
            #ff9bb4 74%,
            #e61750
        );
    box-shadow:
        0 10px 25px rgba(28, 63, 135, 0.18);
}

.bp-mega-menu__nia-avatar::after {
    position: absolute;
    inset: 5px;
    border: 4px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.bp-mega-menu__nia-avatar-ring {
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(60, 95, 170, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.bp-mega-menu__nia-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    transition: transform 260ms ease;
}

.bp-mega-menu__nia-card:hover
.bp-mega-menu__nia-avatar img {
    transform: scale(1.035);
}

.bp-mega-menu__nia-identity {
    display: grid;
    min-width: 0;
}

.bp-mega-menu__nia-identity strong {
    color: #09275e;
    font-size: 28px;
    font-weight: 790;
    letter-spacing: -0.055em;
    line-height: 1;
}

.bp-mega-menu__nia-identity > span {
    margin-top: 7px;
    color: #596f99;
    font-size: 13px;
    font-weight: 690;
}

.bp-mega-menu__nia-identity small {
    margin-top: 7px;
    color: #d5164c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bp-mega-menu__nia-badges {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.bp-mega-menu__nia-language,
.bp-mega-menu__nia-live {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 790;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-mega-menu__nia-language {
    border: 1px solid rgba(124, 152, 210, 0.28);
    color: #173d86;
    background: rgba(235, 243, 255, 0.92);
}

.bp-mega-menu__nia-live {
    border: 1px solid rgba(51, 189, 112, 0.22);
    color: #08763a;
    background: rgba(232, 253, 240, 0.93);
}

.bp-mega-menu__nia-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20bc66;
    box-shadow: 0 0 0 5px rgba(32, 188, 102, 0.12);
    animation: bp-navigation-nia-live 2s ease-out infinite;
}

.bp-mega-menu__nia-copy {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 17px;
    color: #586b90;
    font-size: 13px;
    line-height: 1.5;
}

.bp-mega-menu__nia-action {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 0 14px;
    border-radius: 13px;
    color: #fff;
    background:
        linear-gradient(
            105deg,
            #e30b4b 0%,
            #bd1a70 38%,
            #3157bf 70%,
            #153f98 100%
        );
    box-shadow:
        0 10px 22px rgba(29, 66, 158, 0.17);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: -0.01em;
    transition:
        box-shadow 180ms ease,
        transform 180ms ease;
}

.bp-mega-menu__nia-card:hover
.bp-mega-menu__nia-action {
    box-shadow:
        0 14px 28px rgba(29, 66, 158, 0.25);
    transform: translateY(-1px);
}

.bp-mega-menu__nia-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.bp-mega-menu__nia-card:hover
.bp-mega-menu__nia-action svg {
    transform: translateX(3px);
}

@keyframes bp-navigation-nia-live {
    0% {
        box-shadow:
            0 0 0 0 rgba(32, 188, 102, 0.28);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(32, 188, 102, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(32, 188, 102, 0);
    }
}

@media (max-width: 1250px) {
    .bp-mega-menu__nia-card {
        min-height: 260px;
        padding: 18px;
    }

    .bp-mega-menu__nia-avatar {
        width: 68px;
        min-width: 68px;
        height: 68px;
    }

    .bp-mega-menu__nia-identity strong {
        font-size: 25px;
    }
}

@media (max-width: 1100px) {
    .bp-mega-menu__nia-card {
        min-height: auto;
        margin-top: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .bp-mega-menu__nia-top {
        gap: 13px;
    }

    .bp-mega-menu__nia-avatar {
        width: 61px;
        min-width: 61px;
        height: 61px;
    }

    .bp-mega-menu__nia-identity strong {
        font-size: 23px;
    }

    .bp-mega-menu__nia-copy {
        margin-top: 14px;
    }

    .bp-mega-menu__nia-action {
        margin-top: 15px;
    }
}

@media (max-width: 520px) {
    .bp-mega-menu__nia-card {
        padding: 14px;
    }

    .bp-mega-menu__nia-badges {
        margin-top: 13px;
    }

    .bp-mega-menu__nia-copy {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-mega-menu__nia-card,
    .bp-mega-menu__nia-avatar img,
    .bp-mega-menu__nia-action,
    .bp-mega-menu__nia-action svg {
        transition: none;
    }

    .bp-mega-menu__nia-live i {
        animation: none;
    }
}

/* BP MEGA MENU NIA AVATAR ALIGNMENT FIX V1 */

.bp-mega-menu__nia-avatar {
    position: relative !important;
    display: grid !important;
    width: 92px !important;
    height: 92px !important;
    flex: 0 0 92px !important;
    place-items: center !important;
    padding: 5px !important;
    overflow: visible !important;
    border-radius: 50% !important;
    background:
        linear-gradient(
            145deg,
            #174db4 0%,
            #ffffff 48%,
            #d80b38 100%
        ) !important;
    box-sizing: border-box !important;
}

.bp-mega-menu__nia-avatar::before {
    content: "" !important;
    position: absolute !important;
    inset: 5px !important;
    z-index: 1 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
}

.bp-mega-menu__nia-avatar img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 76px !important;
    height: 76px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
}

.bp-mega-menu__nia-avatar-ring {
    position: absolute !important;
    inset: -7px !important;
    z-index: 0 !important;
    display: block !important;
    border: 2px solid rgba(38, 91, 190, .18) !important;
    border-radius: 50% !important;
    box-shadow:
        0 0 0 5px rgba(255, 255, 255, .72),
        0 10px 24px rgba(19, 57, 122, .12) !important;
    pointer-events: none !important;
}

@media (max-width: 1180px) {
    .bp-mega-menu__nia-avatar {
        width: 84px !important;
        height: 84px !important;
        flex-basis: 84px !important;
    }

    .bp-mega-menu__nia-avatar img {
        width: 68px !important;
        height: 68px !important;
    }
}


/* BP MEGA MENU NIA RING CLEANUP V2 */

.bp-mega-menu__nia-avatar {
    width: 92px !important;
    height: 92px !important;
    flex: 0 0 92px !important;
    padding: 5px !important;
    overflow: visible !important;
    border-radius: 50% !important;
    background:
        linear-gradient(
            145deg,
            #174db4 0%,
            #ffffff 52%,
            #d80b38 100%
        ) !important;
    box-shadow:
        0 10px 24px rgba(19, 57, 122, .13) !important;
}

/* Remove extra inner decorative circle. */
.bp-mega-menu__nia-avatar::before {
    display: none !important;
    content: none !important;
}

/* Keep one clean white border around the portrait. */
.bp-mega-menu__nia-avatar img {
    width: 82px !important;
    height: 82px !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border: 5px solid #ffffff !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

/* Keep only one subtle outer ring. */
.bp-mega-menu__nia-avatar-ring {
    inset: -5px !important;
    border: 1px solid rgba(38, 91, 190, .18) !important;
    box-shadow: none !important;
    opacity: .85 !important;
}

/* Disable any additional nested ring effects. */
.bp-mega-menu__nia-avatar-ring::before,
.bp-mega-menu__nia-avatar-ring::after,
.bp-mega-menu__nia-avatar::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 1180px) {
    .bp-mega-menu__nia-avatar {
        width: 84px !important;
        height: 84px !important;
        flex-basis: 84px !important;
    }

    .bp-mega-menu__nia-avatar img {
        width: 74px !important;
        height: 74px !important;
        border-width: 4px !important;
    }
}

