/*
Theme Name: Tutor Bend
Theme URI: https://tutorbend.com
Author: Eric Earle
Author URI: https://tutorbend.com
Description: A fast, hand-built theme for Tutor Bend — in-home and online tutoring in Bend, Oregon. Includes a designed homepage, about page, blog, and a built-in contact form that needs no plugins.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tutorbend
Tags: education, business, one-column, custom-menu, custom-logo, featured-images, blog
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--green: #1d9e75;
	--green-light: #e1f5ee;
	--green-mid: #9fe1cb;
	--green-dark: #0f6e56;
	--green-deep: #085041;

	--text: #171717;
	--text-muted: #5f6b73;
	--text-faint: #98a1a8;

	--bg: #ffffff;
	--bg-soft: #f8f8f5;

	--border: rgba(0, 0, 0, 0.09);
	--border-mid: rgba(0, 0, 0, 0.16);

	--radius-sm: 8px;
	--radius: 12px;
	--radius-pill: 999px;

	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	--wrap: 1080px;
	--gutter: 28px;
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, ul, ol, dl, dd {
	margin: 0;
}

ul, ol {
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 300;
	line-height: 1.14;
	letter-spacing: -0.6px;
	color: var(--text);
}

h1 { font-size: clamp(32px, 5.2vw, 48px); }
h2 { font-size: clamp(24px, 3.6vw, 32px); }
h3 { font-size: 20px; }

em {
	font-style: italic;
	color: var(--green);
}

p {
	color: var(--text-muted);
	line-height: 1.75;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--green);
}

img,
svg,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

button {
	font: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
	border-radius: 3px;
}

.container {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main {
	display: block;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 10px 18px;
	background: var(--green);
	color: #fff;
	border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn-primary,
.btn-secondary {
	display: inline-block;
	padding: 13px 26px;
	border-radius: var(--radius-pill);
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font-body);
	text-align: center;
	border: 1px solid transparent;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
	background: var(--green);
	color: #f2fbf8;
}

.btn-primary:hover {
	opacity: 0.88;
	color: #f2fbf8;
}

.btn-secondary {
	background: transparent;
	color: var(--text);
	border-color: var(--border-mid);
}

.btn-secondary:hover {
	background: var(--bg-soft);
	color: var(--text);
}

.btn-block {
	display: block;
	margin-top: 14px;
}

.center-cta {
	text-align: center;
	margin-top: 32px;
}

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 15px var(--gutter);
}

.logo {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 23px;
	letter-spacing: -0.7px;
	line-height: 1;
	color: var(--text);
	flex-shrink: 0;
	font-variation-settings: "opsz" 36;
}

.logo:hover {
	color: var(--text);
}

.logo-accent {
	font-style: italic;
	color: var(--green);
}

.logo:hover .logo-accent {
	color: var(--green-dark);
}

@media (max-width: 420px) {
	.logo {
		font-size: 20px;
	}
}

.logo img,
.custom-logo {
	max-height: 40px;
	width: auto;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary {
	margin-left: auto;
	font-size: 14px;
}

.nav-primary a {
	color: var(--text-muted);
	transition: color 0.15s ease;
}

.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a,
.nav-primary .current-menu-ancestor > a {
	color: var(--text);
}

.nav-cta {
	flex-shrink: 0;
	background: var(--green);
	color: #f2fbf8;
	font-size: 13px;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: var(--radius-pill);
	transition: opacity 0.15s ease;
}

.nav-cta:hover {
	opacity: 0.88;
	color: #f2fbf8;
}

.nav-hamburger {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	margin-right: -8px;
}

.nav-hamburger-bars,
.nav-hamburger-bars::before,
.nav-hamburger-bars::after {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--text);
	border-radius: 2px;
	content: "";
}

.nav-hamburger-bars::before { transform: translateY(-6px); }
.nav-hamburger-bars::after { transform: translateY(4.5px); }

.nav-mobile {
	display: none;
	flex-direction: column;
	border-top: 1px solid var(--border);
}

.nav-mobile .nav-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.nav-mobile a {
	display: block;
	padding: 14px var(--gutter);
	font-size: 15px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border);
}

.nav-mobile .nav-cta-mobile {
	margin: 16px var(--gutter);
	padding: 12px 24px;
	background: var(--green);
	color: #f2fbf8;
	border-radius: var(--radius-pill);
	text-align: center;
	font-weight: 500;
	border-bottom: 0;
}

@media (max-width: 860px) {
	.nav-primary,
	.site-nav > .nav-cta {
		display: none;
	}

	.nav-hamburger {
		display: block;
	}

	.nav-mobile:not([hidden]) {
		display: flex;
	}
}

@media (min-width: 861px) {
	.nav-mobile {
		display: none !important;
	}
}

/* ==========================================================================
   5. Shared section furniture
   ========================================================================== */

.section {
	padding: 72px 0;
}

.section-tag {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--text-faint);
	margin-bottom: 18px;
}

.page-hero {
	padding: 60px 0 40px;
	border-bottom: 1px solid var(--border);
}

.page-hero h1 {
	margin-bottom: 14px;
}

.page-hero-sub {
	font-size: 16px;
	color: var(--text-muted);
	max-width: 520px;
}

.page-hero-search {
	margin-top: 20px;
	max-width: 420px;
}

.page-hero-actions {
	margin-top: 26px;
}

.section-heading {
	margin-bottom: 34px;
}

.offer-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 32px;
	list-style: none;
	margin: 0;
}

.offer-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
	padding: 9px 0;
	border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
	.offer-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

.form-label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 5px;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
	position: relative;
	padding: 80px 0 60px;
	overflow: hidden;
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.hero .mtn {
	position: absolute;
	top: 0;
	right: -20px;
	width: 42%;
	max-width: 420px;
	opacity: 0.06;
	pointer-events: none;
}

.hero-tag {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 18px;
}

.hero h1 {
	max-width: 580px;
	margin-bottom: 20px;
}

.hero-sub {
	font-size: 16px;
	max-width: 460px;
	margin-bottom: 32px;
}

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

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
	margin-top: 52px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.stat {
	display: flex;
	flex-direction: column;
}

.stat-num {
	font-family: var(--font-display);
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: var(--text);
}

.stat-lbl {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 5px;
	max-width: 150px;
}

@keyframes tb-fade-up {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.hero-tag { animation: tb-fade-up 0.5s ease 0.05s both; }
.hero h1 { animation: tb-fade-up 0.5s ease 0.12s both; }
.hero-sub { animation: tb-fade-up 0.5s ease 0.2s both; }
.hero-btns { animation: tb-fade-up 0.5s ease 0.28s both; }

/* ==========================================================================
   7. Subjects
   ========================================================================== */

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

.subj-card {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	transition: border-color 0.15s ease;
}

.subj-card:hover {
	border-color: var(--border-mid);
}

.subj-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 18px;
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
}

.subj-name {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--text);
	margin-bottom: 2px;
}

.subj-card--link {
	display: block;
	color: inherit;
}

.subj-card--link:hover {
	color: inherit;
	border-color: var(--border-mid);
}

.subj-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 500;
	color: var(--green);
}

.subj-more span {
	display: inline-block;
	transition: transform 0.15s ease;
}

.subj-card--link:hover .subj-more span {
	transform: translateX(3px);
}

.levels-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
}

.levels-label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--text-faint);
}

.levels-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.level-pill {
	display: inline-block;
	font-size: 13px;
	color: var(--text-muted);
	background: var(--bg);
	padding: 6px 14px;
	border: 1px solid var(--border-mid);
	border-radius: var(--radius-pill);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.level-pill:hover {
	color: var(--green);
	border-color: var(--green);
}

.subject-featured {
	margin-top: 32px;
}

.subject-featured img {
	width: 100%;
	border-radius: var(--radius);
}

.subject-body .post-content {
	max-width: 720px;
}

.subj-grade {
	font-size: 11px;
	color: var(--text-faint);
	margin-bottom: 10px;
}

.subj-card p {
	font-size: 13px;
}

@media (max-width: 780px) {
	.subjects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.subjects-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   8. How it works
   ========================================================================== */

.how-section {
	padding: 72px 0;
	background: var(--bg-soft);
}

.how-section h2 {
	margin-bottom: 34px;
}

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

.how-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.how-num {
	display: block;
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	color: var(--green-mid);
	margin-bottom: 14px;
}

.how-title {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	margin-bottom: 8px;
}

.how-card p {
	font-size: 13px;
}

@media (max-width: 780px) {
	.how-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   9. Guarantee band
   ========================================================================== */

.guarantee-band {
	padding: 56px 0;
	background: var(--green-light);
	border-top: 1px solid var(--green-mid);
	border-bottom: 1px solid var(--green-mid);
}

.g-tag {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	color: var(--green-dark);
	margin-bottom: 14px;
}

.g-h2 {
	color: var(--green-deep);
	margin-bottom: 14px;
}

.g-h2 em {
	color: var(--green-deep);
}

.g-desc {
	font-size: 14px;
	color: var(--green-dark);
	max-width: 560px;
	margin-bottom: 24px;
}

.g-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
}

.g-pill {
	background: var(--bg);
	color: var(--green-dark);
	font-size: 12px;
	font-weight: 500;
	padding: 6px 14px;
	border: 1px solid #5dcaa5;
	border-radius: var(--radius-pill);
}

/* ==========================================================================
   10. Testimonials
   ========================================================================== */

.testimonials-section h2 {
	margin-bottom: 34px;
}

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

.test-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px;
}

.test-stars {
	color: var(--green);
	font-size: 13px;
	letter-spacing: 2px;
	margin-bottom: 12px;
}

.test-quote {
	font-size: 13px;
	font-style: italic;
	color: var(--text-muted);
	line-height: 1.75;
	margin-bottom: 16px;
	border: 0;
	padding: 0;
}

.test-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.test-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--green-light);
	color: var(--green-deep);
	font-size: 11px;
	font-weight: 500;
}

.test-name {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
}

.test-sub {
	display: block;
	font-size: 11px;
	color: var(--text-faint);
}

@media (max-width: 640px) {
	.test-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   11. Pricing
   ========================================================================== */

.plans-section {
	padding: 72px 0;
	background: var(--bg-soft);
}

.plans-section h2 {
	margin-bottom: 8px;
}

.plans-sub {
	font-size: 14px;
	margin-bottom: 34px;
}

.plans-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	align-items: stretch;
}

.plan {
	display: flex;
	flex-direction: column;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.plan.featured {
	border: 2px solid var(--green);
}

.plan-badge {
	display: inline-block;
	align-self: flex-start;
	background: var(--green-light);
	color: var(--green-deep);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.4px;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	margin-bottom: 12px;
}

.plan-name {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	margin-bottom: 4px;
}

.plan-freq {
	font-size: 12px;
	color: var(--text-faint);
	margin-bottom: 12px;
}

.plan-price {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	line-height: 1;
	color: var(--text);
}

.plan-price span {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--text-muted);
}

.plan-rate {
	font-size: 12px;
	font-weight: 500;
	color: var(--green);
	margin: 6px 0 16px;
}

.plan-features {
	flex: 1;
	list-style: none;
	margin: 0;
}

.plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
	padding: 7px 0;
	border-top: 1px solid var(--border);
}

.check {
	color: var(--green);
	font-size: 13px;
	line-height: 1.6;
	flex-shrink: 0;
}

.plan-btn {
	display: block;
	text-align: center;
	margin-top: 20px;
	padding: 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	border: 1px solid var(--border-mid);
	border-radius: var(--radius-pill);
	transition: background 0.15s ease, opacity 0.15s ease;
}

.plan-btn:hover {
	background: var(--bg-soft);
	color: var(--text);
}

.plan-btn.featured-btn {
	background: var(--green);
	border-color: var(--green);
	color: #f2fbf8;
}

.plan-btn.featured-btn:hover {
	background: var(--green);
	opacity: 0.88;
	color: #f2fbf8;
}

.stripe-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
	font-size: 11px;
	color: var(--text-faint);
}

.stripe-logo {
	background: #635bff;
	color: #fff;
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.5px;
	padding: 2px 6px;
	border-radius: 4px;
}

@media (max-width: 860px) {
	.plans-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   12. FAQ
   ========================================================================== */

.faq-section {
	padding: 72px 0;
}

.faq-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 60px;
	align-items: start;
}

.faq-list {
	border-top: 1px solid var(--border);
}

.faq-item {
	border-bottom: 1px solid var(--border);
	padding: 18px 0;
}

.faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	list-style: none;
}

.faq-q::-webkit-details-marker {
	display: none;
}

.faq-q::after {
	content: "+";
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 300;
	line-height: 1;
	color: var(--green);
}

.faq-item[open] .faq-q::after {
	content: "\2212";
}

.faq-a {
	font-size: 13px;
	line-height: 1.75;
	padding-top: 10px;
	max-width: 60ch;
}

@media (max-width: 780px) {
	.faq-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ==========================================================================
   12b. Pricing page extras
   ========================================================================== */

.plans-section--page {
	background: var(--bg);
	padding-top: 56px;
}

.trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	list-style: none;
	margin: 36px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--border);
}

.trust-row li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-muted);
}

.trust-icon {
	font-size: 15px;
	line-height: 1;
}

.compare-section {
	padding: 72px 0;
	background: var(--bg-soft);
}

.compare-section h2 {
	margin-bottom: 28px;
}

.compare-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.compare-table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.compare-table th,
.compare-table td {
	padding: 13px 18px;
	font-size: 13px;
	text-align: center;
	border-bottom: 1px solid var(--border);
}

.compare-table thead th {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--text);
	background: var(--bg-soft);
}

.compare-table tbody th {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-align: left;
	color: var(--text-muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
	border-bottom: 0;
}

.compare-table .is-featured {
	background: var(--green-light);
	color: var(--green-deep);
}

.compare-table thead .is-featured {
	background: var(--green);
	color: #f2fbf8;
}

.compare-table .yes {
	color: var(--green);
	font-size: 14px;
}

.compare-table .no {
	color: var(--text-faint);
}

.portal-section {
	padding: 56px 0;
}

.portal-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.portal-card h2 {
	font-size: 22px;
	margin-bottom: 6px;
}

.portal-card p {
	font-size: 14px;
	max-width: 52ch;
	margin: 0;
}

/* ==========================================================================
   13. About
   ========================================================================== */

.about-preview {
	padding: 72px 0;
	border-top: 1px solid var(--border);
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 56px;
	align-items: center;
}

.about-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.about-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.about-content h2 {
	margin-bottom: 16px;
}

.about-content p {
	font-size: 14px;
	margin-bottom: 14px;
}

.about-full {
	padding: 72px 0;
}

.about-full-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
	gap: 60px;
	align-items: start;
}

.about-photo-col {
	position: sticky;
	top: 100px;
}

.about-photo-lg {
	height: 360px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.about-photo-lg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.about-photo-caption {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-faint);
	text-align: center;
}

.about-full-content h2 {
	margin-bottom: 20px;
}

.about-full-content p {
	font-size: 15px;
	margin-bottom: 16px;
}

.about-full-content blockquote,
.post-content blockquote {
	margin: 26px 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--green);
	border-radius: 0;
	font-family: var(--font-display);
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.5;
	color: var(--text);
}

.about-full-content blockquote p,
.post-content blockquote p {
	color: inherit;
	font-size: inherit;
}

@media (max-width: 860px) {
	.about-grid,
	.about-full-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.about-photo-col {
		position: static;
	}

	.about-photo-lg {
		height: 300px;
	}
}

/* Values & tips */

.values-section {
	padding: 72px 0;
	background: var(--bg-soft);
}

.values-section h2,
.tips-section h2 {
	margin-bottom: 34px;
}

.values-grid,
.tips-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.value-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
}

.value-icon {
	display: block;
	font-size: 22px;
	margin-bottom: 12px;
}

.value-title {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	margin-bottom: 8px;
}

.value-card p,
.tip p {
	font-size: 13px;
}

.tips-section {
	padding: 72px 0;
}

.tip {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
}

.tip-num {
	display: block;
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--green-mid);
	margin-bottom: 10px;
}

@media (max-width: 860px) {
	.values-grid,
	.tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
	.values-grid,
	.tips-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   14. Blog
   ========================================================================== */

.blog-preview {
	padding: 72px 0;
	background: var(--bg-soft);
}

.blog-preview h2 {
	margin-bottom: 34px;
}

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

.blog-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.blog-card:hover {
	border-color: var(--border-mid);
}

.blog-card-link {
	display: block;
	height: 100%;
	color: inherit;
}

.blog-card-link:hover {
	color: inherit;
}

.blog-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 84px;
	background: var(--bg-soft);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-thumb-icon {
	font-size: 28px;
	line-height: 1;
}

.blog-thumb-lg {
	height: 120px;
}

.blog-body {
	padding: 18px;
}

.blog-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--green);
	margin-bottom: 8px;
}

a.blog-tag:hover {
	color: var(--green-dark);
}

.blog-title,
.blog-title-lg {
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.45;
	color: var(--text);
	margin-bottom: 8px;
}

.blog-title { font-size: 14px; }
.blog-title-lg { font-size: 17px; }

.blog-excerpt {
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 12px;
}

.blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: var(--text-faint);
}

.blog-full {
	padding: 56px 0 80px;
}

.blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 52px;
	align-items: start;
}

.blog-main {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (max-width: 940px) {
	.blog-grid { grid-template-columns: minmax(0, 1fr); }
	.blog-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* Sidebar */

.blog-sidebar {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sidebar-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
}

.sidebar-title {
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 8px;
}

.sidebar-card p {
	font-size: 13px;
}

.sidebar-card ul {
	list-style: none;
	font-size: 13px;
}

.sidebar-card li {
	padding: 6px 0;
	border-bottom: 1px solid var(--border);
}

.sidebar-card li:last-child {
	border-bottom: 0;
}

.sidebar-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.sidebar-tag {
	font-size: 11px;
	color: var(--text-muted);
	background: var(--bg-soft);
	padding: 5px 11px;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.sidebar-tag:hover {
	border-color: var(--green);
	color: var(--green);
}

.guarantee-sidebar {
	background: var(--green-light);
	border-color: var(--green-mid);
}

.guarantee-sidebar .sidebar-title {
	color: var(--green-deep);
}

.guarantee-sidebar p {
	color: var(--green-dark);
}

@media (max-width: 940px) {
	.blog-sidebar { position: static; }
}

/* ==========================================================================
   15. Single post
   ========================================================================== */

.post-hero {
	padding: 48px 0 34px;
	border-bottom: 1px solid var(--border);
}

.post-back {
	display: inline-block;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.post-title {
	max-width: 700px;
	margin: 6px 0 16px;
	font-size: clamp(26px, 4vw, 38px);
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--text-faint);
}

.post-featured {
	margin-top: 32px;
}

.post-featured img {
	width: 100%;
	border-radius: var(--radius);
}

.post-body-section {
	padding: 48px 0 80px;
}

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 56px;
	align-items: start;
}

.post-content {
	max-width: 680px;
}

.post-content > *:not(:last-child) {
	margin-bottom: 18px;
}

.post-content p {
	font-size: 16px;
	line-height: 1.8;
}

.post-content h2 {
	font-size: 24px;
	margin-top: 36px;
	margin-bottom: 12px;
}

.post-content h3 {
	font-size: 21px;
	margin-top: 30px;
	margin-bottom: 10px;
}

.post-content h4 {
	font-size: 17px;
	margin-top: 24px;
	margin-bottom: 8px;
}

.post-content strong {
	color: var(--text);
	font-weight: 500;
}

/* Prose links only — buttons keep their own colours. Without the :not()
   exclusions this rule outranks .btn-primary and renders green-on-green. */
.post-content a:not(.btn-primary):not(.btn-secondary):not(.plan-btn):not(.wp-block-button__link) {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.post-content .btn-primary,
.post-content .btn-secondary,
.post-content .plan-btn {
	text-decoration: none;
}

.post-content ul,
.post-content ol {
	padding-left: 22px;
	color: var(--text-muted);
	font-size: 16px;
	line-height: 1.8;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li {
	margin-bottom: 6px;
}

.post-content img,
.post-content .wp-block-image img {
	border-radius: var(--radius);
}

.post-content figcaption {
	font-size: 12px;
	color: var(--text-faint);
	margin-top: 8px;
}

.post-cta {
	background: var(--green-light);
	border: 1px solid var(--green-mid);
	border-radius: var(--radius);
	padding: 28px;
	margin-top: 40px;
}

.post-cta h2 {
	font-size: 20px;
	color: var(--green-deep);
	margin: 0 0 8px;
}

.post-cta p {
	font-size: 14px;
	color: var(--green-dark);
	margin-bottom: 16px;
}

@media (max-width: 940px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ==========================================================================
   16. Contact section & forms
   ========================================================================== */

.contact-section {
	padding: 72px 0;
	border-top: 1px solid var(--border);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: start;
}

.contact-left h2 {
	margin-bottom: 12px;
}

.contact-left > p {
	font-size: 14px;
	margin-bottom: 28px;
	max-width: 42ch;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.contact-detail {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.cd-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	font-size: 15px;
	background: var(--green-light);
	border-radius: var(--radius-sm);
}

.cd-label {
	display: block;
	font-size: 11px;
	color: var(--text-faint);
}

.cd-val {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}

.contact-form-wrap {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.form-row {
	margin: 0 0 12px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea,
.contact-form-wrap select,
.search-form .search-field {
	width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--text);
	background: var(--bg);
	padding: 12px 14px;
	border: 1px solid var(--border-mid);
	border-radius: var(--radius-sm);
	outline: none;
	transition: border-color 0.15s ease;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.search-form .search-field:focus {
	border-color: var(--green);
}

.contact-form-wrap textarea {
	min-height: 96px;
	resize: vertical;
}

.contact-form .form-submit,
.contact-form-wrap input[type="submit"],
.contact-form-wrap .wpcf7-submit {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 13px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	color: #f2fbf8;
	background: var(--green);
	border: 0;
	border-radius: var(--radius-pill);
	transition: opacity 0.15s ease;
}

.contact-form .form-submit:hover,
.contact-form-wrap input[type="submit"]:hover,
.contact-form-wrap .wpcf7-submit:hover {
	opacity: 0.88;
}

.tb-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	font-size: 13px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	margin-bottom: 14px;
}

.form-notice--ok {
	background: var(--green-light);
	border: 1px solid var(--green-mid);
	color: var(--green-deep);
}

.form-notice--bad {
	background: #fcebeb;
	border: 1px solid #f09595;
	color: #791f1f;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form .search-submit {
	flex-shrink: 0;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #f2fbf8;
	background: var(--green);
	border: 0;
	border-radius: var(--radius-pill);
}

.error-actions {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 460px;
}

.error-actions p {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 860px) {
	.contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ==========================================================================
   17. Pagination & comments
   ========================================================================== */

.pagination {
	margin-top: 32px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	font-size: 14px;
	color: var(--text-muted);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
}

.pagination .page-numbers.current {
	background: var(--green);
	border-color: var(--green);
	color: #f2fbf8;
}

.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.comments-title {
	font-size: 22px;
	margin-bottom: 20px;
}

.comment-list {
	list-style: none;
	margin-bottom: 32px;
}

.comment-list li {
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font-family: var(--font-body);
	font-size: 14px;
	padding: 12px 14px;
	border: 1px solid var(--border-mid);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--text);
}

.comment-form .form-submit input {
	width: auto;
	padding: 12px 26px;
	color: #f2fbf8;
	background: var(--green);
	border: 0;
	border-radius: var(--radius-pill);
	font-weight: 500;
	cursor: pointer;
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.site-footer {
	padding: 24px 0;
	border-top: 1px solid var(--border);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.footer-logo {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.55px;
	color: var(--text);
	font-variation-settings: "opsz" 36;
}

.footer-logo:hover {
	color: var(--text);
}

.footer-nav {
	font-size: 13px;
}

.footer-nav .nav-menu {
	flex-wrap: wrap;
	gap: 18px;
}

.footer-nav a {
	color: var(--text-muted);
}

.footer-copy {
	font-size: 12px;
	color: var(--text-faint);
}

/* ==========================================================================
   19. WordPress core classes
   ========================================================================== */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	margin-inline: auto;
	text-align: center;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
	font-size: 12px;
	color: var(--text-faint);
}

.sticky .blog-title-lg::after {
	content: " \2605";
	color: var(--green);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.nav-open {
	overflow: hidden;
}
