/**
 * OTS About Page Styles v1.0.0
 * Visual design layer for /about/. Scoped to body.ots-about-page.
 * Same palette + card language as the service pages so the site reads
 * as one coherent design.
 *
 * Palette: forest #1B4332, dark #122A20, amber #E9A020 / hover #C77F0A,
 * ink #232B26, paper #FFFFFF, wash #F7F4EC, line #E8E2D4, muted #5C665F.
 */

/* ============ Hero ============ */
body.ots-about-page .page-header {
	background-image: url("https://oceansidetreeservices.com/wp-content/uploads/2026/10/tree-crew-worker.webp");
	background-size: cover;
	background-position: center 38%;
	position: relative;
	padding: 104px 24px 84px;
	text-align: center;
}
body.ots-about-page .page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18,42,32,.68) 0%, rgba(18,42,32,.44) 60%, rgba(18,42,32,.60) 100%);
}
body.ots-about-page .page-header > * {
	position: relative;
	z-index: 1;
}
body.ots-about-page .page-header .entry-title {
	color: #fff;
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0;
	text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* ============ Content rhythm ============ */
body.ots-about-page .page-content {
	max-width: 880px;
	margin: 0 auto;
	padding: 54px 24px 8px;
	color: #232B26;
	font-size: 1.04rem;
	line-height: 1.75;
}
body.ots-about-page .page-content > p:first-of-type {
	font-size: 1.18rem;
	line-height: 1.7;
	color: #33403A;
}
body.ots-about-page .page-content h2 {
	clear: both;
	font-size: 1.68rem;
	line-height: 1.3;
	color: #1B4332;
	margin: 2.6em 0 .7em;
	padding-bottom: .35em;
}
body.ots-about-page .page-content h2::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	border-radius: 2px;
	background: #E9A020;
	margin-top: .45em;
}
body.ots-about-page .page-content p {
	margin: 0 0 1.15em;
}

/* ============ "What you can expect" -> checklist cards ============ */
body.ots-about-page .page-content ul.ots-about-expect {
	list-style: none;
	margin: 1.3em 0 2em;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
body.ots-about-page .page-content ul.ots-about-expect li {
	position: relative;
	margin: 0;
	background: #fff;
	border: 1px solid #E8E2D4;
	border-radius: 12px;
	padding: 15px 16px 15px 48px;
	font-size: .95rem;
	line-height: 1.6;
	box-shadow: 0 1px 3px rgba(18,42,32,.06);
}
body.ots-about-page .page-content ul.ots-about-expect li::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 17px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #E9A020;
}
body.ots-about-page .page-content ul.ots-about-expect li::after {
	content: "\2713";
	position: absolute;
	left: 15px;
	top: 17px;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #122A20;
}

/* ============ Services -> card grid ============ */
body.ots-about-page .page-content ul.ots-about-services {
	list-style: none;
	margin: 1.3em 0 2em;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
body.ots-about-page .page-content ul.ots-about-services li {
	margin: 0;
	background: #fff;
	border: 1px solid #E8E2D4;
	border-radius: 12px;
	padding: 16px 18px;
	font-size: .95rem;
	line-height: 1.6;
	box-shadow: 0 1px 3px rgba(18,42,32,.06);
}
body.ots-about-page .page-content ul.ots-about-services li a {
	display: block;
	color: #1B4332;
	font-weight: 700;
	font-size: 1.02rem;
	text-decoration: none;
	margin-bottom: 4px;
}
body.ots-about-page .page-content ul.ots-about-services li a:hover {
	color: #C77F0A;
	text-decoration: underline;
}

/* ============ Service areas -> pill chips ============ */
body.ots-about-page .page-content ul.ots-about-areas {
	list-style: none;
	margin: 1.3em 0 2em;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
body.ots-about-page .page-content ul.ots-about-areas li {
	margin: 0;
}
body.ots-about-page .page-content ul.ots-about-areas li a {
	display: inline-block;
	background: #F1EDE1;
	color: #1B4332;
	font-weight: 600;
	border-radius: 999px;
	padding: 8px 20px;
	text-decoration: none;
	font-size: .92rem;
}
body.ots-about-page .page-content ul.ots-about-areas li a:hover {
	background: #E9A020;
	color: #122A20;
}

/* ============ Closing CTA band ============ */
body.ots-about-page .ots-about-cta {
	background: #122A20;
	border-radius: 18px;
	padding: 44px 40px;
	margin: 3em 0 3.5em;
	text-align: center;
}
body.ots-about-page .ots-about-cta p {
	color: #fff;
	font-size: 1.08rem;
	line-height: 1.7;
	margin: 0 0 1.4em;
}
/* Scoped under #content to outrank the theme Customizer rule
   "#content a{color:#1B4332!important}" inside the dark CTA band. */
#content .ots-about-cta p a {
	color: #E9A020 !important;
	font-weight: 700;
}
body.ots-about-page .ots-about-cta-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}
body.ots-about-page .ots-about-cta-call {
	display: inline-block;
	background: #E9A020;
	color: #122A20;
	font-weight: 700;
	padding: 13px 26px;
	border-radius: 10px;
	text-decoration: none;
}
body.ots-about-page .ots-about-cta-call:hover {
	background: #C77F0A;
	color: #122A20;
}
#content .ots-about-cta-quote {
	display: inline-block;
	border: 2px solid #E9A020;
	color: #fff !important;
	font-weight: 700;
	padding: 11px 24px;
	border-radius: 10px;
	text-decoration: none;
}
#content .ots-about-cta-quote:hover {
	background: #E9A020;
	color: #122A20 !important;
}

/* ============ Responsive ============ */
@media (max-width: 760px) {
	body.ots-about-page .page-header {
		padding: 72px 20px 60px;
	}
	body.ots-about-page .page-header .entry-title {
		font-size: 1.85rem;
	}
	body.ots-about-page .page-content {
		padding: 40px 20px 8px;
		font-size: 1rem;
	}
	body.ots-about-page .page-content h2 {
		font-size: 1.42rem;
	}
	body.ots-about-page .page-content ul.ots-about-expect,
	body.ots-about-page .page-content ul.ots-about-services {
		grid-template-columns: 1fr;
	}
	body.ots-about-page .ots-about-cta {
		padding: 34px 24px;
	}
	body.ots-about-page .ots-about-cta-actions {
		flex-direction: column;
	}
	body.ots-about-page .ots-about-cta-call,
	body.ots-about-page .ots-about-cta-quote {
		width: 100%;
		text-align: center;
	}
}
