/* Eurotech Autohaus - Google reviews (DeCODE Digital)
   Restyles the Trustindex reviews widget to sit with the rest of the site.
   Add the class dc-reviews to the row (or module) holding the widget.
   Trustindex ships its own very specific styles, hence the long selectors and
   the !important flags. */

.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid],
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] * { font-family: "Manrope", sans-serif !important; }

/* Review cards: flat, square, hairline */
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-item > .ti-inner {
	padding: 20px 20px 18px !important;
	background: #fff !important;
	border: 1px solid color-mix(in srgb, var(--fl-global-navy, #04213b) 14%, transparent) !important;
	border-top: 3px solid var(--fl-global-navy, #04213b) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transition: border-color .3s ease !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-item:hover > .ti-inner { border-top-color: var(--fl-global-orange, #f7961e) !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-item { padding-top: 4px !important; padding-bottom: 4px !important; }

.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-name {
	font-family: "Khand", "Arial Narrow", sans-serif !important;
	font-size: 18px !important; font-weight: 600 !important; line-height: 1.1 !important;
	text-transform: uppercase !important;
	color: var(--fl-global-navy, #04213b) !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-date {
	font-size: 10px !important; font-weight: 600 !important;
	letter-spacing: .16em !important;
	text-transform: uppercase !important;
	color: #6b7780 !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-content,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-text-container {
	font-size: 13px !important; line-height: 1.55 !important;
	color: #3b4a55 !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-read-more span {
	font-size: 11px !important; font-weight: 600 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	color: var(--fl-global-navy, #04213b) !important;
	border-bottom: 2px solid var(--fl-global-orange, #f7961e) !important;
	padding-bottom: 2px !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-profile-img img { border-radius: 50% !important; }

/* Summary panel */
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text strong.ti-rating,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer strong.ti-rating-large {
	font-family: "Khand", "Arial Narrow", sans-serif !important;
	font-size: 24px !important; font-weight: 700 !important; letter-spacing: .02em !important;
	color: var(--fl-global-navy, #04213b) !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text * { color: #3b4a55 !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text a,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text strong { color: var(--fl-global-navy, #04213b) !important; }

/* Arrows */
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-controls .ti-next,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-controls .ti-prev {
	background: #fff !important;
	border: 1px solid color-mix(in srgb, var(--fl-global-navy, #04213b) 22%, transparent) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-controls .ti-next:hover,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-controls .ti-prev:hover { border-color: var(--fl-global-orange, #f7961e) !important; }

/* Layout: the rating summary runs as a strip across the top, so the carousel
   below has the full width and shows three reviews side by side on desktop. */
@media (min-width: 993px) {
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container { flex-wrap: wrap !important; }
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container > .ti-footer {
		flex: 0 0 100% !important; width: 100% !important; max-width: none !important;
		display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
		align-items: center !important; justify-content: flex-start !important;
		gap: 10px 22px !important;
		margin: 0 0 22px !important; padding: 0 0 20px !important;
		border-bottom: 1px solid color-mix(in srgb, var(--fl-global-navy, #04213b) 14%, transparent) !important;
		text-align: left !important;
	}
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container > .ti-footer > * { margin: 0 !important; width: auto !important; flex: 0 0 auto !important; }
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container > .ti-footer > .ti-fade-container { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; gap: 8px 22px !important; }
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container > .ti-footer > .ti-fade-container > * { margin: 0 !important; width: auto !important; }
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-widget-container > .ti-reviews-container { flex: 0 0 100% !important; width: 100% !important; max-width: none !important; }
	.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-reviews-container-wrapper > .ti-review-item { flex: 0 0 33.3333% !important; max-width: 33.3333% !important; }
}

/* Smaller, quieter type throughout the widget */
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-rating-text * { font-size: 12px !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-large-logo img,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-logo-fb { height: 22px !important; width: auto !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-footer .ti-stars .ti-star { width: 20px !important; height: 20px !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-review-item .ti-stars .ti-star { width: 14px !important; height: 14px !important; }
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-profile-img,
.fl-builder-content .dc-reviews .ti-widget[data-layout-id][data-set-id][data-pid] .ti-profile-img img { width: 34px !important; height: 34px !important; }
