@font-face {
    font-family: AvenirNext-Medium;
    src: url('/wp-content/uploads/AvenirNext-Medium.woff') format('woff');
    font-weight: 400 600;
    font-display: swap;
}

:root {
    --cbnl-blue: #5da9dd;
    --cbnl-blue-deep: #397fae;
    --cbnl-orange: #f8931c;
    --cbnl-ink: #292929;
    --cbnl-muted: #59636d;
    --cbnl-line: #dce7ee;
    --cbnl-soft: #f4f8fb;
    --cbnl-white: #fff;
}

.cbnl-elementor-issue { background: #fff; }
.cbnl-elementor-issue .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.cbnl-elementor-issue .elementor-heading-title { margin: 0; }
.cbnl-elementor-issue .cbnl-issue-summary { border-left: 3px solid #f8931c; }
.cbnl-elementor-issue .cbnl-issue-photo img { border-radius: 14px; max-height: 480px; object-fit: contain; }
.cbnl-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #eef3f6; }
.cbnl-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.cbnl-elementor-issue .cbnl-story-section { scroll-margin-top: 145px; }

.cbnl-archive-page #main,
.cbnl-single-issue #main {
    padding: 0 !important;
}

.cbnl-archive-page .rich-snippet-hidden {
    display: none !important;
}

.cbnl-archive-page #main > .fusion-row,
.cbnl-single-issue #main > .fusion-row {
    max-width: none !important;
}

.cbnl-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.cbnl-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    color: var(--cbnl-orange);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.1px;
    line-height: 1.2;
}

.cbnl-kicker::before {
    width: 30px;
    height: 2px;
    background: currentColor;
    content: "";
}

.cbnl-library,
.cbnl-library * {
    box-sizing: border-box;
}

.cbnl-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.65fr) minmax(190px, .75fr) auto;
    gap: 16px;
    align-items: end;
    padding: 24px;
    background: var(--cbnl-soft);
    border: 1px solid var(--cbnl-line);
    border-radius: 16px;
}

.cbnl-filter label {
    display: block;
    margin: 0 0 8px;
    color: var(--cbnl-ink);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cbnl-filter input,
.cbnl-filter select {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 16px;
    color: var(--cbnl-ink);
    background: var(--cbnl-white);
    border: 1px solid #cbdbe5;
    border-radius: 6px;
    box-shadow: none;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 15px;
}

.cbnl-filter input:focus,
.cbnl-filter select:focus {
    outline: 3px solid rgba(93, 169, 221, .2);
    border-color: var(--cbnl-blue);
}

.cbnl-search-control {
    position: relative;
}

.cbnl-search-control > span {
    position: absolute;
    top: 50%;
    left: 16px;
    color: var(--cbnl-blue-deep);
    font-size: 24px;
    line-height: 1;
    transform: translateY(-53%) rotate(-15deg);
}

.cbnl-filter .cbnl-search-control input {
    padding-left: 47px;
}

.cbnl-filter-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 52px;
}

.cbnl-filter-actions button,
.cbnl-empty-state a,
.cbnl-all-issues,
.cbnl-subscribe-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 22px;
    color: var(--cbnl-white) !important;
    background: var(--cbnl-blue);
    border: 0;
    border-radius: 5px;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cbnl-filter-actions button:hover,
.cbnl-filter-actions button:focus,
.cbnl-empty-state a:hover,
.cbnl-all-issues:hover,
.cbnl-subscribe-cta a:hover {
    color: var(--cbnl-white) !important;
    background: var(--cbnl-orange);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -20px rgba(41, 41, 41, .65);
}

.cbnl-filter-actions > a {
    color: var(--cbnl-blue-deep);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.cbnl-results-bar {
    scroll-margin-top: 150px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 34px 0 20px;
    padding-bottom: 16px;
    color: var(--cbnl-muted);
    border-bottom: 1px solid var(--cbnl-line);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
}

.cbnl-results-bar p {
    margin: 0;
}

.cbnl-results-bar:focus {
    outline: none;
}

.cbnl-results-bar strong {
    color: var(--cbnl-ink);
}

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

.cbnl-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 320px;
    overflow: hidden;
    background: var(--cbnl-white);
    border: 1px solid var(--cbnl-line);
    border-radius: 16px;
    box-shadow: 0 18px 45px -38px rgba(38, 63, 80, .8);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.cbnl-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--cbnl-orange);
    content: "";
}

.cbnl-card:hover {
    border-color: #9cc9e6;
    box-shadow: 0 26px 52px -38px rgba(38, 63, 80, .9);
    transform: translateY(-5px);
}

.cbnl-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 32px;
    color: var(--cbnl-white);
    background: var(--cbnl-blue);
    font-family: AvenirNext-Medium, Arial, sans-serif;
}

.cbnl-card-date span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
}

.cbnl-card-date strong {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
}

.cbnl-card-content {
    display: flex;
    flex-direction: column;
    padding: 31px 26px 27px;
}

.cbnl-card-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 17px;
}

.cbnl-card-topics span,
.cbnl-single-topics span {
    display: inline-flex;
    padding: 6px 9px 5px;
    color: #397fae;
    background: #eaf4fa;
    border-radius: 999px;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cbnl-card h3 {
    margin: 0 0 14px;
    font-family: pill-gothic-600mg, Arial, sans-serif !important;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.08;
}

.cbnl-card h3 a {
    color: var(--cbnl-ink);
    text-decoration: none;
}

.cbnl-card h3 a:hover {
    color: var(--cbnl-blue-deep);
}

.cbnl-card-content > p {
    flex: 1;
    margin: 0 0 24px;
    color: var(--cbnl-muted);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.cbnl-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    color: var(--cbnl-blue-deep) !important;
    border-top: 1px solid var(--cbnl-line);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.cbnl-card-link span {
    color: var(--cbnl-orange);
    font-size: 19px;
}

.cbnl-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 46px;
}

.cbnl-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    color: var(--cbnl-blue-deep);
    background: var(--cbnl-white);
    border: 1px solid var(--cbnl-line);
    border-radius: 5px;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.cbnl-pagination .current,
.cbnl-pagination a:hover {
    color: var(--cbnl-white);
    background: var(--cbnl-blue);
    border-color: var(--cbnl-blue);
}

.cbnl-empty-state {
    padding: 60px 24px;
    text-align: center;
    background: var(--cbnl-soft);
    border: 1px solid var(--cbnl-line);
    border-radius: 16px;
}

.cbnl-empty-state > span {
    display: block;
    margin-bottom: 10px;
    color: var(--cbnl-blue);
    font-size: 42px;
}

.cbnl-empty-state h3 {
    margin: 0 0 10px;
    color: var(--cbnl-ink);
    font-family: pill-gothic-600mg, Arial, sans-serif !important;
    font-size: 30px;
    font-weight: 400;
}

.cbnl-empty-state p {
    margin: 0 0 24px;
    color: var(--cbnl-muted);
}

.cbnl-single {
    overflow: hidden;
    color: var(--cbnl-ink);
    background: var(--cbnl-white);
}

.cbnl-single-hero {
    padding: 90px 0 88px;
    background: var(--cbnl-soft);
}

.cbnl-single-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 90px;
    align-items: center;
}

.cbnl-back-link {
    display: inline-flex;
    margin-bottom: 44px;
    color: var(--cbnl-blue-deep) !important;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.cbnl-single h1,
.cbnl-single h2,
.cbnl-single h3 {
    font-family: pill-gothic-600mg, Arial, sans-serif !important;
    font-weight: 400;
}

.cbnl-single h1 {
    max-width: 820px;
    margin: 0 0 26px;
    color: var(--cbnl-blue);
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1.03;
}

.cbnl-single-lead {
    max-width: 760px;
    margin: 0 0 28px;
    color: var(--cbnl-ink);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 19px;
    line-height: 1.62;
}

.cbnl-single-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cbnl-issue-stamp {
    position: relative;
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--cbnl-white);
    background: var(--cbnl-blue);
    border-radius: 24px;
    box-shadow: 0 28px 55px -35px rgba(42, 85, 112, .85);
    text-align: center;
}

.cbnl-issue-stamp::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 7px;
    background: var(--cbnl-orange);
    content: "";
}

.cbnl-issue-stamp span {
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .18em;
}

.cbnl-issue-stamp strong {
    margin: 8px 0 22px;
    font-family: pill-gothic-600mg, Arial, sans-serif;
    font-size: 55px;
    font-weight: 400;
    line-height: .9;
}

.cbnl-issue-stamp small {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, .35);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: .05em;
}

.cbnl-single-content {
    padding: 82px 0 96px;
}

.cbnl-reading-column {
    max-width: 900px;
}

.cbnl-issue-intro {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
    margin-bottom: 54px;
    padding: 24px 26px;
    background: var(--cbnl-soft);
    border-left: 4px solid var(--cbnl-orange);
    border-radius: 0 10px 10px 0;
}

.cbnl-issue-intro p {
    margin: 0;
    color: var(--cbnl-muted);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.cbnl-issue-intro a {
    flex: 0 0 auto;
    color: var(--cbnl-blue-deep) !important;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.cbnl-at-a-glance {
    margin-bottom: 60px;
    padding: 32px 34px;
    background: #fff;
    border: 1px solid var(--cbnl-line);
    border-radius: 15px;
}

.cbnl-at-a-glance h2 {
    margin: 0 0 18px;
    color: var(--cbnl-ink);
    font-size: 30px;
    line-height: 1.1;
}

.cbnl-at-a-glance ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbnl-at-a-glance li {
    position: relative;
    padding: 16px 16px 16px 37px;
    color: var(--cbnl-ink);
    background: var(--cbnl-soft);
    border-radius: 8px;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.cbnl-at-a-glance li::before {
    position: absolute;
    top: 17px;
    left: 16px;
    color: var(--cbnl-orange);
    content: "→";
    font-weight: 700;
}

.cbnl-story {
    position: relative;
    margin-bottom: 54px;
    padding: 0 0 54px 78px;
    border-bottom: 1px solid var(--cbnl-line);
}

.cbnl-story:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cbnl-story-number {
    position: absolute;
    top: -3px;
    left: 0;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--cbnl-white);
    background: var(--cbnl-blue);
    border-radius: 50%;
    font-family: pill-gothic-600mg, Arial, sans-serif;
    font-size: 21px;
}

.cbnl-story h2 {
    margin: 0 0 16px;
    color: var(--cbnl-blue);
    font-size: 34px;
    line-height: 1.08;
}

.cbnl-story p,
.cbnl-story blockquote {
    margin: 0 0 18px;
    color: var(--cbnl-ink);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.72;
}

.cbnl-story blockquote {
    margin: 24px 0;
    padding: 8px 0 8px 24px;
    color: var(--cbnl-muted);
    border-left: 3px solid var(--cbnl-orange);
    font-size: 16px;
    font-style: italic;
}

.cbnl-story a {
    color: var(--cbnl-blue-deep);
    font-weight: 600;
}

.cbnl-story .cbnl-story-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 5px;
    color: var(--cbnl-blue-deep) !important;
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.cbnl-story .cbnl-story-link span {
    color: var(--cbnl-orange);
    font-size: 19px;
}

.cbnl-issue-navigation {
    padding: 82px 0;
    background: var(--cbnl-soft);
}

.cbnl-nav-heading h2 {
    margin: 0 0 34px;
    color: var(--cbnl-blue);
    font-size: 42px;
    line-height: 1.08;
}

.cbnl-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.cbnl-nav-links > a {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    color: var(--cbnl-ink) !important;
    background: var(--cbnl-white);
    border: 1px solid var(--cbnl-line);
    border-radius: 12px;
    text-decoration: none !important;
    transition: border-color .2s ease, transform .2s ease;
}

.cbnl-nav-links > a:hover {
    border-color: var(--cbnl-blue);
    transform: translateY(-3px);
}

.cbnl-nav-links span {
    color: var(--cbnl-orange);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.cbnl-nav-links strong {
    font-family: pill-gothic-600mg, Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
}

.cbnl-subscribe-cta {
    padding: 70px 0;
    color: var(--cbnl-white);
    background: var(--cbnl-blue);
}

.cbnl-subscribe-cta .cbnl-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cbnl-subscribe-cta .cbnl-kicker {
    color: var(--cbnl-white);
}

.cbnl-subscribe-cta h2 {
    margin: 0 0 12px;
    color: var(--cbnl-white);
    font-size: 42px;
    line-height: 1.08;
}

.cbnl-subscribe-cta p:last-child {
    max-width: 680px;
    margin: 0;
    color: var(--cbnl-white);
    font-family: AvenirNext-Medium, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.cbnl-subscribe-cta a {
    color: var(--cbnl-blue-deep) !important;
    background: var(--cbnl-white);
}

@media (max-width: 1024px) {
    .cbnl-filters {
        grid-template-columns: 1fr 1fr;
    }

    .cbnl-filter-search {
        grid-column: 1 / -1;
    }

    .cbnl-filter-actions {
        justify-content: flex-end;
    }

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

    .cbnl-single-hero-grid {
        grid-template-columns: minmax(0, 1fr) 190px;
        gap: 50px;
    }

    .cbnl-issue-stamp {
        min-height: 200px;
    }
}

@media (max-width: 767px) {
    .cbnl-shell {
        width: min(100% - 36px, 1180px);
    }

    .cbnl-filters {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .cbnl-filter-search {
        grid-column: auto;
    }

    .cbnl-filter-actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .cbnl-filter-actions button {
        width: 100%;
    }

    .cbnl-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .cbnl-grid {
        grid-template-columns: 1fr;
    }

    .cbnl-card {
        min-height: 0;
    }

    .cbnl-single-hero {
        padding: 62px 0 66px;
    }

    .cbnl-single-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .cbnl-back-link {
        margin-bottom: 32px;
    }

    .cbnl-single h1 {
        font-size: 43px;
    }

    .cbnl-single-lead {
        font-size: 17px;
    }

    .cbnl-issue-stamp {
        width: 180px;
        min-height: 180px;
    }

    .cbnl-single-content {
        padding: 62px 0 72px;
    }

    .cbnl-issue-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .cbnl-at-a-glance {
        padding: 26px 22px;
    }

    .cbnl-at-a-glance ul {
        grid-template-columns: 1fr;
    }

    .cbnl-story {
        padding-left: 0;
        padding-top: 65px;
    }

    .cbnl-story h2 {
        font-size: 30px;
    }

    .cbnl-story p,
    .cbnl-story blockquote {
        font-size: 16px;
    }

    .cbnl-nav-links {
        grid-template-columns: 1fr;
    }

    .cbnl-subscribe-cta .cbnl-shell {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .cbnl-subscribe-cta h2,
    .cbnl-nav-heading h2 {
        font-size: 34px;
    }
}
