/* MTCC Google Reviews slider. Colours: website palette (Astra) → MTCC logo colours. */
.mtcc-rv {
	--rv-blue: var(--ast-global-color-0, #0E6FB0);
	--rv-red: var(--ast-global-color-1, #E4111A);
	--rv-navy: var(--ast-global-color-2, #1E2226);
	--rv-text: var(--ast-global-color-3, #3D3D3F);
	--rv-soft: var(--ast-global-color-4, #F6F6F9);
	--rv-star: #FBBC04;
	--rv-line: rgba(17, 32, 42, .1);
	--rv-gap: 24px;
	width: 100%; min-width: 0; color: var(--rv-text); font-family: inherit;
}
.mtcc-rv *, .mtcc-rv *::before, .mtcc-rv *::after { box-sizing: border-box; }
.mtcc-rv [hidden] { display: none !important; }

/* Header */
.mtcc-rv__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 0 0 44px; flex-wrap: wrap; }
.mtcc-rv__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rv-red); }
.mtcc-rv__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.mtcc-rv__title { margin: 0 !important; font-size: 52px; line-height: 1.1; color: var(--rv-navy); }
.mtcc-rv__summary { display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; }
.mtcc-rv__score { display: flex; align-items: center; gap: 12px; }
.mtcc-rv__score strong { font-size: 44px; line-height: 1; font-weight: 600; color: var(--rv-navy); }
.mtcc-rv__score .mtcc-rv-stars { font-size: 20px; }
.mtcc-rv__based { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.mtcc-rv__btn {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--rv-blue);
	color: var(--rv-blue) !important; text-decoration: none !important; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	transition: background-color .25s, color .25s, border-color .25s;
}
.mtcc-rv__btn:hover { background: var(--rv-red); border-color: var(--rv-red); color: #fff !important; }

/* Stars */
.mtcc-rv-stars { display: inline-flex; gap: 2px; line-height: 1; font-size: 18px; letter-spacing: 0; }
.mtcc-rv-stars i { font-style: normal; color: #d9dde3; }
.mtcc-rv-stars i.on { color: var(--rv-star); }
.mtcc-rv-stars i.half { background: linear-gradient(90deg, var(--rv-star) 50%, #d9dde3 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Track */
.mtcc-rv__track {
	display: flex; align-items: stretch; gap: var(--rv-gap); overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px 18px; margin: -4px -2px 0; outline: none;
}
.mtcc-rv__track::-webkit-scrollbar { display: none; }
.mtcc-rv__card {
	flex: 0 0 calc((100% - (var(--rv-per) - 1) * var(--rv-gap)) / var(--rv-per)); min-width: 0; scroll-snap-align: start;
	display: flex; flex-direction: column; gap: 18px; padding: 32px 30px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--rv-line);
	box-shadow: 0 1px 2px rgba(17, 32, 42, .04); transition: box-shadow .3s, transform .3s;
}
.mtcc-rv--soft .mtcc-rv__card { background: var(--rv-soft); }
.mtcc-rv__card:hover { box-shadow: 0 22px 44px -24px rgba(17, 32, 42, .3); transform: translateY(-3px); }
.mtcc-rv__top { display: flex; align-items: center; justify-content: space-between; }
.mtcc-rv__src { line-height: 0; }
.mtcc-rv__text { position: relative; flex: 1 1 auto; }
.mtcc-rv__text p { margin: 0; font-size: 15.5px; line-height: 1.75; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--rv-lines, 6); overflow: hidden; }
.mtcc-rv__card.is-open .mtcc-rv__text p { -webkit-line-clamp: unset; display: block; }
.mtcc-rv__text::before { content: "\201C"; position: absolute; left: -6px; top: -30px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--rv-blue); opacity: .14; pointer-events: none; }
.mtcc-rv__more { all: unset; cursor: pointer; align-self: flex-start; margin-top: -8px; font-size: 13px; font-weight: 600; color: var(--rv-blue); }
.mtcc-rv__more:hover { color: var(--rv-red); }
.mtcc-rv__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rv-line); }
.mtcc-rv__avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mtcc-rv__avatar--txt { display: inline-flex; align-items: center; justify-content: center; background: var(--rv-blue); color: #fff; font-size: 15px; font-weight: 600; }
.mtcc-rv__name { display: flex; flex-direction: column; min-width: 0; font-weight: 600; color: var(--rv-navy); line-height: 1.35; }
.mtcc-rv__name a { color: inherit !important; text-decoration: none !important; }
.mtcc-rv__name a:hover { color: var(--rv-blue) !important; }
.mtcc-rv__name small { font-weight: 400; font-size: 13px; color: var(--rv-text); opacity: .75; }

/* Nav + attribution */
.mtcc-rv__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.mtcc-rv.is-static .mtcc-rv__nav { display: none; }
.mtcc-rv__arrow {
	width: 48px; height: 48px; padding: 0; border-radius: 999px; border: 1px solid rgba(17, 32, 42, .14); background: #fff; color: var(--rv-navy);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.mtcc-rv__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mtcc-rv__arrow:hover, .mtcc-rv__arrow:focus-visible { background: var(--rv-red); border-color: var(--rv-red); color: #fff; }
.mtcc-rv__arrow[disabled] { opacity: .35; cursor: default; background: #fff; color: var(--rv-navy); border-color: rgba(17, 32, 42, .14); }
.mtcc-rv__count { min-width: 64px; text-align: center; font-size: 13px; letter-spacing: .14em; }
.mtcc-rv__count b { color: var(--rv-navy); }
.mtcc-rv__attr { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; font-size: 12px; opacity: .75; }
.mtcc-rv-empty { padding: 30px; border: 2px dashed rgba(17, 32, 42, .2); border-radius: 16px; text-align: center; }

@media (max-width: 1024px) {
	.mtcc-rv { --rv-per: var(--rv-per-t) !important; --rv-gap: 18px; }
	.mtcc-rv__title { font-size: 42px; }
}
@media (max-width: 767px) {
	.mtcc-rv { --rv-per: var(--rv-per-m) !important; --rv-gap: 14px; }
	.mtcc-rv__head { margin-bottom: 28px; align-items: flex-start; flex-direction: column; gap: 18px; }
	.mtcc-rv__title { font-size: 34px; }
	.mtcc-rv__score strong { font-size: 36px; }
	.mtcc-rv__card { padding: 26px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.mtcc-rv__track { scroll-behavior: auto; }
	.mtcc-rv__card { transition: none; }
}
