.br-blog {
    --blog-ink: #102f38;
    --blog-muted: #65777c;
    --blog-accent: #319795;
    --blog-accent-dark: #267d7b;
    --blog-coral: #e46661;
    --blog-cream: #f5efe5;
    --blog-soft: #f4f8f7;
    --blog-line: #dbe5e4;
    color: var(--blog-ink);
    background: #fff;
    font-family: 'Outfit', sans-serif;
    overflow-x: clip;
}

.br-blog *,
.br-blog *::before,
.br-blog *::after {
    box-sizing: border-box;
}

.br-blog h1,
.br-blog h2,
.br-blog h3 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}

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

.br-eyebrow,
.br-story-label {
    margin: 0 0 13px;
    color: var(--blog-coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    line-height: 1.3;
    text-transform: uppercase;
}

.br-blog-hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 132px;
    background:
        radial-gradient(circle at 78% 18%, rgba(49, 151, 149, .28), transparent 31%),
        linear-gradient(125deg, #092d37 0%, #103e49 62%, #17626a 100%);
    color: #fff;
}

.br-blog-hero::after {
    position: absolute;
    right: -95px;
    bottom: -165px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
    content: '';
}

.br-blog-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: end;
    gap: 72px;
}

.br-blog-hero h1,
.br-featured-story h2,
.br-section-heading h2,
.br-blog-empty h2,
.br-journal-signup h2,
.br-article-hero h1 {
    margin: 0;
    color: inherit;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.035em;
}

.br-blog-hero h1 {
    max-width: 760px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
}

.br-blog-hero__copy {
    max-width: 430px;
    margin: 0 0 6px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.75;
}

.br-featured-story {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr);
    min-height: 480px;
    margin-top: -68px;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(13, 53, 64, .16);
}

.br-featured-story__image,
.br-story-card__image {
    display: block;
    overflow: hidden;
    background: #dce7e6;
}

.br-featured-story__image img,
.br-story-card__image img,
.br-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.br-featured-story:hover .br-featured-story__image img,
.br-story-card:hover .br-story-card__image img {
    transform: scale(1.025);
}

.br-featured-story__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 54px 50px;
    min-width: 0;
}

.br-featured-story h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.07;
}

.br-featured-story h2 a,
.br-story-card h3 a {
    color: inherit;
    text-decoration: none;
}

.br-featured-story__content > p:not(.br-story-label) {
    margin: 24px 0 19px;
    color: var(--blog-muted);
    font-size: 16px;
    line-height: 1.75;
}

.br-story-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #718085;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.br-story-meta > span[aria-hidden='true'] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blog-accent);
}

.br-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 30px;
    color: var(--blog-accent-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.br-text-link span {
    transition: transform .2s ease;
}

.br-text-link:hover {
    color: var(--blog-ink);
}

.br-text-link:hover span {
    transform: translateX(4px);
}

.br-story-section,
.br-related-stories {
    padding: 108px 0 118px;
}

.br-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 42px;
}

.br-section-heading h2,
.br-blog-empty h2,
.br-journal-signup h2 {
    color: var(--blog-ink);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
}

.br-section-heading > p {
    max-width: 440px;
    margin: 0 0 5px;
    color: var(--blog-muted);
    font-size: 15px;
    line-height: 1.7;
}

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

.br-story-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--blog-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(19, 56, 64, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.br-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(19, 56, 64, .12);
}

.br-story-card__image {
    aspect-ratio: 16 / 10;
}

.br-story-card__body {
    padding: 25px 26px 29px;
}

.br-story-card h3 {
    margin: 15px 0 12px;
    color: var(--blog-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.br-story-card h3 a:hover {
    color: var(--blog-accent-dark);
}

.br-story-card__body > p {
    min-height: 67px;
    margin: 0;
    color: var(--blog-muted);
    font-size: 14px;
    line-height: 1.62;
}

.br-story-card .br-text-link {
    margin-top: 22px;
}

.br-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid var(--blog-line);
}

.br-pagination__nav {
    color: var(--blog-accent-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.br-pagination__nav:last-child {
    text-align: right;
}

.br-pagination__nav.is-disabled {
    color: #a9b4b6;
}

.br-pagination__status {
    color: var(--blog-muted);
    font-size: 13px;
}

.br-blog-empty {
    max-width: 720px;
    margin: 80px auto 110px;
    padding: 64px 40px;
    border: 1px solid var(--blog-line);
    border-radius: 20px;
    background: var(--blog-soft);
    text-align: center;
}

.br-blog-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    color: var(--blog-accent);
    font-size: 22px;
}

.br-blog-empty p {
    margin: 17px auto 28px;
    color: var(--blog-muted);
}

.br-button,
.br-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    background: var(--blog-accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.br-button:hover,
.br-newsletter-form button:hover {
    background: var(--blog-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.br-journal-signup {
    padding: 78px 0;
    background: var(--blog-cream);
}

.br-journal-signup__inner {
    display: grid;
    grid-template-columns: 1fr minmax(380px, .8fr);
    align-items: center;
    gap: 80px;
}

.br-journal-signup__inner > div:first-child > p:last-child {
    max-width: 600px;
    margin: 18px 0 0;
    color: #66767a;
    font-size: 15px;
    line-height: 1.65;
}

.br-newsletter-form {
    display: flex;
    padding: 6px;
    border: 1px solid #d6ddd8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(54, 60, 53, .08);
}

.br-newsletter-form input {
    min-width: 0;
    flex: 1;
    padding: 0 16px;
    border: 0;
    outline: 0;
    color: var(--blog-ink);
    font: inherit;
}

.br-newsletter-form button {
    min-height: 45px;
    cursor: pointer;
}

.br-journal-signup small {
    display: block;
    margin-top: 10px;
    color: #7f8a8b;
    font-size: 12px;
}

.br-form-message {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
}

.br-form-message.is-success { color: #267d65; }
.br-form-message.is-error { color: #b42318; }

.br-blog .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Article page */
.br-article-hero {
    padding: 56px 0 115px;
    background: linear-gradient(180deg, #f3f7f6 0%, #fff 100%);
}

.br-breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 64px;
    color: #809094;
    font-size: 13px;
}

.br-breadcrumb a {
    color: #51676d;
    text-decoration: none;
}

.br-breadcrumb a:hover {
    color: var(--blog-accent-dark);
}

.br-article-hero__content {
    min-width: 0;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.br-article-hero h1 {
    margin-bottom: 26px;
    color: var(--blog-ink);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.04;
}

.br-article-hero .br-story-meta {
    justify-content: center;
}

.br-article-cover {
    position: relative;
    z-index: 2;
    height: clamp(340px, 51vw, 625px);
    margin: -70px 0 76px;
    overflow: hidden;
    border-radius: 20px;
    background: #dce7e6;
    box-shadow: 0 20px 55px rgba(15, 53, 62, .14);
}

.br-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 230px;
    justify-content: center;
    align-items: start;
    gap: 76px;
}

.br-article-body {
    min-width: 0;
    color: #304a51;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.br-article-body > *:first-child {
    margin-top: 0;
}

.br-article-body > * {
    max-width: 100%;
}

.br-article-body h2,
.br-article-body h3,
.br-article-body h4 {
    color: var(--blog-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.br-article-body h2 {
    margin: 54px 0 19px;
    font-size: 36px;
}

.br-article-body h3 {
    margin: 38px 0 16px;
    font-size: 28px;
}

.br-article-body p,
.br-article-body ul,
.br-article-body ol,
.br-article-body blockquote {
    margin: 0 0 25px;
}

/* CKEditor can wrap pasted plain text in a pre block. Keep its intentional
   line breaks, but never allow a long line to run beneath the share panel. */
.br-article-body pre {
    max-width: 100%;
    margin: 0 0 25px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
}

.br-article-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.br-article-body iframe,
.br-article-body video {
    max-width: 100%;
}

.br-article-body ul,
.br-article-body ol {
    padding-left: 24px;
}

.br-article-body li {
    margin-bottom: 9px;
}

.br-article-body a {
    color: var(--blog-accent-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.br-article-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0 28px;
    border-radius: 13px;
}

.br-article-body blockquote {
    padding: 8px 0 8px 28px;
    border-left: 3px solid var(--blog-accent);
    color: var(--blog-ink);
    font-size: 22px;
    font-style: italic;
}

.br-article-aside {
    position: sticky;
    top: 110px;
}

.br-article-aside__card {
    padding: 24px;
    border: 1px solid var(--blog-line);
    border-radius: 14px;
    background: var(--blog-soft);
}

.br-share-list {
    display: grid;
    gap: 5px;
}

.br-share-list a,
.br-share-list button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 8px;
    border: 0;
    background: transparent;
    color: #385259;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.br-share-list a:hover,
.br-share-list button:hover {
    color: var(--blog-accent-dark);
}

.br-share-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid #d2dfdd;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
}

.br-back-link {
    display: inline-block;
    margin-top: 21px;
    color: var(--blog-accent-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.br-related-stories {
    margin-top: 100px;
    border-top: 1px solid var(--blog-line);
}

@media (max-width: 1000px) {
    .br-featured-story {
        grid-template-columns: 1.2fr 1fr;
    }

    .br-featured-story__content {
        padding: 40px 36px;
    }

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

    .br-article-layout {
        grid-template-columns: minmax(0, 1fr) 205px;
        gap: 45px;
    }
}

@media (max-width: 760px) {
    .br-blog-shell {
        width: min(calc(100% - 32px), 1180px);
    }

    .br-blog-hero {
        padding: 72px 0 112px;
    }

    .br-blog-hero__inner,
    .br-journal-signup__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .br-featured-story {
        grid-template-columns: 1fr;
        margin-top: -55px;
    }

    .br-featured-story__image {
        min-height: 310px;
    }

    .br-featured-story__content {
        padding: 38px 30px 42px;
    }

    .br-section-heading {
        display: block;
    }

    .br-section-heading > p {
        margin-top: 18px;
    }

    .br-story-section,
    .br-related-stories {
        padding: 75px 0 85px;
    }

    .br-journal-signup {
        padding: 62px 0;
    }

    .br-article-hero {
        padding: 35px 0 92px;
    }

    .br-breadcrumb {
        margin-bottom: 45px;
    }

    .br-article-cover {
        margin-bottom: 55px;
        border-radius: 14px;
    }

    .br-article-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .br-article-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .br-blog-hero h1 {
        font-size: 38px;
        line-height: 1.04;
    }

    .br-featured-story__image {
        min-height: 240px;
    }

    .br-story-grid {
        grid-template-columns: 1fr;
    }

    .br-story-card__body > p {
        min-height: auto;
    }

    .br-newsletter-form {
        display: grid;
        gap: 8px;
        padding: 8px;
    }

    .br-newsletter-form input {
        min-height: 45px;
    }

    .br-pagination__status {
        font-size: 11px;
    }

    .br-article-hero h1 {
        font-size: 34px;
    }

    .br-article-cover {
        height: 270px;
    }

    .br-article-body {
        font-size: 17px;
        line-height: 1.8;
    }

    .br-article-body h2 {
        font-size: 30px;
    }
}
