:root {
	--es-green-900: #12400f;
	--es-green-600: #269a51;
	--es-green-050: #eef7f0;
	--es-red: #cd2424;
	--es-ink: #101110;
	--es-muted: #5b625b;
	--es-line: #e4e9e4;
	--es-bg: #ffffff;
	--es-radius: 12px;
	--es-shadow: 0 1px 2px rgba(16, 17, 16, .06), 0 4px 16px rgba(16, 17, 16, .06);
}

body { color: var(--es-ink); background: var(--es-bg); }

.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--es-green-900); line-height: 1.25; }
.entry-content a { color: var(--es-green-600); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--es-green-900); }

.entry-content table { width: 100%; border-collapse: collapse; border: 1px solid var(--es-line); border-radius: var(--es-radius); overflow: hidden; }
.entry-content th { background: var(--es-green-050); color: var(--es-green-900); text-align: left; }
.entry-content th, .entry-content td { padding: .65rem .8rem; border-bottom: 1px solid var(--es-line); }

.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }

.entry-content .wp-block-button__link,
.entry-content .es-btn,
button, input[type="submit"] {
	background: var(--es-green-900);
	color: #fff;
	border-radius: 999px;
	padding: .65rem 1.4rem;
	font-weight: 600;
	transition: background .15s ease;
}
.entry-content .wp-block-button__link:hover,
.entry-content .es-btn:hover,
button:hover, input[type="submit"]:hover { background: var(--es-green-600); color: #fff; }

.es-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.es-card {
	display: block;
	padding: 1.25rem;
	background: #fff;
	border: 1px solid var(--es-line);
	border-radius: var(--es-radius);
	box-shadow: var(--es-shadow);
	color: var(--es-ink);
	text-decoration: none;
	transition: transform .15s ease, border-color .15s ease;
}
.es-card:hover { transform: translateY(-2px); border-color: var(--es-green-600); }
.es-card strong { display: block; color: var(--es-green-900); font-size: 1.1rem; margin-bottom: .25rem; }
.es-card span { color: var(--es-muted); font-size: .9rem; }

.es-hero {
	background: linear-gradient(135deg, var(--es-green-900), #1c5d18);
	color: #fff;
	padding: clamp(2.5rem, 6vw, 5rem) 1.5rem;
	border-radius: var(--es-radius);
	text-align: center;
}
.es-hero h1 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.es-hero p { margin: 0 auto 1.5rem; max-width: 40rem; opacity: .9; }
.es-hero .search-form { max-width: 32rem; margin: 0 auto; }

.es-section-title { margin: 2.5rem 0 .5rem; }
.es-section-title + p { color: var(--es-muted); margin-top: 0; }

.entry-hero-container-inner, .page-hero-section { background: var(--es-green-050); }
.kadence-breadcrumbs { font-size: .9rem; color: var(--es-muted); }

.site-footer { background: var(--es-green-900); color: #dfeadf; }
.site-footer a { color: #fff; }

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

#masthead { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--es-line); }
#masthead .site-title-wrap { display: none; }
#masthead .site-branding img { max-height: 54px; width: auto; }
.header-navigation .header-menu-container > ul > li > a { font-weight: 600; color: var(--es-green-900); }
.header-navigation .header-menu-container > ul > li > a:hover { color: var(--es-green-600); }
.header-navigation ul ul.sub-menu { border: 1px solid var(--es-line); border-radius: var(--es-radius); box-shadow: var(--es-shadow); padding: .4rem 0; }

.es-footer { background: var(--es-green-900); color: #dfeadf; margin-top: 3rem; }
.es-footer-inner { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.es-footer h4 { color: #fff; margin: 0 0 .75rem; font-size: 1rem; }
.es-footer ul { list-style: none; margin: 0; padding: 0; }
.es-footer li { margin: .35rem 0; }
.es-footer a { color: #dfeadf; text-decoration: none; }
.es-footer a:hover { color: #fff; text-decoration: underline; }
.es-footer-brand strong { color: #fff; font-size: 1.25rem; }
.es-footer-brand p { color: #b9ccb8; max-width: 22rem; }
.es-footer-copy { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.15); color: #b9ccb8; font-size: .9rem; }
@media (max-width: 800px) { .es-footer-inner { grid-template-columns: 1fr 1fr; } .es-footer-brand { grid-column: 1 / -1; } }

div.wpforms-container-full .wpforms-form button[type=submit] { background: var(--es-green-900); color: #fff; border: 0; border-radius: 999px; padding: .75rem 1.6rem; font-size: 1rem; font-weight: 600; height: auto; }
div.wpforms-container-full .wpforms-form button[type=submit]:hover { background: var(--es-green-600); }
div.wpforms-container-full .wpforms-form input[type=text], div.wpforms-container-full .wpforms-form input[type=email], div.wpforms-container-full .wpforms-form textarea { border-radius: 8px; border-color: var(--es-line); }

body .entry-hero.page-hero-section .entry-hero-container-inner { background: var(--es-green-900); }
body .entry-hero .entry-title { color: #fff; }
.entry-content a[role="button"] {
	display: inline-block;
	margin: .25rem .5rem .75rem 0;
	padding: .55rem 1.2rem;
	background: var(--es-green-900);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	text-transform: capitalize;
}
.entry-content a[role="button"]:hover { background: var(--es-green-600); color: #fff; }
.entry-content h4, .entry-content h5 { margin: 1.5rem 0 .5rem; color: var(--es-green-900); }

body .entry-hero.page-hero-section .entry-hero-container-inner { background-color: var(--es-green-900) !important; }
.entry-content a[role="button"] br { display: none; }
.entry-content p:has(> a[role="button"]) { display: inline-block; margin: 0 .25rem .5rem 0; }
.entry-content a[role="button"] { margin: 0; white-space: nowrap; line-height: 1.3; }

.es-hero .search-field { color: var(--es-ink); }
.es-hero .search-field::placeholder { color: var(--es-muted); opacity: 1; }

body .entry-hero h1.entry-title { text-transform: none !important; letter-spacing: 0 !important; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; }

.es-card-grid.es-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) { .es-card-grid.es-cols-4 { grid-template-columns: repeat(2, 1fr); } }

.entry-content p:has(> a[role="button"]) > br { display: none; }
.entry-content p:has(> a[role="button"]) { display: block; margin: 0 0 .75rem; }
.entry-content p > a[role="button"] + a[role="button"] { margin-left: .5rem; }

.has-electric-grass-gradient-background { background: var(--es-green-050) !important; }
.entry-content .wp-block-table td.has-background, .entry-content .wp-block-table th.has-background { border-color: var(--es-line); }

body .entry-hero .entry-hero-container-inner { background-color: var(--es-green-900) !important; }
body .entry-hero .entry-title, body .entry-hero h1 { color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; }

body h1.entry-title { color: var(--es-green-900) !important; text-transform: none !important; letter-spacing: 0 !important; }
body .entry-hero h1.entry-title { color: #fff !important; }
.search-form .search-field::placeholder { color: var(--es-muted); opacity: 1; }

.es-index { margin-top: 2.5rem; }
.es-index h2 { margin-bottom: .25rem; }
.es-index > p { color: var(--es-muted); margin-top: 0; }
.es-index-group { border: 1px solid var(--es-line); border-radius: var(--es-radius); margin: .6rem 0; background: #fff; }
.es-index-group > summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; color: var(--es-green-900); list-style: none; }
.es-index-group > summary::-webkit-details-marker { display: none; }
.es-index-group > summary::after { content: "+"; float: right; font-weight: 700; color: var(--es-green-600); }
.es-index-group[open] > summary { background: var(--es-green-050); border-bottom: 1px solid var(--es-line); border-radius: var(--es-radius) var(--es-radius) 0 0; }
.es-index-group[open] > summary::after { content: "\2212"; }
.es-index-group summary span { color: var(--es-muted); font-weight: 400; }
.es-index-group ul { margin: 0; padding: .6rem 1rem .8rem 2rem; columns: 2 320px; column-gap: 2rem; }
.es-index-group li { margin: .3rem 0; break-inside: avoid; }

.es-catpage .es-intro { color: var(--es-muted); font-size: 1.05rem; margin-top: 0; }
.es-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.es-chips a { padding: .4rem 1rem; border: 1px solid var(--es-line); border-radius: 999px; background: #fff; color: var(--es-green-900); text-decoration: none; font-weight: 600; font-size: .95rem; }
.es-chips a:hover { background: var(--es-green-900); color: #fff; border-color: var(--es-green-900); }
.es-section { scroll-margin-top: 100px; margin-bottom: 2.5rem; padding-top: .5rem; }
.es-section h2 { margin: 0 0 .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--es-green-050); }
.es-section h2 span { color: var(--es-muted); font-weight: 400; font-size: .75em; }
.es-section h3 { margin: 1.2rem 0 .3rem; font-size: 1.05rem; color: var(--es-green-600); }
.es-linklist { list-style: none; margin: 0; padding: 0; columns: 2 340px; column-gap: 2rem; }
.es-linklist li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px solid var(--es-line); }
.es-linklist a { text-decoration: none; }
.es-linklist a:hover { text-decoration: underline; }

.acc { background-color: #eee; color: #444; cursor: pointer; padding: 7px; width: 110px; border: 1px; text-align: center; outline: 1px; font-size: 15px; transition: 0.4s; }
.acc.active, .acc:hover { background-color: #ccc; }
.pnl { padding: 0 18px; display: none; background-color: white; overflow: hidden; }
