.page-template-template-testimonials .ast-breadcrumbs-wrapper,
.page-template-template-testimonials .entry-header,
.page-template-template-testimonials .page-header { display: none !important; }

.page-template-template-testimonials #content.site-content,
.page-template-template-testimonials #content.site-content .ast-container,
.page-template-template-testimonials #primary.content-area,
.page-template-template-testimonials .ast-article-single,
.page-template-template-testimonials .entry-content {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	border: none !important;
}
.page-template-template-testimonials #secondary { display: none !important; }

.dth-tm {
	--blue: #0074c8;
	--blue-dark: #005fa3;
	--ink: #1a2e42;
	--muted: #4a5560;
	--line: #eaeaea;
	--star: #fbbc04;
	width: 100%;
	max-width: none;
	background: #fff;
	color: var(--muted);
	font-family: 'Open Sans', sans-serif;
}
.dth-tm h1,
.dth-tm h2,
.dth-tm h3,
.dth-tm .tm-kicker,
.dth-tm .tm-btn,
.dth-tm .tm-phone,
.dth-tm .tm-story-town,
.dth-tm .tm-story-meta,
.dth-tm .tm-filter,
.dth-tm .tm-avatar,
.dth-tm .tm-review-who,
.dth-tm .tm-tag,
.dth-tm .tm-read-more,
.dth-tm .tm-reviews-more a,
.dth-tm .tm-rating-score,
.dth-tm .tm-big-score span,
.dth-tm .tm-hero-quote p {
	font-family: Montserrat, sans-serif;
}
.dth-tm a { color: var(--blue); text-decoration: none; }
.dth-tm img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-stars { color: var(--star); letter-spacing: 2px; }
.tm-stars--lg { font-size: 20px; letter-spacing: 3px; margin-top: -8px; }
.tm-score-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
	flex: none;
}
.dth-tm .tm-score-stars svg { display: block; max-width: none; height: auto; }
.tm-score-stars-clip {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	overflow: hidden;
}

.tm-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 20px;
}
.tm-kicker span { width: 28px; height: 2px; background: var(--blue); }
.tm-kicker--plain { letter-spacing: .16em; }
h2.tm-kicker { margin: 0 0 20px; line-height: 1.2; }

.tm-btn {
	display: inline-block;
	background: var(--blue);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 18px 30px;
	border: 0;
	cursor: pointer;
	text-align: center;
	transition: background .2s linear;
}
.tm-btn:hover { background: var(--blue-dark); color: #fff !important; }
.tm-btn--ghost {
	background: transparent;
	color: var(--blue) !important;
	border: 2px solid var(--blue);
	padding: 14px 20px;
}
.tm-btn--ghost:hover { background: var(--blue); color: #fff !important; }

.tm-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	width: 100%;
	min-height: 640px;
	background: #fff;
}
.tm-hero-copy {
	padding: 96px 56px 96px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tm-hero h1 {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--ink);
	margin: 0 0 22px;
}
.tm-lede {
	font-size: 17px;
	line-height: 1.65;
	margin: 0 0 36px;
	max-width: 480px;
}
.tm-hero-actions {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-bottom: 48px;
}
.tm-phone {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink) !important;
}
.tm-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.tm-rating-score { font-size: 22px; font-weight: 800; color: var(--ink); }
.tm-rating-note { font-size: 14px; }

.tm-hero-media {
	position: relative;
	min-height: 640px;
	margin: 0;
	padding: 0;
}
.tm-hero-slider {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #0d1b2a;
	touch-action: pan-y;
}
.tm-hero-slider-track { position: absolute; inset: 0; }
.tm-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease;
}
.tm-hero-slide.is-active { opacity: 1; visibility: visible; }
.tm-hero-slider img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
}
.tm-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 27, 42, 0.55);
	color: #fff;
	border: 0;
	padding: 0;
	cursor: pointer;
	z-index: 4;
}
.tm-hero-arrow:hover { background: rgba(13, 27, 42, 0.8); }
.tm-hero-prev { display: none; }
.tm-hero-next { right: 16px; }
.tm-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 20px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 4;
}
.tm-hero-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: 0;
	padding: 0;
	cursor: pointer;
}
.tm-hero-dots button.is-active { background: #fff; transform: scale(1.3); }
.tm-hero-quote {
	position: absolute;
	left: -168px;
	bottom: 56px;
	width: 400px;
	max-width: calc(100% - 24px);
	margin: 0;
	background: #fff;
	padding: 28px 30px;
	box-shadow: 0 24px 60px rgba(13, 27, 42, .18);
	z-index: 3;
}
.tm-hero-quote p {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ink);
	margin: 12px 0 16px;
}
.tm-hero-quote footer { font-size: 13px; color: var(--muted); }
.tm-hero-quote strong { color: var(--ink); }

.tm-reviews {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}
.tm-stories {
	width: 100%;
	max-width: none;
	background: #f5f5f5;
	padding: 96px 64px;
}
.tm-stories-head { text-align: center; margin-bottom: 52px; }
.tm-stories-head h2 {
	font-size: 40px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 12px;
}
.tm-stories-head p { font-size: 16px; margin: 0; }
.tm-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.tm-story {
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}
.tm-story-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.tm-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-story-body {
	padding: 28px 28px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}
.tm-story-town {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--blue);
}
.tm-story-body blockquote { font-size: 16px; line-height: 1.65; margin: 0; padding: 0; border: 0; flex: 1; quotes: none; }
.tm-story-body blockquote p { margin: 0 0 14px; }
.tm-story-body blockquote p:last-child { margin-bottom: 0; }
.tm-story-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.tm-reviews {
	background: #fff;
	padding: 96px 64px;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}
.tm-reviews-summary { display: flex; flex-direction: column; gap: 20px; }
.tm-big-score {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 14px;
}
.tm-big-score span {
	font-size: 64px;
	font-weight: 800;
	color: var(--ink);
	line-height: 1;
}
.tm-review-total { margin: -8px 0 0; font-size: 14px; }

.tm-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tm-filter {
	font-size: 13px;
	font-weight: 600;
	padding: 10px 18px;
	border: 1px solid #d5dbe1;
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}
.tm-filter.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tm-review-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.tm-review {
	border: 1px solid var(--line);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.tm-review[hidden] { display: none; }
.tm-review-top { display: flex; align-items: center; gap: 12px; }
.tm-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	flex: none;
}
.tm-review-who { flex: 1; min-width: 0; }
.tm-review-who div:first-child { font-size: 14px; font-weight: 700; color: var(--ink); }
.tm-review-who div:last-child { font-size: 12px; color: #6b7680; font-family: 'Open Sans', sans-serif; font-weight: 400; }
.tm-review blockquote { font-size: 15px; line-height: 1.65; margin: 0; padding: 0; border: 0; white-space: pre-line; quotes: none; }
.tm-review blockquote.is-clamped {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tm-read-more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.tm-tag {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 600;
	color: var(--blue);
	background: #e6f3fb;
	padding: 4px 10px;
}
.tm-reviews-more { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dth-tm .tm-reviews-more .tm-btn[hidden] { display: none; }
.tm-reviews-more a {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	.tm-hero,
	.tm-reviews { grid-template-columns: 1fr; }
	.tm-hero-copy,
	.tm-stories,
	.tm-reviews { padding: 64px 32px; }
	.tm-hero h1 { font-size: 44px; }
	.tm-hero-quote { left: 24px; right: 24px; width: auto; bottom: 24px; }
	.tm-hero-dots {
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
	}
	.tm-story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.tm-hero-copy,
	.tm-stories,
	.tm-reviews { padding: 48px 20px; }
	.tm-hero h1 { font-size: 36px; }
	.tm-hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
	.tm-hero-media { min-height: 0; }
	.tm-hero-slider {
		position: relative;
		inset: auto;
		height: 72vw;
		min-height: 280px;
	}
	.tm-hero-quote {
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		width: auto;
		max-width: none;
		margin: 20px 20px 8px;
	}
	.tm-rating { flex-wrap: wrap; }
	.tm-review-grid { grid-template-columns: 1fr; }
	.tm-stories-head h2 { font-size: 32px; }
	.tm-big-score span { font-size: 48px; }
}
