/* ==========================================================================
   Energy Expert: styles that theme.json can't express.
   Tokens come from theme.json (--wp--preset--*, --wp--custom--*).
   ========================================================================== */

:root {
	--ee-focus: var(--wp--custom--focus--ring);
	--ee-focus-dark: var(--wp--custom--focus--ring-on-dark);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { text-underline-offset: 0.15em; }

/* ---------- Focus: always visible, never removed ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--ee-focus);
	outline-offset: 2px;
	border-radius: 4px;
}
:where(.is-style-section-navy, .is-style-section-deep) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: var(--ee-focus-dark);
}

/* Skip link (core adds it for block themes): make it on-brand. */
.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--navy);
	font-weight: 700;
	border-radius: var(--wp--custom--radius--pill);
}

/* ---------- Buttons: pill, 48px min (44px secondary) ---------- */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	box-sizing: border-box;
	text-align: center;
}
.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-small > .wp-block-button__link { min-height: 44px; }

/* Eyebrow label above section headings (add class "is-eyebrow" to a paragraph). */
.is-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-text);
	margin-bottom: 14px;
}
:where(.is-style-section-navy, .is-style-section-deep) .is-eyebrow { color: var(--wp--preset--color--sun); }

/* Category tag pill. */
.ee-tag {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--teal-hover);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
}

/* Long-form content: body grey for prose. */
.wp-block-post-content > :where(p, ul, ol) { color: var(--wp--preset--color--body); }

/* ==========================================================================
   Header
   ========================================================================== */
.ee-header { position: relative; z-index: 30; }

.ee-utilbar { font-size: 13px; }
.ee-utilbar .ee-utilbar__row { min-height: 40px; }
.ee-utilbar p { margin: 0; }
.ee-utilbar a { color: var(--wp--preset--color--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.ee-utilbar a:hover { color: var(--wp--preset--color--white); }
/* Social links shown as text labels, like the design. */
.ee-utilbar .wp-block-social-links { gap: 20px; }
.ee-utilbar .wp-block-social-link { background: none !important; color: inherit !important; border-radius: 0; }
.ee-utilbar .wp-block-social-link-anchor { padding: 0 !important; font-size: 13px; }
.ee-utilbar .wp-block-social-link-anchor svg { display: none; }
.ee-utilbar .wp-block-social-link-label { margin: 0 !important; }

.ee-mainbar { background: var(--wp--preset--color--white); border-bottom: 1px solid var(--wp--preset--color--border); }
.ee-mainbar .ee-mainbar__row { min-height: 84px; }

/* Logo */
.ee-logo { display: flex; align-items: center; gap: 12px; color: var(--wp--preset--color--navy); text-decoration: none; min-height: 44px; }
.ee-logo:hover { color: var(--wp--preset--color--navy); }
.ee-logo__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--wp--preset--font-family--heading); }
.ee-logo__name { font-weight: 800; font-size: 18px; letter-spacing: 0.08em; }
.ee-logo__tag { font-weight: 700; font-size: 10px; letter-spacing: 0.26em; color: var(--wp--preset--color--teal-text); }
.ee-logo svg circle { fill: var(--wp--preset--color--sun); }
.ee-logo svg g { stroke: var(--wp--preset--color--teal); }
.is-style-section-deep .ee-logo, .is-style-section-deep .ee-logo:hover { color: var(--wp--preset--color--white); }

/* Navigation (desktop) */
.ee-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 12px 14px;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	border-radius: 8px;
}
.ee-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--teal-text); }
.ee-nav .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content,
.ee-nav .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content,
.ee-nav .wp-block-navigation__container > .wp-block-navigation-item > [aria-current="page"] {
	color: var(--wp--preset--color--teal-text);
	box-shadow: inset 0 -3px 0 var(--wp--preset--color--teal);
	border-radius: 0;
}
.ee-nav .wp-block-navigation__submenu-icon { width: 24px; height: 24px; margin-left: -6px; padding: 6px; box-sizing: border-box; }
.ee-nav .wp-block-navigation__submenu-icon svg { width: 12px; height: 12px; stroke-width: 2; }

/* Dropdown panel */
.ee-nav .wp-block-navigation__submenu-container {
	width: 290px;
	min-width: 290px !important;
	padding: 8px;
	background: var(--wp--preset--color--white) !important;
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--dropdown);
}
.ee-nav .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
.ee-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
}
.ee-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { content: "→"; content: "→" / ""; }
.ee-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.ee-nav .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content {
	background: var(--wp--preset--color--tint);
	color: var(--wp--preset--color--teal-hover); /* teal-text on tint is 4.41:1, below AA */
}
/* First submenu item = "All brands" overview link, styled as a small label row. */
.ee-nav .wp-block-navigation__submenu-container > .ee-nav__overview > .wp-block-navigation-item__content {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--quiet);
}

/* Mobile overlay */
.ee-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px clamp(16px, 4.5vw, 64px);
	background: var(--wp--preset--color--white);
}
.ee-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	width: 100%;
	min-width: 0 !important;
	border: 0 !important;
	box-shadow: none;
	padding: 0 0 0 12px;
}
.ee-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 18px; }
.ee-nav .wp-block-navigation__responsive-container-open,
.ee-nav .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; justify-content: center; }

.ee-header__cta .wp-block-button__link { min-height: 44px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ee-footer { font-size: 15px; }
.ee-footer h2 {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 16px;
	color: var(--wp--preset--color--white);
}
.ee-footer p { margin: 0 0 12px; line-height: 1.7; }
.ee-footer a { text-decoration: none; }
.ee-footer a:hover { text-decoration: underline; }
.ee-footer .ee-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.ee-footer .ee-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.ee-footer__bottom { border-top: 1px solid var(--wp--preset--color--navy-hover); font-size: 13px; }
.ee-footer__bottom p { margin: 0; }
.ee-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Shared building blocks (step 5)
   ========================================================================== */
:root {
	--ee-pad-x: var(--wp--style--root--padding-left, clamp(16px, 4.5vw, 64px));
	--ee-wide: var(--wp--style--global--wide-size, 1184px);
}
.ee-placeholder { color: var(--wp--preset--color--quiet); font-style: normal; }
:where(.is-style-section-navy, .is-style-section-deep, .ee-banner, .ee-vcard--dark) .ee-placeholder { color: var(--wp--preset--color--on-dark-muted); }
.ee-label {
	display: block;
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--quiet);
}
.ee-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Button variants usable from PHP (match the block style variations). */
.wp-element-button.is-ghost,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	min-height: 44px;
	padding: 10px 22px;
}
.wp-element-button.is-ghost:hover { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.wp-element-button.is-ghost.is-on-dark,
:where(.is-style-section-navy, .is-style-section-deep) .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--white); }
.wp-element-button.is-ghost.is-on-dark:hover,
:where(.is-style-section-navy, .is-style-section-deep) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }
.wp-element-button.is-navy { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.wp-element-button.is-navy:hover { background: var(--wp--preset--color--navy-hover); color: var(--wp--preset--color--white); }
.ee-link-button {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 15px;
	color: var(--wp--preset--color--teal-text); text-decoration: none;
}
.ee-link-button:hover { color: var(--wp--preset--color--teal-hover); text-decoration: underline; }
.ee-text-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 14px; font-weight: 600; }

/* Sections inside page content: full-bleed group > alignwide inner group. */
.ee-section { padding-top: clamp(56px, 7vw, 96px) !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
.ee-section--sm { padding-top: clamp(40px, 5vw, 72px) !important; padding-bottom: clamp(40px, 5vw, 72px) !important; }
.ee-section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.ee-section-head > * { margin-top: 0; }
.ee-section-head h2 { margin-bottom: 16px; }
.ee-section-head p:not(.is-eyebrow) { font-size: 18px; line-height: 1.7; color: var(--wp--preset--color--body); }
:where(.is-style-section-navy) .ee-section-head p:not(.is-eyebrow) { color: var(--wp--preset--color--on-dark-strong); }
:where(.is-style-section-navy, .is-style-section-deep) .is-eyebrow { color: var(--wp--preset--color--teal-light); }

/* Layout helpers (class-based so page content stays plain blocks). */
.ee-split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 56px); }
.ee-split > * { flex: 1 1 420px; min-width: 0; margin: 0 !important; }
.ee-split.is-top { align-items: flex-start; }
.ee-cards { display: flex; flex-wrap: wrap; gap: 24px; }
.ee-cards > * { flex: 1 1 280px; min-width: 0; margin: 0 !important; box-sizing: border-box; }
.ee-cards.is-2 > * { flex-basis: 340px; }
.ee-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; }
.ee-prose p { font-size: 18px; line-height: 1.7; color: var(--wp--preset--color--body); }

.ee-photo-placeholder {
	min-height: 400px; display: flex !important; align-items: flex-end; padding: 20px !important; box-sizing: border-box;
	background: var(--wp--preset--color--placeholder-bg); border-radius: var(--wp--custom--radius--card);
}
.ee-photo-placeholder p { margin: 0; font-size: 13px; color: var(--wp--preset--color--placeholder-text); }
.ee-rounded img, img.ee-rounded { border-radius: var(--wp--custom--radius--card); }

/* Cards */
.is-style-card { box-sizing: border-box; }
.is-style-card h3 { margin: 0 0 10px; font-size: 20px; }
.is-style-card p { margin: 0; color: var(--wp--preset--color--body); line-height: 1.65; }
.ee-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--wp--preset--color--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--wp--preset--color--teal-hover); }
.ee-card-dark { padding: 32px; border: 1px solid var(--wp--preset--color--line-dark); border-radius: var(--wp--custom--radius--card-sm); }
.ee-card-dark h3 { margin: 20px 0 10px; font-size: 22px; color: var(--wp--preset--color--white); }
.ee-card-dark p { margin: 0; color: var(--wp--preset--color--on-dark-soft) !important; line-height: 1.65; }
.ee-card-dark svg { color: var(--wp--preset--color--teal-light); }
.ee-card-dark .ee-num { font-family: var(--wp--preset--font-family--heading); font-size: 14px; font-weight: 800; letter-spacing: 0.14em; color: var(--wp--preset--color--teal-light) !important; margin: 0; }
.ee-card-dark .ee-num + h3 { margin-top: 16px; }

/* Hero (navy) */
.ee-hero { padding: 64px var(--ee-pad-x) 80px; }
.ee-hero__inner, .wp-block-group.ee-hero > .ee-hero__inner { max-width: var(--ee-wide); margin-inline: auto; }
.ee-hero h1 { margin: 0 0 20px; color: var(--wp--preset--color--white); }
.ee-hero__lead, .ee-hero .ee-lead { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--on-dark-strong); max-width: 680px; }
.ee-hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 56px; }
.ee-hero__row > :first-child { flex: 1 1 520px; min-width: 0; }

/* Breadcrumbs */
.ee-breadcrumbs { font-size: 14px; margin-bottom: 28px; }
.ee-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.ee-breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--wp--preset--color--on-dark-muted); }
.ee-breadcrumbs li + li::before { content: "/"; content: "/" / ""; color: var(--wp--preset--color--on-dark-muted); }
.ee-breadcrumbs a { color: var(--wp--preset--color--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.ee-breadcrumbs a:hover { color: var(--wp--preset--color--white); text-decoration: underline; }
.ee-breadcrumbs [aria-current] { color: var(--wp--preset--color--white); }
:where(:not(.is-style-section-navy):not(.is-style-section-deep)) > .ee-breadcrumbs li,
:where(:not(.is-style-section-navy):not(.is-style-section-deep)) > .ee-breadcrumbs a { color: var(--wp--preset--color--quiet); }

/* CTA band (sun) */
.ee-cta, .wp-block-group.ee-cta { background: var(--wp--preset--color--sun); color: var(--wp--preset--color--navy); padding: 72px var(--ee-pad-x); }
.ee-cta__inner { max-width: var(--ee-wide); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ee-cta__text { flex: 1 1 420px; min-width: 0; }
.ee-cta h2 { margin: 0 0 12px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; color: var(--wp--preset--color--navy); }
.ee-cta p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--wp--preset--color--navy); }
.ee-cta a:not(.wp-element-button) { color: var(--wp--preset--color--navy); }

/* Logo box (brand logos or name placeholder) */
.ee-logo-box {
	flex: none; width: 140px; height: 84px; box-sizing: border-box; padding: 10px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: 12px;
	color: var(--wp--preset--color--navy);
}
.ee-logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ee-logo-box__name { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 18px; line-height: 1.15; }
.ee-logo-box .ee-placeholder { font-size: 11px; }
.ee-logo-box--hero { width: 220px; height: 132px; background: var(--wp--preset--color--white); border: 0; border-radius: 16px; padding: 16px; }
.ee-logo-box--hero .ee-logo-box__name { font-size: 28px; }
.ee-logo-box--hero .ee-placeholder { color: var(--wp--preset--color--quiet); font-size: 12px; }
.ee-logo-box--card { width: 100%; height: 88px; border: 0; border-radius: 10px; }
.ee-logo-box--card .ee-logo-box__name { font-size: 22px; }

/* ==========================================================================
   Brands list (archive)
   ========================================================================== */
.ee-brand-list__heading { font-size: 28px; margin: 0 0 24px; }
.ee-brand-list__count { color: var(--wp--preset--color--quiet); font-weight: 600; }
.ee-brand-list__rows { background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); overflow: hidden; }
.ee-brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 28px clamp(20px, 3vw, 36px); border-top: 1px solid var(--wp--preset--color--border); }
.ee-brand-row:first-child { border-top: 0; }
.ee-brand-row:hover { background: #F7FAFB; }
.ee-brand-row__text { flex: 1 1 320px; min-width: 0; }
.ee-brand-row__name { margin: 0 0 6px; font-size: 22px; }
.ee-brand-row__name a { color: var(--wp--preset--color--navy); text-decoration: none; }
.ee-brand-row__name a:hover { color: var(--wp--preset--color--teal-text); text-decoration: underline; }
.ee-brand-row__desc { margin: 0 0 10px; color: var(--wp--preset--color--body); }
.ee-brand-row__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ==========================================================================
   Brand page
   ========================================================================== */
.ee-brand-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.ee-brand-hero__text { flex: 1 1 420px; min-width: 0; }
.ee-brand-hero h1 { margin-bottom: 16px; font-size: clamp(38px, 5vw, 60px); }
.ee-brand-hero .ee-hero__lead { margin-bottom: 28px; font-size: 19px; line-height: 1.6; }

.ee-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; margin: 0; }
.ee-facts__item { padding: 24px; background: var(--wp--preset--color--surface); border-radius: 16px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.ee-facts__value { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 32px; font-weight: 800; line-height: 1.05; color: var(--wp--preset--color--teal-text); overflow-wrap: anywhere; }
.ee-facts__value .ee-placeholder { font-size: 20px; }
.ee-facts__label { margin-top: 8px; font-size: 14px; color: var(--wp--preset--color--body); }

.ee-banner { margin-top: 36px; padding: 28px 32px; background: var(--wp--preset--color--navy); border-radius: var(--wp--custom--radius--card); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; color: var(--wp--preset--color--white); }
.ee-banner__text { flex: 1 1 360px; min-width: 0; }
.ee-banner__text p { margin: 0; color: var(--wp--preset--color--on-dark-soft); }
.ee-banner__text .ee-banner__title { font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--wp--preset--color--white); }

.ee-brand-media { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.ee-brand-media__video { flex: 1.4 1 420px; min-width: 0; }
.ee-brand-media__docs { flex: 1 1 320px; min-width: 0; }
.ee-brand-media h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.ee-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--wp--preset--color--navy); border-radius: var(--wp--custom--radius--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ee-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ee-video__play { background: none; border: 0; padding: 0; cursor: pointer; border-radius: 50%; line-height: 0; }
.ee-video__play:hover svg circle { fill: var(--wp--preset--color--sun-hover); }
.ee-video__note { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: 12px; color: var(--wp--preset--color--on-dark-muted); }
.ee-video--empty { align-items: flex-end; justify-content: flex-start; padding: 16px; box-sizing: border-box; font-size: 13px; }
.ee-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ee-doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--wp--preset--color--border); border-radius: 14px; background: var(--wp--preset--color--white); text-decoration: none; color: var(--wp--preset--color--navy); }
a.ee-doc svg { color: var(--wp--preset--color--teal-text); flex: none; }
a.ee-doc:hover { border-color: var(--wp--preset--color--teal-text); color: var(--wp--preset--color--navy); }
.ee-doc__text { flex: 1; min-width: 0; }
.ee-doc__title { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 16px; }
.ee-doc__meta { font-size: 13px; color: var(--wp--preset--color--quiet); }
.ee-doc--empty { font-size: 14px; }

.ee-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ee-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: var(--wp--custom--radius--pill); border: 1px solid var(--wp--preset--color--control-border); background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 15px; text-decoration: none; box-sizing: border-box; }
.ee-chip:hover { border-color: var(--wp--preset--color--teal-text); color: var(--wp--preset--color--teal-text); }
.ee-chip.is-current { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.ee-chip.is-dashed { border-style: dashed; }
.ee-other-brands .ee-label { margin-bottom: 16px; }

/* ==========================================================================
   Products browser
   ========================================================================== */
.ee-products { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.ee-filters { flex: 1 1 260px; max-width: 300px; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; padding: 20px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; }
@media (max-width: 700px) { .ee-filters { max-width: none; } }
.ee-input {
	width: 100%; box-sizing: border-box; height: 48px; padding: 0 16px;
	border: 1px solid var(--wp--preset--color--control-border); border-radius: var(--wp--custom--radius--control);
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); font: inherit; font-size: 16px;
}
.ee-input:focus-visible { border-color: var(--wp--preset--color--teal-text); }
.ee-filters__group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ee-filters__group legend { padding: 0; }
.ee-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; cursor: pointer; box-sizing: border-box; }
.ee-opt:hover { background: var(--wp--preset--color--tint); }
.ee-opt.is-checked, .ee-opt:has(input:checked) { background: var(--wp--preset--color--tint); font-weight: 600; }
.ee-opt input {
	appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 20px; height: 20px; border-radius: 6px;
	border: 2px solid var(--wp--preset--color--control-border); background: var(--wp--preset--color--white); display: grid; place-content: center; cursor: pointer;
}
.ee-opt input::before { content: ""; width: 10px; height: 6px; border: solid var(--wp--preset--color--white); border-width: 0 0 2.4px 2.4px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ee-opt input:checked { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); }
.ee-opt input:checked::before { opacity: 1; }
.ee-opt input:focus-visible { outline: var(--ee-focus); outline-offset: 2px; }
.ee-opt__label { flex: 1; min-width: 0; }
.ee-opt__count { font-size: 13px; color: var(--wp--preset--color--quiet); }
.ee-opt.is-empty .ee-opt__label { color: var(--wp--preset--color--quiet); }
.ee-products.has-js .ee-filters__apply { display: none; }
.ee-products[aria-busy="true"] .ee-results { opacity: 0.6; transition: opacity 0.15s; }

.ee-results { flex: 999 1 560px; min-width: 0; }
.ee-results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.ee-results__count { margin: 0; font-size: 24px; }
.ee-active-filters { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ee-chipx { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; border-radius: var(--wp--custom--radius--pill); border: 1px solid var(--wp--preset--color--teal-text); background: var(--wp--preset--color--tint); color: var(--wp--preset--color--teal-hover); font-size: 14px; font-weight: 600; text-decoration: none; }
.ee-chipx:hover { background: var(--wp--preset--color--white); }
.ee-empty { padding: 56px 32px; background: var(--wp--preset--color--white); border: 1px dashed var(--wp--preset--color--control-border); border-radius: 16px; text-align: center; }
.ee-empty__title { font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.ee-empty p { color: var(--wp--preset--color--body); }

.ee-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ee-pcard { display: flex; flex-direction: column; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; overflow: hidden; }
.ee-pcard:hover { border-color: var(--wp--preset--color--teal-text); }
.ee-pcard__media { height: 140px; background: #E4EEF3; display: flex; align-items: center; justify-content: center; }
.ee-pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; }
.ee-pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ee-pcard__body p { margin: 0; }
.ee-pcard__brand { font-family: var(--wp--preset--font-family--heading); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--teal-text); }
.ee-pcard__title { margin: 0; font-size: 17px; line-height: 1.3; }
.ee-pcard__title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.ee-pcard__title a:hover { color: var(--wp--preset--color--teal-text); text-decoration: underline; }
.ee-pcard__power { font-family: var(--wp--preset--font-family--heading); font-size: 28px; font-weight: 800; line-height: 1.1; }
.ee-pcard__power .ee-placeholder { font-size: 16px; }
.ee-pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ee-pcard__actions { margin-top: auto; padding-top: 4px; }
.ee-pcard__actions .wp-element-button { width: 100%; }
.ee-pcard__nodoc { font-size: 13px; }

/* Single product */
.ee-product__power { font-family: var(--wp--preset--font-family--heading); font-size: 32px; font-weight: 800; margin: 0; color: var(--wp--preset--color--sun); }
.ee-product__body { max-width: var(--ee-wide); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--ee-pad-x); display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.ee-product__media { flex: 1 1 340px; min-height: 280px; background: #E4EEF3; border-radius: var(--wp--custom--radius--card); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ee-product__media svg { transform: scale(1.6); }
.ee-product__info { flex: 1.2 1 400px; min-width: 0; }
.ee-product__info h2 { font-size: 28px; margin-top: 0; }
.ee-specs { margin: 0 0 28px; border-top: 1px solid var(--wp--preset--color--border); }
.ee-specs > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--border); }
.ee-specs dt { flex: 0 0 160px; color: var(--wp--preset--color--quiet); }
.ee-specs dd { margin: 0; font-weight: 600; }

/* ==========================================================================
   Home
   ========================================================================== */
.ee-home-hero .ee-split { gap: 48px; }
.ee-home-hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; margin: 0 0 24px; }
.ee-home-hero .ee-lead { margin: 0 0 36px; max-width: 560px; color: var(--wp--preset--color--on-dark-strong); font-size: 19px; }
.ee-partners { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--line-dark); }
.ee-partners .ee-label { color: var(--wp--preset--color--on-dark-muted); font-size: 11px; margin-bottom: 14px; }
.ee-brand-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 16px; }
.ee-brand-names a { color: var(--wp--preset--color--white); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.ee-brand-names a:hover { text-decoration: underline; }
.ee-hero-art svg { width: 100%; height: auto; max-width: 560px; display: block; margin-inline: auto; }

.ee-stats { border-bottom: 1px solid var(--wp--preset--color--border); }
.ee-stats .ee-cards > * { flex-basis: 200px; }
.ee-stat__value { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 44px; font-weight: 800; line-height: 1; color: var(--wp--preset--color--teal-text); font-variant-numeric: tabular-nums; }
.ee-stat__num { display: inline-block; text-align: right; }
.ee-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ee-stat__label { margin: 8px 0 0; font-size: 15px; color: var(--wp--preset--color--body); }

.ee-brands-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.ee-vcard { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; padding: 24px; box-sizing: border-box; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; text-decoration: none; color: var(--wp--preset--color--navy); }
a.ee-vcard:hover { border-color: var(--wp--preset--color--teal); color: var(--wp--preset--color--navy); }
.ee-vcard__label { font-weight: 600; font-size: 16px; }
.ee-vcard__more { font-weight: 600; color: var(--wp--preset--color--teal-text); margin-top: auto; }
a.ee-vcard:hover .ee-vcard__more { text-decoration: underline; }
.ee-vcard--dark { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); justify-content: space-between; }
.ee-vcard--dark .ee-vcard__title { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 20px; line-height: 1.3; color: var(--wp--preset--color--white); }
.ee-vcard--dark a { font-weight: 700; color: var(--wp--preset--color--teal-light); }

.ee-blog-teaser { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.ee-blog-teaser > .wp-block-query { flex: 2 1 620px; min-width: 0; margin: 0 !important; }
.ee-blog-teaser > .ee-blog-card { flex: 1 1 300px; margin: 0 !important; }
.ee-blog-card { background: var(--wp--preset--color--navy); border-radius: 16px; padding: 32px !important; display: flex !important; flex-direction: column; justify-content: space-between; gap: 24px; box-sizing: border-box; }
.ee-blog-card p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 26px; line-height: 1.25; font-weight: 800; color: var(--wp--preset--color--white); }

/* Post cards (home teaser + blog index) */
.ee-post-grid .wp-block-post-template, .ee-blog-teaser .wp-block-post-template { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ee-post-card { height: 100%; display: flex !important; flex-direction: column; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; overflow: hidden; }
.ee-post-card:hover { border-color: var(--wp--preset--color--teal-text); }
.ee-post-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 3 / 2; background: var(--wp--preset--color--placeholder-bg); }
.ee-post-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.ee-post-card__body { padding: 24px !important; display: flex !important; flex-direction: column; gap: 12px; flex: 1; }
.ee-post-card__body > * { margin: 0 !important; }
.ee-post-card .wp-block-post-date { font-size: 13px; color: var(--wp--preset--color--quiet); }
.ee-post-card .wp-block-post-title { font-size: 20px; line-height: 1.3; }
.ee-post-card .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.ee-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--teal-text); text-decoration: underline; }
.ee-post-card .wp-block-post-excerpt__excerpt { color: var(--wp--preset--color--body); margin: 0; }
.ee-post-card .wp-block-read-more { margin-top: auto !important; font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.wp-block-query-pagination { margin-top: 40px; gap: 8px; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* ==========================================================================
   About / Contact
   ========================================================================== */
.ee-timeline-card { background: var(--wp--preset--color--white); border-top: 4px solid var(--wp--preset--color--teal); border-radius: 0 0 16px 16px; padding: 32px !important; }
.ee-timeline-card.is-now { border-top-color: var(--wp--preset--color--sun); }
.ee-timeline-card .ee-year { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 48px; font-weight: 800; line-height: 1; color: var(--wp--preset--color--navy); }
.ee-timeline-card p:not(.ee-year) { margin: 16px 0 0; color: var(--wp--preset--color--body); line-height: 1.65; }
.ee-office h3 { margin: 0 0 12px; font-size: 22px; }
.ee-office p { font-size: 17px; line-height: 1.7; }
.ee-office p:last-child { margin-bottom: 0; }

.ee-file-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 32px; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 16px; }
.ee-file-card__info { display: flex; align-items: center; gap: 20px; flex: 1 1 360px; min-width: 0; }
.ee-file-card__icon { flex: none; width: 64px; height: 80px; border-radius: 8px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 14px; letter-spacing: 0.08em; }
.ee-file-card__title { margin: 0 0 6px; font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 800; }
.ee-file-card__meta { margin: 0; font-size: 14px; color: var(--wp--preset--color--quiet); }

.ee-contact .ee-split > :first-child { flex: 3 1 460px; }
.ee-contact .ee-split > :last-child { flex: 2 1 320px; }
.ee-form-card { padding: clamp(24px, 4vw, 48px) !important; }
.ee-form-card h2 { font-size: 28px; margin: 0 0 8px; }
.ee-info-cards { display: flex; flex-direction: column; gap: 16px; }
.ee-info-cards > * { margin: 0 !important; padding: 24px !important; }
.ee-info-cards .ee-label { margin-bottom: 10px; }
.ee-info-cards p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--wp--preset--color--body); }
.ee-info-cards a { font-weight: 600; font-size: 18px; }
.ee-map { position: relative; min-height: 440px; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px !important;
	background-color: #E4EBF0; background-image: repeating-linear-gradient(0deg, transparent, transparent 43px, #CBD6DF 44px), repeating-linear-gradient(90deg, transparent, transparent 43px, #CBD6DF 44px); }
.ee-map p { margin: 0; }
.ee-map .ee-map__pin { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.ee-map .ee-placeholder { color: #35495E; font-size: 13px; }

/* Contact Form 7 */
.wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.wpcf7-form p { margin: 0; }
.ee-field { display: flex; flex-direction: column; gap: 8px; }
.ee-field label { font-size: 15px; font-weight: 600; color: var(--wp--preset--color--navy); }
.ee-field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.ee-field-row > .ee-field { flex: 1 1 220px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-email, .wpcf7-form .wpcf7-tel, .wpcf7-form .wpcf7-textarea {
	width: 100%; box-sizing: border-box; height: 52px; padding: 0 16px; font: inherit; font-size: 16px;
	border: 1px solid var(--wp--preset--color--control-border); border-radius: var(--wp--custom--radius--control); background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy);
}
.wpcf7-form .wpcf7-textarea { height: 160px; padding: 14px 16px; resize: vertical; }
.wpcf7-form .wpcf7-not-valid { border-color: #B42318; }
.wpcf7-not-valid-tip { color: #B42318; font-size: 14px; margin-top: 6px; }
.ee-consent .wpcf7-list-item { margin: 0; }
.ee-consent label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--wp--preset--color--body); }
.ee-consent input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--wp--preset--color--navy); }
.ee-required-note { font-size: 14px; color: var(--wp--preset--color--quiet); }
.wpcf7-submit { border: 0; cursor: pointer; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 16px; border-radius: var(--wp--custom--radius--control); }
.wpcf7-spinner { margin: 0 12px; }

/* Single post / page hero spacing */
.ee-entry-hero .wp-block-post-title { margin: 0 0 12px; color: var(--wp--preset--color--white); }
.ee-entry-hero .wp-block-post-date { color: var(--wp--preset--color--on-dark-muted); font-size: 15px; }
