/* escape. — /otzyvy/ all guest reviews. The cards themselves come from
   plugins/esclub-reviews/assets/css/reviews.css; here — page frame and the
   design tokens the block reads (--surface, --border…). */

.esc-rvp {
	--bg: #1c1c1c;
	--surface: #242424;
	--surface-2: #2b2b2b;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--muted: #b3b3b3;
	--accent: #ff0004;
	--accent-grad: linear-gradient(135deg, #ff3b3e 0%, #ff0004 100%);
	position: relative;
	isolation: isolate;
	overflow: clip;
	max-width: 1248px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 48px) 24px clamp(52px, 6.5vw, 96px);
	color: #f2f2f2;
	font-family: 'Ubuntu', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.5;
}

.esc-rvp :where(h1, h2, p) {
	margin: 0;
	padding: 0;
}

.esc-rvp__glow {
	position: absolute;
	inset: -10% -20% auto;
	z-index: -1;
	height: 480px;
	background: radial-gradient(ellipse 60% 55% at 15% 0%, rgba(255, 0, 4, 0.08), transparent 60%);
	pointer-events: none;
}

.esc-rvp__hero {
	max-width: 760px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

/* «Назад»: the first thing on the page, a solid accent button (owner's request, 27.09.2026). */
.esc-rvp__back {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	min-height: 44px;
	margin-bottom: clamp(20px, 3vw, 28px);
	padding: 0 20px 0 16px;
	border-radius: 6px;
	background: var(--accent);
	box-shadow: 0 10px 30px -10px rgba(255, 0, 4, 0.55);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease-in-out, transform 0.3s ease-in-out;
}

.esc-rvp__back svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease-in-out;
}

.esc-rvp__back:hover,
.esc-rvp__back:focus-visible {
	background: #d40c10;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
}

.esc-rvp__back:hover svg {
	transform: translateX(-3px);
}

.esc-rvp__back:active {
	transform: scale(0.975);
}

@media (prefers-reduced-motion: reduce) {
	.esc-rvp__back,
	.esc-rvp__back svg {
		transition: none;
		transform: none !important;
	}
}

.esc-rvp__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: #ff6b6d;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.esc-rvp__eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--accent);
	opacity: 0.7;
}

.esc-rvp h1 {
	color: #fff;
	font-size: clamp(34px, 5.2vw, 56px);
	font-weight: 700;
	line-height: 1.1;
}

.esc-rvp__grad {
	background: var(--accent-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.esc-rvp__lead {
	margin-top: 18px !important;
	color: var(--muted);
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.6;
}

.esc-rvp__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.esc-rvp__pill {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.esc-rvp__pill:hover,
.esc-rvp__pill:focus-visible {
	border-color: #fff;
	background: var(--surface);
}

.esc-rvp__sec {
	padding-top: clamp(40px, 5vw, 64px);
	scroll-margin-top: calc(var(--nav-h, 76px) + 16px);
}

.esc-rvp__sec + .esc-rvp__sec {
	border-top: 1px solid var(--border);
	margin-top: clamp(40px, 5vw, 64px);
}

.esc-rvp__sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
}

.esc-rvp__h2 {
	margin-bottom: 20px !important;
	color: #fff;
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 700;
	line-height: 1.2;
}

.esc-rvp__more {
	margin-bottom: 20px;
	color: #ff6b6d;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease-in-out;
}

.esc-rvp__more:hover,
.esc-rvp__more:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.esc-rvp__empty {
	color: var(--muted);
}

.esc-rvp :focus-visible {
	outline: 2px solid #ff6b6d;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.esc-rvp__pill,
	.esc-rvp__more {
		transition: none;
	}
}
