/* Karamousli Elements. Uses the Karamousli theme's colour and font tokens
   (Customizer), with the same brand defaults as fallbacks for other themes. */

.kel-hero,
.kel-offers-mobile,
.kel-editor-offers,
.kel-reviews,
.kel-cert,
.kel-gallery-section,
.kel-map,
.kel-bar {
	--kel-primary: var(--k-primary, #b2a68d);
	--kel-primary-hover: var(--k-primary-hover, #9b9079);
	--kel-on-primary: var(--k-on-primary, #1a1a1a);
	--kel-primary-text: var(--k-primary-text, #766b54);
	--kel-accent: var(--k-accent, #a79f88);
	--kel-sand: var(--k-sand, #cdc3b1);
	--kel-cream: var(--k-cream, #eeebe5);
	--kel-mist: var(--k-mist, #f2f2f2);
	--kel-heading: var(--k-heading, #000);
	--kel-text: var(--k-text, #1a1a1a);
	--kel-muted: var(--k-muted, #555);
	--kel-font: var(--k-font, inherit);
	--kel-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--kel-shadow: 0 24px 56px -24px rgba(40, 32, 20, 0.28);
	font-family: var(--kel-font);
	box-sizing: border-box;
}

.kel-hero *,
.kel-offers-mobile *,
.kel-cert *,
.kel-gallery-section *,
.kel-bar * {
	box-sizing: border-box;
}

/* Shared button, matches the theme's pill buttons */
.kel-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 46px;
	padding: 0.8em 1.8em;
	border-radius: 999px;
	background: var(--kel-primary);
	color: var(--kel-on-primary) !important;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color 0.25s var(--kel-ease), transform 0.25s var(--kel-ease);
}

.kel-button:hover,
.kel-button:focus-visible {
	background: var(--kel-primary-hover);
	color: var(--kel-on-primary) !important;
}

.kel-arrow {
	display: inline-block;
	transition: transform 0.3s var(--kel-ease);
}

.kel-button:hover .kel-arrow {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.kel-hero {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 420px;
	height: calc(100svh - var(--k-header-h, 90px) - var(--k-bar-h, 0px) - var(--wp-admin--admin-bar--height, 0px));
	overflow: hidden;
	background: var(--kel-sand);
	isolation: isolate;
}

.kel-hero__image,
.kel-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0 !important;
}

.kel-hero__image {
	z-index: -3;
}

.kel-hero__video {
	z-index: -2;
	opacity: 0;
	transition: opacity 1.2s var(--kel-ease);
}

.kel-hero__video.is-playing {
	opacity: 1;
}

/* Soft shade on the text side instead of a heavy text shadow */
.kel-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(20, 16, 10, 0.42) 0%, rgba(20, 16, 10, 0.18) 45%, rgba(20, 16, 10, 0) 70%);
	pointer-events: none;
}

.kel-hero__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	width: 100%;
	max-width: var(--k-container, 1300px);
	margin: 0 auto;
	padding: 3rem clamp(20px, 4vw, 40px);
}

.kel-hero .kel-hero__title {
	max-width: 15ch;
	margin: 0;
	color: #fff;
	font-family: var(--kel-font);
	font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.4rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
	text-wrap: balance;
	animation: kel-rise 0.9s var(--kel-ease) both;
}

.kel-hero__offers {
	flex: 0 0 300px;
	animation: kel-rise 0.9s var(--kel-ease) 0.15s both;
}

@keyframes kel-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Offer cards (hero and mobile section)
   -------------------------------------------------------------------------- */

.kel-offers {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.kel-offer {
	padding: 1.6rem 1.5rem 1.5rem;
	border-top: 3px solid var(--kel-primary);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--kel-shadow);
	text-align: center;
	transition: transform 0.3s var(--kel-ease);
}

.kel-offer:hover {
	transform: translateY(-4px);
}

.kel-offer .kel-offer__title {
	margin: 0 0 0.5rem;
	color: var(--kel-heading);
	font-family: var(--kel-font);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.kel-offer__text {
	margin: 0 0 0.9rem;
	color: var(--kel-muted);
	font-size: 0.85rem;
	line-height: 1.5;
}

.kel-offer__price {
	display: block;
	margin-bottom: 1rem;
	color: var(--kel-primary-text);
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

/* Cards built with blocks (Group > paragraphs + button) inside the hero. */
.kel-offer > * {
	margin-block: 0;
}

.kel-offer > .kel-offer__title {
	margin: 0 0 0.5rem;
}

.kel-offer > .kel-offer__text {
	margin: 0 0 0.9rem;
}

.kel-offer > .kel-offer__price {
	margin: 0 0 1rem;
}

.kel-offer .wp-block-buttons {
	justify-content: center;
}

.kel-offers-mobile {
	padding: 3rem 20px;
	background: var(--kel-mist);
}

.kel-offers-mobile.has-bg {
	background-image: linear-gradient(rgba(248, 248, 248, 0.82), rgba(248, 248, 248, 0.82)), var(--kel-offers-bg);
	background-size: cover;
	background-position: center;
}

.kel-offers-mobile .kel-offers {
	max-width: 360px;
	margin: 0 auto;
}

/* Phones and tablets: the hero fills the visible screen between the header
   and the booking bar (svh: no jump when the browser bars hide). The title
   sits at the top, the offer cards side by side at the bottom. */
@media (max-width: 1024px) {
	.kel-hero {
		align-items: stretch;
		min-height: 400px;
		height: calc(100svh - var(--k-header-h, 72px) - var(--k-bar-h, 0px) - var(--wp-admin--admin-bar--height, 0px));
	}
	.kel-hero::after {
		background: linear-gradient(180deg, rgba(20, 16, 10, 0.45) 0%, rgba(20, 16, 10, 0.12) 50%, rgba(20, 16, 10, 0.3) 100%);
	}
	.kel-hero__inner {
		flex-direction: column;
		justify-content: space-between;
		gap: 1.25rem;
		padding: 1.25rem 16px 1rem;
		text-align: center;
	}
	/* Auto margins centre the title in the space above the cards. */
	.kel-hero .kel-hero__title {
		max-width: 16ch;
		margin: auto;
		font-size: clamp(2.3rem, 9.6vw, 3.9rem);
	}
	.kel-hero__offers {
		flex: none;
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
	}
	.kel-hero__offers .kel-offers {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}
	.kel-hero__offers .kel-offer {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 0.9rem 0.7rem 0.85rem;
		border-radius: 8px;
	}
	.kel-hero__offers .kel-offer:hover {
		transform: none;
	}
	.kel-hero__offers .kel-offer .kel-offer__title {
		margin-bottom: 0.3rem;
		font-size: 0.82rem;
	}
	.kel-hero__offers .kel-offer .kel-offer__text {
		margin-bottom: 0.5rem;
		font-size: 0.72rem;
		line-height: 1.4;
	}
	.kel-hero__offers .kel-offer .kel-offer__price {
		margin-bottom: 0.6rem;
		font-size: 1.25rem;
	}
	.kel-hero__offers .kel-offer .wp-block-buttons,
	.kel-hero__offers .kel-offer .kel-button {
		margin-top: auto;
	}
	.kel-hero__offers .kel-offer .wp-block-button__link,
	.kel-hero__offers .kel-offer .kel-button {
		min-height: 0;
		padding: 0.6em 1.1em;
		font-size: 0.66rem;
		letter-spacing: 0.06em;
		white-space: nowrap;
	}
}

/* Keep the cards clear of the theme's floating WhatsApp/Instagram buttons. */
@media (max-width: 1024px) {
	body:has(.whatsapp-button, .instagram-button) .kel-hero__inner {
		padding-bottom: 88px;
	}
}

/* Narrow phones: smaller buttons so the labels stay on one line. */
@media (max-width: 390px) {
	.kel-hero__offers .kel-offer .wp-block-button__link,
	.kel-hero__offers .kel-offer .kel-button {
		padding: 0.6em 0.8em;
		font-size: 0.62rem;
		letter-spacing: 0.04em;
	}
}

/* Very short screens: drop the card descriptions so everything fits. */
@media (max-width: 1024px) and (max-height: 600px) {
	.kel-hero__offers .kel-offer .kel-offer__text {
		display: none;
	}
}

@media (min-width: 1025px) {
	.kel-offers-mobile {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   Medmonitor certificate
   -------------------------------------------------------------------------- */

.kel-cert {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	max-width: var(--k-container, 1300px);
	margin: clamp(2.5rem, 6vw, 4.5rem) auto;
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--kel-cream) 0%, #fbfaf7 100%);
}

@media (min-width: 992px) {
	.kel-cert {
		grid-template-columns: 1fr 1fr;
	}
}

.kel-cert .kel-cert__title {
	margin: 0 0 1rem;
	color: var(--kel-heading);
	font-family: var(--kel-font);
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: var(--k-heading-weight, 400);
	line-height: 1.2;
}

.kel-cert__desc {
	margin: 0 0 1.5rem;
	color: var(--kel-muted);
	font-size: 1rem;
	line-height: 1.75;
	max-width: 52ch;
}

.kel-cert__date {
	margin: 0 0 1.75rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--kel-accent);
	color: var(--kel-heading);
	font-size: 0.9rem;
	font-weight: 500;
}

.kel-cert__media {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: var(--kel-shadow);
	transition: transform 0.5s var(--kel-ease);
}

.kel-cert__media:hover {
	transform: translateY(-4px);
}

.kel-cert__image {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 599.98px) {
	.kel-cert .kel-button {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   Practice gallery and video
   -------------------------------------------------------------------------- */

.kel-gallery-section {
	max-width: var(--k-container, 1300px);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.kel-video__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--kel-shadow);
}

.kel-video__frame video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

.kel-video__frame video::cue {
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 0.9em;
	line-height: 1.4;
}

.kel-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kel-gallery__item {
	margin: 0;
	padding: 0;
}

/* Three columns on wide screens, as on the original page (3 × 3 images). */
@media (min-width: 1000px) {
	.kel-gallery {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.kel-gallery__link {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: var(--kel-cream);
	cursor: zoom-in;
}

.kel-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
	transition: transform 0.8s var(--kel-ease);
}

.kel-gallery__link:hover .kel-gallery__img,
.kel-gallery__link:focus-visible .kel-gallery__img {
	transform: scale(1.05);
}

/* Lightbox */
.kel-lightbox {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(12, 10, 8, 0.94);
	color: #fff;
}

.kel-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.kel-lightbox::backdrop {
	background: transparent;
}

.kel-lightbox__img {
	max-width: min(92vw, 1600px);
	max-height: 86vh;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	user-select: none;
}

.kel-lightbox__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s;
}

.kel-lightbox__btn:hover,
.kel-lightbox__btn:focus-visible {
	background: rgba(255, 255, 255, 0.2);
}

.kel-lightbox__close {
	top: 18px;
	right: 18px;
	font-size: 2rem;
}

.kel-lightbox__prev,
.kel-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.kel-lightbox__prev { left: 18px; }
.kel-lightbox__next { right: 18px; }

.kel-lightbox__count {
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	margin: 0;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-align: center;
	opacity: 0.7;
}

@media (max-width: 767.98px) {
	.kel-lightbox__prev,
	.kel-lightbox__next {
		top: auto;
		bottom: 8px;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Booking bar (only when the theme's own bar is off)
   -------------------------------------------------------------------------- */

.kel-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 98;
	background: var(--kel-primary);
	box-shadow: 0 -4px 20px -8px rgba(0, 0, 0, 0.25);
}

.kel-bar__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.5rem 20px calc(0.5rem + env(safe-area-inset-bottom, 0px));
	color: var(--kel-on-primary) !important;
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none !important;
}

.kel-bar__link:hover {
	background: var(--kel-primary-hover);
}

@media (prefers-reduced-motion: reduce) {
	.kel-hero .kel-hero__title,
	.kel-hero__offers {
		animation: none;
	}
	.kel-hero__video {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Map (loads Google Maps only after a click)
   -------------------------------------------------------------------------- */
.kel-map {
	position: relative;
	height: var(--kel-map-h, 500px);
	border-radius: 12px;
	overflow: hidden;
	background:
		linear-gradient(135deg, transparent 48%, rgba(167, 159, 136, 0.18) 49% 51%, transparent 52%) 0 0 / 56px 56px,
		linear-gradient(45deg, transparent 48%, rgba(167, 159, 136, 0.12) 49% 51%, transparent 52%) 0 0 / 84px 84px,
		var(--kel-cream);
}

.kel-map__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	height: 100%;
	padding: 1.5rem;
	text-align: center;
}

.kel-map__pin {
	color: var(--kel-accent);
}

.kel-map__address {
	margin: 0;
	max-width: 28ch;
	font-size: 1.05rem;
	color: var(--kel-heading);
}

.kel-map__note {
	margin: 0.25rem 0 0;
	max-width: 46ch;
	font-size: 0.8rem;
	color: #666;
}

.kel-map__note a {
	display: inline-block;
	margin-left: 0.25rem;
	color: inherit;
}

.kel-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Interview video player (own control bar, subtitles on by default)
   -------------------------------------------------------------------------- */
.kel-video__frame.has-player {
	position: relative;
	background: #000;
}

.kel-video__frame.has-player video {
	cursor: pointer;
	background: #000;
}

.kel-player__bar {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(20, 18, 15, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: opacity 0.3s ease;
}

.kel-player__bar[hidden] {
	display: none;
}

.kel-player__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.kel-player__btn:hover,
.kel-player__btn:focus-visible {
	background: rgba(255, 255, 255, 0.18);
}

.kel-player__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.kel-player__btn svg {
	width: 22px;
	height: 22px;
}

.kel-player__cc[aria-pressed="true"] {
	background: var(--kel-primary);
}

.kel-player__cc[aria-pressed="false"] svg {
	opacity: 0.6;
}

/* Icon states */
.kel-video__frame .i-pause,
.kel-video__frame .i-sound,
.kel-video__frame.is-playing .i-play,
.kel-video__frame:not(.is-muted) .i-muted {
	display: none;
}

.kel-video__frame.is-playing .i-pause,
.kel-video__frame:not(.is-muted) .i-sound {
	display: block;
}

.kel-player__progress {
	position: relative;
	width: 72px;
	height: 3px;
	margin: 0 10px 0 6px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
}

.kel-player__progress span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: #fff;
}


@media (max-width: 520px) {
	.kel-player__bar {
		left: 8px;
		bottom: 8px;
	}
	.kel-player__btn {
		width: 34px;
		height: 34px;
	}
	.kel-player__progress {
		display: none;
	}
}

/* The booking bar is fixed to the screen; keep it out of the block layout's
   width and spacing when it is placed in page content. */
.is-layout-constrained > .kel-bar,
.is-layout-flow > .kel-bar {
	max-width: none !important;
	margin: 0 !important;
}

/* Player bar: centred at the bottom, fades out while playing (see script). */
.kel-video__frame.has-player .kel-player__bar {
	left: 50%;
	transform: translateX(-50%);
	transition: opacity 0.35s ease;
}

.kel-video__frame.has-player.is-idle .kel-player__bar {
	opacity: 0;
	pointer-events: none;
}

.kel-video__frame.has-player.is-idle {
	cursor: none;
}

.wp-block-video.is-style-karamousli-player .kel-video__frame {
	aspect-ratio: auto;
	background: #000;
}

.wp-block-video.is-style-karamousli-player video {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 520px) {
	.kel-video__frame.has-player .kel-player__bar {
		left: 50%;
	}
}

/* Subtitles drawn by the player (see script): always 10px above the control
   bar, also while the bar is hidden; size follows the player width. */
.kel-video__frame.has-player {
	container-type: inline-size;
}

.kel-player__captions {
	position: absolute;
	left: 6%;
	right: 6%;
	bottom: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15em;
	color: #fff;
	font-size: clamp(13px, 2.3cqi, 24px);
	line-height: 1.35;
	text-align: center;
	white-space: pre-line;
	pointer-events: none;
}

.kel-player__captions span {
	padding: 0.1em 0.5em;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.72);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.kel-player__captions:empty {
	display: none;
}

@media (max-width: 520px) {
	.kel-player__captions {
		bottom: 60px;
	}
}


/* --------------------------------------------------------------------------
   Google reviews (cards, scroll-snap slider)
   -------------------------------------------------------------------------- */

.kel-reviews {
	--kel-review-gap: 1.25rem;
	color: var(--kel-text);
}

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

.kel-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem 0.75rem;
	margin: 0 0 1.75rem;
}

.kel-reviews__score {
	color: var(--kel-heading);
	font-size: 1.9rem;
	font-weight: 500;
	line-height: 1;
}

.kel-reviews__count {
	color: var(--kel-muted);
	font-size: 0.9rem;
}

.kel-reviews__stars {
	display: inline-flex;
	gap: 2px;
}

.kel-reviews__stars svg {
	width: 18px;
	height: 18px;
	fill: #ddd6c8;
}

.kel-reviews__stars svg.is-on {
	fill: var(--kel-primary);
}

/* position: relative makes the track the containing block of the cards'
   visually hidden texts (position: absolute), so they are clipped with the
   cards instead of widening the page (on phones the whole layout zoomed out). */
.kel-reviews__track {
	position: relative;
	display: flex;
	gap: var(--kel-review-gap);
	margin: 0;
	padding: 0.5rem 0.25rem 1.5rem;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	list-style: none;
}

.kel-reviews__track::-webkit-scrollbar {
	display: none;
}

.kel-review {
	display: flex;
	flex: 0 0 calc((100% - 2 * var(--kel-review-gap)) / 3);
	flex-direction: column;
	gap: 0.8rem;
	margin: 0;
	padding: 1.5rem 1.5rem 1.4rem;
	border-top: 3px solid var(--kel-primary);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 18px 40px -26px rgba(40, 32, 20, 0.35);
	scroll-snap-align: start;
}

.kel-review__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.kel-review__avatar {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--kel-cream);
	color: var(--k-primary-text, #6b614c);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.kel-review__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.3;
}

.kel-review__name {
	overflow: hidden;
	color: var(--kel-heading);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kel-review__name a {
	color: inherit;
	text-decoration: none;
}

.kel-review__name a:hover,
.kel-review__name a:focus-visible {
	text-decoration: underline;
}

.kel-review__date {
	color: var(--kel-muted);
	font-size: 0.8rem;
}

.kel-review__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 0.92rem;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
}

.kel-review.is-open .kel-review__text {
	display: block;
	-webkit-line-clamp: unset;
}

.kel-review__more {
	align-self: flex-start;
	margin-top: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--k-primary-text, #6b614c);
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.kel-reviews__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

.kel-reviews__nav {
	display: flex;
	gap: 0.5rem;
}

.kel-reviews__nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--kel-sand);
	border-radius: 50%;
	background: #fff;
	color: var(--kel-heading);
	cursor: pointer;
	transition: border-color 0.2s var(--kel-ease), background-color 0.2s var(--kel-ease);
}

.kel-reviews__nav button:hover,
.kel-reviews__nav button:focus-visible {
	border-color: var(--kel-primary);
	background: var(--kel-cream);
}

.kel-reviews__nav svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.kel-reviews.is-static .kel-reviews__nav {
	visibility: hidden;
}

.kel-reviews__source {
	margin: 0;
	color: var(--kel-muted);
	font-size: 0.82rem;
}

.kel-reviews__source a {
	color: var(--k-primary-text, #6b614c);
}

@media (max-width: 960px) {
	.kel-review {
		flex-basis: calc((100% - var(--kel-review-gap)) / 2);
	}
}

@media (max-width: 600px) {
	.kel-reviews {
		--kel-review-gap: 0.9rem;
	}

	.kel-review {
		flex-basis: 86%;
	}

	.kel-reviews__footer {
		flex-direction: column;
		text-align: center;
	}
}
