/* Értékelések: Szállás.hu összesítés és véleménykártyák (lábléc). Visszafogott: fontos, de nem a lap fő eleme. */
.szb-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- summary: compact score next to the rating ---------- */
.szb-ert-osszesites {
	display: flex;
	align-items: center;
	gap: 16px;
}
.szb-ert-osszesites p {
	margin: 0;
}
.szb-ert-pont {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--font-cim, "Forum"), serif;
	line-height: 1;
	color: var(--zold-800, #2C3C16);
}
.szb-ert-szam {
	font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem);
}
.szb-ert-skala {
	font-size: 1.125rem;
	color: var(--barna-500, #6B5848);
}
.szb-ert-minosites {
	font-family: var(--font-cim, "Forum"), serif;
	font-size: 1.375rem;
	line-height: 1.2;
	color: var(--barna-800, #3F3228);
}
.szb-ert-alap {
	font-size: 0.9375rem;
	color: var(--barna-900, #2B221B);
}
.szb-ert-osszesites .szb-ert-alap a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.szb-ert-osszesites .szb-ert-alap a:hover {
	text-decoration-thickness: 3px;
}

/* ---------- review cards: 3 / 2 / 1 visible, scroll-snap, swipe ---------- */
.szb-ert-slider {
	--ert-latszik: 3;
	--ert-koz: 16px;
}
@media (max-width: 1024px) {
	.szb-ert-slider { --ert-latszik: 2; }
}
@media (max-width: 767px) {
	.szb-ert-slider { --ert-latszik: 1; }
}
.szb-ert-palya {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--ert-latszik) - 1) * var(--ert-koz)) / var(--ert-latszik));
	gap: var(--ert-koz);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.szb-ert-palya::-webkit-scrollbar {
	display: none;
}
.szb-ert-palya:focus-visible {
	outline: 3px solid var(--zold-800, #2C3C16);
	outline-offset: 4px;
}
.szb-ert-kartya {
	position: relative; /* containing block for .szb-sr: otherwise it escapes the track's overflow and widens the page */
	margin: 0;
	scroll-snap-align: start;
}
.szb-ert-kartya figure {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	margin: 0;
	padding: 20px 22px;
	background: var(--alap, #F4F4EE);
	border-top: 3px solid var(--szena, #C8A252);
}
.szb-ert-kartya figcaption {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0 12px;
	font-style: normal; /* theme figcaption */
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--barna-500, #6B5848);
}
.szb-ert-ki {
	color: var(--barna-900, #2B221B);
	font-weight: 600;
	font-size: 0.9375rem;
}
.szb-ert-mikor {
	grid-column: 1;
}
.szb-ert-dpont {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: start;
	min-width: 2.5em;
	padding: 4px 6px;
	background: var(--zold-800, #2C3C16);
	color: var(--feher, #fff);
	font-weight: 600;
	text-align: center;
}
.szb-ert-idezet {
	margin: 0;
	padding: 0;
	border: 0;
	quotes: "„" "”";
}
.szb-ert-idezet p {
	margin: 0;
	overflow-wrap: anywhere; /* "kedves,barátságos" style run-ons must not overflow the card with text spacing */
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--barna-900, #2B221B);
}
/* long reviews: the script hides the rest of the text behind "Teljes vélemény" (hidden, not clipped: 1.4.12) */
.szb-ert-tobbi[hidden],
.szb-ert-pontok[hidden] {
	display: none;
}
button.szb-ert-tobb {
	align-self: flex-start;
	min-height: 24px;
	margin: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--barna-900, #2B221B);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
	cursor: pointer;
	transition: text-decoration-thickness 0.25s;
}
button.szb-ert-tobb:hover,
button.szb-ert-tobb:focus,
button.szb-ert-tobb:active {
	background: none;
	color: var(--barna-900, #2B221B);
	text-decoration-thickness: 3px; /* theme buttons turn pink on hover and focus */
}
.szb-ert-idezet p::before {
	content: open-quote;
}
.szb-ert-idezet p::after {
	content: close-quote;
}
.szb-ert-vezerlok {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 16px;
}
button.szb-ert-lapoz {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--zold-800, #2C3C16);
	border-radius: 0;
	background: linear-gradient(var(--zold-800, #2C3C16), var(--zold-800, #2C3C16)) no-repeat 0 0 / 0 100%;
	color: var(--zold-800, #2C3C16);
	font: inherit;
	font-size: 1.125rem;
	cursor: pointer;
	transition: background-size 0.3s cubic-bezier(0.22, 0.8, 0.3, 1), color 0.3s cubic-bezier(0.22, 0.8, 0.3, 1), opacity 0.2s;
}
button.szb-ert-lapoz:hover,
button.szb-ert-lapoz:focus,
button.szb-ert-lapoz:active {
	background-color: transparent; /* theme button colours */
	color: var(--zold-800, #2C3C16);
}
button.szb-ert-lapoz:hover:not(:disabled),
button.szb-ert-lapoz:focus-visible {
	background-size: 100% 100%;
	color: var(--feher, #fff);
}
button.szb-ert-lapoz:disabled {
	opacity: 0.35;
	cursor: default;
}
@media (max-width: 767px) {
	.szb-ert-vezerlok {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.szb-ert-palya {
		scroll-behavior: auto;
	}
	button.szb-ert-lapoz {
		transition: none;
	}
}
