/* Blog El Unico - lista (/blog), categorii si articol. Incarcat din information/news.php.
   Paleta: --color-ochre #c08839, --color-ochre-80 #ab7532, --color-black #212121; fundal cald #faf6f0 */

.eu-blog {
	--eu-blog-muted: #6f6a64;
	--eu-blog-line: #ece5dc;
	--eu-blog-soft: #faf6f0;
	padding-bottom: 50px;
}

.container.eu-blog .breadcrumb {
	margin-bottom: 0;
}

/* ---------- antet lista ---------- */
.eu-blog-head {
	max-width: 720px;
	margin: 10px auto 24px;
	text-align: center;
}

.eu-blog-head h1 {
	margin: 0 0 8px;
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -.5px;
	color: var(--color-black, #212121);
}

.eu-blog-head p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--eu-blog-muted);
}

/* ---------- categorii (pastile) ---------- */
.eu-blog-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0 0 32px;
}

.container.eu-blog .eu-blog-cats a,
.container.eu-blog .eu-blog-cats a:link,
.container.eu-blog .eu-blog-cats a:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--eu-blog-line);
	border-radius: 999px;
	background: #fff;
	color: var(--color-black, #212121);
	font-size: 14px;
	font-weight: 500;
	transition: border-color .2s, background .2s, color .2s;
}

.eu-blog-cats a span {
	font-size: 12px;
	color: var(--eu-blog-muted);
}

.container.eu-blog .eu-blog-cats a:hover {
	border-color: var(--color-ochre, #c08839);
	color: var(--color-black, #212121);
}

.container.eu-blog .eu-blog-cats a.active {
	border-color: var(--color-black, #212121);
	background: var(--color-black, #212121);
	color: #fff;
}

.eu-blog-cats a.active span {
	color: rgba(255, 255, 255, .65);
}

/* ---------- meta (categorie, data, timp de citire) ---------- */
.eu-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	font-size: 13px;
	color: var(--eu-blog-muted);
}

.eu-blog-meta > span + span::before,
.eu-blog-meta > time + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 10px 3px -4px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}

.container.eu-blog .eu-blog-tag,
.container.eu-blog a.eu-blog-tag,
.container.eu-blog a.eu-blog-tag:visited {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--eu-blog-soft);
	color: var(--color-ochre-80, #ab7532);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.container.eu-blog a.eu-blog-tag:hover {
	background: #f3e9db;
}

/* ---------- articolul principal (lead) ---------- */
.eu-blog-lead {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 36px;
	align-items: center;
	margin-bottom: 44px;
}

.eu-blog-lead-img {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: var(--eu-blog-soft);
	aspect-ratio: 16 / 10;
}

.eu-blog-lead-img img,
.eu-blog-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.eu-blog-lead:hover .eu-blog-lead-img img,
.eu-blog-card:hover .eu-blog-card-img img {
	transform: scale(1.03);
}

.eu-blog-lead h2 {
	margin: 14px 0 12px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.3px;
}

.container.eu-blog .eu-blog-lead h2 a,
.container.eu-blog .eu-blog-card h2 a,
.container.eu-blog .eu-blog-card h3 a,
.container.eu-blog .eu-blog-lead h2 a:visited,
.container.eu-blog .eu-blog-card h2 a:visited,
.container.eu-blog .eu-blog-card h3 a:visited {
	color: var(--color-black, #212121);
}

.container.eu-blog .eu-blog-lead h2 a:hover,
.container.eu-blog .eu-blog-card h2 a:hover,
.container.eu-blog .eu-blog-card h3 a:hover {
	color: var(--color-ochre-80, #ab7532);
}

.eu-blog-lead p {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.65;
	color: #4a4642;
}

.container.eu-blog a.eu-blog-more,
.container.eu-blog a.eu-blog-more:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 8px;
	background: var(--color-black, #212121);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.container.eu-blog a.eu-blog-more:hover {
	background: var(--color-ochre, #c08839);
	color: #fff;
}

/* ---------- grila de carduri ---------- */
.eu-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
}

.eu-blog-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.eu-blog-card-img {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	background: var(--eu-blog-soft);
	aspect-ratio: 16 / 10;
	margin-bottom: 14px;
}

.eu-blog-card h2,
.eu-blog-card h3 {
	margin: 10px 0 8px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
}

.eu-blog-card p {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 10px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #4a4642;
}

.eu-blog-card-foot {
	margin-top: auto;
	font-size: 13px;
	color: var(--eu-blog-muted);
}

.eu-blog-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--eu-blog-muted);
}

/* ---------- paginare ---------- */
.eu-blog-pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 44px;
}

.container.eu-blog .eu-blog-pages a,
.container.eu-blog .eu-blog-pages a:visited,
.container.eu-blog .eu-blog-pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--eu-blog-line);
	border-radius: 8px;
	color: var(--color-black, #212121);
	font-size: 14px;
	font-weight: 500;
}

.container.eu-blog .eu-blog-pages a:hover {
	border-color: var(--color-ochre, #c08839);
	color: var(--color-black, #212121);
}

.container.eu-blog .eu-blog-pages span.active {
	border-color: var(--color-black, #212121);
	background: var(--color-black, #212121);
	color: #fff;
}

/* =================== ARTICOL =================== */
.eu-art-preview {
	margin: 12px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	background: #fff4e0;
	border: 1px solid #f0d9a8;
	color: #7a5414;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.eu-art-head {
	max-width: 760px;
	margin: 14px auto 28px;
	text-align: center;
}

.eu-art-head .eu-blog-meta {
	justify-content: center;
}

.eu-art-head h1 {
	margin: 16px 0 10px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.6px;
	color: var(--color-black, #212121);
}

.eu-art-byline {
	font-size: 14px;
	color: var(--eu-blog-muted);
}

.eu-art-hero {
	max-width: 1040px;
	margin: 0 auto 40px;
	overflow: hidden;
	border-radius: 16px;
	background: var(--eu-blog-soft);
}

.eu-art-hero img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

.eu-art-body {
	max-width: 720px;
	margin: 0 auto;
}

/* cuprins */
.eu-art-toc {
	margin: 0 0 32px;
	padding: 20px 24px;
	border-radius: 12px;
	background: var(--eu-blog-soft);
	border: 1px solid var(--eu-blog-line);
}

.eu-art-toc-title {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--color-ochre-80, #ab7532);
}

.eu-art-toc ol {
	margin: 0;
	padding-left: 20px;
}

.eu-art-toc ol.eu-art-toc-plain {
	padding-left: 0;
	list-style: none;
}

.eu-art-toc li {
	margin: 6px 0;
	font-size: 15px;
	line-height: 1.45;
}

.container.eu-blog .eu-art-toc a,
.container.eu-blog .eu-art-toc a:visited {
	color: var(--color-black, #212121);
}

.container.eu-blog .eu-art-toc a:hover {
	color: var(--color-ochre-80, #ab7532);
}

/* textul articolului */
.eu-art-content {
	font-size: 18px;
	line-height: 1.75;
	color: #2b2826;
	overflow-wrap: break-word;
}

.eu-art-content p,
.eu-art-content ul,
.eu-art-content ol,
.eu-art-content blockquote {
	margin: 0 0 1.15em;
}

.eu-art-content h2 {
	margin: 1.8em 0 .6em;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.2px;
	color: var(--color-black, #212121);
	scroll-margin-top: 90px;
}

.eu-art-content h3 {
	margin: 1.5em 0 .5em;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-black, #212121);
	scroll-margin-top: 90px;
}

.eu-art-content ul,
.eu-art-content ol {
	padding-left: 1.3em;
}

.eu-art-content li {
	margin: .35em 0;
}

.eu-art-content li::marker {
	color: var(--color-ochre, #c08839);
}

.container.eu-blog .eu-art-content a,
.container.eu-blog .eu-art-content a:visited {
	color: var(--color-ochre-80, #ab7532);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.container.eu-blog .eu-art-content a:hover {
	color: var(--color-black, #212121);
}

.eu-art-content img {
	max-width: 100%;
	height: auto !important;
	border-radius: 10px;
}

/* imaginile aliniate stanga/dreapta din articolele vechi: pe latime intreaga, centrate */
.eu-art-content img[align],
.eu-art-content img[style*="float"] {
	float: none !important;
	display: block;
	margin: 1.4em auto !important;
}

.eu-art-content blockquote {
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--color-ochre, #c08839);
	font-size: 20px;
	font-style: italic;
	color: #4a4642;
}

.eu-art-table {
	overflow-x: auto;
	margin: 0 0 1.2em;
}

.eu-art-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.eu-art-table td,
.eu-art-table th {
	padding: 8px 10px;
	border: 1px solid var(--eu-blog-line);
}

.eu-art-video {
	position: relative;
	margin: 0 0 1.2em;
	padding-top: 56.25%;
}

.eu-art-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 10px;
}

/* share */
.eu-art-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 36px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--eu-blog-line);
}

.eu-art-share > span {
	margin-right: 4px;
	font-size: 14px;
	font-weight: 600;
}

.container.eu-blog .eu-art-share a,
.container.eu-blog .eu-art-share a:visited,
.container.eu-blog .eu-art-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--eu-blog-line);
	border-radius: 999px;
	background: #fff;
	color: var(--color-black, #212121);
	font-size: 14px;
	cursor: pointer;
}

.container.eu-blog .eu-art-share a:hover,
.container.eu-blog .eu-art-share button:hover {
	border-color: var(--color-ochre, #c08839);
	color: var(--color-black, #212121);
}

/* sectiuni sub articol */
.eu-art-products,
.eu-art-related {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--eu-blog-line);
}

.eu-art-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 16px;
	margin-bottom: 22px;
}

.eu-art-section-head h2 {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: var(--color-black, #212121);
}

.eu-art-section-head p {
	margin: 0;
	font-size: 14px;
	color: var(--eu-blog-muted);
}

.eu-art-section-head a {
	font-size: 14px;
	font-weight: 600;
}

.eu-art-products .product-grid {
	padding: 0;
}

/* ---------- tableta ---------- */
@media (max-width: 991px) {
	.eu-blog-lead {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.eu-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.eu-art-head h1 {
		font-size: 34px;
	}
}

/* ---------- mobil ---------- */
@media (max-width: 600px) {
	.eu-blog-head {
		margin: 18px auto 18px;
	}

	.eu-blog-head h1 {
		font-size: 30px;
	}

	.eu-blog-head p {
		font-size: 15px;
	}

	/* categoriile pe un singur rand, cu scroll lateral */
	.eu-blog-cats {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		margin: 0 -15px 24px;
		padding: 0 15px 4px;
		scrollbar-width: none;
	}

	.eu-blog-cats::-webkit-scrollbar {
		display: none;
	}

	.eu-blog-cats a {
		flex: 0 0 auto;
	}

	.eu-blog-lead {
		margin-bottom: 32px;
	}

	.eu-blog-lead h2 {
		font-size: 23px;
	}

	.eu-blog-lead p {
		font-size: 15px;
	}

	.eu-blog-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.eu-blog-card h2,
	.eu-blog-card h3 {
		font-size: 18px;
	}

	.eu-art-head {
		margin: 18px auto 20px;
		text-align: left;
	}

	.eu-art-head .eu-blog-meta {
		justify-content: flex-start;
	}

	.eu-art-head h1 {
		font-size: 28px;
		letter-spacing: -.3px;
	}

	.eu-art-hero {
		margin: 0 -15px 28px;
		border-radius: 0;
	}

	.eu-art-content {
		font-size: 17px;
		line-height: 1.7;
	}

	.eu-art-content h2 {
		font-size: 22px;
	}

	.eu-art-content h3 {
		font-size: 19px;
	}

	.eu-art-toc {
		padding: 16px 18px;
	}

	.eu-art-section-head h2 {
		font-size: 22px;
	}

	.eu-art-products,
	.eu-art-related {
		margin-top: 40px;
		padding-top: 30px;
	}

	/* "Citeste si": carduri orizontale compacte */
	.eu-art-related .eu-blog-card {
		display: grid;
		grid-template-columns: 112px 1fr;
		gap: 14px;
		align-items: center;
	}

	.eu-art-related .eu-blog-card-img {
		margin: 0;
		aspect-ratio: 1 / 1;
	}

	.eu-art-related .eu-blog-card h3 {
		margin: 6px 0 0;
		font-size: 16px;
	}
}

/* produse din articol pe mobil: sagetile pe imagine, ca pe homepage (featured.tpl), nu peste nume */
@media (max-width: 550px) {
	.eu-art-products .eu-art-swiper .swiper-button-prev,
	.eu-art-products .eu-art-swiper .swiper-button-next {
		top: 22%;
		width: 44px;
		height: 44px;
		margin-top: -22px;
		border-radius: 50%;
		background-color: rgba(255, 255, 255, .92);
		background-size: 10px auto !important;
		box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
	}

	.eu-art-products .eu-art-swiper .swiper-button-prev {
		left: 4px;
	}

	.eu-art-products .eu-art-swiper .swiper-button-next {
		right: 4px;
	}

	.eu-art-products .eu-art-swiper .swiper-button-disabled {
		opacity: 0;
		pointer-events: none;
	}
}

/* langa pastila de categorie nu mai punem punct de separare (ajungea la inceput de rand) */
.eu-blog-meta > .eu-blog-tag + span::before {
	display: none;
}
