/* ============================================================
 * Blog / archive / single — keeps the same visual language as the
 * landing template (ink background, ember accents, Cormorant
 * headings). Expanded further in Phase 6.
 * ============================================================ */

.blog-main {
	padding: 10rem 4rem 6rem;
	background: var(--ink);
	color: var(--cream);
	min-height: 100vh;
}

.blog-container {
	max-width: 1200px;
	margin: 0 auto;
}

.page-header {
	margin-bottom: 4rem;
	text-align: center;
}
.page-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 300;
	line-height: 1.1;
	margin-bottom: 0.5rem;
}
.page-title em { color: var(--ember); font-style: italic; }

.archive-description {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(250, 244, 236, 0.65);
	max-width: 600px;
	margin: 1rem auto 0;
}

/* Post grid */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
@media (max-width: 1023px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } }

.post-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(212, 82, 26, 0.15);
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(.22, 1, .36, 1), border-color 0.3s;
}
.post-card:hover {
	transform: translateY(-6px);
	border-color: rgba(212, 82, 26, 0.5);
}
.post-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.post-card__body { padding: 1.5rem 1.7rem 2rem; }
.post-card__meta {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ember);
	margin-bottom: 0.8rem;
}
.post-card__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 0.7rem;
}
.post-card__title a {
	color: var(--cream);
	text-decoration: none;
	transition: color 0.2s;
}
.post-card__title a:hover { color: var(--ember); }
.post-card__excerpt {
	font-size: 0.92rem;
	line-height: 1.7;
	color: rgba(250, 244, 236, 0.65);
	font-weight: 300;
}

/* Single post */
.single-post-main {
	max-width: 780px;
	margin: 0 auto;
}
.single-post-main .entry-header {
	text-align: center;
	margin-bottom: 3rem;
}
.single-post-main .entry-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	font-weight: 300;
	line-height: 1.15;
}
.single-post-main .entry-meta {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ember);
	margin-top: 1rem;
}
.single-post-main .post-thumbnail {
	margin: 2rem 0 3rem;
	border-radius: 4px;
	overflow: hidden;
}
.single-post-main .entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
	color: rgba(250, 244, 236, 0.85);
}
.single-post-main .entry-content h2,
.single-post-main .entry-content h3 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	color: var(--cream);
	margin: 2rem 0 1rem;
}
.single-post-main .entry-content p { margin-bottom: 1.2rem; }
.single-post-main .entry-content a { color: var(--ember); }
.single-post-main .entry-content a:hover { color: var(--gold); }
.single-post-main blockquote {
	border-left: 2px solid var(--ember);
	background: rgba(212, 82, 26, 0.07);
	padding: 1.4rem 1.7rem;
	margin: 1.6rem 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 1.2rem;
	border-radius: 0 6px 6px 0;
}

/* Pagination */
.navigation.pagination {
	margin-top: 4rem;
	text-align: center;
}
.navigation.pagination .nav-links {
	display: inline-flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: center;
}
.navigation.pagination a,
.navigation.pagination span {
	display: inline-block;
	padding: 0.6rem 1rem;
	border: 1px solid rgba(212, 82, 26, 0.3);
	color: rgba(250, 244, 236, 0.7);
	text-decoration: none;
	border-radius: 2px;
	font-size: 0.85rem;
	transition: all 0.2s;
}
.navigation.pagination a:hover,
.navigation.pagination .current {
	background: var(--ember);
	border-color: var(--ember);
	color: var(--cream);
}

/* Comments */
.comments-area {
	margin-top: 4rem;
	border-top: 1px solid rgba(250, 244, 236, 0.1);
	padding-top: 3rem;
}
.comments-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.8rem;
	margin-bottom: 2rem;
}
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}
.comment-body {
	background: rgba(255, 255, 255, 0.03);
	padding: 1.3rem 1.5rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 82, 26, 0.3);
	color: var(--cream);
	padding: 0.8rem 1rem;
	border-radius: 3px;
	font-family: inherit;
	font-size: 0.95rem;
	margin-top: 0.4rem;
}
.comment-form label {
	font-size: 0.85rem;
	color: rgba(250, 244, 236, 0.7);
}
.comment-form .submit {
	background: var(--ember);
	color: var(--cream);
	padding: 0.8rem 1.8rem;
	border: 0;
	border-radius: 2px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s;
}
.comment-form .submit:hover { background: var(--gold); }

/* Sidebar */
.has-sidebar .blog-container {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 3rem;
}
@media (max-width: 1023px) {
	.has-sidebar .blog-container { grid-template-columns: 1fr; }
}
.widget {
	margin-bottom: 2rem;
}
.widget-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.2rem;
	color: var(--cream);
	margin-bottom: 1rem;
}
.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.widget li {
	padding: 0.4rem 0;
	font-size: 0.92rem;
}
.widget a {
	color: rgba(250, 244, 236, 0.7);
	text-decoration: none;
}
.widget a:hover { color: var(--ember); }

/* ============================================================
 * Block style variations (front end). Editor mirrors via editor.css.
 * ============================================================ */

.wp-block-quote.is-style-story-highlight {
	border-left: 2px solid var(--ember);
	background: rgba(212, 82, 26, 0.07);
	padding: 1.6rem 1.8rem;
	border-radius: 0 6px 6px 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--cream);
}

.wp-block-heading.is-style-chapter-label {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ember);
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.wp-block-heading.is-style-chapter-label::before {
	content: '';
	width: 30px;
	height: 1px;
	background: var(--ember);
}

p.is-style-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--ember);
	margin-bottom: 1rem;
}

.wp-block-button.is-style-ome-jan-cream .wp-block-button__link {
	background: var(--cream);
	color: var(--ember);
	border-radius: 2px;
	padding: 1rem 2.5rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	transition: all 0.3s;
}
.wp-block-button.is-style-ome-jan-cream .wp-block-button__link:hover {
	background: #fff;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.wp-block-button.is-style-ome-jan-ghost .wp-block-button__link {
	background: transparent;
	color: var(--ember);
	border: 1.5px solid var(--ember);
	border-radius: 2px;
	padding: 1rem 2.5rem;
	font-weight: 400;
	letter-spacing: 0.05em;
	transition: all 0.3s;
}
.wp-block-button.is-style-ome-jan-ghost .wp-block-button__link:hover {
	background: rgba(212, 82, 26, 0.1);
}

/* No results / 404 */
.no-results,
.error-404 {
	text-align: center;
	padding: 4rem 1rem;
}
.no-results .page-title,
.error-404 .page-title { margin-bottom: 1rem; }
.no-results p,
.error-404 p {
	color: rgba(250, 244, 236, 0.7);
	max-width: 500px;
	margin: 0 auto 1.5rem;
	line-height: 1.7;
}

/* Search form */
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
	margin: 0 auto;
}
.search-form input[type="search"] {
	flex: 1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 82, 26, 0.3);
	color: var(--cream);
	padding: 0.7rem 1rem;
	border-radius: 3px;
	font-family: inherit;
}
.search-form button {
	background: var(--ember);
	color: var(--cream);
	padding: 0.7rem 1.3rem;
	border: 0;
	border-radius: 2px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: background 0.2s;
}
.search-form button:hover { background: var(--gold); }
