.blog-preview-banner {
    border-bottom: 1px solid #e9d58a;
    background: #fff2c8;
    padding: .7rem 1rem;
    color: #5f4c13;
    text-align: center;
    font-size: .8rem;
    font-weight: 850;
}

.blog-article-page {
    min-height: 70vh;
    padding: 1rem 0 clamp(4rem, 8vw, 7rem);
    background: #fff;
}

.blog-breadcrumb {
    display: flex;
    gap: .4rem;
    align-items: center;
    overflow: hidden;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    color: #8a968f;
    font-size: .75rem;
    white-space: nowrap;
}

.blog-breadcrumb a,
.blog-breadcrumb span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-breadcrumb a {
    color: #617269;
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-article-header {
    max-width: 58rem;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.blog-article-category {
    display: inline-block;
    margin-bottom: .7rem;
    color: #778f80;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-article-header h1 {
    margin: 0;
    color: #24342b;
    font-size: clamp(2.35rem, 6.5vw, 5.2rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.blog-article-excerpt {
    max-width: 48rem;
    margin: 1.1rem auto 0;
    color: #617269;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
}

.blog-article-byline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem .55rem;
    margin-top: 1.1rem;
    color: #88948d;
    font-size: .75rem;
    font-weight: 700;
}

.blog-main-image {
    max-width: 74rem;
    margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
}

.blog-main-image img {
    display: block;
    width: 100%;
    max-height: 46rem;
    border-radius: clamp(.9rem, 2vw, 1.35rem);
    object-fit: cover;
}

.blog-main-image figcaption {
    padding: .5rem .2rem 0;
    color: #89958e;
    font-size: .72rem;
    text-align: center;
}

.blog-reading-layout {
    display: grid;
    max-width: 63rem;
    margin: 0 auto;
}

.blog-reading-tools {
    min-width: 0;
}

.blog-reading-tools__inner {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e4eae6;
    padding-bottom: 1rem;
}

.blog-reading-tools__inner > span {
    margin-right: .2rem;
    color: #8a968f;
    font-size: .7rem;
    font-weight: 850;
    text-transform: uppercase;
}

.blog-reading-tools button {
    min-height: 2.25rem;
    border: 1px solid #dce4df;
    border-radius: .65rem;
    background: #fff;
    padding: .4rem .65rem;
    color: #52675b;
    font-size: .72rem;
    font-weight: 800;
}

.blog-reading-tools button:hover {
    border-color: #b7c5bc;
    background: #edf3ef;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.blog-tags a {
    color: #718078;
    font-size: .7rem;
    font-weight: 750;
    text-decoration: none;
}

.blog-tags a:hover {
    color: #2e4438;
    text-decoration: underline;
}

.blog-rich-content {
    min-width: 0;
    max-width: 46rem;
    color: #35473d;
    font-size: clamp(1rem, 1.6vw, 1.08rem);
    line-height: 1.86;
}

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

.blog-rich-content > :last-child {
    margin-bottom: 0;
}

.blog-rich-content p {
    margin: 0 0 1.35em;
}

.blog-rich-content h2,
.blog-rich-content h3,
.blog-rich-content h4 {
    color: #24342b;
    line-height: 1.16;
    letter-spacing: -.03em;
    scroll-margin-top: 2rem;
}

.blog-rich-content h2 {
    margin: 2.2em 0 .75em;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem);
}

.blog-rich-content h3 {
    margin: 1.8em 0 .65em;
    font-size: clamp(1.3rem, 2.8vw, 1.65rem);
}

.blog-rich-content h4 {
    margin: 1.5em 0 .55em;
    font-size: 1.15rem;
}

.blog-rich-content a {
    color: #435b4d;
    font-weight: 750;
    text-decoration-thickness: .08em;
    text-underline-offset: .15em;
}

.blog-rich-content blockquote {
    margin: 2rem 0;
    border-left: .22rem solid #a4b7ab;
    padding: .3rem 0 .3rem 1.2rem;
    color: #52675b;
    font-size: 1.08em;
    font-style: italic;
}

.blog-rich-content ul,
.blog-rich-content ol {
    margin: 0 0 1.4em;
    padding-left: 1.25rem;
}

.blog-rich-content li + li {
    margin-top: .45rem;
}

.blog-rich-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: .9rem;
}

.blog-rich-content figure {
    margin: 2rem 0;
}

.blog-rich-content figure img {
    margin-bottom: .5rem;
}

.blog-rich-content figcaption {
    color: #89958e;
    font-size: .75rem;
    text-align: center;
}

.blog-rich-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.6rem 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.blog-rich-content th,
.blog-rich-content td {
    border: 1px solid #dce4df;
    padding: .7rem;
    text-align: left;
}

.blog-rich-content th {
    background: #f5f8f6;
    color: #2e4438;
}

.blog-rich-content pre {
    overflow: auto;
    margin: 1.5rem 0;
    border-radius: .8rem;
    background: #18251e;
    padding: 1rem;
    color: #eef5f0;
    font-size: .86rem;
    line-height: 1.6;
}

.blog-rich-content code {
    font-size: .9em;
}

.blog-gallery,
.blog-related {
    max-width: 74rem;
    margin: clamp(3.5rem, 8vw, 6rem) auto 0;
    border-top: 1px solid #e1e7e3;
    padding-top: clamp(2.5rem, 6vw, 4rem);
}

.blog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-section-heading h2 {
    margin: 0;
    color: #24342b;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    letter-spacing: -.035em;
}

.blog-section-heading > span,
.blog-section-heading > a {
    color: #7d8982;
    font-size: .75rem;
    font-weight: 750;
}

.blog-section-heading > a {
    text-decoration: none;
}

.blog-section-heading > a:hover {
    text-decoration: underline;
}

.blog-gallery__grid {
    display: grid;
    gap: .65rem;
}

.blog-gallery figure {
    margin: 0;
}

.blog-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: .8rem;
    object-fit: cover;
}

.blog-gallery figcaption {
    margin-top: .4rem;
    color: #8a968f;
    font-size: .72rem;
}

.blog-related__grid {
    display: grid;
    gap: 1rem;
}

.blog-related-card {
    overflow: hidden;
    border: 1px solid rgb(46 68 56 / .1);
    border-radius: .9rem;
    background: #fff;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.blog-related-card:hover {
    border-color: #b9c7be;
    box-shadow: 0 12px 30px rgb(46 68 56 / .07);
}

.blog-related-card__media {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    background: #edf3ef;
    color: #778f80;
    text-decoration: none;
}

.blog-related-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.blog-related-card:hover img {
    transform: scale(1.035);
}

.blog-related-card > div {
    padding: .9rem;
}

.blog-related-card > div > span {
    color: #778f80;
    font-size: .65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.blog-related-card h3 {
    margin: .4rem 0 0;
    font-size: .95rem;
    line-height: 1.35;
}

.blog-related-card h3 a {
    color: #24342b;
    text-decoration: none;
}

.blog-article-footer {
    max-width: 74rem;
    margin: clamp(3rem, 7vw, 5rem) auto 0;
    border-top: 1px solid #e1e7e3;
    padding-top: 1.2rem;
}

.blog-article-footer a {
    color: #52675b;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-article-footer a:hover {
    text-decoration: underline;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .45s ease, transform .45s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 48rem) {
    .blog-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (min-width: 62rem) {
    .blog-reading-layout {
        grid-template-columns: 8.5rem minmax(0, 46rem);
        gap: 2.5rem;
        justify-content: center;
    }

    .blog-reading-tools__inner {
        position: sticky;
        top: 1.25rem;
        display: grid;
        align-content: start;
        margin: 0;
        border: 0;
        padding: 0;
    }

    .blog-reading-tools__inner > span {
        margin: 0 0 .15rem;
    }

    .blog-reading-tools button {
        width: 100%;
        text-align: left;
    }

    .blog-tags {
        display: grid;
        margin-top: .35rem;
    }
}

@media (max-width: 47.99rem) {
    .blog-article-page {
        padding-top: .8rem;
    }

    .blog-breadcrumb {
        margin-bottom: 1.7rem;
    }

    .blog-article-header {
        text-align: left;
    }

    .blog-article-byline {
        justify-content: flex-start;
    }

    .blog-main-image {
        margin-inline: -.15rem;
    }

    .blog-main-image img {
        border-radius: .85rem;
    }
}

