.fbd-article {
    --fbd-accent: #b3282d;
    --fbd-content-width: 900px;
    color: #242424;
    margin: 0 auto 4rem;
    max-width: var(--fbd-content-width);
    width: 100%;
}

.fbd-article *,
.fbd-article *::before,
.fbd-article *::after {
    box-sizing: border-box;
}

.fbd-header {
    margin: 0 auto 2rem;
    max-width: 780px;
    padding: clamp(2rem, 6vw, 5rem) 1.25rem 0;
    text-align: center;
}

.fbd-heading {
    position: relative;
    z-index: 1;
}

.fbd-title {
    color: inherit;
    font-size: clamp(2.2rem, 5.2vw, 4.5rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin: 0 auto;
    max-width: 16ch;
}

.fbd-meta {
    align-items: center;
    color: #707070;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    gap: 0.65rem;
    justify-content: center;
    margin: 0 0 1.1rem;
}

.fbd-meta-separator {
    color: var(--fbd-accent);
    font-size: 1.25rem;
}

.fbd-excerpt {
    color: #666;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin: 1.2rem auto 0;
    max-width: 58ch;
}

.fbd-featured {
    margin: 0 auto 2.5rem;
    overflow: hidden;
}

.fbd-featured-image {
    display: block;
    height: auto;
    max-height: 680px;
    object-fit: cover;
    width: 100%;
}

.fbd-content {
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0 auto;
    max-width: 720px;
    padding: 0 1.25rem;
}

.fbd-content > :first-child {
    margin-top: 0;
}

.fbd-content h2,
.fbd-content h3,
.fbd-content h4 {
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 2.2em 0 0.7em;
}

.fbd-content a {
    color: var(--fbd-accent);
    text-underline-offset: 0.18em;
}

.fbd-content blockquote {
    border-left: 3px solid var(--fbd-accent);
    font-size: 1.2em;
    margin: 2em 0;
    padding: 0.25em 0 0.25em 1.25em;
}

.fbd-content img,
.fbd-content video {
    height: auto;
    max-width: 100%;
}

.fbd-content figure {
    margin-left: 0;
    margin-right: 0;
}

.fbd-related {
    border-top: 1px solid #e8e8e8;
    margin: 4rem auto 0;
    max-width: 900px;
    padding: 2.5rem 1.25rem 0;
}

.fbd-related h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.035em;
    margin: 0 0 1.5rem;
}

.fbd-related-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fbd-related-card {
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    text-decoration: none;
}

.fbd-related-image {
    aspect-ratio: 1.55;
    border-radius: 0.5rem;
    object-fit: cover;
    width: 100%;
}

.fbd-related-date {
    color: #707070;
    font-size: 0.8rem;
}

.fbd-related-title {
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.35;
}

.fbd-related-card:hover .fbd-related-title {
    color: var(--fbd-accent);
}

.fbd-layout-editorial .fbd-header {
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 2.5rem;
    max-width: none;
    padding: clamp(2rem, 5vw, 4rem) 1.25rem 2rem;
    text-align: left;
}

.fbd-layout-editorial .fbd-heading {
    margin: 0 auto;
    max-width: 900px;
}

.fbd-layout-editorial .fbd-title {
    margin-left: 0;
    max-width: 18ch;
}

.fbd-layout-editorial .fbd-meta {
    justify-content: flex-start;
}

.fbd-layout-editorial .fbd-excerpt {
    margin-left: 0;
}

.fbd-layout-editorial .fbd-featured {
    border-radius: 0.35rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.fbd-layout-cover .fbd-header-cover {
    align-items: end;
    display: flex;
    isolation: isolate;
    margin: 0 0 2.5rem;
    max-width: none;
    min-height: clamp(360px, 55vw, 640px);
    overflow: hidden;
    padding: clamp(2rem, 6vw, 5rem);
    position: relative;
    text-align: left;
}

.fbd-cover-image,
.fbd-cover-image::after {
    inset: 0;
    position: absolute;
}

.fbd-cover-image {
    z-index: -2;
}

.fbd-cover-image::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 72%), rgb(0 0 0 / 8%));
    content: "";
    z-index: 1;
}

.fbd-cover-image .fbd-featured-image {
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.fbd-header-cover .fbd-heading {
    color: #fff;
    margin: 0 auto;
    max-width: 1050px;
    width: 100%;
}

.fbd-header-cover .fbd-title {
    margin-left: 0;
    max-width: 16ch;
}

.fbd-header-cover .fbd-meta,
.fbd-header-cover .fbd-excerpt {
    color: rgb(255 255 255 / 84%);
    justify-content: flex-start;
    margin-left: 0;
}

body.single-post main > article:not(.fbd-article) .entry-header .entry-title,
body.single-post .site-main > article:not(.fbd-article) .entry-header .entry-title,
body.single-post main > article:not(.fbd-article) > .wp-block-post-title,
body.single-post .site-main > article:not(.fbd-article) > .wp-block-post-title {
    display: none;
}

body.single-post main > article:not(.fbd-article) > .post-thumbnail,
body.single-post .site-main > article:not(.fbd-article) > .post-thumbnail,
body.single-post main > article:not(.fbd-article) > .wp-block-post-featured-image,
body.single-post .site-main > article:not(.fbd-article) > .wp-block-post-featured-image {
    display: none;
}

.fbd-article.fbd-has-sections {
    max-width: none;
}

.fbd-has-sections .fbd-header {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--fbd-content-width);
    text-align: left;
}

.fbd-has-sections .fbd-header .fbd-title,
.fbd-has-sections .fbd-header .fbd-excerpt {
    margin-left: 0;
    text-align: left;
}

.fbd-has-sections .fbd-header .fbd-meta {
    justify-content: flex-start;
}

.fbd-hero {
    margin: 0 0 2rem;
}

.fbd-hero-copy,
.fbd-section-inner,
.fbd-table-inner,
.fbd-cta-inner {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--fbd-content-width);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.fbd-hero .fbd-title {
    margin: 0 0 0.8rem;
    max-width: 16ch;
    text-align: left;
}

.fbd-kicker {
    color: var(--fbd-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
}

.fbd-standfirst {
    color: #444;
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.55;
    max-width: 42rem;
}

.fbd-standfirst > :first-child {
    margin-top: 0;
}

.fbd-standfirst > :last-child {
    margin-bottom: 0;
}

.fbd-byline {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
    margin: 1.15rem 0 0;
}

.fbd-byline a {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.fbd-author-more {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.fbd-date,
.fbd-credit {
    color: #707070;
    font-size: 0.84rem;
}

.fbd-date {
    display: block;
    margin-top: 0.35rem;
}

.fbd-hero-media {
    margin: 0;
}

.fbd-hero-image,
.fbd-photo-image,
.fbd-split-image {
    display: block;
    height: auto;
    width: 100%;
}

.fbd-hero-stacked .fbd-hero-media,
.fbd-hero-cover,
.fbd-photo-bleed,
.fbd-cta {
    margin-left: calc(50% - 50vw);
    width: 100vw;
}

.fbd-hero-stacked .fbd-hero-image {
    max-height: 640px;
    object-fit: cover;
}

.fbd-hero-stacked .fbd-hero-copy,
.fbd-hero-minimal .fbd-hero-copy {
    padding-top: clamp(1.5rem, 4vw, 3rem);
}

.fbd-hero-stacked .fbd-credit,
.fbd-photo figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.45rem;
    padding: 0 1.25rem;
}

.fbd-hero-cover {
    align-items: flex-end;
    color: #fff;
    display: flex;
    isolation: isolate;
    min-height: clamp(420px, 62vw, 680px);
    overflow: hidden;
    position: relative;
}

.fbd-hero-cover .fbd-hero-media,
.fbd-hero-cover .fbd-hero-media::after {
    inset: 0;
    position: absolute;
}

.fbd-hero-cover .fbd-hero-media {
    z-index: -2;
}

.fbd-hero-cover .fbd-hero-media::after {
    background: linear-gradient(180deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 74%));
    content: "";
    z-index: 1;
}

.fbd-hero-cover .fbd-hero-image {
    height: 100%;
    max-height: none;
    object-fit: cover;
}

.fbd-hero-cover .fbd-hero-copy {
    padding-bottom: clamp(1.6rem, 4vw, 3.2rem);
    padding-top: clamp(2rem, 6vw, 4rem);
    position: relative;
    width: 100%;
    z-index: 1;
}

.fbd-hero-cover .fbd-standfirst,
.fbd-hero-cover .fbd-date,
.fbd-hero-cover .fbd-credit,
.fbd-hero-cover .fbd-byline {
    color: rgb(255 255 255 / 86%);
}

.fbd-hero-cover .fbd-kicker,
.fbd-hero-cover .fbd-title,
.fbd-hero-cover .fbd-byline a {
    color: #fff;
}

.fbd-hero-cover .fbd-credit {
    bottom: 0.8rem;
    margin: 0;
    position: absolute;
    right: 1.25rem;
    z-index: 1;
}

.fbd-hero-split .fbd-hero-grid,
.fbd-split {
    align-items: center;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
    max-width: var(--fbd-content-width);
    padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 0;
}

.fbd-hero-split .fbd-hero-copy,
.fbd-split-copy {
    max-width: none;
    padding: 0;
}

.fbd-split-right .fbd-split-media {
    order: 2;
}

.fbd-split-image {
    aspect-ratio: 1.15;
    object-fit: cover;
}

.fbd-split h2,
.fbd-block-section h2,
.fbd-table-block h2,
.fbd-related h2,
.fbd-cta h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 0.8rem;
}

.fbd-jumpnav {
    margin: 0 auto 1.5rem;
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

.fbd-jumpnav-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.fbd-jumpnav a {
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    color: inherit;
    font-size: 0.92rem;
    padding: 0.42rem 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.fbd-jumpnav a:hover,
.fbd-jumpnav a:focus-visible {
    border-color: var(--fbd-accent);
    color: var(--fbd-accent);
}

.fbd-block-section {
    margin: 2.4rem auto;
    scroll-margin-top: 1.25rem;
}

.fbd-width-narrow .fbd-section-inner {
    max-width: 720px;
}

.fbd-tone-muted {
    background: #f5f5f5;
    padding: 2rem 0;
}

.fbd-tone-intro .fbd-prose {
    font-size: 1.2rem;
}

.fbd-prose,
.fbd-sections > p,
.fbd-sections > ul,
.fbd-sections > ol,
.fbd-sections > h2,
.fbd-sections > h3,
.fbd-sections > h4,
.fbd-sections > blockquote,
.fbd-sections > pre,
.fbd-sections > .wp-block-image,
.fbd-sections > figure.wp-block-image {
    font-size: 1.08rem;
    line-height: 1.85;
}

.fbd-sections > p,
.fbd-sections > ul,
.fbd-sections > ol,
.fbd-sections > h2,
.fbd-sections > h3,
.fbd-sections > h4,
.fbd-sections > blockquote,
.fbd-sections > pre,
.fbd-sections > .wp-block-image,
.fbd-sections > figure.wp-block-image {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.fbd-prose > :first-child,
.fbd-cta-text > :first-child {
    margin-top: 0;
}

.fbd-prose a,
.fbd-standfirst a,
.fbd-quote a {
    color: var(--fbd-accent);
    text-underline-offset: 0.18em;
}

.fbd-quote {
    margin: 2.6rem auto;
    max-width: 820px;
    padding: 0 1.25rem;
}

.fbd-quote blockquote {
    border: 0;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    letter-spacing: -0.03em;
    line-height: 1.28;
    margin: 0;
    padding: 0;
}

.fbd-quote blockquote::before {
    color: var(--fbd-accent);
    content: "“";
    display: block;
    font-size: 3rem;
    line-height: 0.8;
}

.fbd-quote figcaption {
    display: grid;
    gap: 0.15rem;
    margin-top: 1rem;
}

.fbd-quote figcaption span,
.fbd-photo-caption {
    color: #666;
}

.fbd-photo {
    margin: 2rem auto;
}

.fbd-photo-contained {
    max-width: 720px;
    padding: 0 1.25rem;
}

.fbd-photo-wide {
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

.fbd-photo-bleed {
    max-width: none;
    padding: 0;
}

.fbd-photo-bleed figcaption {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--fbd-content-width);
}

.fbd-stats {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    margin: 2rem auto;
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

.fbd-stat {
    margin: 0;
}

.fbd-stat-value {
    color: var(--fbd-accent);
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1;
}

.fbd-stat-label {
    color: #444;
    display: block;
    margin-top: 0.45rem;
}

.fbd-table-block {
    margin: 2.4rem auto;
    scroll-margin-top: 1.25rem;
}

.fbd-table-wrap {
    overflow-x: auto;
}

.fbd-table {
    border-collapse: collapse;
    font-size: 0.98rem;
    line-height: 1.45;
    min-width: 520px;
    width: 100%;
}

.fbd-table th,
.fbd-table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 0.85rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.fbd-table thead th {
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.fbd-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem auto;
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

.fbd-btn {
    align-items: center;
    border-radius: 2px;
    display: inline-flex;
    font-weight: 700;
    min-height: 46px;
    padding: 0.55rem 1rem;
    text-decoration: none;
}

.fbd-btn-primary {
    background: var(--fbd-accent);
    color: #fff;
}

.fbd-btn-secondary {
    border: 1px solid #222;
    color: #222;
}

.fbd-btn-primary:hover,
.fbd-btn-primary:focus-visible,
.fbd-btn-secondary:hover,
.fbd-btn-secondary:focus-visible {
    transform: translateY(-1px);
}

.fbd-note {
    color: #666;
    font-size: 0.92rem;
    margin: 2rem auto;
    max-width: 720px;
    padding: 0 1.25rem;
}

.fbd-note-heading {
    color: #222;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}

.fbd-note .fbd-prose {
    font-size: 0.92rem;
    line-height: 1.6;
}

.fbd-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    margin: 1.5rem auto;
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

.fbd-cats a {
    color: var(--fbd-accent);
    font-weight: 700;
    text-decoration: none;
}

.fbd-cta {
    background: #1c1a1f;
    color: #fff;
    margin-top: 3rem;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.fbd-cta .fbd-cta-text,
.fbd-cta p {
    color: rgb(255 255 255 / 82%);
    max-width: 38rem;
}

.fbd-cta .fbd-btn-primary {
    background: #fff;
    color: #1c1a1f;
    margin-top: 0.4rem;
}

.fbd-has-sections .fbd-related {
    max-width: var(--fbd-content-width);
}

.fbd-columns {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: var(--fbd-content-width);
    padding: 0 1.25rem;
}

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

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

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

.fbd-spacer {
    width: 100%;
}

.fbd-divider {
    border: 0;
    border-top: 1px solid #e4e4e4;
    margin: 2rem auto;
    max-width: var(--fbd-content-width);
}

html:has(.fbd-has-sections) {
    scroll-behavior: smooth;
}

body.fbd-custom-post main > article > .entry-header,
body.fbd-custom-post .site-main > article > .entry-header,
body.fbd-custom-post main > article > .wp-block-post-title,
body.fbd-custom-post .site-main > article > .wp-block-post-title,
body.fbd-custom-post main > .wp-block-post-title,
body.fbd-custom-post .site-main > .wp-block-post-title,
body.fbd-custom-post main > article > .post-thumbnail,
body.fbd-custom-post .site-main > article > .post-thumbnail,
body.fbd-custom-post main > article > .wp-block-post-featured-image,
body.fbd-custom-post .site-main > article > .wp-block-post-featured-image {
    display: none;
}

@media (max-width: 800px) {
    .fbd-hero-split .fbd-hero-grid,
    .fbd-split {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .fbd-split-right .fbd-split-media {
        order: 0;
    }

    .fbd-columns-2,
    .fbd-columns-3 {
        grid-template-columns: 1fr;
    }

    .fbd-hero-stacked .fbd-hero-media,
    .fbd-hero-cover,
    .fbd-photo-bleed,
    .fbd-cta {
        margin-left: 0;
        width: auto;
    }
}

@media (max-width: 640px) {
    .fbd-article {
        width: 100%;
    }

    .fbd-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .fbd-content {
        font-size: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .fbd-related-grid {
        grid-template-columns: 1fr;
    }

    .fbd-layout-cover .fbd-header-cover {
        min-height: 420px;
        padding: 1.5rem;
    }
}
