/* BLOG LISTING – moderny UX redesign */

#content-wrapper .sectionDescription p:empty,
#content-wrapper .sectionDescription p {
	margin: 0;
}

#content-wrapper .sectionDescription {
	margin-bottom: 28px;
	padding: 24px 0 8px;
	text-align: center;
}

#content-wrapper .sectionDescription h1 {
	margin: 0 0 10px;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 700;
	color: #1f1f1f;
}

#content-wrapper .sectionDescription::after {
	content: "Inšpirácie, trendy a tipy, ako si vybrať šaty na každú príležitosť.";
	display: block;
	max-width: 720px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.7;
	color: #6b7280;
}

/* wrapper */
#newsWrapper.news-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin-top: 8px;
	align-items: stretch;
}

/* card */
#newsWrapper .news-item {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #f1d9e4;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	height: 100%;
}

#newsWrapper .news-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
	border-color: #ecadc5;
}

/* image */
#newsWrapper .news-item .image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f8f8f8;
}

#newsWrapper .news-item .image a {
	display: block;
	width: 100%;
	height: 100%;
}

#newsWrapper .news-item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

#newsWrapper .news-item:hover .image img {
	transform: scale(1.04);
}

/* text */
#newsWrapper .news-item .text {
	display: flex;
	flex-direction: column;
	padding: 20px 22px 22px;
	flex: 1;
}

#newsWrapper .news-item .title {
	display: block;
	margin: 0 0 10px;
	color: #1f1f1f;
	font-size: 24px;
	line-height: 1.28;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

#newsWrapper .news-item .title:hover {
	color: #e94b87;
	text-decoration: none;
}

#newsWrapper .news-item time {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #fff4f8;
	color: #c13d73;
	font-size: 13px;
	line-height: 1;
	font-weight: 600;
}

/* excerpt */
#newsWrapper .news-item .description {
	margin-top: 0;
}

#newsWrapper .news-item .description p {
	margin: 0;
	color: #5f6673;
	font-size: 15px;
	line-height: 1.75;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* clickable feel */
#newsWrapper .news-item .text::after {
	content: "Prečítať článok →";
	display: inline-block;
	margin-top: 18px;
	color: #e94b87;
	font-size: 15px;
	font-weight: 700;
}

/* pagination */
.listingControls {
	margin-top: 34px;
	padding-top: 10px;
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pagination__list li {
	margin: 0;
}

.pagination__currentPage,
.pagination__link {
	min-width: 44px;
	height: 44px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid #ead6df;
	background: #fff;
	color: #333;
}

.pagination__currentPage {
	background: #e94b87;
	border-color: #e94b87;
	color: #fff;
}

.pagination__link:hover {
	border-color: #e94b87;
	color: #e94b87;
	text-decoration: none;
}

/* items total */
.itemsTotal {
	margin-top: 16px;
	color: #6b7280;
	font-size: 14px;
}

/* top button */
.goToTop {
	margin-top: 14px;
}

.goToTop__button.btn.btn-secondary {
	border-radius: 14px;
	padding: 12px 18px;
}

/* visited products under blog - visually separated */
.dkLabVisitedProductsNew {
	margin-top: 44px;
	padding: 28px;
	border-radius: 24px;
	background: linear-gradient(180deg, #fff7fa 0%, #ffffff 100%);
	border: 1px solid #f5d9e4;
}

/* tablet */
@media (max-width: 991px) {
	#newsWrapper.news-wrapper {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	#newsWrapper .news-item .title {
		font-size: 22px;
	}
}

/* mobile */
@media (max-width: 767px) {
	#content-wrapper .sectionDescription {
		padding-top: 12px;
		margin-bottom: 20px;
	}

	#content-wrapper .sectionDescription h1 {
		font-size: 28px;
	}

	#content-wrapper .sectionDescription::after {
		font-size: 15px;
		line-height: 1.6;
	}

	#newsWrapper.news-wrapper {
		gap: 18px;
	}

	#newsWrapper .news-item {
		border-radius: 18px;
	}

	#newsWrapper .news-item .image {
		aspect-ratio: 16 / 11;
	}

	#newsWrapper .news-item .text {
		padding: 16px 16px 18px;
	}

	#newsWrapper .news-item .title {
		font-size: 20px;
		line-height: 1.3;
		margin-bottom: 8px;
	}

	#newsWrapper .news-item time {
		margin-bottom: 12px;
		font-size: 12px;
	}

	#newsWrapper .news-item .description p {
		font-size: 14px;
		line-height: 1.65;
		-webkit-line-clamp: 3;
	}

	.pagination__currentPage,
	.pagination__link {
		min-width: 40px;
		height: 40px;
		border-radius: 10px;
		padding: 0 12px;
	}

	.dkLabVisitedProductsNew {
		padding: 18px 14px;
		border-radius: 18px;
	}
}
