/* ==========================================================================
   Client Hub page template  (page-client-hub.php)
   Scoped under .page-template-page-client-hub — safe to load site-wide.
   Uses the theme tokens defined in dist/assets/css/custom.css
   ========================================================================== */

.page-template-page-client-hub {
	--ch-max: 74rem;
	--ch-green-darkest: #1a2b1c;
	--ch-cream: #fafaf7;
	--ch-cream-dark: #f3f3ec;
	--ch-leaf-overlay: url("https://thenarrowlane.com/wp-content/uploads/2025/03/fondoTwocolumn.svg");
	background: var(--ch-cream);
}

.page-template-page-client-hub .site-inner,
.page-template-page-client-hub .content-sidebar-wrap,
.page-template-page-client-hub .content,
.page-template-page-client-hub .entry,
.page-template-page-client-hub .entry-content {
	margin: 0;
	padding: 0;
	max-width: none;
	width: 100%;
	float: none;
}

.page-template-page-client-hub .ch-row {
	max-width: var(--ch-max);
	width: 92%;
	margin: 0 auto;
}

.page-template-page-client-hub .ch-section {
	padding: 4rem 0;
}

/* ---- type ---- */

.page-template-page-client-hub .ch-heading {
	font-family: var(--font-walker), Georgia, serif;
	font-weight: 400;
	text-transform: none;
	letter-spacing: -0.02em;
	color: var(--color-gray-dark2);
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.page-template-page-client-hub .ch-heading--center {
	text-align: center;
}

.page-template-page-client-hub .ch-section p,
.page-template-page-client-hub .ch-hero p,
.page-template-page-client-hub .ch-care p {
	font-family: var(--font-mr-Eavens), sans-serif;
	color: var(--color-gray-dark);
	font-size: 1.1rem;
	line-height: 1.55;
}

/* ---- buttons ---- */

.page-template-page-client-hub .ch-btn {
	display: inline-block;
	font-family: var(--font-mr-Eavens), sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 1rem;
	line-height: 1.2;
	color: var(--ch-cream);
	background: var(--color-lemon-light);
	border-radius: 5px;
	padding: 1em 2.2em;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.page-template-page-client-hub .ch-btn:hover {
	background: var(--color-green2);
	color: var(--ch-cream);
}

.page-template-page-client-hub .ch-btn--dark {
	background-color: var(--ch-green-darkest);
	background-image: var(--ch-leaf-overlay);
	background-size: 18rem auto;
	background-position: center;
	font-weight: 700;
	padding: 1.3em 2.6em;
}

.page-template-page-client-hub .ch-btn--dark:hover {
	background-color: var(--color-green2);
}

.page-template-page-client-hub .ch-btn--green {
	background-color: var(--color-green2);
	background-image: var(--ch-leaf-overlay);
	background-size: 18rem auto;
	background-position: center;
	font-weight: 700;
	padding: 1.3em 2.6em;
}

.page-template-page-client-hub .ch-btn--green:hover {
	background-color: var(--ch-green-darkest);
}

/* ---- hero ---- */

.page-template-page-client-hub .ch-hero {
	position: relative;
	min-height: 31rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center;
}

.page-template-page-client-hub .ch-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 32, 22, 0.25);
}

.page-template-page-client-hub .ch-hero__inner {
	position: relative;
	max-width: 50rem;
	padding: 5rem 1rem;
}

.page-template-page-client-hub .ch-hero__title {
	font-family: var(--font-walker), Georgia, serif;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--ch-cream);
	font-size: 4.2rem;
	line-height: 1.05;
	margin: 0 0 1.4rem;
}

.page-template-page-client-hub .ch-hero p {
	color: var(--ch-cream);
	font-size: 1.2rem;
	margin: 0;
}

/* ---- quick links bar ---- */

.page-template-page-client-hub .ch-quicklinks {
	padding: 2.4rem 0;
}

.page-template-page-client-hub .ch-quicklinks .ch-row {
	display: grid;
	grid-template-columns: 1.4fr 1.55fr 1fr;
	gap: 1.2rem;
}

.page-template-page-client-hub .ch-quicklinks .ch-btn {
	padding: 1.25em 1.5em;
	font-size: 1.05rem;
}

/* ---- two-column feature sections ---- */

.page-template-page-client-hub .ch-feature {
	background: var(--ch-cream-dark);
}

.page-template-page-client-hub .ch-feature .ch-row {
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	gap: 4rem;
	align-items: center;
}

.page-template-page-client-hub .ch-feature--flip .ch-row {
	grid-template-columns: 1.45fr 1fr;
}

.page-template-page-client-hub .ch-feature--flip .ch-feature__text {
	order: 2;
}

.page-template-page-client-hub .ch-feature__text p {
	margin: 0 0 1.8rem;
}

.page-template-page-client-hub .ch-feature__image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

.page-template-page-client-hub .ch-feature + .ch-feature {
	padding-top: 0;
}

/* ---- review / refer cards ---- */

.page-template-page-client-hub .ch-cards {
	background: var(--ch-cream-dark);
	padding-top: 0;
}

.page-template-page-client-hub .ch-cards .ch-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem;
}

.page-template-page-client-hub .ch-card {
	border: 1px solid var(--color-lemon-light);
	border-radius: 8px;
	background: var(--ch-cream);
	text-align: center;
	padding: 2.6rem 2.4rem 2.4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page-template-page-client-hub .ch-card__icon {
	width: 4.2rem;
	height: 4.2rem;
	fill: var(--color-lemon-light);
	margin-bottom: 1.2rem;
}

.page-template-page-client-hub .ch-card h2 {
	font-family: var(--font-walker), Georgia, serif;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--color-gray-dark2);
	font-size: 2.2rem;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.page-template-page-client-hub .ch-card p {
	margin: 0 0 1.8rem;
	font-size: 1.05rem;
}

.page-template-page-client-hub .ch-card .ch-btn {
	margin-top: auto;
}

/* ---- care band ---- */

.page-template-page-client-hub .ch-care {
	position: relative;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding: 5rem 0;
}

.page-template-page-client-hub .ch-care::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 32, 22, 0.72);
}

.page-template-page-client-hub .ch-care .ch-row {
	position: relative;
	max-width: 56rem;
}

.page-template-page-client-hub .ch-care .ch-heading {
	color: var(--ch-cream);
	font-size: 3.1rem;
}

.page-template-page-client-hub .ch-care p {
	color: var(--ch-cream);
	margin: 0 auto 3rem;
}

.page-template-page-client-hub .ch-care__topics {
	display: flex;
	justify-content: center;
	margin: 0 0 3.2rem;
}

.page-template-page-client-hub .ch-care__topic {
	padding: 0 2.8rem;
	border-left: 1px solid var(--color-lemon-light);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.page-template-page-client-hub .ch-care__topic:first-child {
	border-left: 0;
}

.page-template-page-client-hub .ch-care__topic svg {
	width: 5.2rem;
	height: 5.2rem;
	stroke: var(--color-gray);
	fill: none;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	margin-bottom: 1.2rem;
}

.page-template-page-client-hub .ch-care__topic span {
	font-family: var(--font-mr-Eavens), sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ch-cream);
	font-size: 1.1rem;
	line-height: 1.4;
	max-width: 11rem;
}

/* ---- urgent callout ---- */

.page-template-page-client-hub .ch-urgent {
	padding: 3rem 0 2.6rem;
}

.page-template-page-client-hub .ch-urgent__box {
	border: 1px solid var(--color-lemon-light);
	border-radius: 8px;
	background: var(--ch-cream-dark);
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 2.4rem 3rem;
}

.page-template-page-client-hub .ch-urgent__icon {
	flex: none;
	width: 5.6rem;
	height: 5.6rem;
	border-radius: 50%;
	border: 2px solid var(--color-green2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-template-page-client-hub .ch-urgent__icon svg {
	width: 2.4rem;
	height: 2.4rem;
	stroke: var(--color-green2);
	fill: none;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-template-page-client-hub .ch-urgent .ch-heading {
	margin-bottom: 0.5rem;
}

.page-template-page-client-hub .ch-urgent p {
	margin: 0;
	font-size: 1.15rem;
}

.page-template-page-client-hub .ch-urgent a {
	font-weight: 700;
	color: var(--color-gray-dark2);
	text-decoration: none;
	white-space: nowrap;
}

/* ---- points of contact ---- */

.page-template-page-client-hub .ch-contacts {
	padding-top: 1.5rem;
}

.page-template-page-client-hub .ch-contacts > .ch-row > p {
	text-align: center;
	font-size: 1.15rem;
	margin: 0 0 2.2rem;
}

.page-template-page-client-hub .ch-contacts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.6rem;
}

.page-template-page-client-hub .ch-contact {
	border: 1px solid var(--color-lemon-light);
	border-radius: 8px;
	background: var(--ch-cream-dark);
	text-align: center;
	padding: 2.2rem 1.6rem 2.2rem;
}

.page-template-page-client-hub .ch-contact svg,
.page-template-page-client-hub .ch-contact img {
	width: 5rem;
	height: 5rem;
	object-fit: contain;
	fill: var(--color-lemon-light);
	margin: 0 auto 1.1rem;
	display: block;
}

.page-template-page-client-hub .ch-contact h3 {
	font-family: var(--font-mr-Eavens), sans-serif;
	font-weight: 700;
	color: var(--color-gray-dark2);
	font-size: 1.3rem;
	margin: 0 0 0.25rem;
}

.page-template-page-client-hub .ch-contact p {
	margin: 0 0 1.1rem;
	font-size: 1.15rem;
}

.page-template-page-client-hub .ch-contact a {
	font-family: var(--font-mr-Eavens), sans-serif;
	font-size: 1.15rem;
	color: var(--color-gray-dark);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}

.page-template-page-client-hub .ch-contact a:hover {
	border-bottom-color: var(--color-lemon-light);
}

/* ---- responsive ---- */

@media (max-width: 900px) {
	.page-template-page-client-hub .ch-hero__title {
		font-size: 2.9rem;
	}

	.page-template-page-client-hub .ch-quicklinks .ch-row,
	.page-template-page-client-hub .ch-feature .ch-row,
	.page-template-page-client-hub .ch-feature--flip .ch-row,
	.page-template-page-client-hub .ch-cards .ch-row,
	.page-template-page-client-hub .ch-contacts__grid {
		grid-template-columns: 1fr;
	}

	.page-template-page-client-hub .ch-feature .ch-row {
		gap: 2rem;
	}

	.page-template-page-client-hub .ch-feature__image {
		order: -1;
	}

	.page-template-page-client-hub .ch-feature--flip .ch-feature__text {
		order: 0;
	}

	.page-template-page-client-hub .ch-care .ch-heading {
		font-size: 2.3rem;
	}

	.page-template-page-client-hub .ch-care__topics {
		flex-direction: column;
		gap: 2rem;
	}

	.page-template-page-client-hub .ch-care__topic {
		border-left: 0;
		padding: 0;
	}

	.page-template-page-client-hub .ch-urgent__box {
		flex-direction: column;
		text-align: center;
		padding: 2rem 1.4rem;
	}
}
