/*
Theme Name: Sustainable Fox Valley
Theme URI: https://sustainfv.org/
Author: Sustainable Fox Valley
Author URI: https://sustainfv.org/
Description: Custom theme for Sustainable Fox Valley — a faithful, responsive rebuild of the original sustainfv.org design (sky-blue page, green channel navigation, Fox Valley header) with local assets only, scroll animations, sliders, an interactive footprint calculator, WooCommerce styling, structured data and AI-indexing files (llms.txt, llms-full.txt, ai.txt).
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sustainfv
Tags: custom-menu, featured-images, theme-options, e-commerce, two-columns, left-sidebar
*/

/* ==========================================================================
   1. Tokens — colours taken from the original theme_sustainablefv_color CSS
   ========================================================================== */
:root {
	--sky: #64C3FA;          /* body background (original) */
	--sky-light: #B2E1FD;    /* footer border (original) */
	--sky-pale: #E8F5FE;
	--navy: #1E5078;         /* text + headings (original) */
	--green: #8CB64A;        /* links, nav, WinBorder (original) */
	--green-title: #319C25;  /* H1 colour on original home page */
	--green-dark: #4F7D1C;   /* accessible text green */
	--green-deep: #3E6416;
	--row-odd: #C5DAA4;      /* OddRow (original) */
	--row-even: #E8F0DB;     /* EvenRow (original) */
	--white: #FFFFFF;
	--ink: #24323F;
	--muted: #5B6B78;
	--line: #DCE7EF;
	--warn-bg: #FFF7D6;
	--warn: #8A5A00;
	--error: #C00;           /* .Status (original) */
	--radius: 10px;
	--shadow: 0 6px 24px rgba(30, 80, 120, .12);
	--shadow-lg: 0 14px 40px rgba(30, 80, 120, .18);
	--font: Arial, "Helvetica Neue", Helvetica, sans-serif;
	--font-alt: Candara, Calibri, "Segoe UI", Arial, sans-serif;
	--container: 1180px;
	--nav-w: 220px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	padding: 0;
	background: var(--sky);
	color: var(--navy);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	text-align: left;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--green-dark); font-weight: bold; text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
a:hover { color: var(--navy); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--navy); outline-offset: 2px;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--navy); font-weight: bold; line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem); color: var(--green-title); }
h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; margin-top: 1.3em; }
h4 { font-size: 1.05rem; }
p, ul, ol, dl, table, blockquote, figure { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: .35em; }
hr { border: 0; border-top: 2px solid var(--sky-light); margin: 2em 0; }
blockquote {
	margin-left: 0; padding: 1em 1.3em; border-left: 5px solid var(--green);
	background: var(--row-even); border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-alt); font-size: 1.05em; color: var(--navy);
}
blockquote p:last-child { margin-bottom: 0; }
code, kbd { background: var(--sky-pale); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.screen-reader-text, .sr-only {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	left: 8px; top: 8px; padding: 10px 16px; background: var(--white); color: var(--navy);
}
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .82rem; color: var(--muted); margin-top: .45em; line-height: 1.45; }

/* ==========================================================================
   3. Page frame (#PageContainer / #HeaderContainer / #ContentContainer)
   ========================================================================== */
#PageContainer {
	margin: 0 auto;
	width: 100%;
	max-width: var(--container);
	position: relative;
	background: var(--white);
	box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 20px 60px rgba(14, 60, 100, .18);
}

/* Top utility strip */
.topbar {
	background: var(--navy); color: #DDEFFC; font-size: .82rem;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px;
	padding: 6px 18px;
}
.topbar a { color: #fff; font-weight: normal; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; fill: currentColor; }

/* Header */
#HeaderContainer {
	display: flex; align-items: stretch;
	background: linear-gradient(90deg, #FFFFFF 0%, #F2FAFF 55%, var(--sky-pale) 100%);
	position: relative;
}
#HeaderLogo { flex: 0 0 auto; line-height: 0; display: block; }
#HeaderLogo img { display: block; width: 760px; max-width: 100%; height: auto; }
.header-side {
	flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: flex-end;
	gap: 10px; padding: 12px 18px; min-width: 0;
}
.header-tagline { font-family: var(--font-alt); font-size: 1rem; font-weight: bold; color: var(--green-title); text-align: right; margin: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--sky-light);
	background: var(--white); color: var(--navy); cursor: pointer; transition: transform .2s var(--ease), background .2s;
	text-decoration: none;
}
.icon-btn:hover { background: var(--sky-pale); transform: translateY(-2px); color: var(--navy); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--green-dark); color: #fff; font-size: 11px; line-height: 20px; text-align: center; font-weight: bold;
}
.cart-count[data-count="0"] { display: none; }

/* Live search */
.header-search { position: relative; width: 100%; max-width: 330px; }
.search-form { display: flex; gap: 0; width: 100%; }
.search-form input[type="search"] {
	flex: 1; min-width: 0; border: 2px solid var(--sky-light); border-right: 0; border-radius: 22px 0 0 22px;
	padding: 9px 14px; font: inherit; font-size: .9rem; color: var(--navy); background: #fff;
}
.search-form button {
	border: 0; border-radius: 0 22px 22px 0; background: var(--green-dark); color: #fff; padding: 0 14px; cursor: pointer;
	display: inline-flex; align-items: center;
}
.search-form button:hover { background: var(--navy); }
.search-form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.live-results {
	position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: var(--radius);
	box-shadow: var(--shadow-lg); padding: 6px; display: none; max-height: 360px; overflow: auto; text-align: left;
}
.live-results.is-open { display: block; animation: sfvDrop .2s var(--ease); }
.live-results a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--navy); font-size: .9rem; }
.live-results a small { display: block; color: var(--muted); font-weight: normal; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }
.live-results a:hover, .live-results a.is-active { background: var(--row-even); }
.live-results .live-empty { padding: 10px; color: var(--muted); font-size: .9rem; }
@keyframes sfvDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Mobile menu bar */
.menu-toggle {
	display: none; width: 100%; border: 0; background: var(--green); color: #fff; font: bold 1rem var(--font);
	padding: 12px 18px; text-align: left; cursor: pointer; align-items: center; gap: 10px;
}
.menu-toggle .bars { width: 22px; height: 16px; position: relative; display: inline-block; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle .bars span:nth-child(1) { top: 0; } .menu-toggle .bars span:nth-child(2) { top: 7px; } .menu-toggle .bars span:nth-child(3) { top: 14px; }
.menu-open .menu-toggle .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Two-column frame */
#ContentContainer { display: flex; align-items: stretch; min-height: 60vh; }
#NavContainer {
	flex: 0 0 var(--nav-w); width: var(--nav-w);
	background-color: var(--green);
	padding: 0 0 30px;
}
.nav-sticky { position: sticky; top: 0; }
#Content { flex: 1 1 auto; min-width: 0; padding: 0; background: var(--white); }
.content-inner { padding: 26px 34px 40px; }

/* Channel navigation — original .Channel / .ChannelSelected look */
#Nav { list-style: none; margin: 0; padding: 0; border-bottom: 2px solid #FFF; }
#Nav li { margin: 0; border-top: 2px solid #FFF; position: relative; }
#Nav a {
	display: block; color: #FFF; font: bold 14px/1.35 var(--font); text-decoration: none;
	padding: 9px 12px 9px 14px; transition: background .2s, padding-left .25s var(--ease);
}
#Nav a:hover { background: rgba(30, 80, 120, .16); padding-left: 20px; color: #fff; }
#Nav .current-menu-item > a, #Nav .current_page_item > a, #Nav .current-menu-ancestor > a, #Nav .current-page-ancestor > a,
#Nav .current-post-ancestor > a {
	background: #FFF; color: var(--navy);
}
#Nav .sub-menu { list-style: none; margin: 0; padding: 0; background: rgba(30, 80, 120, .12); display: none; }
#Nav .sub-menu li { border-top: 1px solid rgba(255,255,255,.55); }
#Nav .sub-menu a { font-weight: normal; font-size: 13px; padding-left: 26px; } /* .Posting look */
#Nav li.is-open > .sub-menu, #Nav .current-menu-ancestor > .sub-menu, #Nav .current-menu-parent > .sub-menu { display: block; }
#Nav .submenu-toggle {
	position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; border: 0; border-radius: 4px; background: transparent;
	color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
#Nav .submenu-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
#Nav li.is-open > .submenu-toggle::before { transform: rotate(-135deg); margin-top: 4px; }
#Nav .current-menu-item > .submenu-toggle::before, #Nav .current-menu-ancestor > .submenu-toggle::before { border-color: var(--navy); }

/* WinBorder boxes in the sidebar (original "Upcoming" box) */
.WinBorder { background: var(--green); color: #FFF; padding: 10px; margin: 18px 12px 0; border: 2px solid #fff; border-radius: 6px; text-align: center; }
.WinBorder .win-title { font-size: 1.1rem; font-weight: bold; margin: 2px 0 8px; color: #fff; }
.WinBorder .win-body { background: #FFF; color: var(--navy); padding: 10px; font-size: .86rem; font-weight: normal; text-align: left; border-radius: 4px; line-height: 1.5; }
.WinBorder .win-body p { margin: 0 0 .6em; }
.WinBorder .win-body a { color: var(--green-dark); }
.WinBorder form { display: grid; gap: 6px; }
.WinBorder input[type="email"] { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: .85rem; }
.WinBorder button { width: 100%; }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #FFD43B; margin-right: 6px; box-shadow: 0 0 0 0 rgba(255, 212, 59, .7); animation: sfvPulse 2s infinite; vertical-align: 1px; }
@keyframes sfvPulse { 0% { box-shadow: 0 0 0 0 rgba(255,212,59,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,212,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,212,59,0); } }

/* ==========================================================================
   4. Footer (#FooterContainer)
   ========================================================================== */
#FooterContainer { border-top: 10px solid var(--sky-light); background: var(--white); color: var(--navy); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding: 34px 34px 24px; }
.footer-grid h2 { font-size: 1rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 7px; }
#FooterContainer a { color: var(--navy); font-weight: bold; text-decoration: underline; }
#FooterContainer a:hover { color: var(--green-dark); }
.footer-brand img { width: 220px; height: auto; border-radius: 6px; display: block; margin-bottom: 10px; object-fit: cover; object-position: left center; aspect-ratio: 200 / 144; }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 12px 34px; background: var(--sky-pale);
	font-size: .8rem; color: var(--navy);
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
.footer-bottom li { margin: 0; }
.social-links { display: flex; gap: 8px; margin-top: 12px; }
.social-links a { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff !important; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
.social-links a:hover { background: var(--green-dark); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }

.back-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--green-dark); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
	transform: translateY(12px); transition: all .3s var(--ease); display: flex; align-items: center; justify-content: center;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); }
.back-to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; }

.reading-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 9999; background: linear-gradient(90deg, var(--green), var(--sky)); transition: width .1s linear; }

/* ==========================================================================
   5. Components
   ========================================================================== */
.sfv-btn, .button, button.button, input[type="submit"], .wpcf7-submit, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--green-dark); color: #fff !important; border: 2px solid var(--green-dark); border-radius: 30px;
	padding: 11px 24px; font: bold .95rem/1.2 var(--font); text-decoration: none !important; cursor: pointer;
	transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.sfv-btn:hover, .button:hover, input[type="submit"]:hover, .wpcf7-submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
	background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow);
}
.sfv-btn--ghost { background: transparent; color: var(--green-dark) !important; }
.sfv-btn--ghost:hover { color: #fff !important; }
.sfv-btn--light { background: #fff; color: var(--navy) !important; border-color: #fff; }
.sfv-btn--light:hover { background: var(--sky-light); border-color: var(--sky-light); color: var(--navy) !important; }
.sfv-btn--small { padding: 7px 14px; font-size: .82rem; }
.sfv-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.sfv-callout { padding: 14px 18px; border-radius: var(--radius); margin: 0 0 1.3em; border-left: 5px solid; background: var(--sky-pale); border-color: var(--sky); }
.sfv-callout p:last-child, .sfv-callout ul:last-child { margin-bottom: 0; }
.sfv-callout--tip { background: var(--row-even); border-color: var(--green); }
.sfv-callout--info { background: var(--sky-pale); border-color: var(--sky); }
.sfv-callout--warning { background: var(--warn-bg); border-color: #E2B33C; }

.sfv-takeaways {
	border: 2px solid var(--green); border-radius: var(--radius); padding: 16px 20px 6px; margin: 0 0 1.6em;
	background: linear-gradient(180deg, var(--row-even), #fff);
}
.sfv-takeaways h2 { margin-top: 0; font-size: 1.15rem; color: var(--green-dark); }
.sfv-takeaways ul { list-style: none; padding: 0; }
.sfv-takeaways li { position: relative; padding-left: 28px; }
.sfv-takeaways li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.sfv-steps { list-style: none; counter-reset: step; padding: 0; }
.sfv-steps > li { counter-increment: step; position: relative; padding: 2px 0 14px 54px; margin: 0; border-left: 2px dashed var(--sky-light); margin-left: 18px; }
.sfv-steps > li:last-child { border-left-color: transparent; }
.sfv-steps > li::before {
	content: counter(step); position: absolute; left: -19px; top: 0; width: 36px; height: 36px; border-radius: 50%;
	background: var(--navy); color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff;
}
.sfv-steps > li { padding-left: 34px; }

.sfv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 0 0 1.4em; }
.sfv-card {
	background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 16px 18px;
	box-shadow: 0 2px 10px rgba(30,80,120,.06); transition: transform .25s var(--ease), box-shadow .25s;
}
.sfv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sfv-card h3 { margin-top: 0; font-size: 1.05rem; }
.sfv-card p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.table-wrap table { margin: 0; }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.sfv-table th, .sfv-table td, .entry-content table th, .entry-content table td { padding: 10px 12px; border-bottom: 1px solid #fff; text-align: left; vertical-align: top; }
.sfv-table thead th, .entry-content table thead th { background: var(--navy); color: #fff; }
.sfv-table tbody tr:nth-child(odd), .entry-content table tbody tr:nth-child(odd) { background: var(--row-even); } /* .EvenRow */
.sfv-table tbody tr:nth-child(even), .entry-content table tbody tr:nth-child(even) { background: #F4F8EC; }
.sfv-table tbody tr:hover { background: var(--row-odd); } /* .OddRow */

.sfv-faq { display: grid; gap: 10px; margin: 0 0 1.5em; }
.sfv-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s; }
.sfv-faq details[open] { box-shadow: var(--shadow); border-color: var(--green); }
.sfv-faq summary {
	cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; font-weight: bold; color: var(--navy); position: relative;
}
.sfv-faq summary::-webkit-details-marker { display: none; }
.sfv-faq summary::after {
	content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
	background: var(--row-even); color: var(--green-dark); font-size: 20px; line-height: 26px; text-align: center; transition: transform .25s var(--ease);
}
.sfv-faq details[open] summary::after { content: "−"; background: var(--green); color: #fff; }
.sfv-faq details > *:not(summary) { padding: 0 18px; }
.sfv-faq details > p:last-child { padding-bottom: 14px; }
.sfv-faq .faq-body { padding: 0 18px 14px; animation: sfvDrop .25s var(--ease); }

.sfv-figure { margin: 1.4em 0; }
.sfv-figure img { border-radius: var(--radius); display: block; width: 100%; }
.sfv-glossary dt { font-weight: bold; color: var(--navy); margin-top: .9em; }
.sfv-glossary dd { margin: .2em 0 0; padding-left: 14px; border-left: 3px solid var(--row-odd); }
.glossary-filter { width: 100%; max-width: 380px; padding: 10px 14px; border: 2px solid var(--sky-light); border-radius: 24px; font: inherit; margin-bottom: 10px; }

/* CTA band */
.sfv-cta {
	position: relative; overflow: hidden; border-radius: 14px; padding: 28px 30px; margin: 2em 0;
	background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 60%, #A9CC6E 100%); color: #fff;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.sfv-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); }
.sfv-cta h2, .sfv-cta h3 { color: #fff; margin: 0 0 .3em; font-size: 1.35rem; }
.sfv-cta p { margin: 0; max-width: 560px; }
.sfv-cta .sfv-btn { position: relative; z-index: 1; }

/* Page hero */
.page-hero { position: relative; min-height: 230px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.page-hero.is-in img { transform: scale(1); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,80,120,.05) 0%, rgba(30,80,120,.82) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding: 26px 34px; width: 100%; }
.page-hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.page-hero .lead { color: #EAF6FF; margin: .5em 0 0; max-width: 760px; font-size: 1.05rem; }
.page-hero--plain { min-height: 0; background: linear-gradient(120deg, var(--sky-pale), #fff); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--green-title); text-shadow: none; }
.page-hero--plain .lead { color: var(--navy); }
.photo-credit { position: absolute; z-index: 3; right: 8px; bottom: 6px; font-size: .68rem; color: rgba(255,255,255,.85); }
.photo-credit a { color: #fff !important; font-weight: normal !important; }

.breadcrumbs { font-size: .82rem; color: var(--muted); margin: 0 0 16px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--green); }
.breadcrumbs a { font-weight: normal; color: var(--muted); }

.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > *:first-child { margin-top: 0; }
.lead-text { font-size: 1.12rem; color: var(--ink); }

/* ==========================================================================
   6. Front page
   ========================================================================== */
.hero { position: relative; background: var(--navy); }
.hero .swiper { width: 100%; height: clamp(340px, 46vw, 470px); }
.hero .swiper-slide { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy), var(--green-dark)); }
.hero .swiper-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7s ease-out; }
.hero .swiper-slide-active img { transform: scale(1); }
.hero .swiper-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,55,85,.85) 0%, rgba(20,55,85,.45) 55%, rgba(20,55,85,.1) 100%); }
.hero-caption { position: absolute; z-index: 2; left: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: center; padding: 30px 40px; max-width: 620px; color: #fff; }
.hero-caption .eyebrow { display: inline-block; align-self: flex-start; background: var(--green); color: #fff; font-weight: bold; font-size: .78rem; padding: 4px 10px; border-radius: 20px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.hero-caption h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); margin: 0 0 12px; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero-caption p { font-size: 1.05rem; margin: 0 0 18px; color: #EAF6FF; }
.hero-caption .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .swiper-slide-active .hero-caption > * { animation: sfvRise .9s var(--ease) both; }
.hero .swiper-slide-active .hero-caption > *:nth-child(2) { animation-delay: .12s; }
.hero .swiper-slide-active .hero-caption > *:nth-child(3) { animation-delay: .24s; }
.hero .swiper-slide-active .hero-caption > *:nth-child(4) { animation-delay: .36s; }
@keyframes sfvRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .swiper-pagination-bullet { background: #fff; opacity: .6; width: 10px; height: 10px; }
.hero .swiper-pagination-bullet-active { background: var(--green); opacity: 1; width: 28px; border-radius: 6px; }
.hero .swiper-button-next, .hero .swiper-button-prev { color: #fff; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(4px); }
.hero .swiper-button-next::after, .hero .swiper-button-prev::after { font-size: 18px; font-weight: bold; }
.hero .swiper-button-next:hover, .hero .swiper-button-prev:hover { background: var(--green); }

.section { padding: 34px 34px; }
.section + .section { border-top: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, var(--sky-pale), #fff); }
.section--green { background: var(--row-even); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow-dark { display: block; color: var(--green-dark); font-size: .78rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* Archive home block ("Creating Sustainable Communities") */
.archive-home .Heading { text-align: center; }
.archive-home .Heading h1 { color: var(--green-title); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
.archive-home .upcoming-box { float: right; width: 230px; margin: 0 0 14px 22px; }
.archive-home .upcoming-box .WinBorder { margin: 0; }
.archive-home .entry-content { font-family: var(--font-alt); font-size: 1.05rem; }
.archive-home .entry-content strong { color: var(--navy); }
.question-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.question-list li { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--green); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0; }

/* Audience tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: 14px; background: #fff;
	border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: normal; overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tile::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--navy); }
.tile:hover::before { transform: scaleX(1); }
.tile .tile-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--row-even); display: flex; align-items: center; justify-content: center; color: var(--green-dark); transition: background .3s, color .3s, transform .3s; }
.tile:hover .tile-icon { background: var(--green); color: #fff; transform: rotate(-6deg); }
.tile .tile-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h3 { margin: 6px 0 0; font-size: 1.05rem; }
.tile p { margin: 0; font-size: .9rem; color: var(--muted); }
.tile .more { margin-top: auto; padding-top: 8px; font-weight: bold; color: var(--green-dark); font-size: .88rem; }

/* Counters */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { text-align: center; background: #fff; border-radius: 14px; padding: 18px 10px; box-shadow: 0 2px 12px rgba(30,80,120,.07); }
.stat .num { display: block; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); font-weight: bold; color: var(--green-dark); line-height: 1.1; }
.stat .label { display: block; font-size: .86rem; color: var(--muted); margin-top: 6px; }

/* Tabs (Natural Step) */
.tabs { border-radius: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.tab-list { display: flex; flex-wrap: wrap; background: var(--navy); }
.tab-list button {
	flex: 1 1 0; min-width: 140px; border: 0; background: transparent; color: #CFE6F7; padding: 14px 12px; cursor: pointer;
	font: bold .9rem var(--font); border-bottom: 4px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.tab-list button[aria-selected="true"] { background: #fff; color: var(--navy); border-bottom-color: var(--green); }
.tab-list button:hover { color: #fff; background: rgba(255,255,255,.1); }
.tab-list button[aria-selected="true"]:hover { color: var(--navy); background: #fff; }
.tab-panel { padding: 22px 24px; animation: sfvDrop .3s var(--ease); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin-top: 0; }

/* Post cards */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { border: 2px solid var(--sky-light); background: #fff; color: var(--navy); border-radius: 20px; padding: 6px 14px; font: bold .82rem var(--font); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, opacity .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card.is-hidden { display: none; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(120deg, var(--sky-light), var(--row-even)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); font-weight: bold; text-decoration: none; }
.post-card h3 { font-size: 1.04rem; margin: 6px 0 8px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--green-dark); }
.post-card p { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.post-card__meta { margin-top: auto; font-size: .78rem; color: var(--muted); display: flex; gap: 12px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--row-even); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge { position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: bold; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .05em; }
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.product-card h3 a { color: var(--navy); text-decoration: none; }
.product-card .price { font-size: 1.15rem; font-weight: bold; color: var(--green-dark); margin: 0 0 10px; }
.product-card p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.product-card .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.added_to_cart { font-size: .85rem; align-self: center; }

/* Newsletter band */
.newsletter {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: center; padding: 26px 28px; border-radius: 14px;
	background: var(--navy) radial-gradient(circle at 90% 10%, rgba(100,195,250,.35), transparent 50%); color: #fff;
}
.newsletter h2, .newsletter h3 { color: #fff; margin: 0 0 6px; }
.newsletter p { margin: 0; color: #D6ECFB; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1; min-width: 180px; border: 0; border-radius: 30px; padding: 12px 16px; font: inherit; }
.newsletter .consent { flex-basis: 100%; font-size: .78rem; color: #D6ECFB; }
.newsletter .consent a { color: #fff; }

/* ==========================================================================
   7. Single article
   ========================================================================== */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; align-items: start; }
.single-layout.no-aside { grid-template-columns: minmax(0, 1fr); }
.entry-header { margin-bottom: 16px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); align-items: center; }
.entry-meta a { font-weight: bold; }
.entry-meta svg { width: 15px; height: 15px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2; margin-right: 3px; }
.featured { margin: 0 0 22px; border-radius: 14px; overflow: hidden; position: relative; }
.featured img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.featured figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 12px 6px; font-size: .72rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.featured figcaption a { color: #fff; font-weight: normal; }
.toc { position: sticky; top: 16px; background: var(--sky-pale); border-radius: 12px; padding: 16px; font-size: .88rem; }
.toc h2 { font-size: .95rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.toc a { font-weight: normal; color: var(--navy); text-decoration: none; display: block; border-left: 3px solid transparent; padding-left: 6px; margin-left: -9px; }
.toc a:hover, .toc a.is-active { color: var(--green-dark); border-left-color: var(--green); font-weight: bold; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-weight: bold; margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--row-even); color: var(--navy); border: 0; cursor: pointer; transition: background .2s, transform .2s; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.share svg { width: 17px; height: 17px; fill: currentColor; }
.share .copied { background: var(--green-dark); color: #fff; }
.author-box { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; background: var(--row-even); margin: 0 0 26px; }
.author-box img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; object-position: 8% 50%; flex: 0 0 auto; background: #fff; }
.author-box p { margin: 0; font-size: .92rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 26px; }
.post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); transition: border-color .2s, box-shadow .2s; }
.post-nav a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.post-nav small { display: block; color: var(--muted); font-weight: normal; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.post-nav .next { text-align: right; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px; align-items: start; }
.legal-layout .toc ol { padding-left: 1.3em; }
.legal-layout .entry-content h2 { scroll-margin-top: 20px; border-bottom: 2px solid var(--row-even); padding-bottom: 6px; }

/* Archive / blog */
.archive-header { margin-bottom: 20px; }
.pagination { margin: 26px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 20px; border: 2px solid var(--sky-light); text-decoration: none; padding: 0 12px; color: var(--navy); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* ==========================================================================
   8. Forms
   ========================================================================== */
.sfv-form, .wpcf7-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .wpcf7-form label { display: block; font-weight: bold; font-size: .9rem; margin-bottom: 5px; color: var(--navy); }
.field .req, .wpcf7-form .req { color: var(--error); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], input[type="password"], select, textarea {
	width: 100%; padding: 11px 14px; border: 2px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(100,195,250,.25); outline: none; }
textarea { min-height: 150px; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .wpcf7-not-valid { border-color: var(--error) !important; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--green); }
.field-error, .wpcf7-not-valid-tip { display: block; color: var(--error); font-size: .82rem; margin-top: 4px; font-weight: bold; }
.field-hint { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.char-count { float: right; font-size: .75rem; color: var(--muted); font-weight: normal; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-dark); flex: 0 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 12px 16px; border-radius: 8px; font-weight: bold; }
.form-notice--error { background: #FDECEC; color: var(--error); }
.form-notice--ok { background: var(--row-even); color: var(--green-deep); }
.wpcf7 form .wpcf7-response-output { margin: 0; border-radius: 8px; padding: 10px 14px; }
.wpcf7-list-item { margin: 0; }
.wpcf7-spinner { margin: 0 10px; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: sfvSpin .8s linear infinite; }
@keyframes sfvSpin { to { transform: rotate(360deg); } }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.contact-card { background: var(--sky-pale); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; display: flex; gap: 14px; }
.contact-card .ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--green-dark); flex: 0 0 auto; }
.contact-card svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.contact-card h3 { margin: 0 0 4px; font-size: 1rem; }
.contact-card p { margin: 0; font-size: .92rem; }

/* Thank you */
.thanks { text-align: center; padding: 30px 10px; }
.thanks .check-anim { width: 96px; height: 96px; margin: 0 auto 16px; }
.thanks .check-anim circle { stroke: var(--green); stroke-width: 4; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; animation: sfvDraw 1s var(--ease) forwards; }
.thanks .check-anim path { stroke: var(--green-dark); stroke-width: 6; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: sfvDraw .6s .7s var(--ease) forwards; }
@keyframes sfvDraw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   9. Footprint calculator
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 0 0 14px; }
.calc legend { font-weight: bold; color: var(--navy); padding: 0 6px; }
.calc .range-row { display: grid; grid-template-columns: 1fr 90px; gap: 10px; align-items: center; margin-bottom: 10px; }
.calc input[type="range"] { width: 100%; accent-color: var(--green-dark); }
.calc output { font-weight: bold; color: var(--green-dark); text-align: right; }
.calc-result { position: sticky; top: 16px; background: var(--navy); color: #fff; border-radius: 16px; padding: 22px; }
.calc-result h2 { color: #fff; margin: 0 0 4px; font-size: 1.1rem; }
.calc-total { font-size: 2.8rem; font-weight: bold; line-height: 1; margin: 6px 0; color: #C9F08C; }
.calc-total small { font-size: 1rem; color: #D6ECFB; }
.calc-bars { display: grid; gap: 10px; margin: 18px 0; }
.calc-bar .lbl { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 4px; }
.calc-bar .track { height: 10px; border-radius: 6px; background: rgba(255,255,255,.15); overflow: hidden; }
.calc-bar .fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--green), #C9F08C); transition: width .6s var(--ease); }
.calc-compare { font-size: .88rem; color: #D6ECFB; }
.calc-tips { background: #fff; color: var(--navy); border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-size: .9rem; }
.calc-tips h3 { margin: 0 0 8px; font-size: 1rem; }
.calc-tips ul { margin: 0; padding-left: 1.1em; }

/* ==========================================================================
   10. WooCommerce
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb { font-size: .82rem; color: var(--muted); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 0 14px; overflow: hidden; text-align: left; transition: transform .3s var(--ease), box-shadow .3s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a img { margin: 0 0 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-left: 14px; margin-right: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--navy); font-size: 1rem; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--green-dark); font-weight: bold; }
.woocommerce span.onsale { background: var(--green-dark); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--navy); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--green); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green-dark); }
.woocommerce .quantity .qty { width: 4.5em; padding: 9px; }
.woocommerce table.shop_table { border-radius: 12px; overflow: hidden; }
.woocommerce div.product div.images img { border-radius: 14px; }
.woocommerce-store-notice, p.demo_store { background: var(--navy); }
.wc-block-components-button:not(.is-link) { background: var(--green-dark); color: #fff; }

/* ==========================================================================
   11. Motion & animation helpers
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.leaf-float { position: absolute; pointer-events: none; opacity: .18; animation: sfvFloat 9s ease-in-out infinite; }
@keyframes sfvFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-aos] { opacity: 1 !important; transform: none !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.post-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
	.single-layout { grid-template-columns: minmax(0, 1fr); }
	.single-layout .toc-col { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.header-tagline { display: none; }
}
@media (max-width: 900px) {
	#HeaderContainer { flex-direction: column; }
	#HeaderLogo img { width: 100%; }
	.header-side { flex-direction: row; justify-content: space-between; align-items: center; padding: 10px 14px; }
	.header-search { max-width: none; }
	.menu-toggle { display: flex; }
	#ContentContainer { flex-direction: column; }
	#NavContainer { width: 100%; flex-basis: auto; padding: 0; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
	.menu-open #NavContainer { max-height: 2600px; padding-bottom: 18px; }
	.nav-sticky { position: static; }
	.content-inner, .section { padding-left: 18px; padding-right: 18px; }
	.page-hero__inner { padding: 20px 18px; }
	.contact-layout, .calc, .legal-layout, .newsletter { grid-template-columns: minmax(0, 1fr); }
	.legal-layout .toc { position: static; }
	.calc-result { position: static; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.hero-caption { padding: 24px 22px; }
	.hero .swiper-button-next, .hero .swiper-button-prev { display: none; }
	.archive-home .upcoming-box { float: none; width: auto; margin: 0 0 16px; }
	.topbar { justify-content: center; }
	.topbar__left { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 15.5px; }
	.tiles, .post-grid, .product-grid, .form-row, .post-nav { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); padding: 26px 18px; }
	.footer-bottom { padding: 12px 18px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.header-side { flex-wrap: wrap; }
	.sfv-cta { padding: 22px 20px; }
	.calc .range-row { grid-template-columns: 1fr 74px; }
}
@media print {
	.topbar, #NavContainer, .header-side, .menu-toggle, #FooterContainer, .back-to-top, .share, .toc, .reading-progress, .newsletter { display: none !important; }
	body, #PageContainer { background: #fff; box-shadow: none; }
}

/* ==========================================================================
   13. Fixes & refinements
   ========================================================================== */
.WinBorder .sfv-newsletter-form { display: grid; gap: 8px; }
.WinBorder .sfv-newsletter-form .field { min-width: 0 !important; flex: none !important; }
.WinBorder .sfv-newsletter-form input[type="email"] { min-width: 0; }
.check, .field label.check, .wpcf7-form label.check { font-weight: normal; font-size: .85rem; }
.WinBorder .check { font-size: .78rem; line-height: 1.4; color: var(--navy); }
.newsletter .check, .newsletter .check span { color: #D6ECFB; }
.newsletter .check a { color: #fff; }
.newsletter .field-error { color: #FFD6D6; }
.newsletter form .field { margin: 0; }
@media (min-width: 901px) { .hero-caption { padding-left: 76px; } }
.wpcf7-acceptance .wpcf7-list-item-label, .wpcf7-acceptance label { font-weight: normal; font-size: .88rem; }
.wpcf7-acceptance input { width: 18px; height: 18px; accent-color: var(--green-dark); margin-right: 8px; vertical-align: -3px; }
.wpcf7-form p { margin: 0; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.sfv-figure .credit { display: block; font-size: .72rem; margin-top: 2px; }
.sfv-figure .credit a { font-weight: normal; }
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce button.button.alt.disabled, .wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button {
	background: var(--green-dark) !important; border-color: var(--green-dark) !important; color: #fff !important;
}
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--navy) !important; border-color: var(--navy) !important; }
.toc ol { padding-left: 1.6em; }
#PageContainer { overflow-x: clip; }
html, body { overflow-x: clip; }
