/* Quote content only. The global header remains fully controlled by the parent theme. */
.tjc-quote-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
}

.tjc-quote-page {
	--tjc-quote-navy: #102b61;
	--tjc-quote-ink: #252e38;
	--tjc-quote-muted: #626971;
	--tjc-quote-line: #e3e5e8;
	background: #fff;
	color: var(--tjc-quote-ink);
	letter-spacing: 0;
	overflow-wrap: break-word;
}

.tjc-quote-page :where(p, a, dt, dd) {
	letter-spacing: 0;
}

.tjc-quote-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 520px;
	padding: 190px 0 70px;
	box-sizing: border-box;
	background: #233b40;
	color: #fff;
}

.tjc-quote-hero-image {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 58%;
}

.tjc-quote-hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(14, 27, 36, .88) 0%, rgba(14, 27, 36, .76) 36%, rgba(14, 27, 36, .3) 72%, rgba(14, 27, 36, .18) 100%);
	content: '';
}

.tjc-quote-hero-inner {
	max-width: 680px;
}

.tjc-quote-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.tjc-quote-eyebrow::before {
	width: 28px;
	height: 2px;
	flex: 0 0 28px;
	background: #ff7439;
	content: '';
}

.tjc-quote-hero h1 {
	margin: 0;
	color: #fff;
	font-size: 50px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.14;
}

.tjc-quote-hero h1 span {
	display: block;
}

.tjc-quote-hero-copy {
	max-width: 550px;
	margin: 20px 0 0;
	color: #f2f4f5;
	font-size: 17px;
	line-height: 1.65;
}

.tjc-quote-main {
	padding: 56px 0 64px;
}

.tjc-quote-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 288px;
	align-items: start;
	gap: 64px;
}

.tjc-quote-form-column,
.tjc-quote-aside {
	min-width: 0;
}

.tjc-quote-form-heading {
	margin-bottom: 24px;
}

.tjc-quote-form-heading h2 {
	margin: 0;
	color: var(--tjc-quote-navy);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}

.tjc-quote-form-heading p {
	max-width: 640px;
	margin: 12px 0 0;
	color: var(--tjc-quote-muted);
	font-size: 15px;
	line-height: 1.65;
}

/* Cognito controls its fields and iframe height; do not clip the embed. */
.tjc-cognito-form {
	width: 100%;
	min-height: 520px;
}

.tjc-cognito-form iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	border: 0;
}

.tjc-quote-aside {
	padding-left: 28px;
	border-left: 1px solid var(--tjc-quote-line);
}

.tjc-quote-kicker {
	margin: 0 0 12px;
	color: #b4471e;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

.tjc-quote-aside h2 {
	margin: 0;
	color: var(--tjc-quote-navy);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
}

.tjc-quote-scope {
	display: grid;
	gap: 22px;
	margin: 26px 0 0;
}

.tjc-quote-scope dt {
	margin: 0 0 6px;
	color: var(--tjc-quote-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.tjc-quote-scope dd,
.tjc-quote-contact > p {
	margin: 0;
	color: var(--tjc-quote-muted);
	font-size: 14px;
	line-height: 1.65;
}

.tjc-quote-contact {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--tjc-quote-line);
}

.tjc-quote-contact h3 {
	margin: 0 0 8px;
	color: var(--tjc-quote-ink);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
}

.tjc-quote-contact ul {
	display: grid;
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.tjc-quote-contact li {
	margin: 0;
}

.tjc-quote-contact a {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--tjc-quote-navy);
	font-size: 14px;
	line-height: 1.6;
	text-decoration: underline;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}

.tjc-quote-contact a i {
	width: 18px;
	flex: 0 0 18px;
	color: #b4471e;
	text-align: center;
}

.tjc-quote-service-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--tjc-quote-line);
}

.tjc-quote-service-nav > p {
	margin: 0;
	color: var(--tjc-quote-muted);
	font-size: 14px;
	line-height: 1.5;
}

.tjc-quote-service-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.tjc-quote-service-links a {
	color: var(--tjc-quote-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}

.tjc-quote-service-links a span {
	padding-left: 4px;
	color: #b4471e;
}

.tjc-quote-contact a:hover,
.tjc-quote-service-links a:hover {
	color: #b4471e;
}

.tjc-quote-page a:focus-visible {
	border-radius: 2px;
	outline: 2px solid #b4471e;
	outline-offset: 4px;
}

@media (max-width: 1199px) {
	.tjc-quote-grid {
		grid-template-columns: minmax(0, 1fr) 260px;
		gap: 36px;
	}
}

@media (max-width: 991px) {
	.tjc-quote-hero {
		min-height: 450px;
		padding-top: 160px;
	}

	.tjc-quote-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.tjc-quote-aside {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 40px;
		padding: 32px 0 0;
		border-top: 1px solid var(--tjc-quote-line);
		border-left: 0;
	}

	.tjc-quote-contact {
		margin: 0;
		padding: 0;
		border: 0;
	}
}

@media (max-width: 767px) {
	.tjc-quote-container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.tjc-quote-hero {
		min-height: 420px;
		padding: 150px 0 46px;
	}

	.tjc-quote-hero::before {
		background: rgba(14, 27, 36, .7);
	}

	.tjc-quote-eyebrow {
		margin-bottom: 14px;
		font-size: 13px;
	}

	.tjc-quote-hero h1 {
		font-size: 34px;
		line-height: 1.18;
	}

	.tjc-quote-hero-copy {
		margin-top: 16px;
		font-size: 15px;
		line-height: 1.6;
	}

	.tjc-quote-main {
		padding: 32px 0 40px;
	}

	.tjc-quote-form-heading h2 {
		font-size: 25px;
	}

	.tjc-quote-aside {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.tjc-quote-contact {
		padding-top: 24px;
		border-top: 1px solid var(--tjc-quote-line);
	}

	.tjc-quote-service-nav {
		margin-top: 32px;
	}

	.tjc-quote-service-links {
		gap: 12px 20px;
	}
}
