/*
Theme Name: AB Holistic Light
Theme URI: https://abholistic.com
Author: AB Holistic
Version: 1.0.1
Text Domain: abholistic-light
*/

:root {
	--ink: #14201c;
	--muted: #5f6f68;
	--line: #d8e2dd;
	--surface: #ffffff;
	--soft: #f4f8f6;
	--soft-2: #eef5f1;
	--warm: #f8eee5;
	--accent: #0f766e;
	--accent-2: #8a4f22;
	--accent-3: #b23a24;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--surface);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.65;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--accent-3);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.abh-header {
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.abh-header__inner,
.abh-shell,
.abh-footer__inner {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.abh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.abh-brand {
	color: var(--ink);
	font-weight: 750;
	text-decoration: none;
}

.abh-nav {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 0.95rem;
}

.abh-shell {
	padding: 44px 0 64px;
}

.abh-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 48px;
	align-items: start;
}

.abh-page__content {
	max-width: 760px;
}

.abh-home-hero {
	background: var(--soft);
	border-bottom: 1px solid var(--line);
	padding: 54px 0;
}

.abh-home-hero__inner {
	align-items: center;
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	padding-bottom: 0;
	padding-top: 0;
}

.abh-home-hero__copy {
	max-width: 760px;
}

.abh-home-lead {
	color: var(--muted);
	font-size: 1.18rem;
	margin: 0;
	max-width: 660px;
}

.abh-home-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(20, 32, 28, 0.08);
	padding: 24px;
}

.abh-home-panel__topline {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.abh-home-panel__topline span {
	align-items: center;
	aspect-ratio: 1;
	background: var(--accent);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	width: 52px;
}

.abh-home-panel__topline strong {
	font-size: 1.1rem;
	text-align: right;
}

.abh-home-panel__count {
	border-bottom: 1px solid var(--line);
	border-top: 1px solid var(--line);
	padding: 22px 0;
}

.abh-home-panel__count strong {
	display: block;
	font-size: clamp(2.35rem, 5vw, 4rem);
	line-height: 1;
}

.abh-home-panel__count span {
	color: var(--muted);
	display: block;
	margin-top: 6px;
}

.abh-home-panel__list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.abh-home-panel__list li {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 14px 1fr;
}

.abh-home-panel__list li::before {
	background: var(--accent-2);
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 8px;
}

.abh-kicker {
	color: var(--accent-2);
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.abh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.abh-button,
button.abh-button {
	background: var(--accent);
	border: 1px solid var(--accent);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-weight: 700;
	padding: 11px 16px;
	text-decoration: none;
}

.abh-button:hover,
button.abh-button:hover {
	background: #0b5f59;
	border-color: #0b5f59;
	color: #fff;
}

.abh-button--secondary {
	background: var(--surface);
	color: var(--accent);
}

.abh-button--secondary:hover {
	background: var(--warm);
	border-color: var(--accent-2);
	color: var(--accent-2);
}

.abh-home-search {
	padding-bottom: 22px;
	padding-top: 32px;
}

.abh-home-search form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr auto;
	padding: 12px;
}

.abh-home-search input {
	border: 1px solid transparent;
	border-radius: 6px;
	color: var(--ink);
	font: inherit;
	min-width: 0;
	padding: 12px 14px;
	width: 100%;
}

.abh-home-search input:focus {
	border-color: var(--accent);
	outline: 2px solid rgba(15, 118, 110, 0.16);
}

.abh-home-overview {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: 30px;
	padding-top: 8px;
}

.abh-home-overview > div {
	background: var(--soft-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 20px;
}

.abh-home-overview span {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.abh-home-overview p {
	color: var(--muted);
	margin: 8px 0 0;
}

.abh-home-browse {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-bottom: 28px;
	padding-top: 12px;
}

.abh-home-browse h2,
.abh-section-heading h2 {
	margin-top: 0;
}

.abh-chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.abh-chip-list a {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 9px 12px;
	text-decoration: none;
}

.abh-chip-list a:hover {
	background: var(--warm);
	border-color: #e1c4a9;
	color: var(--accent-2);
}

.abh-home-featured {
	padding-bottom: 54px;
	padding-top: 18px;
}

.abh-section-heading {
	max-width: 720px;
}

.abh-resource-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 24px;
}

.abh-resource-card {
	border: 1px solid var(--line);
	border-radius: 8px;
	min-height: 220px;
	padding: 20px;
}

.abh-resource-card p {
	color: var(--accent-2);
	font-size: 0.86rem;
	font-weight: 750;
	margin: 0 0 10px;
}

.abh-resource-card h3 {
	font-size: 1.1rem;
	margin: 0 0 12px;
}

.abh-resource-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.abh-resource-card h3 a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.abh-resource-card div {
	color: var(--muted);
	font-size: 0.95rem;
}

.abh-home-band {
	background: var(--ink);
	color: #fff;
	padding: 48px 0 58px;
}

.abh-home-band .abh-shell {
	padding-bottom: 0;
	padding-top: 0;
}

.abh-home-band h2 {
	color: #fff;
	margin: 0 0 24px;
	max-width: 700px;
}

.abh-step-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.abh-step-grid > div {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	padding: 20px;
}

.abh-step-grid span {
	color: #f1c7a3;
	display: block;
	font-weight: 800;
	margin-bottom: 12px;
}

.abh-step-grid h3 {
	font-size: 1.05rem;
	margin: 0 0 10px;
}

.abh-step-grid p {
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

h1,
h2,
h3 {
	line-height: 1.2;
	letter-spacing: 0;
}

h1 {
	margin: 0 0 20px;
	font-size: clamp(2rem, 4vw, 3.6rem);
}

h2 {
	margin-top: 36px;
	font-size: 1.55rem;
}

.abh-meta {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: 28px;
}

.abh-sidebar {
	border-left: 3px solid var(--line);
	padding-left: 20px;
	color: var(--muted);
	font-size: 0.95rem;
}

.abh-sidebar h2 {
	color: var(--ink);
	font-size: 1rem;
	margin: 0 0 12px;
}

.abh-related {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.abh-related h2 {
	margin-top: 0;
}

.abh-index-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px;
}

.abh-index-grid section {
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 22px;
}

.abh-index-grid ul {
	padding-left: 1.2rem;
}

.abh-footer {
	border-top: 1px solid var(--line);
	background: var(--soft);
	color: var(--muted);
	padding: 28px 0;
	font-size: 0.9rem;
}

@media (max-width: 800px) {
	.abh-page,
	.abh-index-grid,
	.abh-home-hero__inner,
	.abh-home-overview,
	.abh-home-browse,
	.abh-resource-grid,
	.abh-step-grid {
		grid-template-columns: 1fr;
	}

	.abh-header__inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding: 16px 0;
	}

	.abh-home-hero {
		padding: 38px 0;
	}

	.abh-home-panel {
		padding: 20px;
	}

	.abh-home-search form {
		grid-template-columns: 1fr;
	}
}
