/* Reviews archive page — hero + cards + platforms */

.reviews-page {
	font-family: 'Onest', Arial, sans-serif;
	color: #14151A;
	box-sizing: border-box;
	padding: 0 0 100px;
}

.reviews-page *,
.reviews-page *::before,
.reviews-page *::after {
	box-sizing: border-box;
}

.reviews-page .draxter-container {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Hero banner — flush to content edges; cancel #container gutters */
.reviews-page__hero {
	margin: 0 0 80px;
	padding: 0;
	width: 100%;
	box-sizing: border-box;
}

/* Break out of body.template-custom-page #container padding (site-gutter) */
body.template-custom-page .reviews-page__hero,
body.templatepageview.template-custom-page .reviews-page__hero {
	margin-left: calc(-1 * var(--site-gutter, 0px));
	margin-right: calc(-1 * var(--site-gutter, 0px));
	width: calc(100% + 2 * var(--site-gutter, 0px));
	max-width: none;
}

.reviews-page__hero-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 275px;
	min-height: 275px;
	margin: 0;
	padding: 0;
	border-radius: 0;
	overflow: hidden;
	background: linear-gradient(90deg, #e9ecff 0%, #c4ceff 55%, #b5c0ff 100%);
}

.reviews-page__hero-banner picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.reviews-page__hero-bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
	pointer-events: none;
	user-select: none;
}

.reviews-page__hero-content {
	position: relative;
	z-index: 1;
	max-width: 620px;
	width: 55%;
	margin-left: 0;
	margin-right: auto;
	padding: 48px 24px 48px 56px;
	text-align: left;
}

.reviews-page__hero-title {
	margin: 0 0 16px;
	color: #102631;
	font-family: 'SONGER SemiExpanded', 'Onest', sans-serif;
	font-size: 48px;
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.reviews-page__hero-subtitle {
	margin: 0;
	max-width: 480px;
	color: #102631;
	font-family: 'Onest', Arial, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.45;
}

/* Cards */
.reviews-page__grid {
	margin: 0;
}

.reviews-page .home-reviews__card {
	min-height: 0;
	scroll-margin-top: 120px;
}

.reviews-page .home-reviews__text,
.reviews-page__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.reviews-page .home-reviews__card.is-expanded .home-reviews__text,
.reviews-page .home-reviews__card.is-expanded .reviews-page__text {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.reviews-page__more {
	margin-top: 16px;
	color: #707070;
	font-size: 14px;
	font-weight: 500;
}

.reviews-page__more[hidden] {
	display: none !important;
}

.reviews-page__more:hover {
	color: #3033FF;
}

.reviews-page__more .home-reviews__more-icon path {
	fill: currentColor;
}

.reviews-page__reply {
	margin-top: 16px;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e8e8e8;
}

.reviews-page__reply-label {
	margin-bottom: 8px;
	color: #102631;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.reviews-page__reply-text {
	color: #4a4a4a;
	font-size: 14px;
	line-height: 1.55;
}

.reviews-page__card--highlight {
	box-shadow: 0 0 0 2px rgba(48, 51, 255, 0.25);
}

.reviews-page__empty {
	margin: 0;
	padding: 48px 24px;
	text-align: center;
	color: #707070;
	font-size: 18px;
	line-height: 1.5;
}

/* Pagination */
.reviews-page__pagination {
	margin-top: 48px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;
	overflow: visible;
}

.reviews-page__pagination a,
.reviews-page__pagination .pagination__ellipsis {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	background: #fff;
	color: #102631;
	font-family: 'Onest', Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reviews-page__pagination .pagination__ellipsis {
	border-color: transparent;
	background: transparent;
	min-width: 28px;
	width: auto;
	font-size: 18px;
	color: #707070;
}

.reviews-page__pagination a.prev_page_link,
.reviews-page__pagination a.next_page_link {
	color: #102631;
}

.reviews-page__pagination a:hover {
	background: #f4f4ff;
	border-color: #c8caff;
	color: #3033FF;
}

.reviews-page__pagination a.selected,
.reviews-page__pagination a.selected:hover {
	background: #3033FF;
	border-color: #3033FF;
	color: #fff;
}

/* Platforms */
.reviews-page__section-title {
	margin: 0 0 40px;
	padding-top: 0;
	border-top: 0;
	color: #102631;
	font-family: 'SONGER SemiExpanded', 'Onest', sans-serif;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.reviews-page__platforms {
	margin-top: 80px;
}

.reviews-page__platforms-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px 40px;
	align-items: center;
}

.reviews-page__platform-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 12px;
	border-radius: 0;
	background: transparent;
	border: 0;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

a.reviews-page__platform-item:hover {
	opacity: 0.75;
	border: 0;
	box-shadow: none;
}

.reviews-page__platform-logo {
	display: block;
	max-width: 100%;
	max-height: 36px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.reviews-page__platform-logo[src*="otzovik"] {
	max-height: 52px;
}

.reviews-page__platform-label {
	color: #102631;
	font-family: 'Onest', Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/* Form spacing only — visuals come from product-card-demo.css via .pcd-main (same as PDP) */
.reviews-page > .pcd-main,
.reviews-page .pcd-main {
	margin-top: 40px;
}

.reviews-page .pcd-main #reviews-review-form {
	scroll-margin-top: 120px;
}

.reviews-page__seo {
	margin-top: 48px;
	color: #4a4a4a;
	font-size: 15px;
	line-height: 1.6;
}

/* Tablet — stack cards, keep hero readable */
@media (max-width: 1100px) {
	.reviews-page__hero-banner {
		height: auto;
		min-height: 200px;
		border-radius: 0;
	}

	.reviews-page__hero-content {
		max-width: 55%;
		width: 55%;
		margin-left: 0;
		margin-right: auto;
		padding: 36px 20px 36px 40px;
	}

	.reviews-page__hero-title {
		font-size: 40px;
	}

	.reviews-page__hero-subtitle {
		font-size: 16px;
	}

	.reviews-page__platforms-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
	}
}

@media (max-width: 992px) {
	.reviews-page {
		padding-bottom: 80px;
	}

	.reviews-page__hero {
		margin-bottom: 28px;
	}

	.reviews-page .home-reviews__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.reviews-page .home-reviews__card {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.reviews-page__pagination {
		margin-top: 32px;
		gap: 6px;
	}

	.reviews-page__pagination a,
	.reviews-page__pagination .pagination__ellipsis {
		min-width: 40px;
		width: 40px;
		height: 40px;
		font-size: 15px;
	}

	.reviews-page__section-title {
		margin-bottom: 28px;
		font-size: 24px;
	}

	.reviews-page__platforms {
		margin-top: 48px;
	}

	.reviews-page .pcd-main {
		margin-top: 8px;
	}
}

/* Mobile only — do not apply these rules on desktop */
@media (max-width: 767px) {
	.reviews-page {
		padding-bottom: 48px;
	}

	.reviews-page__hero {
		float: none;
		clear: both;
		margin-bottom: 20px;
		/* Cancel template-page-layout --mob-page-pad on #container */
		margin-left: calc(-1 * var(--mob-page-pad, var(--site-gutter, 16px)));
		margin-right: calc(-1 * var(--mob-page-pad, var(--site-gutter, 16px)));
		width: calc(100% + 2 * var(--mob-page-pad, var(--site-gutter, 16px)));
	}

	.reviews-page__hero-banner {
		height: auto;
		min-height: 148px;
		border-radius: 0;
		align-items: center;
		justify-content: flex-end;
		overflow: hidden;
	}

	/* Stronger than mobile #content img { height:auto } when theme shares this sheet */
	.reviews-page__hero-banner picture,
	#content .reviews-page__hero-banner picture {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
	}

	.reviews-page__hero-bg,
	#content .reviews-page__hero-bg {
		float: none;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: left center;
	}

	.reviews-page__hero-content {
		max-width: 58%;
		width: 58%;
		margin-left: auto;
		padding: 20px 16px 20px 12px;
	}

	.reviews-page__hero-title {
		margin-bottom: 8px;
		font-size: 28px;
		line-height: 1.1;
	}

	.reviews-page__hero-subtitle {
		max-width: none;
		font-size: 13px;
		line-height: 1.4;
	}

	.reviews-page .pcd-main {
		margin-top: 0;
	}

	.reviews-page .home-reviews__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.reviews-page .home-reviews__card {
		min-height: 0;
		padding: 16px;
		border-radius: 12px;
	}

	.reviews-page .home-reviews__top {
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 10px;
	}

	.reviews-page .home-reviews__author {
		font-size: 14px;
		font-weight: 700;
		line-height: 1.3;
	}

	.reviews-page .home-reviews__stars {
		gap: 2px;
	}

	.reviews-page .home-reviews__star {
		width: 14px;
		height: 13px;
	}

	.reviews-page .home-reviews__platform {
		margin-bottom: 10px;
		min-height: 20px;
	}

	.reviews-page .home-reviews__platform-img {
		max-height: 22px;
		max-width: 120px;
	}

	.reviews-page .home-reviews__platform-img[src*="otzovik"] {
		max-height: 34px;
		max-width: 180px;
	}

	.reviews-page .home-reviews__platform--text {
		font-size: 12px;
	}

	.reviews-page .home-reviews__product {
		margin-bottom: 8px;
		font-size: 13px;
		line-height: 1.35;
	}

	.reviews-page .home-reviews__text,
	.reviews-page__text {
		font-size: 13px;
		line-height: 1.55;
	}

	.reviews-page__more {
		margin-top: 12px;
		font-size: 13px;
	}

	.reviews-page__reply {
		margin-top: 12px;
		padding: 12px 14px;
		border-radius: 10px;
	}

	.reviews-page__reply-label {
		font-size: 13px;
		margin-bottom: 6px;
	}

	.reviews-page__reply-text {
		font-size: 13px;
		line-height: 1.5;
	}

	.reviews-page__pagination {
		margin-top: 24px;
		gap: 4px;
	}

	.reviews-page__pagination a,
	.reviews-page__pagination .pagination__ellipsis {
		min-width: 32px;
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	.reviews-page__pagination .pagination__ellipsis {
		min-width: 20px;
		width: auto;
		font-size: 16px;
	}

	.reviews-page__section-title {
		margin: 0 0 20px;
		font-size: 20px;
		line-height: 1.2;
	}

	.reviews-page__platforms {
		margin-top: 40px;
	}

	.reviews-page__platforms-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.reviews-page__platform-item {
		min-height: 40px;
		padding: 8px;
	}

	.reviews-page__platform-logo {
		max-height: 32px;
	}

	.reviews-page__platform-logo[src*="otzovik"] {
		max-height: 44px;
	}

	.reviews-page__platform-label {
		font-size: 13px;
	}

	.reviews-page__seo {
		margin-top: 32px;
		font-size: 13px;
		line-height: 1.55;
	}
}
