/**
 * Blog: listing, archive, single post, comments.
 */
.blog-page__head { max-width: 42rem; margin-bottom: var(--space-8); }
.blog-page__head p { color: var(--color-text-muted); margin-top: var(--space-2); }
.blog-page__layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-9); align-items: start; }
.blog-page__layout:has(.blog-page__main:only-child) { grid-template-columns: 1fr; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.blog-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow var(--duration-base) var(--ease-out); }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__media { display: block; aspect-ratio: 3 / 2; background: var(--color-surface-alt); overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: var(--space-5); }
.blog-card__date { font-size: var(--fs-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card__title { font-size: var(--fs-md); margin: var(--space-2) 0 var(--space-3); }
.blog-card__excerpt { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.blog-card__link { font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: var(--space-2); }
.blog-card__link .icon { width: 1em; height: 1em; }

.widget { margin-bottom: var(--space-6); }
.widget__title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-3); color: var(--color-text-muted); }

/* Single post ------------------------------------------------------------------ */
.single-post__head { max-width: 46rem; margin-bottom: var(--space-6); }
.single-post__meta { color: var(--color-text-muted); font-size: var(--fs-sm); display: flex; gap: var(--space-2); }
.single-post__thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-8); aspect-ratio: 16/8; }
.single-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.single-post__layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-9); align-items: start; }
.single-post__content { max-width: 68ch; font-size: var(--fs-md); line-height: var(--lh-normal); color: var(--color-text); }
.single-post__content :is(h2, h3, h4) { margin-top: var(--space-7); }
.single-post__content p { margin-bottom: var(--space-5); }
.single-post__content img { border-radius: var(--radius-md); }
.single-post__content ul, .single-post__content ol { padding-left: 1.4rem; margin-bottom: var(--space-5); list-style: revert; }
.single-post__content blockquote { border-left: 3px solid var(--color-accent); padding-left: var(--space-4); color: var(--color-text-muted); font-style: italic; margin: var(--space-6) 0; }

.single-post__comments { max-width: 68ch; margin-top: var(--space-9); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: var(--space-5) 0; border-bottom: 1px solid var(--color-border); }
.comment-list .comment-author .fn { font-weight: 600; font-style: normal; }
.comment-list .comment-metadata { font-size: var(--fs-xs); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.comment-list .comment-metadata a { color: inherit; }
#respond { margin-top: var(--space-6); }
.comment-reply-title { font-size: var(--fs-lg); }
.comment-form-comment textarea { width: 100%; }
.form-submit input[type="submit"] {
	display: inline-flex; align-items: center; padding: 0.9rem 2rem; border-radius: var(--radius-pill);
	background: var(--color-primary); color: #fff; font-weight: 600; border: none;
}

@media (max-width: 900px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.blog-page__layout, .single-post__layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.blog-grid { grid-template-columns: 1fr; }
}
