.blog-hero,
.blog-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-bottom: 1px solid var(--site-border);
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(245, 166, 35, 0.16),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            #080a0f,
            #0d1017 58%,
            #171006
        );
}

.blog-hero::before,
.blog-detail-hero::before {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
    content: "";
}

.blog-hero .site-container,
.blog-detail-hero .site-container {
    position: relative;
    z-index: 2;
}

.blog-hero h1,
.blog-detail-hero h1 {
    max-width: 850px;
    margin: 20px 0 16px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.blog-hero p,
.blog-detail-header > p {
    max-width: 740px;
    margin: 0;
    color: var(--site-muted);
    font-size: 16px;
}

.blog-section,
.blog-detail-section,
.related-posts-section {
    padding: 90px 0;
    background: var(--site-bg);
}

.featured-post {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    overflow: hidden;
    margin-bottom: 42px;
    border: 1px solid var(--site-border);
    border-radius: 15px;
    background: var(--site-card);
}

.featured-post-media {
    min-height: 430px;
    overflow: hidden;
}

.featured-post-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.featured-post-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 38px;
}

.featured-post-content h2 {
    margin: 20px 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.featured-post-content p {
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
}

.featured-post-content .button {
    align-self: flex-start;
    margin-top: 23px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: var(--site-muted-dark);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

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

.blog-card {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 11px;
    background: var(--site-card);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.blog-card:hover {
    border-color: rgba(245, 166, 35, 0.45);
    transform: translateY(-4px);
}

.blog-card-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 5 / 3;
    border-bottom: 1px solid var(--site-border);
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

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

.blog-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 220px;
    place-items: center;
    color: var(--brand);
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(245, 166, 35, 0.16),
            transparent 38%
        ),
        var(--site-surface);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 21px;
}

.blog-card-content .post-meta {
    margin-top: 0;
}

.blog-card h2 {
    margin: 15px 0 9px;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.blog-card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 11px;
}

.blog-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 21px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.blog-empty {
    grid-column: 1 / -1;
    padding: 55px 20px;
    border: 1px solid var(--site-border);
    border-radius: 11px;
    color: var(--site-muted);
    background: var(--site-card);
    text-align: center;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.blog-pagination a,
.blog-pagination span,
.blog-pagination strong {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--site-border);
    border-radius: 8px;
    color: var(--site-muted);
    background: var(--site-card);
    font-size: 10px;
}

.blog-pagination a:hover {
    color: #151515;
    border-color: var(--brand);
    background: var(--brand);
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 42px;
    color: var(--site-muted-dark);
    font-size: 11px;
}

.blog-breadcrumb a:hover {
    color: var(--brand);
}

.blog-detail-header .post-meta {
    margin-top: 24px;
}

.blog-detail-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 50px;
}

.blog-article {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 13px;
    background: var(--site-card);
}

.blog-detail-image {
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    border-bottom: 1px solid var(--site-border);
}

.blog-article-content {
    padding: 38px;
}

.blog-article-content p {
    margin: 0 0 25px;
    color: #c4c9d1;
    font-size: 15px;
    line-height: 1.9;
}

.blog-article-content p:last-child {
    margin-bottom: 0;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-contact-card {
    display: grid;
    padding: 23px;
    border: 1px solid var(--site-border);
    border-radius: 11px;
    background: var(--site-card);
}

.blog-contact-card .eyebrow {
    justify-self: start;
}

.blog-contact-card h2 {
    margin: 20px 0 8px;
    font-size: 24px;
    letter-spacing: -0.04em;
}

.blog-contact-card p {
    margin: 0 0 18px;
    color: var(--site-muted);
    font-size: 11px;
}

.blog-contact-card .button {
    width: 100%;
    margin-top: 8px;
}

.related-posts-section {
    border-top: 1px solid var(--site-border);
    background: var(--site-surface);
}

.blog-section-heading {
    margin-bottom: 34px;
    text-align: center;
}

.blog-section-heading h2 {
    margin: 17px 0 0;
    font-size: clamp(31px, 4vw, 45px);
    letter-spacing: -0.045em;
}

@media (max-width: 960px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

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

    .blog-detail-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .blog-hero,
    .blog-detail-hero {
        padding: 60px 0;
    }

    .blog-hero h1,
    .blog-detail-hero h1 {
        font-size: 42px;
    }

    .blog-section,
    .blog-detail-section,
    .related-posts-section {
        padding: 65px 0;
    }

    .featured-post-media,
    .featured-post-media img {
        min-height: 280px;
    }

    .featured-post-content {
        padding: 25px 20px;
    }

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

    .blog-article-content {
        padding: 25px 20px;
    }
}