/* Blog — extends /style.css */

main.blog,
main.article {
    max-width: 680px;
    justify-content: flex-start;
    padding: 4rem 1.5rem 5rem;
}

.back-link {
    display: inline-block;
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 3rem;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

/* Index */
main.blog h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 0.75rem;
}

main.blog .intro {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: 3.5rem;
}

.post-list {
    list-style: none;
}

.post-list li {
    padding: 1.5rem 0;
    border-top: 1px solid #1f1f1f;
}

.post-list li:last-child {
    border-bottom: 1px solid #1f1f1f;
}

.post-list a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.post-list .post-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 0.35rem;
}

.post-list .post-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    transition: color 0.15s ease;
}

.post-list a:hover .post-title {
    color: var(--text-secondary);
}

.post-list .post-dek {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Article */
.article-header {
    margin-bottom: 3rem;
}

main.article h1 {
    font-size: clamp(2.125rem, 7vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.dek {
    font-size: clamp(1.125rem, 2.6vw, 1.3125rem);
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.byline {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.byline a {
    color: inherit;
    text-decoration: none;
}

.byline a:hover {
    color: var(--text-primary);
}

.prose p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #d6d6d6;
    margin-bottom: 1.35rem;
}

.prose h2 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 3rem 0 1.1rem;
}

.prose .pull {
    font-size: 1.3125rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 500;
    border-left: 2px solid #3a3a3a;
    padding-left: 1.1rem;
    margin: 2rem 0;
}

.prose hr {
    border: 0;
    border-top: 1px solid #262626;
    margin: 3rem 0 2rem;
}

.signoff {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.signoff strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

main.article footer,
main.blog footer {
    padding-top: 4rem;
}

@media (min-width: 768px) {
    main.blog,
    main.article {
        padding: 6rem 2rem 6rem;
    }
}
