/* Ауто Крис - "modern" theme: blog (/blog, /blog/{slug}) and the 404 page.
   Loaded after the template CSS via @push('styles'). */

/* --- post list --- */
.blog-page .blog .post-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.blog-page .post-image-single {
	display: block;
	width: 100%;
}
.blog-page .post-image-single img {
	aspect-ratio: auto;
	max-height: 580px;
}
.blog-page .blog .post-content-details li time,
.blog-page .blog .post-content-details li .post-author {
	color: #777;
}
.blog-page .blog h3.box-header a {
	color: #333;
}
.blog-page .blog h3.box-header a:hover {
	color: #1E69B8;
}
.blog-page .blog > li .row .more {
	display: inline-block;
}

/* --- single post: rich text from the admin editor --- */
.post.single .post-body {
	margin-top: 24px;
}
.post.single .post-body p:first-child,
.post.single .post-body h2:first-child,
.post.single .post-body h3:first-child,
.post.single .post-body ul:first-child,
.post.single .post-body ol:first-child {
	margin-top: 0;
}
.post.single .post-body h2,
.post.single .post-body h3,
.post.single .post-body h4,
.post.single .post-body h5 {
	margin-top: 30px;
}
.post.single .post-body h2 {
	font-size: 22px;
	line-height: 30px;
}
.post.single .post-body ul,
.post.single .post-body ol {
	margin-top: 18px;
	padding-left: 22px;
	font-family: 'Open Sans';
	font-size: 14px;
	line-height: 24px;
}
.post.single .post-body ul li {
	list-style: disc;
}
.post.single .post-body ol li {
	list-style: decimal;
}
.post.single .post-body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 24px;
}
.post.single .post-body a {
	color: #1E69B8;
	text-decoration: underline;
}
.post.single .post-body strong {
	font-weight: 700;
}
.post.single .post-body table {
	width: 100%;
	margin-top: 24px;
	border-collapse: collapse;
	font-size: 14px;
}
.post.single .post-body td,
.post.single .post-body th {
	padding: 8px 12px;
	border: 1px solid #E2E6E7;
	text-align: left;
}
.post-back .more {
	display: inline-block;
}
.page-header-post h1 {
	text-transform: none;
	font-size: 26px;
}

/* --- related posts (narrow column) --- */
.blog-related .post-image img {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: cover;
}
.blog-related .post-content {
	width: auto;
	overflow: hidden;
	float: none;
}
.blog-related .post-content > a {
	font-weight: 600;
}

/* --- empty state --- */
.blog-empty {
	padding: 20px 0 40px;
}
.blog-empty .hexagon.small {
	margin: 0 auto;
}
.blog-empty .description {
	max-width: 620px;
	margin: 20px auto 0;
}
.blog-empty .more {
	display: inline-block;
	margin: 30px 8px 0;
}

/* --- pagination --- */
.pagination li.disabled span,
.pagination li.dots span {
	display: block;
	width: 38px;
	padding: 11px 0 13px;
	border: 1px solid #E2E6E7;
	color: #E2E6E7;
	font-size: 14px;
	text-align: center;
}
.pagination li.dots span {
	color: #A4AAB3;
}
.pagination li.left span,
.pagination li.right span {
	padding: 11px 0;
}
.pagination li.left span:before,
.pagination li.right span:before {
	color: #E2E6E7;
}

/* --- 404 page --- */
.page-404 h1 {
	margin-top: 0;
}
.page-404 h2 {
	margin-top: 10px;
	font-size: 34px;
	text-transform: uppercase;
	color: #333;
}
.page-404 p.description {
	max-width: 720px;
	margin: 30px auto 0;
}
.page-404 p.description a {
	color: #1E69B8;
	text-decoration: underline;
}
.page-404-links .more {
	display: inline-block;
	margin: 0 8px 10px;
}

@media only screen and (max-width: 767px) {
	.blog-page .blog .post-content-details li {
		float: none;
		padding: 0;
		border-left: none;
	}
	.blog-page .blog > li .row .more,
	.post-back .more,
	.page-404-links .more,
	.blog-empty .more {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}
	.page-404 h1 {
		font-size: 120px;
	}
	.page-404 h2 {
		font-size: 24px;
	}
	.page-header-post h1 {
		font-size: 22px;
	}
}
