/*
Theme Name: Verdant Impact
Theme URI: https://example.com/verdant-impact
Author: Claude for Cowork
Author URI: https://claude.ai
Description: A clean, modern WordPress theme for research, innovation and environmental project websites. Soft green palette, serif display headings, arch-shaped imagery and card-based content sections make it a great fit for EU-funded projects, NGOs and sustainability-focused organisations. Comes with a customizable homepage (hero, feature sections, stats band, partner logos, latest news) built entirely with core WordPress features — no page builder required.
Version: 1.0.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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verdant-impact
Tags: green, environment, sustainability, blog, one-column, two-columns, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   0. THEME COLOR & TYPE TOKENS
   ========================================================= */
:root{
	--c-ink:#20261f;
	--c-primary:#294d3b;
	--c-primary-mid:#3e693f;
	--c-footer:#25422f;
	--c-pale:#e9f7e6;
	--c-pale-2:#dcefda;
	--c-btn:#9db98c;
	--c-btn-hover:#87a877;
	--c-heading:#2b2b2b;
	--c-body:#565c61;
	--c-muted:#8a9088;
	--c-orange:#e0a83d;
	--c-white:#ffffff;
	--c-border:#e6e9e3;

	--font-heading:'Roboto Slab', Georgia, serif;
	--font-body:'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--radius-lg:32px;
	--radius-md:16px;
	--radius-sm:8px;
	--container:1240px;
	--gutter:24px;
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
	margin:0;
	font-family:var(--font-body);
	color:var(--c-body);
	font-size:17px;
	line-height:1.7;
	background:var(--c-white);
	overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--c-primary); text-decoration:none; transition:color .2s ease, opacity .2s ease; }
a:hover{ color:var(--c-primary-mid); }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,h6{
	font-family:var(--font-heading);
	color:var(--c-heading);
	font-weight:500;
	line-height:1.25;
	margin:0 0 .6em;
}
h1{ font-size:52px; font-weight:400; }
h2{ font-size:40px; font-weight:500; }
h3{ font-size:25px; }
h4{ font-size:20px; }
p{ margin:0 0 1.2em; }
p:last-child{ margin-bottom:0; }
figure{ margin:0; }
button, input, textarea, select{ font-family:inherit; font-size:inherit; }

.container{
	width:100%;
	max-width:var(--container);
	margin:0 auto;
	padding:0 var(--gutter);
}
.screen-reader-text{
	position:absolute !important;
	width:1px; height:1px;
	overflow:hidden;
	clip:rect(1px,1px,1px,1px);
	white-space:nowrap;
}
.skip-link{
	position:absolute; top:-100px; left:0; z-index:10000;
	background:var(--c-primary); color:#fff; padding:12px 20px; border-radius:0 0 8px 0;
	transition:top .2s ease;
}
.skip-link:focus{ top:0; color:#fff; }

/* =========================================================
   2. BUTTONS
   ========================================================= */
.btn{
	display:inline-flex;
	align-items:center;
	gap:10px;
	padding:15px 30px;
	border-radius:6px;
	font-weight:700;
	font-size:15px;
	letter-spacing:.2px;
	background:var(--c-btn);
	color:#20261f;
	border:none;
	cursor:pointer;
	white-space:nowrap;
}
.btn:hover{ background:var(--c-btn-hover); color:#20261f; }
.btn.btn-outline{
	background:transparent;
	color:#fff;
	box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.6);
}
.btn.btn-outline:hover{ background:rgba(255,255,255,.12); color:#fff; }
.btn.btn-dark{ background:var(--c-primary); color:#fff; }
.btn.btn-dark:hover{ background:var(--c-primary-mid); color:#fff; }
.btn svg{ width:16px; height:16px; flex:0 0 auto; }

.eyebrow{
	display:inline-block;
	color:var(--c-primary);
	font-weight:700;
	text-transform:uppercase;
	font-size:13px;
	letter-spacing:1.5px;
	margin-bottom:14px;
}

/* =========================================================
   3. SITE HEADER
   ========================================================= */
.site-header{
	position:sticky;
	top:0;
	z-index:500;
	background:rgba(255,255,255,.92);
	backdrop-filter:saturate(180%) blur(10px);
	border-bottom:1px solid var(--c-border);
}
.site-header__inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	padding:18px var(--gutter);
	max-width:var(--container);
	margin:0 auto;
}
.site-branding{ display:flex; align-items:center; gap:12px; }
.site-branding img.custom-logo{ max-height:46px; width:auto; }
.site-branding__text{ display:flex; flex-direction:column; line-height:1.15; }
.site-title{ margin:0; font-family:var(--font-heading); font-size:24px; font-weight:700; color:var(--c-heading); letter-spacing:.5px; }
.site-title a{ color:inherit; }
.site-description{ margin:0; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--c-muted); }
.header-logo-mark{
	width:42px; height:42px; flex:0 0 auto;
	color:var(--c-primary);
}

.main-navigation{ display:flex; align-items:center; gap:8px; }
.main-navigation ul{ display:flex; align-items:center; gap:4px; }
.main-navigation ul ul{
	position:absolute;
	background:#fff;
	box-shadow:0 18px 40px rgba(20,30,20,.14);
	border-radius:var(--radius-sm);
	padding:10px;
	min-width:220px;
	opacity:0;
	visibility:hidden;
	transform:translateY(8px);
	transition:all .18s ease;
}
.main-navigation li{ position:relative; }
.main-navigation ul ul li{ width:100%; }
.main-navigation ul li:hover > ul{ opacity:1; visibility:visible; transform:translateY(0); }
.main-navigation ul ul a{ display:block; padding:10px 12px; border-radius:6px; color:var(--c-heading); font-size:15px; }
.main-navigation ul ul a:hover{ background:var(--c-pale); color:var(--c-primary); }
.main-navigation > ul > li > a{
	display:block;
	padding:10px 16px;
	font-weight:600;
	font-size:15.5px;
	color:var(--c-heading);
	border-radius:6px;
}
.main-navigation > ul > li > a:hover,
.main-navigation > ul > li.current-menu-item > a{ color:var(--c-primary); }

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-search-toggle{
	width:44px; height:44px;
	display:flex; align-items:center; justify-content:center;
	background:var(--c-primary);
	color:#fff;
	border:none; border-radius:8px;
	cursor:pointer;
}
.header-search-toggle:hover{ background:var(--c-primary-mid); }
.header-search-toggle svg{ width:18px; height:18px; }

.menu-toggle{
	display:none;
	width:44px; height:44px;
	align-items:center; justify-content:center;
	background:transparent; border:1.5px solid var(--c-border); border-radius:8px;
	cursor:pointer;
}
.menu-toggle svg{ width:20px; height:20px; color:var(--c-heading); }

.header-search-panel{
	max-height:0;
	overflow:hidden;
	background:var(--c-pale);
	transition:max-height .25s ease;
}
.header-search-panel.is-open{ max-height:120px; }
.header-search-panel .container{ padding-top:18px; padding-bottom:18px; }
.header-search-panel form{ display:flex; gap:10px; }
.header-search-panel input[type="search"]{
	flex:1;
	padding:12px 16px;
	border-radius:8px;
	border:1px solid var(--c-border);
	background:#fff;
}
.header-search-panel button{
	padding:12px 20px;
	border-radius:8px;
	border:none;
	background:var(--c-primary);
	color:#fff;
	font-weight:700;
	cursor:pointer;
}

@media (max-width:900px){
	.main-navigation{
		position:fixed; inset:0 0 0 auto; width:min(340px,88vw); height:100vh;
		background:#fff; box-shadow:-20px 0 60px rgba(0,0,0,.18);
		flex-direction:column; align-items:stretch; padding:90px 24px 24px;
		transform:translateX(100%); transition:transform .25s ease; z-index:600;
	}
	.main-navigation.is-open{ transform:translateX(0); }
	.main-navigation ul{ flex-direction:column; align-items:stretch; gap:0; }
	.main-navigation ul ul{ position:static; box-shadow:none; opacity:1; visibility:visible; transform:none; display:none; padding-left:12px; }
	.main-navigation li.submenu-open > ul{ display:block; }
	.menu-toggle{ display:flex; }
}

/* =========================================================
   4. HERO
   ========================================================= */
.hero{
	position:relative;
	overflow:hidden;
	padding:80px 0 110px;
}
.hero::before{
	content:"";
	position:absolute;
	top:-15%; right:-12%;
	width:640px; height:640px;
	background:var(--c-pale);
	border-radius:50%;
	z-index:0;
}
.hero__grid{
	position:relative; z-index:1;
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:60px;
	align-items:center;
}
.hero__heading{ font-size:56px; margin-bottom:26px; }
.hero__text{ max-width:480px; font-size:18px; margin-bottom:34px; }
.hero__media{ position:relative; }
.hero__media-frame{
	position:relative;
	border-radius:280px 280px 24px 24px;
	overflow:hidden;
	aspect-ratio:4/5;
	background:linear-gradient(160deg,#1c2b22,#2f4a37);
	box-shadow:0 40px 70px -30px rgba(20,40,25,.45);
}
.hero__media-frame img{ width:100%; height:100%; object-fit:cover; }
.hero__media-frame .placeholder-art{
	position:absolute; inset:0;
	display:flex; align-items:center; justify-content:center;
	color:rgba(255,255,255,.25);
}
.hero__media-frame .placeholder-art svg{ width:45%; height:45%; }

/* =========================================================
   5. FEATURE / ALTERNATING SECTIONS
   ========================================================= */
.feature-section{ padding:90px 0; }
.feature-section__grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:70px;
	align-items:center;
}
.feature-section.is-reversed .feature-section__grid{ direction:rtl; }
.feature-section.is-reversed .feature-section__grid > *{ direction:ltr; }
.feature-section__media{ position:relative; }
.feature-section__media::before{
	content:"";
	position:absolute;
	top:24px; left:-24px;
	width:70%; height:85%;
	background:var(--c-pale);
	z-index:0;
	border-radius:var(--radius-lg);
}
.feature-section.is-reversed .feature-section__media::before{ left:auto; right:-24px; }
.feature-section__media-frame{
	position:relative; z-index:1;
	border-radius:220px 220px 20px 20px;
	overflow:hidden;
	aspect-ratio:5/6;
	background:linear-gradient(160deg,#233c2c,#3a5c41);
	box-shadow:0 30px 60px -25px rgba(20,40,25,.4);
}
.feature-section__media-frame img{ width:100%; height:100%; object-fit:cover; }
.feature-section__dots{
	position:absolute;
	top:-30px; right:14%;
	display:grid;
	grid-template-columns:repeat(4,10px);
	gap:10px;
	z-index:2;
}
.feature-section.is-reversed .feature-section__dots{ right:auto; left:14%; }
.feature-section__dots span{ width:6px; height:6px; border-radius:50%; background:var(--c-orange); display:block; }
.feature-section__body h2{ margin-bottom:20px; }
.feature-section__body p{ font-size:17px; margin-bottom:28px; max-width:520px; }

@media (max-width:900px){
	.feature-section__grid,
	.feature-section.is-reversed .feature-section__grid{ direction:ltr; grid-template-columns:1fr; gap:40px; }
	.feature-section__media::before{ display:none; }
}

/* =========================================================
   6. PARTNER / LOGO GRID
   ========================================================= */
.partners-section{ padding:70px 0 90px; text-align:center; }
.partners-section__head{ max-width:640px; margin:0 auto 50px; }
.partners-grid{
	display:grid;
	grid-template-columns:repeat(6,1fr);
	gap:30px;
	align-items:center;
}
.partners-grid__item{
	display:flex; align-items:center; justify-content:center;
	padding:16px;
	filter:grayscale(1) opacity(.75);
	transition:filter .2s ease, opacity .2s ease;
}
.partners-grid__item:hover{ filter:grayscale(0) opacity(1); }
.partners-grid__item img{ max-height:56px; width:auto; margin:0 auto; }
@media (max-width:900px){ .partners-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .partners-grid{ grid-template-columns:repeat(2,1fr); } }

/* =========================================================
   7. STATS BAND
   ========================================================= */
.stats-band{
	position:relative;
	overflow:hidden;
	background:linear-gradient(120deg,var(--c-primary-mid),var(--c-primary));
	border-radius:var(--radius-lg);
	margin:0 auto 100px;
	max-width:var(--container);
	padding:60px var(--gutter);
}
.stats-band::after{
	content:"";
	position:absolute; inset:0;
	background:
		radial-gradient(circle at 15% 20%, rgba(255,255,255,.08), transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(255,255,255,.07), transparent 45%);
	pointer-events:none;
}
.stats-grid{
	position:relative; z-index:1;
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:30px;
	text-align:center;
}
.stats-grid__item .stat-number{
	font-family:var(--font-heading);
	font-size:44px;
	font-weight:700;
	color:#fff;
	margin-bottom:6px;
}
.stats-grid__item .stat-label{
	color:rgba(255,255,255,.85);
	font-size:14px;
	letter-spacing:.3px;
}
@media (max-width:900px){ .stats-grid{ grid-template-columns:repeat(2,1fr); row-gap:36px; } }

/* =========================================================
   8. NEWS / POST CARDS
   ========================================================= */
.news-section{ padding:20px 0 100px; }
.news-section__head{
	display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
	margin-bottom:44px;
}
.news-section__head h2{ margin-bottom:0; }
.news-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:30px;
}
.post-card{
	background:#fff;
	border:1px solid var(--c-border);
	border-radius:var(--radius-md);
	overflow:hidden;
	display:flex;
	flex-direction:column;
	transition:box-shadow .2s ease, transform .2s ease;
}
.post-card:hover{ box-shadow:0 24px 50px -20px rgba(20,30,20,.2); transform:translateY(-3px); }
.post-card__thumb{ aspect-ratio:16/10; overflow:hidden; background:var(--c-pale); }
.post-card__thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card__body{ padding:26px; flex:1; display:flex; flex-direction:column; }
.post-card__meta{ font-size:13px; color:var(--c-muted); text-transform:uppercase; letter-spacing:.5px; margin-bottom:10px; }
.post-card__title{ font-size:21px; margin-bottom:12px; }
.post-card__title a{ color:var(--c-heading); }
.post-card__title a:hover{ color:var(--c-primary); }
.post-card__excerpt{ font-size:15px; margin-bottom:18px; }
.post-card__link{ margin-top:auto; font-weight:700; font-size:14px; display:inline-flex; align-items:center; gap:6px; }
.post-card__link svg{ width:14px; height:14px; transition:transform .2s ease; }
.post-card__link:hover svg{ transform:translateX(3px); }
@media (max-width:900px){ .news-grid{ grid-template-columns:1fr; } }

/* =========================================================
   9. CTA BAND
   ========================================================= */
.cta-band{
	background:var(--c-primary);
	color:#fff;
	text-align:center;
	padding:90px var(--gutter);
	border-radius:var(--radius-lg);
	max-width:var(--container);
	margin:0 auto 100px;
	position:relative;
	overflow:hidden;
}
.cta-band h2{ color:#fff; max-width:760px; margin:0 auto 18px; }
.cta-band p{ color:rgba(255,255,255,.82); max-width:600px; margin:0 auto 32px; font-size:17px; }
.cta-band__actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   10. GENERIC PAGE / CONTENT
   ========================================================= */
.page-header-band{
	background:var(--c-pale);
	padding:70px 0;
	text-align:center;
	margin-bottom:70px;
}
.page-header-band h1{ margin-bottom:10px; }
.breadcrumbs{ font-size:14px; color:var(--c-muted); }
.breadcrumbs a{ color:var(--c-muted); }
.breadcrumbs a:hover{ color:var(--c-primary); }

.content-wrap{ padding-bottom:100px; }
.entry-content h2{ margin-top:1.6em; }
.entry-content h3{ margin-top:1.4em; }
.entry-content ul, .entry-content ol{ margin:0 0 1.4em; padding-left:1.4em; }
.entry-content ul{ list-style:disc; }
.entry-content ol{ list-style:decimal; }
.entry-content img{ border-radius:var(--radius-md); margin:1.6em 0; }
.entry-content blockquote{
	margin:2em 0; padding:20px 28px;
	border-left:4px solid var(--c-primary);
	background:var(--c-pale);
	border-radius:0 var(--radius-sm) var(--radius-sm) 0;
	font-style:italic;
	color:var(--c-heading);
}
.entry-content a{ text-decoration:underline; text-underline-offset:2px; }

.single-post-header{ max-width:800px; margin:0 auto 40px; text-align:center; }
.single-post-header .post-card__meta{ justify-content:center; display:flex; gap:14px; }
.single-post-thumb{ max-width:960px; margin:0 auto 50px; border-radius:var(--radius-md); overflow:hidden; }
.single-post-body{ max-width:760px; margin:0 auto; }

.post-tags{ margin-top:50px; padding-top:24px; border-top:1px solid var(--c-border); display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.post-tags a{ background:var(--c-pale); color:var(--c-primary); padding:6px 14px; border-radius:20px; font-size:13px; }

.author-box{
	display:flex; gap:20px; align-items:center;
	background:var(--c-pale); border-radius:var(--radius-md); padding:26px; margin-top:50px;
}
.author-box img{ border-radius:50%; width:70px; height:70px; flex:0 0 auto; }
.author-box h4{ margin-bottom:6px; }

.pagination-nav{ display:flex; justify-content:center; gap:10px; margin-top:60px; flex-wrap:wrap; }
.pagination-nav a, .pagination-nav span{
	min-width:44px; height:44px; padding:0 14px;
	display:inline-flex; align-items:center; justify-content:center;
	border-radius:8px; border:1px solid var(--c-border);
	color:var(--c-heading); font-weight:600;
}
.pagination-nav a:hover{ background:var(--c-pale); border-color:var(--c-pale); }
.pagination-nav .current{ background:var(--c-primary); border-color:var(--c-primary); color:#fff; }

.archive-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-bottom:60px; }
@media (max-width:900px){ .archive-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .archive-grid{ grid-template-columns:1fr; } }

/* Comments */
.comments-area{ max-width:760px; margin:70px auto 0; }
.comment-list{ margin:0 0 40px; }
.comment-list .children{ margin-left:40px; padding-left:20px; border-left:2px solid var(--c-border); }
.comment-body{ padding:22px 0; border-bottom:1px solid var(--c-border); }
.comment-author{ font-weight:700; color:var(--c-heading); }
.comment-meta{ font-size:13px; color:var(--c-muted); margin-bottom:10px; }
.comment-reply-link{ font-size:13px; font-weight:700; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea{
	width:100%; padding:12px 16px; border:1px solid var(--c-border); border-radius:8px; margin-bottom:16px;
}
.comment-respond textarea{ min-height:140px; }

/* Widgets / sidebar */
.widget{ margin-bottom:40px; }
.widget-title{ font-size:19px; margin-bottom:18px; }
.widget ul li{ padding:9px 0; border-bottom:1px solid var(--c-border); }
.widget select, .widget input[type=search]{ width:100%; padding:10px 14px; border:1px solid var(--c-border); border-radius:8px; }

/* =========================================================
   11. FOOTER
   ========================================================= */
.site-footer{ background:var(--c-footer); color:rgba(255,255,255,.75); padding:80px 0 0; }
.footer-grid{
	display:grid;
	grid-template-columns:1.4fr 1fr 1fr 1.2fr;
	gap:40px;
	padding-bottom:60px;
	border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.footer-brand .header-logo-mark{ color:#fff; }
.footer-brand .site-title{ color:#fff; font-size:22px; }
.footer-about p{ color:rgba(255,255,255,.65); font-size:15px; }
.footer-col h4{ color:#fff; font-size:16px; margin-bottom:20px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ color:rgba(255,255,255,.7); font-size:15px; }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{
	width:38px; height:38px; border-radius:50%;
	display:flex; align-items:center; justify-content:center;
	background:rgba(255,255,255,.1); color:#fff;
}
.footer-social a:hover{ background:var(--c-primary-mid); }
.footer-social svg{ width:16px; height:16px; }
.footer-newsletter form{ display:flex; gap:8px; margin-top:6px; }
.footer-newsletter input[type=email]{
	flex:1; padding:12px 14px; border-radius:8px; border:none; background:rgba(255,255,255,.1); color:#fff;
}
.footer-newsletter input[type=email]::placeholder{ color:rgba(255,255,255,.55); }
.footer-newsletter button{
	padding:12px 18px; border-radius:8px; border:none; background:var(--c-btn); color:#20261f; font-weight:700; cursor:pointer;
}
.footer-newsletter button:hover{ background:var(--c-btn-hover); }
.footer-bottom{
	display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
	padding:24px var(--gutter);
	font-size:13.5px;
	color:rgba(255,255,255,.55);
	max-width:var(--container);
	margin:0 auto;
}
.footer-bottom a{ color:rgba(255,255,255,.75); }
.footer-bottom-links{ display:flex; gap:18px; }

@media (max-width:900px){
	.footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
	.footer-grid{ grid-template-columns:1fr; }
	.footer-bottom{ flex-direction:column; text-align:center; }
}

/* =========================================================
   12. RESPONSIVE — GLOBAL
   ========================================================= */
@media (max-width:1080px){
	h1{ font-size:42px; }
	h2{ font-size:32px; }
	.hero__heading{ font-size:42px; }
	.news-grid{ grid-template-columns:1fr 1fr; }
	.archive-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:900px){
	.hero__grid{ grid-template-columns:1fr; gap:50px; }
	.hero{ padding:50px 0 70px; text-align:left; }
	.hero__media{ order:-1; max-width:420px; }
	.partners-grid{ }
	.footer-grid{ }
}
@media (max-width:640px){
	body{ font-size:16px; }
	h1{ font-size:34px; }
	h2{ font-size:27px; }
	.hero__heading{ font-size:34px; }
	.feature-section{ padding:60px 0; }
	.stats-band, .cta-band{ border-radius:var(--radius-md); padding:50px 20px; }
	.news-grid, .archive-grid{ grid-template-columns:1fr; }
	.site-header__inner{ padding:14px var(--gutter); }
}

/* Print */
@media print{
	.site-header, .site-footer, .cta-band, .stats-band{ display:none; }
}
