/*
 * Casetti: the guide (Rehber) and its posts, as on the live shop (inc/site/blog.php): a narrow white box on the light
 * background. The list (home.php: the posts page, categories, tags) shows each post's title and full text; a post
 * (single.php and its template parts) shows its image above the title, then the text and the comments, in the same box.
 * Loaded after pages.css (.c-boxed).
 */

/* The list */
.c-blog .c-blog__box {
	max-width: 680px;
}

.c-blog__head {
	margin-bottom: 48px;
}

.c-blog__desc {
	color: var(--myco-color-muted);
}

.c-blog__desc p {
	margin: 0;
}

.c-blog__post + .c-blog__post {
	margin-top: 64px;
	padding-top: 64px;
	border-top: 1px solid var(--myco-color-border);
}

.c-blog__post-title {
	margin: 0 0 24px;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
}

.c-blog__post-title a {
	color: var(--myco-color-text);
	text-decoration: none;
}

.c-blog__post-title a:hover {
	color: var(--myco-color-accent-2);
}

/* The posts' text (list and post): the live Astra sizes. */
.c-blog__content,
.single-post .single-content {
	color: var(--myco-color-muted);
	font-size: 16px;
	line-height: 1.857;
}

.c-blog__content > *,
.single-post .single-content > * {
	margin-top: 0;
	margin-bottom: 1.6em;
}

.c-blog__content h2,
.single-post .single-content h2 {
	margin: 0 0 0.6em;
	color: var(--myco-color-text);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.3;
}

.c-blog__content h3,
.single-post .single-content h3 {
	margin: 0 0 0.4em;
	color: var(--myco-color-text);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.3;
}

.c-blog__content a,
.single-post .single-content a {
	color: var(--myco-color-text);
}

.c-blog__content figure,
.single-post .single-content figure {
	margin-inline: 0;
}

.c-blog__content figcaption,
.single-post .single-content figcaption {
	color: var(--myco-color-muted);
	font-size: 14px;
	line-height: 1.7;
	text-align: left;
}

/* The separator block: a short line in the middle (WordPress's block theme style, which the live theme loaded). */
.c-blog__content .wp-block-separator:not(.is-style-wide):not(.is-style-dots),
.single-post .single-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 100px;
	margin-inline: auto;
	border: 0;
	border-top: 1px solid currentColor;
}

.c-blog__content ul,
.single-post .single-content ul {
	padding-left: 2.4em;
	font-size: 14px;
	line-height: 1.75;
}

/* A post: one white box (header, image first, text, comments). */
.single-post .site-main {
	padding: 64px 0;
	background: var(--myco-color-surface);
}

.single-post .single-entry,
.single-post .comments-area,
.single-post .related-posts,
.single-post .post-navigation-wrap {
	width: min(100% - 2 * var(--casetti-gutter), 710px);
	margin-inline: auto;
	padding-inline: 107px;
	background: var(--myco-color-bg);
}

.single-post .single-entry .myco-container,
.single-post .comments-area .myco-container,
.single-post .related-posts .myco-container,
.single-post .single-entry .myco-container--content {
	width: 100%;
}

.single-post .single-header {
	display: flex;
	flex-direction: column;
	padding: 106px 0 0;
	background: transparent;
}

.single-post .single-header .breadcrumbs {
	display: none; /* The live post has none. */
}

.single-post .single-header__media {
	order: -1;
	margin: 0 0 16px;
	box-shadow: none;
}

.single-post .single-header__image {
	aspect-ratio: auto;
	height: auto;
}

.single-post .single-header h1 {
	margin: 8px 0 8px;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
}

.single-post .entry-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single-post .entry-category {
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--casetti-gold);
	font: 500 11px/1.4 var(--myco-font-sans);
	letter-spacing: 0.2em;
	text-decoration: none;
	text-transform: uppercase;
}

.single-post .single-header__meta {
	color: var(--myco-color-text);
	font-size: 15px;
}

.single-post .single-content-wrap {
	padding: 24px 0 40px;
}

.single-post .related-posts,
.single-post .post-navigation-wrap {
	padding-block: 0 40px;
}

.single-post .comments-area {
	margin-top: 16px;
	padding-block: 60px 80px;
}

.single-post .comment-reply-title {
	margin-top: 0;
	font-size: 24px;
	font-weight: 400;
}

@media (max-width: 1024px) {
	.single-post .single-entry,
	.single-post .comments-area,
	.single-post .related-posts,
	.single-post .post-navigation-wrap {
		padding-inline: 48px;
	}
}

@media (max-width: 767px) {
	.single-post .site-main {
		padding: 60px 0 40px;
	}

	.single-post .single-entry,
	.single-post .comments-area,
	.single-post .related-posts,
	.single-post .post-navigation-wrap {
		width: calc(100% - 16px);
		padding-inline: 14px;
	}

	.single-post .single-header {
		padding-top: 24px;
	}

	.single-post .single-header h1,
	.c-blog__post-title {
		font-size: 27px;
	}

	.c-blog__content,
	.single-post .single-content {
		font-size: 14.6px;
	}

	.c-blog__content h2,
	.single-post .single-content h2 {
		font-size: 25px;
	}

	.c-blog__content h3,
	.single-post .single-content h3 {
		font-size: 21px;
	}
}
