/**
 * Rosha Supply — Single Post, Blog Archive, 404, and native comments.
 */

.rosha-blog, .rosha-blog *, .rosha-404, .rosha-404 * { box-sizing: border-box; }
.rosha-blog, .rosha-404 { background: var(--rosha-bg); color: var(--rosha-text); font-family: var(--rosha-font-body); }

/* ---------------------------------------------------------------- */
/* Archive head / grid                                                */
/* ---------------------------------------------------------------- */
.rosha-blog-head { padding-top: 6px; padding-bottom: 26px; }
.rosha-blog-title { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h1); font-weight: 700; margin: 10px 0 12px; text-wrap: balance; }
.rosha-blog-description { color: var(--rosha-text-muted); max-width: 74ch; line-height: 1.8; }

.rosha-blog-grid--archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-bottom: var(--rosha-section-space); }
@media (max-width: 900px) { .rosha-blog-grid--archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rosha-blog-grid--archive { grid-template-columns: 1fr; } }

.rosha-blog-card-link { display: block; text-decoration: none; color: inherit; }
.rosha-blog-card-media { display: block; aspect-ratio: 16/10; background: var(--rosha-surface); border-radius: var(--rosha-radius-lg); overflow: hidden; margin-bottom: 14px; }
.rosha-blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rosha-blog-card-body { display: block; }
.rosha-blog-card-date { display: block; font-size: 11.5px; color: var(--rosha-text-muted); margin-bottom: 6px; }
.rosha-blog-card-title { display: block; font-weight: 700; font-size: var(--rosha-text-h3); line-height: 1.5; margin-bottom: 8px; }
.rosha-blog-card-link:hover .rosha-blog-card-title { color: var(--rosha-gold-light); }
.rosha-blog-card-excerpt { display: block; color: var(--rosha-text-muted); font-size: var(--rosha-text-small); line-height: 1.7; }

.rosha-blog-empty { text-align: center; padding: 64px 24px; background: var(--rosha-surface); border: 1px dashed var(--rosha-border-gold); border-radius: var(--rosha-radius-lg); color: var(--rosha-text-muted); }

.rosha-blog-pagination { padding-bottom: var(--rosha-section-space); }
.rosha-blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.rosha-blog-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 8px;
	border: 1px solid var(--rosha-border); border-radius: var(--rosha-radius-sm);
	color: var(--rosha-text-muted); text-decoration: none; font-size: var(--rosha-text-small);
}
.rosha-blog-pagination .page-numbers.current { background: var(--rosha-gold); color: var(--rosha-bg); border-color: var(--rosha-gold); }

/* ---------------------------------------------------------------- */
/* Single post                                                         */
/* ---------------------------------------------------------------- */
.rosha-single-post-head { padding-top: 6px; padding-bottom: 20px; max-width: 820px; margin-inline: auto; }
.rosha-single-post-title { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h1); font-weight: 700; margin: 10px 0 14px; text-wrap: balance; }
.rosha-single-post-meta { color: var(--rosha-text-muted); font-size: var(--rosha-text-small); display: flex; align-items: center; gap: 10px; }
.rosha-single-post-meta-sep { opacity: .5; }

.rosha-single-post-thumb { max-width: 960px; margin: 0 auto 32px; }
.rosha-single-post-thumb img { width: 100%; height: auto; border-radius: var(--rosha-radius-lg); display: block; }

.rosha-single-post-content { max-width: 820px; margin: 0 auto 40px; color: var(--rosha-text-muted); line-height: 1.9; font-size: 1.02rem; }
.rosha-single-post-content h2, .rosha-single-post-content h3 { font-family: var(--rosha-font-display); color: var(--rosha-text); margin: 32px 0 14px; }
.rosha-single-post-content p { margin: 0 0 18px; }
.rosha-single-post-content img { max-width: 100%; height: auto; border-radius: var(--rosha-radius); }
.rosha-single-post-content a { color: var(--rosha-turquoise-light); }
.rosha-single-post-content ul, .rosha-single-post-content ol { padding-inline-start: 24px; margin: 0 0 18px; }

.rosha-single-post-nav {
	max-width: 820px; margin: 0 auto 40px;
	display: flex; justify-content: space-between; gap: 16px;
	padding-top: 24px; border-top: 1px solid var(--rosha-border);
}
.rosha-single-post-nav a { color: var(--rosha-text-muted); text-decoration: none; font-size: var(--rosha-text-small); }
.rosha-single-post-nav a:hover { color: var(--rosha-gold-light); }

.rosha-single-post-comments { max-width: 820px; margin: 0 auto var(--rosha-section-space); }
.comments-area .title-comments, .comment-reply-title { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h3); margin: 0 0 20px; }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list li { margin-bottom: 18px; }
.comment-list .comment-body { background: var(--rosha-surface); border: 1px solid var(--rosha-border); border-radius: var(--rosha-radius-lg); padding: 16px 18px; }
.comment-list .comment-author img { border-radius: 50%; margin-inline-end: 10px; }
.comment-list .comment-metadata { font-size: 11.5px; color: var(--rosha-text-muted); margin-top: 4px; }
.comment-list .comment-content p { color: var(--rosha-text-muted); margin: 8px 0 0; }
.comment-form .comment-form-comment textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] {
	width: 100%; background: var(--rosha-surface); border: 1px solid var(--rosha-border); border-radius: var(--rosha-radius);
	padding: 11px 14px; color: var(--rosha-text); font-family: inherit; margin-top: 6px;
}
.comment-form label { font-size: var(--rosha-text-small); font-weight: 600; }
.comment-form p { margin-bottom: 16px; }
.comment-form #submit {
	background: var(--rosha-gold); color: var(--rosha-bg); border: none; border-radius: var(--rosha-radius);
	padding: 11px 26px; font-weight: 700; cursor: pointer;
}
.comment-form #submit:hover { background: var(--rosha-turquoise); color: var(--rosha-accent-contrast); }

/* ---------------------------------------------------------------- */
/* 404                                                                 */
/* ---------------------------------------------------------------- */
.rosha-404-inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: var(--rosha-section-space); }
.rosha-404-code { font-family: var(--rosha-font-display); font-size: clamp(64px, 12vw, 120px); font-weight: 700; color: var(--rosha-border-gold); line-height: 1; }
.rosha-404-title { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h2); font-weight: 700; margin: 12px 0 12px; }
.rosha-404-desc { color: var(--rosha-text-muted); max-width: 48ch; margin: 0 0 28px; line-height: 1.8; }
.rosha-404-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
