.blog-shell {
    min-height: 100vh;
}

.blog-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
    gap: 4rem;
    align-items: end;
    padding: 3rem 0 4rem;
}

.eyebrow {
    color: #d4a843;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.blog-lead {
    color: #a1a1aa;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 28rem;
    padding-bottom: .5rem;
}

.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 1rem 0;
    margin-bottom: 2.5rem;
}

.category-nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.category-nav a,
.back-link {
    color: #71717a;
    font-size: .85rem;
    transition: color .25s ease;
}

.category-nav a:hover,
.category-nav a.is-active,
.back-link:hover {
    color: #d4a843;
}

.search-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .03);
}

.search-form input {
    color: #e4e4e7;
    background: transparent;
    border: 0;
    outline: 0;
    width: 12rem;
    padding: .6rem .8rem;
}

.search-form button {
    color: #d4a843;
    background: transparent;
    border: 0;
    padding: .6rem .8rem;
    cursor: pointer;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 25rem;
    border: 1px solid rgba(212, 168, 67, .2);
    background: rgba(24, 24, 27, .72);
    margin-bottom: 3.5rem;
}

.featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.featured-copy p:not(.eyebrow) {
    color: #a1a1aa;
    line-height: 1.8;
    max-width: 34rem;
    margin: 1.5rem 0;
}

.featured-image {
    min-height: 25rem;
    object-fit: cover;
    width: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(212, 168, 67, .35), transparent 55%), linear-gradient(135deg, #18181b, #09090b);
}

.featured-image-placeholder {
    display: grid;
    place-items: center;
    color: #d4a843;
    font-size: 4rem;
}

.text-link {
    color: #d4a843;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.text-link span {
    display: inline-block;
    margin-left: .35rem;
    transition: transform .25s ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.results-label {
    color: #a1a1aa;
    margin-bottom: 1.5rem;
}

.results-label strong {
    color: #e4e4e7;
    font-weight: 400;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.post-card {
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(24, 24, 27, .55);
    transition: transform .3s ease, border-color .3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 67, .35);
}

.post-card-image {
    display: grid;
    place-items: center;
    height: 13rem;
    background-color: #18181b;
    background-size: cover;
    background-position: center;
    color: rgba(212, 168, 67, .6);
    font-size: 2.5rem;
}

.post-card-body {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    color: #d4a843;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.post-meta span+span::before,
.post-meta a+span::before {
    content: '·';
    color: #52525b;
    margin-right: .75rem;
}

.post-card h2 {
    margin-bottom: .75rem;
    line-height: 1.1;
}

.post-card h2 a:hover,
.featured-copy h2 a:hover {
    color: #f0dcac;
}

.post-card p {
    color: #71717a;
    line-height: 1.7;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 1rem;
    border: 1px solid rgba(255, 255, 255, .07);
}

.empty-state span {
    font-size: 2rem;
}

.empty-state h2 {
    margin: 1rem 0 .5rem;
}

.empty-state p {
    color: #71717a;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    color: #71717a;
    font-size: .8rem;
    margin-top: 3rem;
}

.pagination a {
    color: #d4a843;
}

.article-shell {
    padding-top: 2rem;
}

.article-header {
    max-width: 50rem;
    margin: 4rem auto 3rem;
    text-align: center;
}

.article-header .post-meta {
    justify-content: center;
}

.article-excerpt {
    color: #a1a1aa;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 1.5rem auto;
    max-width: 42rem;
}

.article-byline {
    color: #71717a;
    font-size: .85rem;
}

.article-cover {
    width: 100%;
    max-height: 34rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .1);
}

.article-body {
    color: #d4d4d8;
    max-width: 42rem;
    margin: 4rem auto 2rem;
    font-size: 1.1rem;
    line-height: 2;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-tags {
    max-width: 42rem;
    margin: 0 auto;
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

.article-tags a {
    color: #d4a843;
    font-size: .8rem;
}

.related-section {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 4rem;
    padding-top: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    border: 1px solid rgba(255, 255, 255, .07);
    padding: 1.25rem;
    transition: border-color .25s ease;
}

.related-card:hover {
    border-color: rgba(212, 168, 67, .35);
}

.related-card span {
    color: #d4a843;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.related-card h2 {
    margin-top: .75rem;
}

@media (max-width: 768px) {

    .blog-intro,
    .featured-post {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-image {
        min-height: 16rem;
        order: -1;
    }

    .featured-copy {
        padding: 2rem;
    }

    .blog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-form input {
        width: 100%;
    }

    .post-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-header {
        margin-top: 3rem;
    }
}