/* Pavblog pro thm2017 - barvy e-shopu (zelena #008000, nadpisy #513847, text #4D4D4D) */
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* ---------- hlavicka vypisu ---------- */
.pav-header {
	position: relative;
	padding-right: 40px;
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
}
.pav-header h1 {
	margin-bottom: 0;
}
.pav-header .rss-wrapper {
	position: absolute;
	right: 0;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='4' fill='%23008000'/%3E%3Ccircle cx='7' cy='17' r='2' fill='%23fff'/%3E%3Cpath d='M5 11a8 8 0 0 1 8 8M5 6a13 13 0 0 1 13 13' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center center / 22px 22px;
	overflow: hidden;
	text-indent: -999em;
	opacity: .6;
}
.pav-header .rss-wrapper:hover {
	opacity: 1;
}

/* ---------- podkategorie ---------- */
.pav-children {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.pav-children a {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 1em;
	background: #ededed;
	color: #4D4D4D;
	text-decoration: none;
}
.pav-children a span {
	color: #999;
}
.pav-children a:hover {
	background: #008000;
	color: #fff;
}
.pav-children a:hover span {
	color: #d6f0d6;
}

/* ---------- mrizka karet ---------- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 25px;
}
.blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.blog-card:hover {
	border-color: #ddd;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .09);
	transform: translateY(-2px);
}
.blog-card-image {
	position: relative;
	display: block;
	aspect-ratio: 2 / 1;
	background: #f5f5f5;
	overflow: hidden;
}
.blog-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.blog-card:hover .blog-card-image img {
	transform: scale(1.04);
}
.blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
}
.blog-card-meta {
	color: #008000;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 6px;
}
h2.blog-card-title {
	margin: 0 0 8px;
	padding: 0;
	font-size: 19px;
	font-weight: bold;
	line-height: 1.3;
}
.blog-card-title a {
	font-size: inherit;
	color: #513847;
	text-decoration: none;
}
.blog-card-title a:hover {
	color: #008000;
}
.blog-card-lead {
	color: #4D4D4D;
	font-weight: bold;
	line-height: 1.45;
	margin-bottom: 6px;
}
.blog-card-text {
	color: #666;
	line-height: 1.55;
	margin: 0 0 14px;
}
a.blog-card-more {
	align-self: flex-start;
	margin-top: auto;
	padding: 8px 16px;
	border-radius: 3px;
	background: #008000;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
}
a.blog-card-more:hover {
	background: #006600;
}

/* ---------- detail clanku ---------- */
.pav-blog {
	color: #4D4D4D;
	line-height: 1.65;
}
.pav-blog .blog-head {
	margin-bottom: 15px;
	border-bottom: 1px solid #eee;
	padding-bottom: 12px;
}
.pav-blog .blog-head h1 {
	margin: 0 0 8px;
	padding: .3em 0 0;
	font-size: 28px;
	line-height: 1.25;
}
.blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
}
.blog-meta > span,
.blog-meta > a {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 1em;
	background: #ededed;
	color: #4D4D4D;
	text-decoration: none;
	font-size: 12px;
}
.blog-meta > .created {
	background: #008000;
	color: #fff;
	font-weight: bold;
}
.blog-meta > a:hover {
	background: #666;
	color: #fff;
}
.pav-blog .image {
	margin-bottom: 20px;
}
.pav-blog .image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.pav-blog .description {
	font-size: 16px;
	font-weight: bold;
	color: #513847;
	margin-bottom: 15px;
}
.pav-blog .blog-content {
	margin-bottom: 25px;
	font-size: 15px;
}
.pav-blog .blog-content img {
	max-width: 100%;
	height: auto !important;
	border-radius: 4px;
}
.pav-blog .blog-content iframe,
.pav-video iframe {
	max-width: 100%;
}
.pav-blog .blog-content h2,
.pav-blog .blog-content h3 {
	color: #513847;
	line-height: 1.3;
	margin: 1.4em 0 .6em;
	padding-left: 10px;
	border-left: 3px solid #008000;
}
.pav-blog .blog-content h2 {
	font-size: 21px;
}
.pav-blog .blog-content h3 {
	font-size: 18px;
}
.pav-blog .blog-content a {
	font-size: inherit;
	color: #008000;
}
.pav-blog .blog-content blockquote {
	margin: 1em 0;
	padding: 10px 18px;
	background: #f5faf5;
	border-left: 3px solid #008000;
	font-style: italic;
}
.pav-blog .blog-content table {
	max-width: 100%;
}

/* stitky */
.blog-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
}
.blog-tags b {
	margin-right: 4px;
}
.blog-tags a {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 1em;
	background: #ededed;
	color: #4D4D4D;
	font-size: 12px;
	text-decoration: none;
}
.blog-tags a:hover {
	background: #008000;
	color: #fff;
}

/* sdileni */
.blog-social {
	padding: 12px 0;
	margin-bottom: 20px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.blog-social .social-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* dalsi / souvisejici clanky */
.blog-bottom {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 25px;
}
.blog-links {
	padding: 15px 18px;
	border: 1px solid #eee;
	border-radius: 4px;
	background: #fff;
}
.blog-links h4,
.pav-comment h4 {
	display: inline-block;
	margin: 0 0 10px;
	padding-left: 10px;
	border-left: 2px solid #008000;
	color: #4D4D4D;
	font-size: 14px;
	font-weight: normal;
	text-transform: uppercase;
}
.blog-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.blog-links li {
	border-bottom: 1px solid #f3f3f3;
}
.blog-links li:last-child {
	border-bottom: 0;
}
.blog-links li a {
	display: block;
	padding: 7px 0 7px 14px;
	position: relative;
	color: #4D4D4D;
	text-decoration: none;
}
.blog-links li a:before {
	content: "\203A";
	position: absolute;
	left: 0;
	color: #008000;
	font-weight: bold;
}
.blog-links li a:hover {
	color: #008000;
}

/* ---------- komentare ---------- */
.pav-comment {
	margin-bottom: 25px;
}
.comment-item {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}
.comment-item img {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
.comment-wrap {
	flex: 1 1 auto;
	min-width: 0;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 12px 16px;
}
.comment-wrap .comment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-bottom: 8px;
	font-size: 11px;
	color: #999;
}
.comment-wrap .comment-meta span span {
	color: #4D4D4D;
	font-weight: bold;
}
.comment-wrap .comment-link {
	margin-left: auto;
}
.comment-wrap .comment-link a {
	font-size: 11px;
	color: #999;
}
#comment-form {
	max-width: 620px;
}
#comment-form .message {
	background: #fcf8e3;
	padding: 12px;
	margin: 0 0 12px;
	border-radius: 3px;
}
#comment-form .comment-warning {
	color: #b94a48;
}
#comment-form .input-group {
	margin-bottom: 10px;
}
#comment-form label {
	display: block;
	margin-bottom: 4px;
	color: #4D4D4D;
}
#comment-form input[type="text"],
#comment-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	font-family: inherit;
}
#comment-form textarea {
	min-height: 110px;
}
#comment-form input[type="text"]:focus,
#comment-form textarea:focus {
	border-color: #008000;
	outline: none;
}
#comment-form .recaptcha {
	padding: 12px 0;
}
#comment-form .recaptcha input {
	display: inline-block;
	width: 140px;
	margin: 0 12px;
}
#comment-form .btn-submit {
	height: 36px;
	padding: 0 24px;
	border: 0;
	border-radius: 3px;
	background: #008000;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
}
#comment-form .btn-submit:hover {
	background: #006600;
}

/* ---------- moduly (postranni sloupec) ---------- */
.pavblogs-comments-box .pav-comment {
	padding: 10px 0;
	border-bottom: 1px solid #f4f4f4;
}
.pavblogs-comments-box .pav-comment:last-child {
	border-bottom: none;
}
.pavblogs-comments-box img {
	padding-right: 12px;
}

/* ---------- mobil ---------- */
@media (max-width: 700px) {
	.blog-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.pav-blog .blog-head h1 {
		font-size: 23px;
	}
	.pav-blog .blog-content {
		font-size: 15px;
	}
}
