/* TTBH Platform 2.1 Service detail components. */
.ttbh-service-detail,
[class^="ttbh-service-detail__"],
[class*=" ttbh-service-detail__"] {
	--ttbh-navy: #0b224a;
	--ttbh-deep-blue: #123c84;
	--ttbh-gold: #f5b11a;
	--ttbh-slate: #5c6675;
	--ttbh-line: #d8dee8;
	--ttbh-soft: #f7f9fc;
	--ttbh-white: #fff;
	box-sizing: border-box;
}

.ttbh-service-detail__hero {
	min-height: 430px;
	display: flex;
	align-items: center;
	background-image:
		linear-gradient(90deg, rgba(11,34,74,.98) 0%, rgba(11,34,74,.94) 34%, rgba(11,34,74,.72) 49%, rgba(11,34,74,.28) 65%, rgba(11,34,74,.04) 79%),
		var(--ttbh-service-hero-image);
	background-size: cover;
	background-position: calc(var(--ttbh-focal-x, 50%) + 8%) var(--ttbh-focal-y, 50%);
	color: var(--ttbh-white);
	padding: clamp(48px, 7vw, 96px) max(24px, calc((100vw - 1180px) / 2));
}
.ttbh-service-detail__hero-copy { max-width: 700px; }
.ttbh-service-detail__eyebrow {
	color: var(--ttbh-gold);
	text-transform: uppercase;
	letter-spacing: .09em;
	font-size: .78rem;
	font-weight: 700;
	margin-bottom: .7rem;
}
.ttbh-service-detail h1,
.ttbh-service-detail h2,
.ttbh-service-detail h3,
.ttbh-service-detail__features h2,
.ttbh-service-detail__features h3,
.ttbh-service-detail__content h2,
.ttbh-service-detail__resources h2,
.ttbh-service-detail__resources h3,
.ttbh-service-detail__callout h2 { color: var(--ttbh-navy); }
.ttbh-service-detail__hero h1 {
	color: var(--ttbh-white);
	font-size: clamp(2.5rem, 5vw, 4.8rem);
	line-height: .98;
	max-width: 12ch;
	margin: .15em 0 .32em;
}
.ttbh-service-detail__hero p {
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.7;
	max-width: 680px;
	margin: 0 0 1rem;
}
.ttbh-service-detail__button {
	display: inline-block;
	padding: .85rem 1.2rem;
	margin: .65rem .55rem 0 0;
	background: var(--ttbh-navy);
	color: var(--ttbh-white) !important;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ttbh-service-detail__button:hover,
.ttbh-service-detail__button:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(11,34,74,.18); }
.ttbh-service-detail__button--primary { background: var(--ttbh-gold); color: var(--ttbh-navy) !important; }
.ttbh-service-detail__button--secondary { border: 1px solid var(--ttbh-white); background: var(--ttbh-white); color: var(--ttbh-navy) !important; }

.ttbh-service-detail__overview {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 24px;
	font-size: inherit;
	line-height: inherit;
}
.ttbh-service-detail__overview p:last-child { margin-bottom: 0; }

.ttbh-service-detail__facts {
	max-width: 1100px;
	margin: -35px auto 40px;
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--ttbh-white);
	box-shadow: 0 8px 24px rgba(11,34,74,.16);
	border-radius: 9px;
	overflow: hidden;
	z-index: 2;
}
.ttbh-service-detail__fact {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 30px 26px;
	border-right: 1px solid var(--ttbh-line);
}
.ttbh-service-detail__fact:last-child { border-right: 0; }
.ttbh-service-detail__fact i { color: var(--ttbh-navy); font-size: 1.35rem; min-width: 1.4rem; margin-top: .12rem; }
.ttbh-service-detail__fact strong,
.ttbh-service-detail__fact span { display: block; }
.ttbh-service-detail__fact strong { color: var(--ttbh-navy); font-size: .82rem; line-height: 1.35; margin-bottom: .3rem; }
.ttbh-service-detail__fact span { color: #334155; font-size: .9rem; line-height: 1.55; }

.ttbh-service-detail__features,
.ttbh-service-detail__resources,
.ttbh-service-detail__locations,
.ttbh-service-detail__faqs {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 24px;
}
.ttbh-service-detail__features > h2,
.ttbh-service-detail__resources > h2,
.ttbh-service-detail__locations > h2,
.ttbh-service-detail__faqs > h2 { margin-bottom: 1.5rem; }
.ttbh-service-detail__intro { max-width: 760px; line-height: 1.75; margin-bottom: 2rem; }
.ttbh-service-detail__feature-grid,
.ttbh-service-detail__resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ttbh-service-detail__feature,
.ttbh-service-detail__resource {
	border: 1px solid var(--ttbh-line);
	border-left: 4px solid var(--ttbh-navy);
	border-radius: 10px;
	padding: 30px 26px;
	background: var(--ttbh-white);
	min-height: 270px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ttbh-service-detail__feature:hover,
.ttbh-service-detail__resource:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(11,34,74,.11); }
.ttbh-service-detail__feature > i { color: var(--ttbh-deep-blue); font-size: 1.5rem; margin-bottom: 1rem; }
.ttbh-service-detail__feature h3,
.ttbh-service-detail__resource h3 { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.25; margin: 0 0 .8rem; }
.ttbh-service-detail__feature p,
.ttbh-service-detail__resource p { line-height: 1.65; margin-bottom: 0; }

.ttbh-service-detail__features--compact .ttbh-service-detail__feature {
	min-height: 0;
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ttbh-service-detail__features--compact .ttbh-service-detail__feature > i {
	margin-bottom: .8rem;
}
.ttbh-service-detail__features--compact .ttbh-service-detail__feature h3 {
	margin-bottom: 0;
}

.ttbh-service-detail__content { width: 100%; margin: 0; padding: 0 24px; }
.ttbh-service-detail__content-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 0;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.ttbh-service-detail__content--left .ttbh-service-detail__content-image { order: -1; }
.ttbh-service-detail__content--full .ttbh-service-detail__content-inner { grid-template-columns: 1fr; }
.ttbh-service-detail__content--text-only .ttbh-service-detail__content-inner { grid-template-columns: minmax(0, 760px); justify-content: center; }
.ttbh-service-detail__content-copy { font-size: inherit; line-height: inherit; }
.ttbh-service-detail__content-copy h2 { margin: 0 0 1rem; }
.ttbh-service-detail__content-copy p:last-child { margin-bottom: 0; }
.ttbh-service-detail__content-image img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 12px 32px rgba(11,34,74,.13); }
.ttbh-service-detail__content--background-default { background: var(--ttbh-white); }
.ttbh-service-detail__content--background-slate { background: var(--ttbh-soft); }
.ttbh-service-detail__content--background-navy { background: var(--ttbh-navy); color: var(--ttbh-white); }
.ttbh-service-detail__content--background-navy h2 { color: var(--ttbh-white); }
.ttbh-service-detail__content--background-navy .ttbh-service-detail__eyebrow { color: var(--ttbh-gold); }
.ttbh-service-detail__content--background-navy .ttbh-service-detail__button { background: var(--ttbh-gold); color: var(--ttbh-navy) !important; }
.ttbh-service-detail__content--background-accent { background: #fff8e5; }

.ttbh-service-detail__resource { min-height: 230px; }
.ttbh-service-detail__resource > span { display: inline-block; color: var(--ttbh-slate); text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; font-weight: 700; margin-bottom: .65rem; }

.ttbh-service-detail__callout {
	max-width: 1100px;
	margin: 40px auto;
	padding: clamp(38px, 5vw, 62px);
	border: 0;
	border-radius: 14px;
	background: var(--ttbh-navy);
	color: var(--ttbh-white);
	box-shadow: 0 12px 34px rgba(11,34,74,.16);
}
.ttbh-service-detail__callout h2 { color: var(--ttbh-white); margin-top: 0; }
.ttbh-service-detail__callout p { max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.ttbh-service-detail__callout .ttbh-service-detail__button { background: var(--ttbh-gold); color: var(--ttbh-navy) !important; }
.ttbh-service-detail__callout .ttbh-service-detail__button + .ttbh-service-detail__button { background: transparent; color: var(--ttbh-white) !important; border: 1px solid rgba(255,255,255,.8); }
.ttbh-service-detail__phone { display: block; width: fit-content; margin: .8rem 0 .2rem; font-size: clamp(1.35rem, 2.3vw, 1.8rem); font-weight: 700; color: var(--ttbh-white) !important; }
.ttbh-service-detail__location-cta { max-width: 1100px; margin: 40px auto; padding: 0 24px; }
.ttbh-service-detail__location-cta .ttbh-service-detail__button { display: block; width: 100%; text-align: center; margin: 0; padding: 1.05rem 1.5rem; }

@media (max-width: 900px) {
	.ttbh-service-detail__facts,
	.ttbh-service-detail__feature-grid,
	.ttbh-service-detail__resource-grid { grid-template-columns: repeat(2, 1fr); }
	.ttbh-service-detail__fact:nth-child(2) { border-right: 0; }
	.ttbh-service-detail__fact:nth-child(-n+2) { border-bottom: 1px solid var(--ttbh-line); }
	.ttbh-service-detail__content-inner { grid-template-columns: 1fr; }
	.ttbh-service-detail__content-image { order: -1; }
	.ttbh-service-detail__hero {
		background-image: linear-gradient(90deg, rgba(11,34,74,.95), rgba(11,34,74,.78)), var(--ttbh-service-hero-image);
		background-position: var(--ttbh-focal-x, 50%) var(--ttbh-focal-y, 50%);
	}
}
@media (max-width: 580px) {
	.ttbh-service-detail__hero { min-height: 390px; padding: 48px 24px; }
	.ttbh-service-detail__hero h1 { max-width: none; }
	.ttbh-service-detail__facts,
	.ttbh-service-detail__feature-grid,
	.ttbh-service-detail__resource-grid { grid-template-columns: 1fr; }
	.ttbh-service-detail__facts { margin: 0; border-radius: 0; }
	.ttbh-service-detail__fact { border-right: 0; border-bottom: 1px solid var(--ttbh-line); }
	.ttbh-service-detail__fact:last-child { border-bottom: 0; }
	.ttbh-service-detail__feature,
	.ttbh-service-detail__resource { min-height: 0; }
	.ttbh-service-detail__content { padding: 0 20px; }
	.ttbh-service-detail__callout { margin-left: 20px; margin-right: 20px; }
}

/* Divi Theme Builder: collapse shortcode modules that render no content. */
.et_pb_module:empty { display: none; }
.et_pb_text_inner:empty { display: none; }
