/* Scoped to this plugin. Colours mirror the site's observed e5-energy/assets/site.css.
   Font inheritance preserves Elementor/Energiso typography. No remote fonts or libraries. */
.e5cm{--e5cm-ink:var(--e5-ink,#111330);--e5cm-body:var(--e5-body,#485047);--e5cm-green:var(--e5-green,#1c8935);--e5cm-orange:var(--e5-accent,#ff741b);--e5cm-paper:var(--e5-paper,#f5f8f1);color:var(--e5cm-body);font-family:inherit;font-size:17px;line-height:1.8}
.e5cm *{box-sizing:border-box}
.e5cm h1,.e5cm h2,.e5cm h3{font-family:var(--e5cm-heading-font,Epilogue,sans-serif);color:var(--e5cm-ink);line-height:1.3;letter-spacing:-.025em;overflow-wrap:break-word}
.e5cm h1{font-size:clamp(32px,4vw,56px);margin:0 0 24px}
.e5cm h2{font-size:clamp(27px,3vw,40px);margin:0 0 20px}
.e5cm h3{font-size:22px;margin:0 0 16px}
.e5cm p{margin:0 0 20px}.e5cm p:last-child{margin-bottom:0}
.e5cm a{color:#176f2d;text-decoration:underline;text-underline-offset:3px}
.e5cm-section{padding:clamp(28px,5vw,64px) 0;border-bottom:1px solid #e4eadf;scroll-margin-top:110px}
.e5cm-intro{padding:clamp(28px,5vw,64px) clamp(20px,4vw,40px);background:var(--e5cm-paper);border-radius:14px}
.e5cm-kicker{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#176f2d;margin-bottom:16px!important}
.e5cm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px}
.e5cm-card{margin:0;padding:28px;background:#fff;border:1px solid #e4eadf;border-radius:14px;box-shadow:0 12px 32px rgba(17,19,48,.09);min-width:0}
.e5cm-evidence{padding:0;overflow:hidden}.e5cm-evidence figcaption{padding:24px}
.e5cm-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.e5cm-image-slot{aspect-ratio:16/10;display:grid;place-items:center;background:#eff5e9;border-bottom:1px dashed #a0b398;color:#485047;padding:24px;font-size:15px;text-align:center}
.e5cm-certificate-image{display:block;width:100%;height:240px;object-fit:contain;margin-bottom:24px}
.e5cm-gallery{margin:24px 0}.e5cm-status{font-size:14px;font-weight:700;color:#176f2d}
.e5cm-spec{font-size:19px;font-weight:600;color:var(--e5cm-ink);font-variant-numeric:tabular-nums}
.e5cm-small{font-size:14px}.e5cm address{font-style:normal}.e5cm ul,.e5cm ol{padding-left:24px;margin:0 0 24px}
.e5cm li{margin-bottom:8px}.e5cm .e5cm-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:14px 22px;border-radius:6px;background:#176f2d;color:#fff;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;border:2px solid #176f2d}
.e5cm .e5cm-button:hover{background:#115522;border-color:#115522}
.e5cm .e5cm-button-secondary{background:#fff;color:#176f2d}.e5cm .e5cm-button-secondary:hover{background:#eff5e9}
.e5cm-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px}.e5cm-link-pending{font-weight:600}
.e5cm a:focus-visible,.e5cm button:focus-visible,.e5cm input:focus-visible,.e5cm select:focus-visible,.e5cm textarea:focus-visible{outline:3px solid #176f2d;outline-offset:4px}
.e5cm dl{margin-bottom:24px}.e5cm dt{font-weight:700}.e5cm dd{margin:0 0 12px}
.e5cm-footer nav{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0}
.e5cm-table-scroll{overflow-x:auto}.e5cm table{width:100%;border-collapse:collapse}.e5cm th,.e5cm td{text-align:left;padding:16px;border-bottom:1px solid #e4eadf;vertical-align:top}
.e5cm .wpcf7 input:not([type=checkbox]):not([type=radio]):not([type=submit]),.e5cm .wpcf7 select,.e5cm .wpcf7 textarea{width:100%;max-width:100%;min-height:46px;border:1px solid #687563;border-radius:6px;padding:12px;font:inherit;color:var(--e5cm-ink);background:white}
.e5cm .wpcf7 input[type=submit]{min-height:46px;padding:14px 22px;background:#176f2d;color:white;border:0;border-radius:6px;cursor:pointer;font:inherit}
/* Developer: add e5cm-accessible-actions to existing Elementor CTA widgets needing contrast correction. */
.e5cm-accessible-actions .elementor-button{background:#176f2d!important;color:#fff!important}
.e5cm-accessible-actions .elementor-button:hover{background:#115522!important}
@media(max-width:640px){.e5cm-grid{grid-template-columns:1fr}.e5cm-card{padding:22px}.e5cm-evidence{padding:0}.e5cm-actions .e5cm-button{width:100%}.e5cm{font-size:16px}}
@media(prefers-reduced-motion:reduce){.e5cm *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Preserve E5's existing Elementor page layouts and footer styling. */
.e5cm-gallery-feature{display:block}.e5cm-gallery-feature .e5cm-image{aspect-ratio:auto;object-fit:contain}.e5cm-gallery-feature figcaption{padding:16px 20px}.e5cm-gallery-feature figcaption h3{font-size:18px;margin-bottom:8px}
.e5cm-office{font-style:normal;line-height:1.8}.e5cm-contact-links{display:flex;flex-direction:column;gap:10px;margin-top:20px}.e5cm-contact-links a{overflow-wrap:anywhere}
.e5cm-footer-directory .e5cm-office{color:inherit;margin:0 0 16px}.e5cm-footer-directory h3{font-size:16px!important;color:inherit!important;margin:0 0 6px!important}.e5cm-footer-directory a{color:inherit;text-decoration:underline;text-underline-offset:3px}.e5cm-footer-directory .e5cm-contact-links{font-size:16px}
/* October corrections: match the existing light Energiso palette. */
.e5cm-blog-intro{max-width:850px;padding:36px 0 48px}.e5cm-eyebrow{color:#426b22;font-weight:700;text-transform:uppercase;letter-spacing:.1em;font-size:13px}.e5cm-blog-intro h2{font-size:clamp(30px,4vw,48px);line-height:1.15;max-width:650px}.e5cm-blog-intro>p{max-width:650px}.e5cm-blog-links{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:28px}.e5cm-text-link{color:#34561d;font-weight:700;text-decoration:underline}.e5-service-grid.e5-four-routes>.elementor-container{grid-template-columns:repeat(2,minmax(0,1fr))!important}.e5-project-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 24px;margin:24px 0 0}.e5-project-facts>div{border-top:1px solid #dce3d8;padding-top:10px}.e5-project-facts dt{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#426b22}.e5-project-facts dd{margin:4px 0 0;font-size:15px;line-height:1.6}.e5-outcome-list{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;counter-reset:outcome;padding:0;list-style:none}.e5-outcome-list li{padding:20px 0;border-top:1px solid #dce3d8}.e5-outcome-list strong{display:block;color:#193325;margin-bottom:6px}.e5-outcome-list li:last-child{grid-column:1/-1}.e5cm-blog-intro .vs-btn:focus-visible,.e5cm-text-link:focus-visible{outline:3px solid #e86b1c;outline-offset:5px}@media(max-width:767px){.e5-service-grid.e5-four-routes>.elementor-container,.e5-project-facts,.e5-outcome-list{grid-template-columns:1fr!important}.e5-outcome-list li:last-child{grid-column:auto}.e5cm-blog-intro{padding:8px 0 32px}}
