/*
 * Level 3 Blog - doplnkové štýly pre články.
 * Načítava sa iba na článkoch a zozname článkov. Základ (fonty, farby,
 * .jumbotron, .text-page, .textblock, .btn) pochádza z témy.
 */

/* ---------- Hero ---------- */
.l3blog-hero {
	background-color: #0b2733;
}

/* Hero bez animácií témy - obsah je hneď viditeľný a obrázok nezoomuje. */
.l3blog-hero .jumbotron__inner {
	opacity: 1;
}

.l3blog-hero .jumbotron__bg img {
	transform: none;
}

.l3blog-hero .jumbotron__bg::after {
	background: rgba(0, 0, 0, .25);
	content: "";
	inset: 0;
	position: absolute;
}

.jumbotron.detail.l3blog-hero .jumbotron__inner h1 {
	font-size: 56px;
	letter-spacing: 0;
	line-height: 66px;
}

.jumbotron.detail.l3blog-hero .jumbotron__inner h1:not(:last-child) {
	margin-bottom: 24px;
}

.jumbotron.detail.l3blog-hero .jumbotron__inner p.l3blog-meta {
	color: rgba(255, 255, 255, .85);
	font-size: 16px;
	line-height: 26px;
	max-width: none;
}

.l3blog-breadcrumbs {
	color: rgba(255, 255, 255, .75);
	font-size: 14px;
	line-height: 22px;
	margin-bottom: 20px;
}

.l3blog-breadcrumbs a {
	color: #fff;
	text-decoration: none;
	transition: color .3s;
}

.l3blog-breadcrumbs a:hover {
	color: #56c5d0;
}

@media (max-width: 1199.5px) {
	.jumbotron.detail.l3blog-hero .jumbotron__inner h1 {
		font-size: 46px;
		line-height: 56px;
	}
}

@media (max-width: 991.5px) {
	.l3blog-breadcrumbs {
		text-align: center;
	}
}

@media (max-width: 767.5px) {
	.jumbotron.detail.l3blog-hero .jumbotron__inner h1 {
		font-size: 32px;
		line-height: 40px;
	}

	.jumbotron.detail.l3blog-hero .jumbotron__inner p.l3blog-meta {
		font-size: 14px;
		line-height: 22px;
	}
}

/* ---------- Text článku ---------- */
.l3blog-content .textblock > * {
	text-align: left;
}

.l3blog-content .textblock > :first-child {
	margin-top: 0 !important;
}

.l3blog-content .textblock p,
.l3blog-content .textblock ul li,
.l3blog-content .textblock ol li {
	color: #666;
}

.l3blog-content .textblock strong {
	color: #222;
}

.l3blog-content .textblock a {
	display: inline;
}

.l3blog-content .textblock h2 {
	font-size: 40px;
	line-height: 50px;
	margin-bottom: 24px;
	margin-top: 64px;
}

.l3blog-content .textblock h3 {
	font-size: 28px;
	line-height: 36px;
	margin-bottom: 16px;
	margin-top: 44px;
}

.l3blog-content .textblock h4 {
	font-size: 22px;
	line-height: 30px;
	margin-bottom: 12px;
	margin-top: 32px;
}

.l3blog-content .textblock h2:not(:last-child) {
	margin-bottom: 24px;
}

.l3blog-content .textblock h3:not(:last-child) {
	margin-bottom: 16px;
}

.l3blog-content .textblock ul,
.l3blog-content .textblock ol {
	margin: 24px 0 30px;
}

.l3blog-content .textblock ul li:not(:last-child),
.l3blog-content .textblock ol li:not(:last-child) {
	margin-bottom: 10px;
}

.l3blog-content .textblock table {
	border-collapse: collapse;
	font-size: 16px;
	width: 100%;
}

.l3blog-content .textblock th,
.l3blog-content .textblock td {
	border-bottom: 1px solid #e5e5e5;
	padding: 12px 14px;
	text-align: left;
}

.l3blog-content .textblock th {
	color: #000;
	font-weight: 700;
}

.l3blog-content .textblock figure.wp-block-table {
	overflow-x: auto;
}

@media (max-width: 767.5px) {
	.l3blog-content .textblock h2 {
		font-size: 28px;
		line-height: 36px;
		margin-bottom: 16px;
		margin-top: 44px;
	}

	.l3blog-content .textblock h2:not(:last-child) {
		margin-bottom: 16px;
	}

	.l3blog-content .textblock h3 {
		font-size: 22px;
		line-height: 30px;
		margin-top: 32px;
	}

	.l3blog-content .textblock h4 {
		font-size: 19px;
		line-height: 26px;
	}
}

/* ---------- Výzva ku kurzom ---------- */
.l3blog-cta {
	margin: 0 0 120px;
}

.l3blog-cta__box {
	background-color: #000;
	overflow: hidden;
	padding: 90px 80px 100px;
	position: relative;
	text-align: center;
}

.l3blog-cta__box::before {
	background: url("data:image/svg+xml,%3Csvg width='1056' height='426' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1055.51 425.165 704.171 73.731C655.726 25.254 592.013 1 528.3 1c-63.712 0-127.487 24.254-175.932 72.73L1 425.166' stroke='%2356C5D0' stroke-width='.69' stroke-miterlimit='10'/%3E%3C/svg%3E") 50% 100% / contain no-repeat;
	bottom: 0;
	content: "";
	height: 190px;
	left: 50%;
	opacity: .7;
	pointer-events: none;
	position: absolute;
	transform: translateX(-50%);
	width: 700px;
}

.l3blog-cta__box h2 {
	color: #fff;
	font-size: 44px;
	font-weight: 700;
	line-height: 54px;
	margin: 0 auto 20px;
	max-width: 760px;
	position: relative;
}

.l3blog-cta__box p {
	color: #bdbdbd;
	margin: 0 auto 40px;
	max-width: 640px;
	position: relative;
}

.l3blog-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 30px;
	justify-content: center;
	position: relative;
}

.l3blog-cta .l3blog-btn-outline {
	background-color: transparent;
	box-shadow: inset 0 0 0 2px #fff;
	transition: background-color .3s, color .3s;
}

.l3blog-cta .l3blog-btn-outline::after {
	display: none;
}

.l3blog-cta .l3blog-btn-outline:hover,
.l3blog-cta .l3blog-btn-outline:focus {
	background-color: #fff;
	border-radius: 10px;
	color: #000;
}

@media (max-width: 767.5px) {
	.l3blog-cta {
		margin-bottom: 80px;
	}

	.l3blog-cta__box {
		padding: 60px 24px 70px;
	}

	.l3blog-cta__box::before {
		height: 90px;
		width: 300px;
	}

	.l3blog-cta__box h2 {
		font-size: 30px;
		line-height: 38px;
	}

	.l3blog-cta__buttons .btn {
		font-size: 18px;
		min-width: 0;
	}
}

/* ---------- Karty článkov ---------- */
.l3blog-related {
	padding: 0 0 100px;
}

.l3blog-related__title {
	color: #000;
	font-size: 44px;
	font-weight: 700;
	line-height: 54px;
	margin-bottom: 50px;
	text-align: center;
}

.l3blog-related .row > [class*="col"],
.l3blog-list .row > [class*="col"] {
	display: flex;
	margin-bottom: 30px;
}

.l3blog-card {
	background-color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow .3s, transform .3s;
	width: 100%;
}

.l3blog-card:hover {
	box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
	transform: translateY(-4px);
}

.l3blog-card__img {
	aspect-ratio: 16 / 10;
	background-color: #0b2733;
	display: block;
	overflow: hidden;
}

.l3blog-card__img img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .6s;
	width: 100%;
}

.l3blog-card:hover .l3blog-card__img img {
	transform: scale(1.05);
}

.l3blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px 28px 32px;
}

.l3blog-card .l3blog-card__date {
	color: #56c5d0;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	margin: 0 0 10px;
}

.l3blog-card__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 30px;
	margin: 0 0 14px;
}

.l3blog-card__title a {
	color: #000;
	text-decoration: none;
	transition: color .3s;
}

.l3blog-card__title a:hover {
	color: #e30513;
}

.l3blog-card .l3blog-card__excerpt {
	color: #666;
	font-size: 16px;
	line-height: 26px;
	margin: 0 0 20px;
}

.l3blog-card__more {
	color: #e30513;
	font-size: 16px;
	font-weight: 600;
	margin-top: auto;
	text-decoration: none;
	transition: color .3s;
}

.l3blog-card__more::after {
	content: " \203A";
}

.l3blog-card__more:hover {
	color: #56c5d0;
}

@media (max-width: 767.5px) {
	.l3blog-related {
		padding-bottom: 60px;
	}

	.l3blog-related__title {
		font-size: 30px;
		line-height: 38px;
		margin-bottom: 30px;
	}
}

/* ---------- Zoznam článkov ---------- */
.l3blog-list {
	padding: 100px 0 120px;
}

.l3blog-empty {
	text-align: center;
}

.l3blog-list .navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.l3blog-list .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.l3blog-list .page-numbers {
	align-items: center;
	background-color: #f2f2f2;
	border-radius: 10px;
	color: #000;
	display: inline-flex;
	font-weight: 600;
	height: 44px;
	justify-content: center;
	min-width: 44px;
	padding: 0 12px;
	text-decoration: none;
	transition: background-color .3s, color .3s;
}

.l3blog-list .page-numbers.current,
.l3blog-list a.page-numbers:hover {
	background-color: #e30513;
	color: #fff;
}

.l3blog-list .page-numbers.dots {
	background-color: transparent;
}

.l3blog-list .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 767.5px) {
	.l3blog-list {
		padding: 60px 0 80px;
	}
}
