.blog-show-page {
    --story-ink: #142a22;
    --story-muted: #64746b;
    --story-green: #087f50;
    --story-rule: #d6e2d8;
    --story-paper: #f3f6f2;
}

.blog-story-header {
    padding: 1.3rem 0 3rem;
    border-bottom: 1px solid var(--story-rule);
    background: var(--story-paper);
}

.blog-story-container {
    max-width: 1240px;
}

.blog-story-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    margin-bottom: 2.5rem;
    color: var(--story-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.blog-story-breadcrumbs a {
    color: var(--story-green);
    text-decoration: none;
}

.blog-story-breadcrumbs a:hover {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.blog-story-breadcrumbs span:last-child {
    overflow-wrap: anywhere;
}

.blog-story-heading {
    max-width: 980px;
}

.blog-story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.15rem;
    color: var(--story-muted);
    font-size: .78rem;
}

.blog-story-meta > span:not(.blog-story-category),
.blog-story-meta time {
    padding-left: .65rem;
    border-left: 1px solid #b8c9bc;
}

.blog-story-category {
    padding: .32rem .58rem;
    border: 1px solid #c6daca;
    border-radius: 4px;
    background: #e3eee5;
    color: #176246;
    font: 500 .68rem/1.3 'IBM Plex Mono', monospace;
}

.blog-story-heading h1 {
    margin: 0;
    color: var(--story-ink);
    font: 700 2.85rem/1.12 'Space Grotesk', sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.blog-story-deck {
    max-width: 790px;
    margin: 1rem 0 0;
    color: #52645a;
    font-size: 1.12rem;
    line-height: 1.7;
}

.blog-story-course-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1.2rem;
    color: var(--story-green);
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-story-course-link:hover {
    color: #07583a;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.blog-story-body {
    padding: 3rem 0 5rem;
    background: #fff;
}

.blog-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 3.25rem;
    align-items: start;
}

.blog-story-main {
    min-width: 0;
}

.blog-story-image {
    margin: 0 0 2rem;
}

.blog-story-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    border-radius: 6px;
    object-fit: cover;
}

.blog-article-content {
    max-width: 76ch;
    color: #34453b;
    font-size: 1.04rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.blog-article-content > * {
    max-width: 100%;
}

.blog-article-content p {
    margin: 0 0 1.2rem;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    color: var(--story-ink);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}

.blog-article-content h2 {
    margin: 2.6rem 0 .85rem;
    padding-top: .65rem;
    border-top: 1px solid var(--story-rule);
    font-size: 1.8rem;
}

.blog-article-content h3 {
    margin: 2rem 0 .65rem;
    font-size: 1.35rem;
}

.blog-article-content h4 {
    margin: 1.6rem 0 .5rem;
    font-size: 1.1rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 1.4rem;
    padding-left: 1.45rem;
}

.blog-article-content li {
    margin: .35rem 0;
    padding-left: .2rem;
}

.blog-article-content li::marker {
    color: var(--story-green);
}

.blog-article-content a {
    color: var(--story-green);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.blog-article-content a:hover {
    color: #07583a;
}

.blog-article-content blockquote {
    margin: 1.7rem 0;
    padding: .9rem 1.2rem;
    border-left: 4px solid var(--story-green);
    background: #f0f5ef;
    color: #40564a;
}

.blog-article-content pre {
    overflow-x: auto;
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border: 1px solid #273d33;
    border-radius: 6px;
    background: #14251e;
    color: #e6f1e8;
    font: .86rem/1.7 'IBM Plex Mono', monospace;
    white-space: pre;
}

.blog-article-content pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.blog-article-content :not(pre) > code {
    padding: .12rem .32rem;
    border-radius: 3px;
    background: #edf3ed;
    color: #176246;
    font: .9em 'IBM Plex Mono', monospace;
    overflow-wrap: anywhere;
}

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

.blog-article-content th,
.blog-article-content td {
    min-width: 120px;
    padding: .7rem .85rem;
    border: 1px solid var(--story-rule);
    text-align: left;
}

.blog-article-content th {
    background: #edf3ed;
    color: var(--story-ink);
    font-weight: 600;
}

.blog-story-sidebar {
    position: sticky;
    top: 112px;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1.65rem;
    padding-left: 1.4rem;
    border-left: 1px solid var(--story-rule);
}

.blog-story-sidebar-section {
    min-width: 0;
}

.blog-story-kicker {
    margin: 0 0 .5rem;
    color: var(--story-green);
    font: 500 .66rem/1.4 'IBM Plex Mono', monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.blog-story-sidebar-section h2 {
    margin: 0 0 .65rem;
    color: var(--story-ink);
    font: 700 1.15rem/1.35 'Space Grotesk', sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.blog-story-sidebar-section > p:not(.blog-story-kicker) {
    margin: 0 0 .8rem;
    color: var(--story-muted);
    font-size: .84rem;
    line-height: 1.65;
}

.blog-story-sidebar-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-story-sidebar-section li {
    padding: .65rem 0;
    border-top: 1px solid #e5ece6;
    font-size: .84rem;
    line-height: 1.5;
}

.blog-story-sidebar-section li a {
    color: #354c3f;
    text-decoration: none;
}

.blog-story-sidebar-section li a:hover {
    color: var(--story-green);
    text-decoration: underline;
    text-underline-offset: .18em;
}

.blog-story-sidebar-link,
.blog-story-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--story-green);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-story-sidebar-link:hover,
.blog-story-back-link:hover {
    color: #07583a;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.blog-story-back-link {
    padding-top: .8rem;
    border-top: 1px solid var(--story-rule);
}

.blog-story-related-pages {
    margin-top: 3rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--story-rule);
    border-bottom: 1px solid var(--story-rule);
}

.blog-story-related-pages h2 {
    margin: 0 0 1rem;
    color: var(--story-ink);
    font: 700 1.45rem/1.3 'Space Grotesk', sans-serif;
    letter-spacing: 0;
}

.blog-story-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.blog-story-related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .45rem .7rem;
    border: 1px solid #cbdccf;
    border-radius: 4px;
    color: #275741;
    background: #f5f8f4;
    font-size: .78rem;
    line-height: 1.4;
    text-decoration: none;
}

.blog-story-related-links a:hover {
    border-color: var(--story-green);
    background: #e9f2e9;
}

@media (max-width: 1199.98px) {
    .blog-show-page .blog-story-container {
        padding-right: 5rem !important;
    }
}

@media (max-width: 991px) {
    .blog-story-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .blog-story-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0 0;
        border-top: 1px solid var(--story-rule);
        border-left: 0;
    }

    .blog-story-back-link {
        align-self: start;
    }
}

@media (max-width: 575px) {
    .blog-story-header {
        padding: 1rem 0 2.3rem;
    }

    .blog-story-breadcrumbs {
        gap: .32rem;
        margin-bottom: 1.8rem;
        font-size: .7rem;
    }

    .blog-story-heading h1 {
        font-size: 1.85rem;
        line-height: 1.18;
    }

    .blog-story-deck {
        font-size: 1rem;
        line-height: 1.65;
    }

    .blog-story-body {
        padding: 2rem 0 3.5rem;
    }

    .blog-story-layout {
        gap: 2rem;
    }

    .blog-article-content {
        font-size: .98rem;
        line-height: 1.8;
    }

    .blog-article-content h2 {
        margin-top: 2.1rem;
        font-size: 1.5rem;
    }

    .blog-article-content h3 {
        font-size: 1.2rem;
    }

    .blog-story-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.2rem;
    }
}