/**
 * Стили страницы одной записи блога.
 * Все селекторы завязаны на .reyl-blog-single (см. single.php) — не затрагивают магазин и прочие шаблоны.
 */

/* --- Каркас колонки: комфортная ширина текста --- */
.reyl-blog-single .site-main {
	float: none;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
}

.reyl-blog-single #main {
	float: none;
	width: 100%;
}

/* Убираем лишние отступы у глобальных #main ol из me.css только здесь */
.reyl-blog-single #main .entry-content ol,
.reyl-blog-single #main .entry-content ul {
	margin: 1em 0 1.15em;
}

/* --- Статья --- */
.reyl-blog-single article.post {
	background: #fff;
	padding: clamp(1.25rem, 3.5vw, 2.25rem);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(226, 171, 136, 0.35);
	margin-bottom: 2rem;
}

.reyl-blog-single .entry-header {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(226, 171, 136, 0.35);
}

.reyl-blog-single h1.post-title {
	font-family: "Montserrat", serif;
	font-size: clamp(1.65rem, 4vw, 2.25rem);
	line-height: 1.2;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.reyl-blog-single .metadata {
	font-family: "Montserrat", serif;
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
}

.reyl-blog-single .metadata ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.15rem;
	align-items: baseline;
}

.reyl-blog-single .metadata li {
	margin: 0;
	padding: 0;
}

.reyl-blog-single .metadata .meta_date time {
	color: #555;
	font-weight: 500;
}

.reyl-blog-single .metadata a {
	color: #b87333;
	text-decoration: none;
	border-bottom: 1px solid rgba(184, 115, 51, 0.35);
}

.reyl-blog-single .metadata a:hover {
	color: #8b5a2b;
	border-bottom-color: #8b5a2b;
}

/* Обложка */
.reyl-blog-single .post-image {
	margin: 0 0 1.5rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reyl-blog-single .post-image img,
.reyl-blog-single .post-image .wp-post-image {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Типографика тела статьи --- */
.reyl-blog-single .post-content .entry-content {
	font-family: "Montserrat", serif;
	font-size: 18px;
	line-height: 1.7;
	color: #333;
}

.reyl-blog-single .post-content .entry-content > p {
	margin: 0 0 1.15em;
}

.reyl-blog-single .post-content .entry-content h2 {
	font-size: 1.65em;
	line-height: 1.25;
	margin: 1.5em 0 0.6em;
	font-weight: 600;
	color: #222;
}

.reyl-blog-single .post-content .entry-content h3 {
	font-size: 1.35em;
	line-height: 1.3;
	margin: 1.35em 0 0.5em;
	font-weight: 600;
	color: #222;
}

.reyl-blog-single .post-content .entry-content h4 {
	font-size: 1.15em;
	margin: 1.15em 0 0.5em;
	font-weight: 600;
	color: #333;
}

.reyl-blog-single .post-content .entry-content ul,
.reyl-blog-single .post-content .entry-content ol {
	margin: 1em 0 1.15em;
	padding-left: 1.5em;
}

.reyl-blog-single .post-content .entry-content li {
	margin-bottom: 0.45em;
}

.reyl-blog-single .post-content .entry-content ul li {
	list-style-type: disc;
}

.reyl-blog-single .post-content .entry-content ol li {
	list-style-type: decimal;
}

.reyl-blog-single .post-content .entry-content blockquote {
	margin: 1.35em 0;
	padding: 1em 1.15em 1em 1.35em;
	border-left: 4px solid #e2ab88;
	background: #faf8f6;
	font-style: normal;
	color: #444;
	border-radius: 0 8px 8px 0;
}

.reyl-blog-single .post-content .entry-content a {
	color: #b87333;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.reyl-blog-single .post-content .entry-content a:hover {
	color: #8b5a2b;
}

.reyl-blog-single .post-content .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.reyl-blog-single .post-content .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.15em 0;
	font-size: 0.95em;
}

.reyl-blog-single .post-content .entry-content th,
.reyl-blog-single .post-content .entry-content td {
	border: 1px solid #e8dfd6;
	padding: 0.55em 0.7em;
	text-align: left;
}

.reyl-blog-single .post-content .entry-content th {
	background: #f7f4f1;
	font-weight: 600;
}

/* --- Блок «Читайте также» (только под этой обёрткой) --- */
.reyl-blog-single .sample-posts {
	font-family: "Montserrat", serif;
	margin-top: 0.5rem;
	margin-bottom: 2rem;
	padding: 1.5rem clamp(1rem, 3vw, 1.75rem);
	background: #faf8f6;
	border: 1px solid rgba(226, 171, 136, 0.3);
	border-radius: 12px;
}

.reyl-blog-single .sample-posts h4 {
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid #e2ab88;
}

.reyl-blog-single .sample-posts .items_bootser {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.reyl-blog-single .sample-posts .items_bootser:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.reyl-blog-single .sample-posts .items_bootser > a {
	font-weight: 600;
	font-size: 1.02rem;
	color: #1a1a1a;
	text-decoration: none;
	display: inline-block;
	margin-bottom: 0.35rem;
	transition: color 0.2s ease;
}

.reyl-blog-single .sample-posts .items_bootser > a:hover {
	color: #b87333;
}

.reyl-blog-single .sample-posts .date_pub {
	font-size: 0.82rem;
	color: #888;
	margin-bottom: 0.4rem;
}

.reyl-blog-single .sample-posts .prewiew {
	font-size: 0.95rem;
	line-height: 1.55;
	color: #555;
}

/* --- Комментарии (если включены) — лёгкое выравнивание под статью --- */
.reyl-blog-single .comments-area {
	font-family: "Montserrat", serif;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
	padding-top: 0.5rem;
}

#main .metadata .updated {
  display: none;
}

@media (max-width: 767px) {
	.reyl-blog-single .site-main {
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.reyl-blog-single article.post {
		padding: 1.1rem 1rem;
		border-radius: 10px;
	}

	.reyl-blog-single .post-content .entry-content {
		font-size: 16px;
		line-height: 1.65;
	}
}
