/* T2 Farms service pages: hero, service cards, service area, calls to action.
   Loaded after the theme stylesheet (see t2_load_styles in functions.php). */

:root {
	--t2-brown: #792b00;
	--t2-brown-dark: #5a2000;
	--t2-cream: #faf1e2;
	--t2-gold: #ddb26c;
	--t2-ink: #222;
	--t2-muted: #555;
	--t2-line: #e6dccb;
}

/* Top bar
--------------------------------------------- */

.t2-top-bar {
	color: #eee;
	font-size: 14px;
	padding: 6px 15px;
}

.t2-top-bar .site-container {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	justify-content: space-between;
	text-align: left;
}

.t2-top-bar .t2-top-phone {
	color: #fff;
	font-weight: bold;
	white-space: nowrap;
}

/* Text site title over the header photo */

.site-header .site-title a,
.site-header .site-title a:hover {
	color: #fff;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 1px;
	text-decoration: none;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
	text-transform: uppercase;
}

/* Shared content pieces
--------------------------------------------- */

.entry-content a:not(.button) {
	color: var(--t2-brown);
}

.entry-content h2 {
	color: var(--t2-ink);
	font-size: 28px;
	line-height: 1.25;
	margin: 40px 0 16px;
}

.entry-content h3 {
	font-size: 21px;
	line-height: 1.3;
	margin: 28px 0 10px;
}

.t2-lead {
	color: var(--t2-muted);
	font-size: 19px;
	line-height: 1.6;
}

.entry-content .button.t2-button,
.t2-button {
	background-color: var(--t2-brown);
	color: #fff;
	font-weight: bold;
	padding: 14px 22px;
}

.entry-content .button.t2-button:hover,
.t2-button:hover {
	background-color: var(--t2-brown-dark);
	color: #fff;
}

.t2-button-light {
	background-color: #fff !important;
	color: var(--t2-brown) !important;
}

.t2-figure {
	margin: 0 0 24px;
}

.t2-figure img {
	border-radius: 6px;
	display: block;
	height: auto;
	max-width: 100%;
}

.t2-figure figcaption {
	color: var(--t2-muted);
	font-size: 14px;
	margin-top: 6px;
}

.t2-split {
	align-items: start;
	display: grid;
	gap: 32px;
	grid-template-columns: 3fr 2fr;
	margin: 24px 0;
}

.t2-split > * > :first-child {
	margin-top: 0;
}

.t2-checks {
	list-style: none !important;
	margin-left: 0 !important;
}

.entry-content .t2-checks li {
	list-style: none;
	margin-bottom: 8px;
	padding-left: 28px;
	position: relative;
}

.entry-content .t2-checks li::before {
	color: var(--t2-brown);
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	left: 0;
	position: absolute;
	top: 1px;
}

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

.t2-hero {
	background-color: #3b2a1a;
	background-position: center 60%;
	background-size: cover;
	color: #fff;
	position: relative;
}

.t2-hero::before {
	background: linear-gradient(90deg, rgba(20, 12, 4, 0.85) 0%, rgba(20, 12, 4, 0.6) 55%, rgba(20, 12, 4, 0.15) 100%);
	content: "";
	inset: 0;
	position: absolute;
}

.t2-hero-inner {
	max-width: 640px;
	padding: 70px 60px;
	position: relative;
}

.t2-hero .t2-eyebrow {
	color: var(--t2-gold);
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 1px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.entry-content .t2-hero h1 {
	color: #fff;
	font-size: 40px;
	line-height: 1.15;
	margin: 0 0 18px;
}

.entry-content .t2-hero p {
	color: #f3ece0;
	font-size: 18px;
}

.t2-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Home sections */

.t2-section {
	padding: 50px 60px 30px;
}

.t2-section-alt {
	background-color: var(--t2-cream);
}

.entry-content .t2-section > h2:first-child {
	margin-top: 0;
}

.t2-trust {
	border-bottom: 1px solid var(--t2-line);
	display: grid;
	gap: 0;
	grid-template-columns: repeat(4, 1fr);
}

.t2-trust div {
	border-right: 1px solid var(--t2-line);
	padding: 22px 24px;
}

.t2-trust div:last-child {
	border-right: 0;
}

.t2-trust strong {
	color: var(--t2-brown);
	display: block;
	font-size: 17px;
}

.t2-trust span {
	color: var(--t2-muted);
	font-size: 14px;
	line-height: 1.4;
}

/* Service cards
--------------------------------------------- */

.t2-cards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	margin: 24px 0 32px;
}

.t2-card {
	background: #fff;
	border: 1px solid var(--t2-line);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.t2-card img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	margin: 0;
	object-fit: cover;
	width: 100%;
}

.t2-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 20px;
}

.entry-content .t2-card h3 {
	font-size: 19px;
	margin: 0 0 8px;
}

.entry-content .t2-card h3 a {
	color: var(--t2-ink);
}

.entry-content .t2-card p {
	color: var(--t2-muted);
	font-size: 15px;
	margin-bottom: 14px;
}

.entry-content .t2-card .t2-more {
	margin-top: auto;
}

/* Two-column cards for pages with a sidebar */

.t2-cards-2 {
	grid-template-columns: repeat(2, 1fr);
}

/* Steps */

.t2-steps {
	counter-reset: t2step;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	margin: 24px 0;
}

.t2-steps > div {
	counter-increment: t2step;
	padding-left: 52px;
	position: relative;
}

.t2-steps > div::before {
	background: var(--t2-brown);
	border-radius: 50%;
	color: #fff;
	content: counter(t2step);
	font-weight: bold;
	height: 38px;
	left: 0;
	line-height: 38px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 38px;
}

.entry-content .t2-steps h3 {
	font-size: 18px;
	margin: 6px 0 6px;
}

.entry-content .t2-steps p {
	color: var(--t2-muted);
	font-size: 15px;
}

/* Four-up variant (seasons): number badge sits above the text */

.t2-steps-4 {
	grid-template-columns: repeat(4, 1fr);
}

.t2-steps-4 > div {
	padding-left: 0;
	padding-top: 50px;
}

/* Service area
--------------------------------------------- */

.t2-area {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, 1fr);
	margin: 20px 0 28px;
}

.t2-area-county {
	background: #fff;
	border-left: 4px solid var(--t2-brown);
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	padding: 16px 18px;
}

.entry-content .t2-area-county h4 {
	font-size: 18px;
	margin: 0 0 6px;
}

.entry-content .t2-area-county p {
	color: var(--t2-muted);
	font-size: 15px;
	margin: 0;
}

/* Call to action
--------------------------------------------- */

.t2-cta {
	align-items: center;
	background: var(--t2-ink);
	border-radius: 8px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
	justify-content: space-between;
	margin: 36px 0 30px;
	padding: 28px 32px;
}

.t2-cta-text {
	flex: 1 1 380px;
}

.entry-content .t2-cta h3 {
	color: #fff;
	margin: 0 0 6px;
}

.entry-content .t2-cta p {
	color: #ddd;
	margin: 0;
}

.t2-cta-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.entry-content .t2-cta .t2-cta-link {
	color: var(--t2-gold);
}

/* FAQ */

.t2-faq h3 {
	margin-bottom: 6px;
}

/* Responsive
--------------------------------------------- */

@media only screen and (max-width: 1023px) {

	.t2-cards,
	.t2-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.t2-trust {
		grid-template-columns: repeat(2, 1fr);
	}

	.t2-trust div:nth-child(2) {
		border-right: 0;
	}

	.t2-trust div:nth-child(-n+2) {
		border-bottom: 1px solid var(--t2-line);
	}

}

@media only screen and (max-width: 800px) {

	.t2-hero-inner {
		padding: 44px 24px;
	}

	.entry-content .t2-hero h1 {
		font-size: 30px;
	}

	.t2-section {
		padding: 36px 20px 20px;
	}

	.t2-split,
	.t2-area {
		grid-template-columns: 1fr;
	}

	.t2-top-bar .site-container {
		justify-content: center;
		text-align: center;
	}

}

@media only screen and (max-width: 600px) {

	.t2-cards,
	.t2-steps,
	.t2-trust {
		grid-template-columns: 1fr;
	}

	.t2-trust div {
		border-bottom: 1px solid var(--t2-line);
		border-right: 0;
	}

	.t2-top-bar .t2-top-area {
		display: none;
	}

}
