/*
Theme Name: TreesFinder
Theme URI: https://treesfinder.com/
Author: TreesFinder
Author URI: https://treesfinder.com/
Description: A fully custom, original nature theme built for TreesFinder — identify any tree by leaf, bark or photo. Deep forest greens, warm cream and the distinctive Fraunces serif for headings. No public theme or starter template was used; every line was written for this site.
Version: 1.2.1
Requires at least: 6.0
Tested up to: 6.8
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: treesfinder
Tags: blog, nature, trees, green, responsive, custom-menu, featured-images, threaded-comments
*/

/* ============================================================
   TreesFinder — custom theme stylesheet
   Colours: forest #1B4332 · leaf #2D6A4F · sage #D8F3DC
   cream #FAF6EF · bark #6B4226 · ink #1F2937
   Fonts: Fraunces (headings) · Public Sans (body)
   ============================================================ */

:root {
	--forest: #1b4332;
	--forest-dark: #122e22;
	--leaf: #2d6a4f;
	--leaf-light: #40916c;
	--sage: #d8f3dc;
	--sage-soft: #edf7ef;
	--cream: #faf6ef;
	--bark: #6b4226;
	--ink: #1f2937;
	--ink-soft: #4b5563;
	--line: #e5e0d3;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(27, 67, 50, 0.10);
	--max: 1180px;
	--content: 760px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--leaf);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--forest);
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 600;
	line-height: 1.2;
	color: var(--forest);
	margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

ul,
ol { margin: 0 0 1.1em 1.2em; padding: 0; }

blockquote {
	margin: 1.4em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--leaf);
	background: var(--sage-soft);
	border-radius: 0 var(--radius) var(--radius) 0;
}

code {
	background: var(--sage-soft);
	padding: 0.15em 0.4em;
	border-radius: 6px;
	font-size: 0.9em;
}

pre {
	background: var(--forest);
	color: var(--sage);
	padding: 1.2em;
	border-radius: var(--radius);
	overflow-x: auto;
}

pre code {
	background: none;
	padding: 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.2em;
}

th,
td {
	padding: 0.6em 0.8em;
	border: 1px solid var(--line);
	text-align: left;
}

th {
	background: var(--sage-soft);
	color: var(--forest);
}

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

/* ---------- Layout helpers ---------- */

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 20px;
}

.content-narrow {
	max-width: var(--content);
	margin: 0 auto;
}

.section-title {
	font-size: 1.9rem;
	margin-bottom: 0.3em;
}

.section-sub {
	color: var(--ink-soft);
	margin-bottom: 2em;
}

/* ---------- Buttons ---------- */

.btn,
button,
input[type="submit"] {
	display: inline-block;
	background: var(--leaf);
	color: var(--white);
	border: none;
	border-radius: 999px;
	padding: 0.7em 1.6em;
	font-family: "Public Sans", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--forest);
	color: var(--white);
	text-decoration: none;
	transform: translateY(-1px);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--forest);
	color: var(--white);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-branding a {
	color: var(--white);
	text-decoration: none;
}

.site-branding a:hover {
	color: var(--sage);
	text-decoration: none;
}

.site-logo img {
	max-height: 46px;
	width: auto;
	display: block;
}

/* Inline SVG leaf mark beside the wordmark (no custom logo set). */
.site-mark {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
}

.site-mark svg {
	width: 32px;
	height: 32px;
	display: block;
}

.site-title {
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.55rem;
	font-weight: 700;
	margin: 0;
	line-height: 1.1;
}

.site-title a {
	color: var(--white);
}

.site-title .leaf-mark {
	color: var(--sage);
}

.site-tagline {
	font-size: 0.8rem;
	color: var(--sage);
	margin: 0;
	line-height: 1.2;
}

.primary-nav {
	margin-left: auto;
}

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

.primary-nav a {
	display: block;
	color: var(--white);
	padding: 0.55em 0.9em;
	border-radius: 999px;
	font-weight: 500;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	background: rgba(255, 255, 255, 0.14);
	color: var(--white);
	text-decoration: none;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.icon-btn {
	background: rgba(255, 255, 255, 0.12);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 1.05rem;
	line-height: 1;
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	color: var(--white);
	transform: none;
}

.menu-toggle {
	display: none;
}

.header-search {
	display: none;
	background: var(--forest-dark);
	padding: 14px 0;
}

.site-header.search-open .header-search {
	display: block;
}

.header-search .search-form {
	display: flex;
	gap: 10px;
	max-width: var(--content);
	margin: 0 auto;
}

.header-search input[type="search"] {
	flex: 1;
}

/* ---------- Search form ---------- */

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

.search-form label {
	flex: 1;
}

.search-form input[type="search"] {
	width: 100%;
	padding: 0.75em 1.1em;
	border: 2px solid var(--line);
	border-radius: 999px;
	font-family: "Public Sans", sans-serif;
	font-size: 1rem;
	background: var(--white);
	color: var(--ink);
}

.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--leaf);
}

/* ---------- Hero (front page) ---------- */

.hero {
	background: var(--sage);
	background-image: radial-gradient(circle at 85% 15%, rgba(45, 106, 79, 0.14) 0, transparent 42%),
		radial-gradient(circle at 8% 90%, rgba(107, 66, 38, 0.10) 0, transparent 38%);
	padding: 4.2em 0 3.6em;
	text-align: center;
}

.hero-eyebrow {
	display: inline-block;
	background: var(--white);
	color: var(--leaf);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.45em 1.1em;
	border-radius: 999px;
	margin-bottom: 1.2em;
}

.hero-title {
	font-size: 3rem;
	line-height: 1.08;
	margin-bottom: 0.4em;
}

.hero-tagline {
	font-size: 1.2rem;
	color: var(--ink-soft);
	max-width: 620px;
	margin: 0 auto 1.6em;
}

.hero-search {
	max-width: 560px;
	margin: 0 auto 1.8em;
}

.hero-search .search-form input[type="search"] {
	border-color: var(--white);
	box-shadow: var(--shadow);
}

.hero-cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.hero-cats a {
	background: var(--white);
	color: var(--forest);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.5em 1.1em;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
	text-decoration: none;
}

.hero-cats a:hover {
	background: var(--forest);
	color: var(--white);
	text-decoration: none;
}

/* ---------- Post cards ---------- */

.posts-section {
	padding: 3em 0 3.5em;
}

/* Homepage only: tighten the gap after the Latest Guides grid so the
   page does not end in an empty band before the closing section. */
.home .posts-section {
	padding-bottom: 2em;
}

/* ---------- How TreesFinder works (front page only) ---------- */

.how-it-works {
	background: var(--sage-soft);
	padding: 2.8em 0 3em;
	text-align: center;
}

.how-it-works .section-title,
.how-it-works .section-sub {
	text-align: center;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	margin-bottom: 2em;
	text-align: left;
}

.step-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.6em 1.5em 1.8em;
}

.step-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.4em;
}

.step-card p {
	color: var(--ink-soft);
	font-size: 0.96rem;
	margin: 0;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--leaf);
	color: var(--white);
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 0.9em;
}

.how-cta {
	margin-bottom: 1em;
}

.tool-note {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin: 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.post-card {
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(27, 67, 50, 0.16);
}

.card-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--sage-soft);
}

.card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.post-card:hover .card-thumb img {
	transform: scale(1.04);
}

.card-body {
	padding: 1.3em 1.4em 1.5em;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.card-chip {
	display: inline-block;
	align-self: flex-start;
	background: var(--sage);
	color: var(--forest);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.35em 0.85em;
	border-radius: 999px;
	margin-bottom: 0.8em;
	text-decoration: none;
}

.card-chip:hover {
	background: var(--leaf);
	color: var(--white);
	text-decoration: none;
}

.card-title {
	font-size: 1.32rem;
	margin-bottom: 0.5em;
}

.card-title a {
	color: var(--forest);
	text-decoration: none;
}

.card-title a:hover {
	color: var(--leaf);
	text-decoration: none;
}

.card-excerpt {
	color: var(--ink-soft);
	font-size: 0.96rem;
	flex: 1;
	margin-bottom: 1em;
}

.card-meta {
	font-size: 0.85rem;
	color: var(--ink-soft);
	margin: 0;
	border-top: 1px solid var(--line);
	padding-top: 0.9em;
}

/* ---------- Archive / search headers ---------- */

.page-head {
	background: var(--sage-soft);
	padding: 2.6em 0 2.2em;
	border-bottom: 1px solid var(--line);
}

.page-head h1 {
	margin-bottom: 0.2em;
}

.page-head p {
	color: var(--ink-soft);
	margin: 0;
}

/* ---------- Single post ---------- */

.single-post {
	padding: 2.6em 0 3em;
}

.post-featured {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 2em;
	box-shadow: var(--shadow);
}

.post-featured img {
	width: 100%;
	display: block;
}

.entry-header {
	text-align: center;
	margin-bottom: 2em;
}

.entry-header .card-chip {
	margin-bottom: 1em;
}

.entry-title {
	font-size: 2.5rem;
	line-height: 1.15;
	margin-bottom: 0.5em;
}

.entry-meta {
	color: var(--ink-soft);
	font-size: 0.95rem;
	margin: 0;
}

.entry-meta a {
	color: var(--leaf);
}

.entry-content {
	font-size: 1.08rem;
}

.entry-content h2 {
	margin-top: 1.6em;
	padding-top: 0.4em;
	border-top: 2px solid var(--sage);
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-footer {
	margin-top: 2.4em;
	padding-top: 1.4em;
	border-top: 1px solid var(--line);
}

.post-tags a {
	display: inline-block;
	background: var(--sage-soft);
	color: var(--forest);
	font-size: 0.88rem;
	font-weight: 600;
	padding: 0.35em 0.9em;
	border-radius: 999px;
	margin: 0 6px 6px 0;
	text-decoration: none;
}

.post-tags a:hover {
	background: var(--leaf);
	color: var(--white);
	text-decoration: none;
}

/* ---------- Related posts ---------- */

.related-posts {
	background: var(--sage-soft);
	border-radius: var(--radius);
	padding: 2em;
	margin-top: 3em;
}

.related-posts h2 {
	margin-bottom: 1.2em;
}

.related-posts .posts-grid {
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ---------- Page template ---------- */

.page-content {
	padding: 2.6em 0 3em;
}

.page-content .entry-header {
	text-align: left;
}

/* ---------- Pagination ---------- */

.pagination {
	margin-top: 2.6em;
	text-align: center;
}

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

.pagination .page-numbers {
	display: inline-block;
	background: var(--white);
	color: var(--forest);
	font-weight: 600;
	padding: 0.5em 1em;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--leaf);
	color: var(--white);
}

.pagination a.page-numbers:hover {
	background: var(--forest);
	color: var(--white);
	text-decoration: none;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 3em;
	padding-top: 2em;
	border-top: 1px solid var(--line);
}

.comment-list {
	list-style: none;
	margin: 0 0 2em;
}

.comment-list .comment {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.2em 1.4em;
	margin-bottom: 1em;
}

.comment-list .children {
	list-style: none;
	margin: 1em 0 0 1.4em;
	padding: 0;
}

.comment-author {
	font-weight: 700;
	color: var(--forest);
}

.comment-meta {
	font-size: 0.85rem;
	color: var(--ink-soft);
	margin-bottom: 0.6em;
}

.comment-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7em 1em;
	border: 2px solid var(--line);
	border-radius: 10px;
	font-family: "Public Sans", sans-serif;
	font-size: 1rem;
	background: var(--white);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--leaf);
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* ---------- 404 ---------- */

.error-404 {
	text-align: center;
	padding: 4em 0;
}

.error-404 .big-404 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 6rem;
	line-height: 1;
	color: var(--leaf);
	margin: 0;
}

.error-404 .search-form {
	max-width: 480px;
	margin: 1.6em auto 0;
}

/* ---------- No results ---------- */

.no-results {
	text-align: center;
	padding: 3em 0;
}

.no-results .search-form {
	max-width: 480px;
	margin: 1.6em auto 0;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--forest);
	color: var(--white);
	margin-top: 1em;
}

.footer-widgets {
	padding: 2.6em 0 1em;
}

.footer-widgets .widget {
	margin-bottom: 1.6em;
}

.footer-widgets .widget-title {
	color: var(--sage);
	font-size: 1.1rem;
}

.footer-widgets a {
	color: var(--sage);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding: 2.8em 0 2.2em;
}

.footer-col h3 {
	color: var(--sage);
	font-size: 1.15rem;
	margin-bottom: 0.9em;
}

.footer-col p,
.footer-col li {
	color: rgba(255, 255, 255, 0.82);
}

.footer-col a {
	color: var(--sage);
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--white);
	text-decoration: underline;
}

.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col li {
	margin-bottom: 0.5em;
}

.footer-bottom {
	background: var(--forest-dark);
	padding: 1.1em 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: var(--sage);
}

/* ---------- Widgets (general) ---------- */

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	margin-bottom: 0.5em;
}

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

@media (max-width: 960px) {
	.posts-grid,
	.related-posts .posts-grid,
	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero-title {
		font-size: 2.4rem;
	}

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

@media (max-width: 900px) {
	.menu-toggle {
		display: inline-flex;
	}

	.primary-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--forest-dark);
		padding: 10px 20px 16px;
		margin: 0;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.primary-nav a {
		padding: 0.7em 0.6em;
	}

	.site-header.nav-open .primary-nav {
		display: block;
	}

	.header-inner {
		position: relative;
		flex-wrap: wrap;
	}

	.site-tagline {
		display: none;
	}

	.site-mark svg {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	h1 { font-size: 1.9rem; }

	.hero {
		padding: 3em 0 2.6em;
	}

	.hero-title {
		font-size: 2rem;
	}

	.entry-title {
		font-size: 1.9rem;
	}

	.posts-grid,
	.related-posts .posts-grid,
	.steps-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.related-posts {
		padding: 1.4em;
	}

	.footer-bottom .wrap {
		flex-direction: column;
		text-align: center;
	}
}

/* ============================================================
   v1.2 additions — Tools grid, features, homepage guide, FAQ,
   final CTA, Identify-a-Tree form, Tools/Blog pages.
   ============================================================ */

/* ---------- Small buttons ---------- */

.btn-small {
	padding: 0.55em 1.3em;
	font-size: 0.95rem;
}

.btn-light {
	background: var(--white);
	color: var(--forest);
}

.btn-light:hover {
	background: var(--sage);
	color: var(--forest);
}

/* ---------- Tools grid (home + /tools/) ---------- */

.tools-section {
	padding: 3em 0 2.6em;
	text-align: center;
}

.tools-section .section-title,
.tools-section .section-sub {
	text-align: center;
}

.tools-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	text-align: left;
}

.tools-grid-page {
	margin-bottom: 1.6em;
}

.tool-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.5em 1.4em 1.6em;
	display: flex;
	flex-direction: column;
}

.tool-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.4em;
}

.tool-card p {
	color: var(--ink-soft);
	font-size: 0.96rem;
	margin-bottom: 0.9em;
}

.tool-card p:last-child {
	margin-bottom: 0;
	margin-top: auto;
}

.tool-badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.35em 0.85em;
	border-radius: 999px;
	margin-bottom: 0.9em;
}

.tool-badge.available {
	background: var(--leaf);
	color: var(--white);
}

.tool-badge.soon {
	background: var(--sage);
	color: var(--forest);
}

.tools-more {
	margin-top: 2em;
	text-align: center;
}

.tools-note {
	color: var(--ink-soft);
	text-align: center;
}

/* ---------- Features (Why Use TreesFinder) ---------- */

.features-section {
	background: var(--sage-soft);
	padding: 2.8em 0 3em;
	text-align: center;
}

.features-section .section-title,
.features-section .section-sub {
	text-align: center;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	text-align: left;
}

.feature-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.4em 1.3em 1.5em;
}

.feature-card h3 {
	font-size: 1.2rem;
	margin-bottom: 0.4em;
}

.feature-card p {
	color: var(--ink-soft);
	font-size: 0.94rem;
	margin: 0;
}

/* ---------- Homepage guide content ---------- */

.guide-section {
	padding: 3em 0 1em;
}

.guide-content h2 {
	font-size: 1.9rem;
	margin-bottom: 0.8em;
}

.guide-content h3 {
	margin-top: 1.6em;
	padding-top: 0.4em;
	border-top: 2px solid var(--sage);
}

.guide-content table {
	font-size: 0.95rem;
}

.guide-sources {
	font-size: 0.9rem;
	color: var(--ink-soft);
}

/* ---------- FAQ section ---------- */

.faq-section {
	padding: 1em 0 3em;
}

.faq-list h3 {
	font-size: 1.6rem;
	margin-bottom: 1em;
}

.faq-list p {
	margin-bottom: 1.2em;
}

.faq-list p strong {
	color: var(--forest);
}

/* ---------- Final CTA ---------- */

.final-cta {
	background: var(--forest);
	color: var(--white);
	text-align: center;
	padding: 3.2em 0 3.4em;
}

.final-cta h2 {
	color: var(--white);
	font-size: 2rem;
	margin-bottom: 0.4em;
}

.final-cta p {
	color: var(--sage);
	font-size: 1.1rem;
	margin-bottom: 1.4em;
}

.final-cta p:last-child {
	margin-bottom: 0;
}

/* ---------- Blog page ---------- */

.blog-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 2em;
}

.chip {
	display: inline-block;
	background: var(--white);
	color: var(--forest);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.5em 1.1em;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(27, 67, 50, 0.08);
	text-decoration: none;
}

.chip:hover {
	background: var(--forest);
	color: var(--white);
	text-decoration: none;
}

.chip-active {
	background: var(--leaf);
	color: var(--white);
}

/* ---------- Identify-a-Tree form ---------- */

.notice-box {
	background: #fdf3d7;
	border: 1px solid #ecd27a;
	border-left: 4px solid #b98a1d;
	border-radius: var(--radius);
	padding: 1.2em 1.4em;
	margin-bottom: 1.6em;
}

.notice-box p:last-child {
	margin-bottom: 0;
}

.identify-form {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.6em 1.5em;
	margin-bottom: 2em;
}

.identify-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.identify-form fieldset:disabled {
	opacity: 0.55;
}

.identify-form label {
	display: block;
	font-weight: 700;
	color: var(--forest);
	margin-bottom: 0.4em;
}

.identify-form input[type="file"],
.identify-form select {
	width: 100%;
	padding: 0.7em 1em;
	border: 2px solid var(--line);
	border-radius: 10px;
	font-family: "Public Sans", sans-serif;
	font-size: 1rem;
	background: var(--white);
	margin-bottom: 0.4em;
}

.identify-form input:focus,
.identify-form select:focus {
	outline: none;
	border-color: var(--leaf);
}

.field-hint {
	font-size: 0.92rem;
	color: var(--ink-soft);
	margin-bottom: 1.2em;
}

.identify-results {
	margin-bottom: 2em;
}

.identify-results:empty {
	display: none;
}

.identify-error {
	background: #fdecea;
	border-left: 4px solid #b3261e;
	border-radius: 0 10px 10px 0;
	padding: 1em 1.2em;
}

.result-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 1.4em 1.5em;
	margin-bottom: 1.2em;
}

.result-card h3 {
	margin-bottom: 0.2em;
}

.result-sci {
	color: var(--ink-soft);
	margin-bottom: 0.8em;
}

.result-top {
	border: 2px solid var(--leaf);
}

.confidence-bar {
	height: 10px;
	background: var(--sage-soft);
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 0.4em;
}

.confidence-bar span {
	display: block;
	height: 100%;
	background: var(--leaf);
	border-radius: 999px;
}

.result-conf {
	font-weight: 700;
	color: var(--forest);
	font-size: 0.95rem;
	margin-bottom: 0.8em;
}

.photo-tips {
	margin-bottom: 1.6em;
}

.tool-disclaimer,
.tool-privacy {
	background: var(--sage-soft);
	border-radius: var(--radius);
	padding: 1em 1.2em;
	font-size: 0.96rem;
}

/* ---------- v1.2 responsive ---------- */

@media (max-width: 960px) {
	.tools-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

	.final-cta h2 {
		font-size: 1.6rem;
	}
}
