.blog-main {
    padding: 2.4rem 0 4rem;
    background: #fff;
}

.blog-hero {
    margin-bottom: 1.8rem;
    border-bottom: 3px solid #111827;
    padding-bottom: 1rem;
    text-align: left;
}

.blog-hero h1 {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.blog-hero__lede {
    font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
    color: #4b5563;
    margin: 0;
    max-width: 62ch;
    line-height: 1.55;
}

.blog-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: .3rem 0 1.2rem;
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    padding: .42rem .78rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: .86rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.blog-category-pill.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

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

.blog-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #b91c1c;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .74rem;
}

.blog-section-kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #b91c1c;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.25rem;
    margin: 1.2rem 0 1.7rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.blog-featured__media img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-featured__title {
    font-size: clamp(1.65rem, 2.3vw, 2.3rem);
    line-height: 1.12;
    margin: 0 0 .55rem;
    letter-spacing: -.01em;
}

.blog-read-more {
    color: #111827;
    font-weight: 700;
    border-bottom: 2px solid #111827;
    padding-bottom: 1px;
}

.blog-card,
.blog-news-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.blog-card__thumb {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.blog-card__body {
    padding: 1rem 1rem 1.2rem;
}

.blog-card__meta {
    font-size: 1rem;
    color: #6b7280;
}

.blog-card__category {
    display: inline-block;
    margin-bottom: .35rem;
    color: #b91c1c;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.blog-card__title {
    margin: .45rem 0 .55rem;
    font-size: 1.23rem;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.blog-card__title--small {
    font-size: 1.22rem;
}

.blog-article {
    max-width: 920px;
    margin: 0 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    order: 1;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.4rem;
    align-items: flex-start;
}

.blog-related-sidebar {
    order: 2;
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100vh - 130px);
    overflow: auto;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.blog-related-list {
    display: grid;
    gap: .75rem;
    counter-reset: related-item;
}

.blog-related-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: .6rem;
    align-items: start;
    border-bottom: 1px solid #eceff4;
    padding-bottom: .65rem;
    position: relative;
}

.blog-related-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-related-item::before {
    counter-increment: related-item;
    content: counter(related-item, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -2px;
    font-size: .68rem;
    font-weight: 800;
    color: #b91c1c;
    letter-spacing: .08em;
}

.blog-related-item__thumb-wrap {
    display: block;
    margin-top: 14px;
}

.blog-related-item__thumb {
    width: 100%;
    height: 74px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d7dde6;
}

.blog-article__media-wrap {
    border: 1px solid #d7dde6;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}

.blog-back {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    color: #1d4ed8;
    font-weight: 600;
    margin-bottom: .7rem;
}

.blog-kicker {
    margin-bottom: .5rem;
}

.blog-article__title {
    color: #0f172a;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.blog-meta-line {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    padding: .35rem .75rem;
}

.blog-meta-line--strong {
    border-width: 0;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
}

.blog-article__media img,
.blog-article__media video,
.blog-article__media iframe {
    width: 100%;
    border-radius: 6px;
    border: 0;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #fff;
    box-shadow: none;
}

.blog-article__media-parallax {
    width: 100%;
    height: clamp(220px, 32vw, 360px);
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-article__media iframe {
    min-height: 320px;
}

.blog-article__video-section {
    margin-top: 2rem;
    border-top: 1px solid #dbe2ea;
    padding-top: 1rem;
}

.blog-article__video-title {
    font-size: 1.25rem;
    margin-bottom: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.blog-article__media--video video,
.blog-article__media--video iframe {
    aspect-ratio: 16 / 9;
    min-height: 280px;
}

.blog-article__media-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: .65rem;
}

.blog-view-full {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #111827;
    border: 1px solid #111827;
    border-radius: 999px;
    padding: .38rem .8rem;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.blog-view-full:hover {
    background: #111827;
    color: #fff;
}

.blog-article__content {
    margin-top: 1.3rem;
    line-height: 1.8;
    color: #1f2937;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
    color: #0f172a;
    letter-spacing: -.01em;
}

.blog-prose h2 {
    font-size: 2.12rem;
    line-height: 1.22;
    margin: 1.8rem 0 .75rem;
}

.blog-prose h3 {
    font-size: 1.62rem;
    line-height: 1.28;
    margin: 1.4rem 0 .62rem;
}

.blog-prose h4 {
    font-size: 1.3rem;
    line-height: 1.35;
    margin: 1.1rem 0 .55rem;
}

.blog-prose p,
.blog-prose li {
    font-size: 1.13rem;
    line-height: 1.8;
}

.blog-prose p {
    margin: 0 0 1rem;
}

.blog-prose ul,
.blog-prose ol {
    margin: .2rem 0 1.05rem;
    padding-left: 1.35rem;
}

.blog-prose a {
    color: #1d4ed8;
    text-decoration: underline;
}

.blog-prose blockquote {
    border-left: 3px solid #b91c1c;
    padding-left: .9rem;
    margin: 1rem 0 1.2rem;
    color: #374151;
}

.blog-related {
    margin-top: 2.2rem;
    border-top: 3px solid #111827;
    padding-top: 1.5rem;
}

.blog-related__title {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1.05rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #111827;
}

@media (max-width: 992px) {
    .blog-article-layout {
        grid-template-columns: 1fr;
    }
    .blog-article {
        order: 1;
    }
    .blog-related-sidebar {
        order: 2;
        position: static;
        max-height: none;
        overflow: visible;
        box-shadow: none;
    }
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .blog-grid,
    .blog-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-main {
        padding-top: 1.25rem;
    }
    .blog-article {
        padding: 0;
        border-radius: 0;
    }
    .blog-grid,
    .blog-news-grid {
        grid-template-columns: 1fr;
    }
    .blog-featured__media img {
        min-height: 220px;
    }
    .blog-article__media-wrap {
        padding: 10px;
    }
    .blog-article__media iframe {
        min-height: 230px;
    }
    .blog-article__media-parallax {
        height: 220px;
    }
    .blog-article__media--video video,
    .blog-article__media--video iframe {
        min-height: 210px;
    }
}

