/* === ESD DESIGN v1.0.0 (2026-10-29) ===
   Energy Saving Desk brand for Kadence (free). Loaded by the esd-design plugin. Roll back: deactivate the plugin.
   Brand: navy #0E2A3B, ink #13212B, amber #E39B2D, copper #B8662B, slate #4A6272, paper #F6F3EC, rule #D9DEE2. No green.
   Contrast: small links are navy (copper fails AA on white). Amber only as fill/underline or with navy text on it.
   Fonts: Fraunces 600 (headings) + Inter 400/600 (body), bundled, latin subset, font-display: swap. */

@font-face{font-family:"Fraunces";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/fraunces-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --esd-navy:#0E2A3B; --esd-navy-2:#173C52; --esd-ink:#13212B; --esd-amber:#E39B2D; --esd-amber-soft:#FBEBD1;
  --esd-copper:#B8662B; --esd-slate:#4A6272; --esd-paper:#F6F3EC; --esd-rule:#D9DEE2; --esd-white:#FFFFFF;
  --esd-serif:"Fraunces",Georgia,"Times New Roman",serif;
  --esd-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --esd-radius:12px; --esd-shadow:0 1px 2px rgba(14,42,59,.06),0 12px 30px -22px rgba(14,42,59,.35);
  /* Kadence global palette → brand */
  --global-palette1:var(--esd-navy); --global-palette2:var(--esd-navy-2); --global-palette3:var(--esd-ink);
  --global-palette4:var(--esd-ink); --global-palette5:var(--esd-slate); --global-palette6:#7F919C;
  --global-palette7:#EDE8DD; --global-palette8:var(--esd-paper); --global-palette9:var(--esd-white);
  --global-palette-highlight:var(--esd-navy); --global-palette-highlight-alt:var(--esd-navy-2);
  --global-palette-btn-bg:var(--esd-amber); --global-palette-btn-bg-hover:#F0AD45;
  --global-palette-btn:var(--esd-navy); --global-palette-btn-hover:var(--esd-navy);
  --global-body-font-family:var(--esd-sans); --global-heading-font-family:var(--esd-serif);
}

/* ---------- Base ---------- */
body{font-family:var(--esd-sans);font-size:18px;line-height:1.65;color:var(--esd-ink);background:var(--esd-paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.content-bg,body.content-style-unboxed .site{background:var(--esd-paper)}
h1,h2,h3,h4,.entry-title,.site-title,.wp-block-heading{font-family:var(--esd-serif);font-weight:600;color:var(--esd-navy);letter-spacing:-.005em}
h1,.entry-hero h1.entry-title,.entry-header h1.entry-title{font-size:clamp(2rem,1.5rem + 1.6vw,2.75rem);line-height:1.15}
.entry-content h2{font-size:clamp(1.55rem,1.3rem + .8vw,1.875rem);line-height:1.25;margin:2.2em 0 .6em}
.entry-content h3{font-size:1.375rem;line-height:1.3;margin:1.8em 0 .5em}
.entry-content p,.entry-content li{color:var(--esd-ink)}
.entry-content a,.entry-content a:visited{color:var(--esd-navy);text-decoration:underline;text-decoration-color:var(--esd-amber);text-decoration-thickness:2px;text-underline-offset:3px}
.entry-content a:hover{color:var(--esd-navy-2);text-decoration-color:var(--esd-navy)}
::selection{background:var(--esd-amber-soft);color:var(--esd-navy)}
:focus-visible{outline:3px solid var(--esd-amber);outline-offset:2px}
.entry-content em:first-child:only-child{color:var(--esd-slate)}  /* "Last checked" lines */
small,.entry-meta,.wp-caption-text,figcaption{color:var(--esd-slate)}

/* ---------- Header ---------- */
#masthead,.site-main-header-wrap .site-header-row-container-inner,.site-top-header-wrap .site-header-row-container-inner{background:var(--esd-white)}
#masthead{border-bottom:1px solid var(--esd-rule);box-shadow:0 1px 0 rgba(14,42,59,.03)}
.site-branding a.brand img,.site-branding a.brand img.custom-logo{max-height:44px;width:auto;height:auto}
.site-branding .site-title{font-family:var(--esd-serif);font-size:22px;color:var(--esd-navy);margin:0}
.main-navigation .primary-menu-container>ul>li.menu-item>a{font-family:var(--esd-sans);font-weight:600;font-size:15px;color:var(--esd-navy);padding-left:.7em;padding-right:.7em}
.main-navigation .primary-menu-container>ul>li.menu-item>a:hover,
.main-navigation .primary-menu-container>ul>li.menu-item.current-menu-item>a,
.main-navigation .primary-menu-container>ul>li.menu-item.current-menu-ancestor>a{color:var(--esd-navy);box-shadow:inset 0 -3px 0 var(--esd-amber)}
.header-navigation .header-menu-container ul ul.sub-menu{background:var(--esd-white);border:1px solid var(--esd-rule);border-top:3px solid var(--esd-amber);border-radius:0 0 10px 10px;box-shadow:var(--esd-shadow)}
.header-navigation .header-menu-container ul ul li.menu-item>a{color:var(--esd-ink);font-size:15px;font-weight:400;padding:.6em 1.1em}
.header-navigation .header-menu-container ul ul li.menu-item>a:hover{background:var(--esd-paper);color:var(--esd-navy)}
.search-toggle-open-container .search-toggle-open,.menu-toggle-open{color:var(--esd-navy)}
#mobile-drawer .drawer-inner,.popup-drawer .drawer-inner{background:var(--esd-navy)}
#mobile-drawer .drawer-inner a,.mobile-navigation ul li>a{color:#F6F3EC}

/* ---------- Page hero (Kadence title area) ---------- */
.entry-hero.page-hero-section .entry-hero-container-inner{background:var(--esd-navy)}
.entry-hero.page-hero-section .hero-section-overlay{background:transparent}
.entry-hero h1.entry-title{color:#FFFFFF}
.entry-hero .entry-meta,.entry-hero .entry-meta a,.entry-hero .kadence-breadcrumbs,.entry-hero .kadence-breadcrumbs a{color:#D6DEE3}
.kadence-breadcrumbs,.yoast-breadcrumbs{font-size:14px;color:var(--esd-slate)}
.kadence-breadcrumbs a,.yoast-breadcrumbs a{color:var(--esd-navy)}

/* ---------- Content area ---------- */
.content-container.site-container{max-width:1200px}
.content-style-boxed .entry.content-bg,.entry.single-entry{background:var(--esd-white);border:1px solid var(--esd-rule);border-radius:var(--esd-radius);box-shadow:var(--esd-shadow)}
.entry-content-wrap{padding:clamp(22px,4vw,48px)}
.single-content .entry-content,.page .entry-content{max-width:760px;margin-left:auto;margin-right:auto}
.home .entry-content,.page .entry-content .alignwide,.page .entry-content .alignfull{max-width:none}

/* ---------- Buttons: amber with navy text (AA), navy outline variant ---------- */
.button,.wp-block-button__link,.entry-content .button,button[type=submit]:not(.search-submit):not(.esd-search-submit),input[type=submit],.esd-btn{
  background:var(--esd-amber)!important;color:var(--esd-navy)!important;border:0!important;border-radius:999px!important;
  padding:.8em 1.5em!important;font-family:var(--esd-sans);font-size:16px!important;font-weight:600;line-height:1.2;
  text-decoration:none!important;box-shadow:none!important;transition:background .15s ease}
.button:hover,.wp-block-button__link:hover,.esd-btn:hover,button[type=submit]:not(.search-submit):not(.esd-search-submit):hover{background:#F0AD45!important}
.wp-block-button.is-style-outline .wp-block-button__link,.esd-btn--ghost{background:transparent!important;color:var(--esd-navy)!important;box-shadow:inset 0 0 0 2px var(--esd-navy)!important}

/* ---------- Home hero (.esd-hero) ---------- */
.esd-hero{background:var(--esd-navy);color:#E9EEF1;border-radius:var(--esd-radius);padding:clamp(28px,5vw,64px);margin:0 0 2.5rem;position:relative;overflow:visible;isolation:isolate;background-image:radial-gradient(circle at 100% 0,rgba(227,155,45,.16) 0,rgba(227,155,45,.16) 90px,transparent 91px)}
.esd-hero h1,.esd-hero h2{color:#FFFFFF;margin:0 0 .4em;max-width:20ch}
.esd-hero p{color:#E9EEF1!important;font-size:1.125rem;max-width:58ch}
.esd-hero .esd-kicker{display:inline-block;font:600 12px/1 var(--esd-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--esd-amber)!important;margin-bottom:1rem}
.esd-hero .wp-block-search,.esd-hero .esd-search-form{max-width:600px;margin-top:1.25rem}
.esd-hero a:not(.esd-btn):not(.wp-block-button__link){color:#FFFFFF}
.esd-hero .wp-block-search__input{min-height:48px;border-radius:8px 0 0 8px;border:0;font-size:16px}
.esd-hero .wp-block-search__button{background:var(--esd-amber)!important;color:var(--esd-navy)!important;border-radius:0 8px 8px 0!important;margin-left:0}

/* ---------- Section headings ---------- */
.esd-section{margin:3rem 0 1rem}
.esd-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.esd-section-head h2{margin:0}
.esd-section-head a{font-weight:600;font-size:15px}

/* ---------- Cards: calculators, hubs, related ---------- */
.entry-content ul.esd-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.entry-content ul.esd-cards>li{margin:0;padding:0}
.entry-content ul.esd-cards a{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:20px 22px;background:var(--esd-white);border:1px solid var(--esd-rule);border-radius:var(--esd-radius);text-decoration:none;color:var(--esd-ink);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.entry-content ul.esd-cards a:hover{border-color:var(--esd-navy);box-shadow:var(--esd-shadow);transform:translateY(-2px)}
.entry-content ul.esd-cards .esd-card-title{font-family:var(--esd-serif);font-weight:600;font-size:1.2rem;line-height:1.25;color:var(--esd-navy)}
.entry-content ul.esd-cards .esd-card-text{font-size:15px;line-height:1.5;color:var(--esd-slate)}
.entry-content ul.esd-cards .esd-card-more{margin-top:auto;padding-top:.4rem;font-size:14px;font-weight:600;color:var(--esd-navy)}
.entry-content ul.esd-cards--calc a{border-top:5px solid var(--esd-amber)}
.entry-content ul.esd-cards--hub a{border-left:5px solid var(--esd-navy)}
.entry-content ul.esd-cards--calc .esd-card-title::before{content:"";display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--esd-amber);margin-right:.5rem;vertical-align:middle}

/* Hub pages: intro + "start here" box */
.esd-hub-intro{font-size:1.125rem}
.esd-start-here{background:var(--esd-paper);border:1px solid var(--esd-rule);border-left:5px solid var(--esd-amber);border-radius:var(--esd-radius);padding:18px 22px;margin:1.5rem 0}
.esd-start-here h2{margin-top:0!important;font-size:1.3rem!important}
.esd-note{font-size:15px;color:var(--esd-slate);border-top:1px solid var(--esd-rule);padding-top:1rem;margin-top:2rem}

/* Latest posts block as cards */
.entry-content .wp-block-latest-posts.is-grid,.entry-content .wp-block-latest-posts{list-style:none;padding:0;margin:0}
.entry-content .wp-block-latest-posts.is-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.entry-content .wp-block-latest-posts.is-grid li{width:auto!important;margin:0!important}
.entry-content .wp-block-latest-posts li{background:var(--esd-white);border:1px solid var(--esd-rule);border-radius:var(--esd-radius);padding:18px 20px;margin-bottom:12px}
.entry-content .wp-block-latest-posts__post-title{font-family:var(--esd-serif);font-weight:600;font-size:1.15rem;line-height:1.3;color:var(--esd-navy);text-decoration:none!important}
.entry-content .wp-block-latest-posts__post-date{color:var(--esd-slate);font-size:13px;margin-top:.3rem}
.entry-content .wp-block-latest-posts__post-excerpt{font-size:15px;color:var(--esd-slate);margin:.4rem 0 0}

/* Archive / blog loop cards (Kadence) */
.loop-entry{background:var(--esd-white);border:1px solid var(--esd-rule);border-radius:var(--esd-radius);box-shadow:none;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
.loop-entry:hover{border-color:var(--esd-navy);box-shadow:var(--esd-shadow)}
.loop-entry .entry-title,.loop-entry .entry-title a{font-family:var(--esd-serif);font-size:1.3rem;color:var(--esd-navy);text-decoration:none}
.loop-entry .entry-taxonomies a,.loop-entry .category-links a{color:var(--esd-slate);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.loop-entry .more-link-wrap a,.loop-entry a.post-more-link{color:var(--esd-navy);font-weight:600;font-size:14px}

/* Live search dropdown inside content: no content-link underline */
.entry-content .esdls-list a,.entry-content .esdls-list a:visited{text-decoration:none;color:var(--esd-ink)}
.esd-hero .esdls-list{z-index:50}

/* Calculator block: fit into the page card */
.entry-content .esdc{box-shadow:var(--esd-shadow)}

/* ---------- Tables, notes, lists ---------- */
.entry-content table{border-collapse:collapse;width:100%;font-size:.94em;display:block;overflow-x:auto}
.entry-content th{background:var(--esd-navy);color:#FFFFFF;font-weight:600;text-align:left;font-family:var(--esd-sans)}
.entry-content th,.entry-content td{border:1px solid var(--esd-rule);padding:.65em .85em;vertical-align:top}
.entry-content tr:nth-child(even) td{background:#FAF8F3}
.entry-content blockquote{border-left:4px solid var(--esd-amber);background:var(--esd-paper);padding:1em 1.2em;font-style:normal;color:var(--esd-ink);border-radius:0 8px 8px 0}
.entry-content ul li::marker,.entry-content ol li::marker{color:var(--esd-copper)}
.esd-disclosure,.esd-imprint{font-size:15px}
.esd-imprint{display:grid;grid-template-columns:max-content 1fr;gap:.4rem 1.25rem;margin:1rem 0}
.esd-imprint dt{font-weight:600;color:var(--esd-navy)}
.esd-imprint dd{margin:0}
@media (max-width:560px){.esd-imprint{grid-template-columns:1fr}.esd-imprint dd{margin-bottom:.5rem}}

/* ---------- Footer ---------- */
#colophon .site-footer-row-container-inner{background:var(--esd-navy)}
#colophon .site-middle-footer-wrap .site-footer-row-container-inner{border-top:4px solid var(--esd-amber);padding-top:32px;padding-bottom:16px}
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner{border-top:1px solid rgba(246,243,236,.14)}
#colophon,#colophon p,#colophon .footer-html{color:#C9D3D9}
#colophon a,#colophon .footer-navigation a{color:#FFFFFF!important;text-decoration:none}
#colophon a:hover{text-decoration:underline;text-decoration-color:var(--esd-amber);text-underline-offset:3px}
#colophon .footer-navigation .menu{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 24px}
#colophon .footer-navigation .menu>li>a{font-size:15px;font-weight:600;padding:.4em 0}
#colophon .footer-html{font-size:13.5px;line-height:1.7;text-align:center}
#colophon .footer-html .esd-footer-links a{color:#FFFFFF!important}

/* ---------- Misc ---------- */
.screen-reader-text:focus{background:var(--esd-white);color:var(--esd-navy)}
@media (max-width:767px){body{font-size:17px}.entry-content-wrap{padding:20px}.esd-hero{border-radius:0;margin-left:-20px;margin-right:-20px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important}.entry-content ul.esd-cards a:hover{transform:none}}
@media print{#masthead,#colophon,.esdls-list{display:none}body{background:#fff}}
/* === ESD DESIGN v1.0.0 — END === */
