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

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

* {
	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;
}

.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;
}

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 {
		grid-template-columns: 1fr;
	}

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