/* ==========================================================================
   Google Reviews Slider
   ========================================================================== */

.gr-slider-wrap {
	margin: 2em auto !important;
	font-family: inherit;
	font-size: 16px;
	color: #d8d5cb;
	width: 100%;
	max-width: 1190px !important;
}


/* ===== HEADER ===== */

.gr-header {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	padding: 24px 28px;
	background: #1c1b18;
	border: 1px solid #34322c;
	border-radius: 16px;
}

.gr-header__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center center;
    filter: blur(2px);
    opacity: .7;
}

.gr-header__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(
		90deg,
		rgba(28, 27, 24, .94) 0%,
		rgba(28, 27, 24, .78) 45%,
		rgba(28, 27, 24, .60) 100%
	);
}

.gr-header__rating,
.gr-header__info {
	position: relative;
	z-index: 1;
}

.gr-header__rating {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gr-rating-big {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 46px;
	font-weight: 700;
	color: #c79a3f;
	line-height: 1;
}

.gr-rating-count {
	font-size: 14px;
	color: #a8a293;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.gr-header__info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	text-align: right;
}

.gr-header__name {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 500;
	color: #f5f3ec;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: .055em;
}

.gr-google-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 18px;
	border: 1px solid #c79a3f;
	border-radius: 8px;
	color: #c79a3f;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: transparent;
	transition: background .2s ease, color .2s ease;
}

.gr-google-btn:hover {
	background: #c79a3f;
	color: #1c1b18;
}


/* ===== STARS ===== */

.gr-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}

.gr-star {
	font-size: 18px;
}

.gr-star-full {
	color: #c79a3f;
}

.gr-star-empty {
	color: #4a4434;
}

.gr-star-half {
	background: linear-gradient(90deg, #c79a3f 50%, #4a4434 50%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}


/* ===== SPLIDE BASE ===== */

.gr-splide-wrap {
	position: relative;
	padding: 6px 0 14px;
	overflow-x: clip;
}

.gr-splide {
	padding-bottom: 34px;
}

.gr-splide .splide__list {
	align-items: stretch;
}

.gr-splide .splide__slide {
	display: flex;
	height: auto;
}

.gr-splide .splide__track {
	overflow: visible;
	padding: 20px 6px;
	margin: -20px -6px;
}

.gr-splide .splide__arrow {
	display: none !important;
}

.gr-splide .splide__pagination {
	bottom: 0;
	gap: 6px;
}

.gr-splide .splide__pagination__page {
	background: #5a5548;
	width: 9px;
	height: 9px;
	opacity: 1;
	margin: 0;
	border: none;
	transition: background .2s ease, transform .2s ease;
}

.gr-splide .splide__pagination__page.is-active {
	background: #c79a3f;
	transform: scale(1.3);
}


/* ===== CARD ===== */

.gr-card {
	background: #1c1b18;
	border: 1px solid #34322c;
	border-radius: 14px;
	padding: 22px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition:
		transform .25s ease,
		border-color .25s ease,
		box-shadow .25s ease;
}

.gr-card:hover {
	transform: translateY(-5px);
	border-color: #4b4638;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .45);
}

.gr-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gr-avatar {
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #2a2823;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gr-avatar__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gr-avatar__initial {
	color: #c79a3f;
	font-family: Georgia, serif;
	font-weight: 600;
	font-size: 20px;
}

.gr-author-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gr-author {
	font-size: 16px;
	font-weight: 600;
	color: #f5f3ec;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gr-date {
	font-size: 13px;
	color: #8a8576;
	text-transform: uppercase;
	letter-spacing: .05em;
}


/* ===== TEXT + EXPAND ===== */

.gr-text-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gr-text {
	margin: 0;
	color: #c7c4ba;
	font-size: 16px;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.65em * 4);
}

.gr-text-wrap.is-open .gr-text {
	-webkit-line-clamp: initial;
	line-clamp: initial;
	overflow: visible;
}

.gr-readmore {
	align-self: flex-start;
	margin-top: auto;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #c79a3f;
	border-bottom: 1px solid transparent;
}

.gr-readmore::after {
	content: "\2193";
	transition: transform .2s ease;
}

.gr-readmore:hover {
	color: #e3b85a;
}

.gr-text-wrap.is-open .gr-readmore::after {
	content: "\2191";
}


/* ===== GOOGLE LINK (after expand) ===== */

.gr-card-foot {
	display: none;
	margin-top: 2px;
}

.gr-card.is-expanded .gr-card-foot {
	display: flex;
}

.gr-google-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #c79a3f;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
}

.gr-google-link::after {
	content: "\2192";
	transition: transform .2s ease;
}

.gr-google-link:hover {
	color: #e3b85a;
	border-bottom-color: #e3b85a;
}

.gr-google-link:hover::after {
	transform: translateX(3px);
}


/* ===== ERROR ===== */

.gr-error {
	background: #2a1715;
	border: 1px solid #5a2a25;
	color: #e8a59f;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 15px;
}
