/*
 Homepage template (.tp-home-*, .tp-task*, .tp-orientation*). Loaded only on the Elementor-built front page
 (see functions.php). Selectors are prefixed with "body.tp-shell .elementor" so they outweigh Elementor's
 per-element rules and the Kit's global rules. Tokens (--tp-*) come from body.tp-shell in style.css.
*/

body.tp-shell .elementor .e-con.tp-home-band,
body.tp-shell .elementor .e-con.tp-home-inner,
body.tp-shell .elementor .e-con.tp-home-panel,
body.tp-shell .elementor .e-con.tp-home-narrow,
body.tp-shell .elementor .e-con.tp-home-cta-row {
	--display: block;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

body.tp-shell .elementor .tp-home-band .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

body.tp-shell .elementor .tp-home-band .elementor-widget-container {
	padding: 0;
}

body.tp-shell .elementor .e-con.tp-home-inner {
	max-width: 1216px;
	margin-inline: auto;
	padding-inline: var(--tp-gutter);
}

body.tp-shell .elementor .tp-home-white {
	background: #FFFFFF;
}

body.tp-shell .elementor .tp-home-cream {
	background: var(--tp-cream);
}

/* Shared text roles */
body.tp-shell .elementor .tp-home-eyebrow p {
	margin: 0;
	color: var(--tp-primary);
	font: 700 13px/1.3 var(--tp-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.tp-shell .elementor .tp-home-h1 .elementor-heading-title {
	margin: 0;
	color: var(--tp-text);
	line-height: 1.15;
}

body.tp-shell .elementor .tp-home-h2 .elementor-heading-title {
	margin: 8px 0 0;
	color: var(--tp-text);
	font-size: var(--e-global-typography-secondary-font-size, 32px);
	line-height: 1.15;
}

body.tp-shell .elementor .tp-home-text p,
body.tp-shell .elementor .tp-home-text li {
	color: var(--tp-text);
	font: 400 16px/1.65 var(--tp-sans);
}

body.tp-shell .elementor .tp-home-text p {
	margin: 0 0 16px;
}

body.tp-shell .elementor .tp-home-text p:last-child {
	margin-bottom: 0;
}

body.tp-shell .elementor .tp-home-text ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0 0 0 20px;
}

body.tp-shell .elementor .tp-home-text li {
	margin: 0;
	padding: 0;
}

/* 1. Hero (text-led; no image asset has been sourced) */
body.tp-shell .elementor .e-con.tp-home-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding-block: var(--tp-section-space);
}

body.tp-shell .elementor .tp-home-hero__inner > .elementor-widget {
	max-width: 704px;
}

body.tp-shell .elementor .tp-home-sub p {
	margin: 0;
	color: #57504A;
	font: 400 17px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-home-lead p {
	margin: 0;
	color: var(--tp-text);
	font: 400 16px/1.65 var(--tp-sans);
}

body.tp-shell .elementor .e-con.tp-home-cta-row {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 24px;
}

body.tp-shell .elementor .tp-home-cta-row > .elementor-widget {
	width: auto;
	max-width: none;
}

body.tp-shell .elementor .tp-home-cta-row .elementor-button,
body.tp-shell .elementor .tp-home-cta-row .elementor-button:hover,
body.tp-shell .elementor .tp-home-cta-row .elementor-button:focus {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 24px;
	border: 0;
	border-radius: 24px;
	box-shadow: none;
	color: #FFFFFF;
	font: 600 16px/1.25 var(--tp-sans);
	text-decoration: none;
}

body.tp-shell .elementor .tp-home-cta-row .elementor-button {
	background: #C2410C;
}

body.tp-shell .elementor .tp-home-cta-row .elementor-button:hover,
body.tp-shell .elementor .tp-home-cta-row .elementor-button:focus {
	background: #9A3412;
}

body.tp-shell .elementor .tp-home-cta-row a.tp-home-link,
body.tp-shell .elementor .tp-home-cta-row a.tp-home-link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tp-primary);
	font: 400 16px/1.4 var(--tp-sans);
	text-decoration: none;
	text-underline-offset: 3px;
}

body.tp-shell .elementor .tp-home-cta-row a.tp-home-link:hover,
body.tp-shell .elementor .tp-home-cta-row a.tp-home-link:focus {
	color: var(--tp-primary-dark);
	text-decoration: underline;
}

/* 2. Task gateway */
body.tp-shell .elementor .e-con.tp-home-gateway .tp-home-inner {
	padding-top: var(--tp-section-space);
	padding-bottom: 40px;
}

body.tp-shell .elementor .tp-home-gateway .tp-home-gateway__cards {
	margin-top: 40px;
}

body.tp-shell .elementor .tp-tasks {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tp-shell .elementor .tp-tasks .tp-task {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tp-shell .elementor .tp-tasks .tp-task__card,
body.tp-shell .elementor .tp-tasks .tp-task__card:visited {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	box-sizing: border-box;
	min-width: 0;
	padding: 24px;
	background: #FFFFFF;
	border: 1px solid var(--tp-border);
	border-radius: var(--tp-radius);
	color: var(--tp-text);
	font-family: var(--tp-sans);
	text-decoration: none;
}

body.tp-shell .elementor .tp-tasks a.tp-task__card {
	transition: transform 150ms ease;
}

body.tp-shell .elementor .tp-tasks a.tp-task__card:hover,
body.tp-shell .elementor .tp-tasks a.tp-task__card:focus {
	padding: 23px;
	border: 2px solid var(--tp-primary);
	color: var(--tp-text);
	text-decoration: none;
	transform: translateY(-4px);
}

body.tp-shell .elementor .tp-tasks .tp-task__title {
	margin: 0 0 12px;
	color: var(--tp-text);
	font: 600 20px/1.2 var(--tp-serif);
	letter-spacing: 0;
}

body.tp-shell .elementor .tp-tasks .tp-task__problem {
	margin: 0 0 12px;
	color: var(--tp-text);
	font: 400 16px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-tasks .tp-task__desc {
	margin: 0 0 16px;
	color: #57504A;
	font: 400 16px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-tasks .tp-task__cta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: auto;
	color: var(--tp-primary);
	font: 400 16px/1.4 var(--tp-sans);
	text-underline-offset: 3px;
}

body.tp-shell .elementor .tp-tasks a.tp-task__card:hover .tp-task__cta,
body.tp-shell .elementor .tp-tasks a.tp-task__card:focus .tp-task__cta {
	color: var(--tp-primary-dark);
	text-decoration: underline;
}

body.tp-shell .elementor .tp-tasks .tp-task__status {
	margin: auto 0 0;
	color: #57504A;
	font: 400 14px/1.5 var(--tp-sans);
}

/* 3. Orientation */
body.tp-shell .elementor .e-con.tp-home-orientation .tp-home-inner {
	padding-top: 24px;
	padding-bottom: var(--tp-section-space);
}

body.tp-shell .elementor .tp-orientation {
	max-width: 704px;
	color: #57504A;
	font: 400 16px/1.65 var(--tp-sans);
}

body.tp-shell .elementor .tp-orientation p {
	margin: 0 0 16px;
	color: #57504A;
	font: inherit;
}

body.tp-shell .elementor .tp-orientation p:last-child {
	margin-bottom: 0;
}

body.tp-shell .elementor .tp-orientation .tp-orientation__lead {
	color: var(--tp-text);
	font: 400 20px/1.3 var(--tp-serif);
}

body.tp-shell .elementor .tp-orientation .tp-orientation__list {
	margin: 0 0 16px;
	padding: 0 0 0 20px;
}

body.tp-shell .elementor .tp-orientation .tp-orientation__list li {
	margin: 0;
	padding: 0;
	color: #57504A;
}

body.tp-shell .elementor .tp-orientation a.tp-orientation__link,
body.tp-shell .elementor .tp-orientation a.tp-orientation__link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tp-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.tp-shell .elementor .tp-orientation a.tp-orientation__link:hover,
body.tp-shell .elementor .tp-orientation a.tp-orientation__link:focus {
	color: var(--tp-primary-dark);
}

/* 4. Method and 5. Boundary */
body.tp-shell .elementor .e-con.tp-home-method .tp-home-inner,
body.tp-shell .elementor .e-con.tp-home-boundary .tp-home-inner {
	padding-block: var(--tp-section-space);
}

body.tp-shell .elementor .e-con.tp-home-narrow {
	max-width: 704px;
}

body.tp-shell .elementor .tp-home-narrow > .elementor-widget + .elementor-widget {
	margin-top: 24px;
}

body.tp-shell .elementor .tp-home-narrow > .tp-home-eyebrow + .tp-home-h2 {
	margin-top: 0;
}

body.tp-shell .elementor .tp-home-narrow > .tp-home-h2 + .elementor-widget {
	margin-top: 24px;
}

body.tp-shell .elementor .e-con.tp-home-panel {
	margin-top: 24px;
	padding: 32px;
	background: #E7F2EE;
	border-radius: var(--tp-radius);
}

body.tp-shell .elementor .tp-home-panel .tp-home-text p.tp-home-panel__lead {
	margin: 24px 0 12px;
	font: 400 20px/1.3 var(--tp-serif);
}

body.tp-shell .elementor .tp-home-panel .tp-home-text ul {
	gap: 8px;
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 1023px) {
	body.tp-shell .elementor .tp-tasks {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body.tp-shell .elementor .tp-tasks {
		grid-template-columns: minmax(0, 1fr);
	}

	body.tp-shell .elementor .tp-tasks .tp-task__card,
	body.tp-shell .elementor .tp-tasks .tp-task__card:visited {
		padding: 20px;
	}

	body.tp-shell .elementor .tp-tasks a.tp-task__card:hover,
	body.tp-shell .elementor .tp-tasks a.tp-task__card:focus {
		padding: 19px;
	}

	body.tp-shell .elementor .e-con.tp-home-panel {
		padding: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tp-shell .elementor .tp-tasks a.tp-task__card {
		transition: none;
	}

	body.tp-shell .elementor .tp-tasks a.tp-task__card:hover,
	body.tp-shell .elementor .tp-tasks a.tp-task__card:focus {
		transform: none;
	}
}
