/* Electrical service guide — follows the existing NextCore electrician palette. */
.ea-guide.ea-guide--sections{--ea-ink:var(--ev-navy,#06192f);--ea-blue:var(--ev-blue,#245dab);--ea-yellow:var(--ev-yellow,#ffce27);--ea-muted:var(--ev-gray,#657080);--ea-line:#e4e9ef;box-sizing:border-box;background:#fff;color:var(--ea-ink);border-top:1px solid var(--ea-line);padding:80px 0;font-family:inherit;text-align:left}
.ea-guide--sections *,.ea-guide--sections *::before,.ea-guide--sections *::after{box-sizing:border-box}
.ea-guide--sections .ea-guide__inner{width:calc(100% - 112px);max-width:1280px;margin-inline:auto;min-width:0}
.ea-guide--sections .ea-guide__lead{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:48px;margin-bottom:44px}
.ea-guide--sections .ea-guide__eyebrow{display:flex;align-items:center;gap:10px;color:var(--ea-blue);font-size:12px;font-weight:650;line-height:1.6;letter-spacing:.055em;margin:0 0 18px}
.ea-guide--sections .ea-guide__eyebrow::before{content:"";width:28px;height:3px;background:var(--ea-yellow);flex:none}
.ea-guide--sections .ea-guide__intro>h2{color:var(--ea-ink);font-size:clamp(28px,3.1vw,40px);font-weight:700;line-height:1.23;letter-spacing:-.03em;margin:0 0 22px;max-width:810px;text-wrap:balance}
.ea-guide--sections .ea-guide__summary{font-size:17px;line-height:1.85;font-weight:400;letter-spacing:normal;color:var(--ea-muted);margin:0;max-width:780px}
.ea-guide--sections .ea-guide__scope-card{border:1px solid var(--ea-line);border-top:3px solid var(--ea-yellow);border-radius:12px;background:#f7f9fc;padding:26px}
.ea-guide--sections .ea-guide__scope-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:var(--ea-blue);background:#fff3c7;margin-bottom:16px}
.ea-guide--sections .ea-guide__scope-icon svg{width:26px;height:26px}
.ea-guide--sections .ea-guide__scope{font-size:14px;line-height:1.85;color:#455466;margin:0;font-weight:500}
.ea-guide--sections .ea-guide__layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:36px;align-items:start}
.ea-guide--sections .ea-guide__sidebar{position:sticky;top:116px;min-width:0}
.ea-guide--sections .ea-guide__toc{margin:0;border:1px solid var(--ea-line);border-radius:12px;background:#f7f9fc;padding:0;overflow:hidden}
.ea-guide--sections .ea-guide__toc summary{padding:20px 18px;font-size:15px;line-height:1.6;font-weight:650;color:var(--ea-ink);cursor:pointer}
.ea-guide--sections .ea-guide__toc[open] summary{border-bottom:1px solid var(--ea-line)}
.ea-guide--sections .ea-guide__toc nav{max-height:min(64vh,640px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:10px}
.ea-guide--sections .ea-guide__toc ol{columns:1;list-style:none;padding:0;margin:0}
.ea-guide--sections .ea-guide__toc li{padding:0;margin:0}
.ea-guide--sections .ea-guide__toc a{display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;padding:10px 8px;border-radius:6px;color:#4e5d6f;text-decoration:none;font-size:13px;line-height:1.65;font-weight:500;transition:background .16s,color .16s}
.ea-guide--sections .ea-guide__toc a:hover{background:#eaf0f8;color:var(--ea-blue)}
.ea-guide--sections .ea-guide__toc-index{font-size:11px;font-variant-numeric:tabular-nums;line-height:1.95;color:#6c7a8a}
.ea-guide--sections .ea-guide__body{min-width:0;width:100%;max-width:none;margin:0;font-size:inherit;line-height:normal}
.ea-guide--sections .ea-guide__chapters{display:grid;gap:22px;min-width:0}
.ea-guide--sections .ea-guide__chapter{padding:30px 32px;border:1px solid var(--ea-line);border-radius:14px;background:#fff;box-shadow:0 4px 20px #06192f04;min-width:0;scroll-margin-top:126px}
.ea-guide--sections .ea-guide__chapter-heading{display:flex;gap:16px;align-items:flex-start;margin:0 0 20px}
.ea-guide--sections .ea-guide__chapter-index{display:grid;place-items:center;flex:0 0 40px;min-height:40px;border-radius:9px;background:#edf3fb;color:var(--ea-blue);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.ea-guide--sections .ea-guide__chapter-heading h2{font-size:22px;line-height:1.45;font-weight:650;letter-spacing:-.02em;color:var(--ea-ink);margin:3px 0 0;scroll-margin-top:136px;overflow-wrap:break-word;text-wrap:pretty}
.ea-guide--sections .ea-guide__chapter-copy{font-size:16px;line-height:1.9;letter-spacing:normal;color:#526071;overflow-wrap:break-word}
.ea-guide--sections .ea-guide__chapter-copy p{margin:0 0 18px;font-size:inherit;line-height:inherit;color:inherit}
.ea-guide--sections .ea-guide__chapter-copy>:last-child{margin-bottom:0}
.ea-guide--sections .ea-guide__chapter-copy a{color:var(--ea-blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:500;overflow-wrap:anywhere}
.ea-guide--sections .ea-guide__chapter--table{background:#f7f9fc;border-top:3px solid var(--ea-blue)}
.ea-guide--sections .ea-guide__chapter--safety .ea-guide__chapter-index{background:#fff4cc;color:#6a5311}
.ea-guide--sections .ea-guide__chapter--example{border-left:3px solid var(--ea-yellow)}
.ea-guide--sections .ea-guide__chapter--faq{background:#f7f9fc}
.ea-guide--sections .ea-guide__chapter--faq .ea-guide__chapter-copy>p+p{border-top:1px solid var(--ea-line);padding-top:18px}
.ea-guide--sections .ea-guide__table{overflow-x:auto;overscroll-behavior-x:contain;margin:24px 0 0;border:1px solid #dce4ee;border-radius:10px;background:#fff;min-width:0;max-width:100%}
.ea-guide--sections .ea-guide__table table{border-collapse:collapse;table-layout:auto;min-width:600px;width:100%;font-size:14px;line-height:1.75;color:#526071;margin:0}
.ea-guide--sections .ea-guide__table caption{text-align:left;padding:18px 20px;font-size:15px;font-weight:650;color:var(--ea-ink);background:white}
.ea-guide--sections .ea-guide__table th,.ea-guide--sections .ea-guide__table td{padding:16px 18px;text-align:left;vertical-align:top;border:0;border-top:1px solid var(--ea-line);white-space:normal}
.ea-guide--sections .ea-guide__table thead th{background:#edf3fb;font-weight:650;color:var(--ea-ink)}
.ea-guide--sections .ea-guide__table tbody th{font-weight:600;color:#344459;width:25%}
.ea-guide--sections .ea-guide__contact{margin:26px 0 0;padding:32px;border:0;border-radius:14px;background:var(--ea-ink);color:#fff;max-width:none}
.ea-guide--sections .ea-guide__contact h3{font-size:24px;font-weight:650;line-height:1.4;letter-spacing:-.02em;color:#fff;margin:0 0 12px}
.ea-guide--sections .ea-guide__contact p{font-size:16px;line-height:1.8;color:#d4dce7;margin:0 0 24px;max-width:650px}
.ea-guide--sections .ea-guide__contact a{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:48px;border-radius:5px;background:var(--ea-yellow);color:var(--ea-ink);font-size:15px;font-weight:650;padding:13px 20px;text-decoration:none;line-height:1.5}
.ea-guide--sections a:focus-visible,.ea-guide--sections summary:focus-visible{outline:3px solid var(--ea-blue);outline-offset:3px}
.ea-guide--sections .ea-guide__contact a:focus-visible{outline-color:#fff}
@media(max-width:1100px){.ea-guide--sections .ea-guide__lead{grid-template-columns:minmax(0,1fr) 240px;gap:30px}.ea-guide--sections .ea-guide__layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.ea-guide--sections .ea-guide__chapter{padding:26px}.ea-guide--sections .ea-guide__inner{width:calc(100% - 64px)}}
@media(max-width:900px){.ea-guide.ea-guide--sections{padding:54px 0}.ea-guide--sections .ea-guide__inner{width:calc(100% - 40px)}.ea-guide--sections .ea-guide__lead{grid-template-columns:1fr;margin-bottom:28px;gap:24px}.ea-guide--sections .ea-guide__scope-card{display:flex;gap:16px;align-items:center;padding:20px;border-top-width:1px;border-left:3px solid var(--ea-yellow)}.ea-guide--sections .ea-guide__scope-icon{margin:0;flex:none}.ea-guide--sections .ea-guide__layout{grid-template-columns:1fr;gap:24px}.ea-guide--sections .ea-guide__sidebar{position:static}.ea-guide--sections .ea-guide__toc nav{max-height:250px}.ea-guide--sections .ea-guide__toc a{font-size:14px;padding:10px}.ea-guide--sections .ea-guide__toc ol{columns:2}.ea-guide--sections .ea-guide__toc li{break-inside:avoid}.ea-guide--sections .ea-guide__chapter-copy{font-size:16px}}
@media(max-width:600px){.ea-guide.ea-guide--sections{padding:40px 0}.ea-guide--sections .ea-guide__inner{width:calc(100% - 32px)}.ea-guide--sections .ea-guide__lead{gap:20px}.ea-guide--sections .ea-guide__eyebrow{font-size:12px;letter-spacing:.025em;gap:8px;margin-bottom:14px}.ea-guide--sections .ea-guide__eyebrow::before{width:18px}.ea-guide--sections .ea-guide__intro>h2{font-size:28px;line-height:1.28;margin-bottom:16px}.ea-guide--sections .ea-guide__summary{font-size:16px;line-height:1.8}.ea-guide--sections .ea-guide__scope-card{padding:16px;gap:12px}.ea-guide--sections .ea-guide__scope{font-size:13px}.ea-guide--sections .ea-guide__scope-icon{width:38px;height:38px}.ea-guide--sections .ea-guide__scope-icon svg{width:23px;height:23px}.ea-guide--sections .ea-guide__toc ol{columns:1}.ea-guide--sections .ea-guide__toc nav{max-height:220px}.ea-guide--sections .ea-guide__toc summary{padding:16px;font-size:14px}.ea-guide--sections .ea-guide__chapters{gap:18px}.ea-guide--sections .ea-guide__chapter{padding:21px 18px;border-radius:12px}.ea-guide--sections .ea-guide__chapter-heading{gap:12px;margin-bottom:18px}.ea-guide--sections .ea-guide__chapter-index{flex-basis:32px;min-height:32px;border-radius:7px;font-size:11px}.ea-guide--sections .ea-guide__chapter-heading h2{font-size:20px;line-height:1.45;letter-spacing:-.02em;margin-top:0}.ea-guide--sections .ea-guide__chapter-copy{font-size:16px;line-height:1.85}.ea-guide--sections .ea-guide__contact{padding:24px 20px}.ea-guide--sections .ea-guide__contact h3{font-size:22px}.ea-guide--sections .ea-guide__contact a{width:100%;font-size:14px;gap:12px}}
@media(prefers-reduced-motion:reduce){.ea-guide--sections .ea-guide__toc a{transition:none}}

/* Existing footer signature and blog topics remain unchanged. */
.ea-footer-credit a:focus-visible{outline:3px solid #d39100;outline-offset:5px}.ea-guide__body{max-width:820px;margin:auto;font-size:1.075rem;line-height:1.85}.ea-guide__body h2{font-size:1.65rem;margin:2.7em 0 .8em}.ea-guide__body h3{font-size:1.2rem;margin:1.8em 0 .5em}.ea-guide__body p{margin:0 0 1.2em}.ea-guide__body li{margin:.4em 0}.ea-guide__contact{max-width:820px;margin:40px auto 0;padding:24px;border-left:4px solid #ffc928;background:white;border-radius:8px}.ea-footer-credit{display:flex;justify-content:flex-end;padding:20px max(20px,calc((100% - 1200px)/2));border-top:1px solid #ffffff28}.ea-footer-credit a{display:flex;flex-direction:column;align-items:flex-end;gap:8px;color:inherit;text-decoration:none}.ea-footer-credit span{font-size:.72rem}.ea-footer-credit img{display:block;width:162px;height:auto;max-width:100%;padding:10px 12px;background:#081d35;border-radius:8px;box-sizing:content-box}.blog-taxonomy-label{font-size:1rem;font-weight:750;margin:24px 0 12px}.blog-topic-filters,.blog-card__tags{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.blog-topic-filters a,.blog-card__tags a{display:inline-block;border:1px solid #c6d9e7;border-radius:20px;padding:6px 11px;color:#174c73;background:#f0f7fc;text-decoration:none;font-size:.82rem;line-height:1.5}.blog-topic-filters a[aria-current=page]{background:#174c73;color:#fff}.blog-card__tags{margin:8px 0 18px}.blog-card__tags a{font-size:.75rem;padding:4px 9px}.blog-topic-help{font-size:.88rem;color:#526879;margin:8px 0 20px}@media(max-width:600px){.ea-footer-credit{padding-bottom:104px}.ea-footer-credit img{width:140px}.blog-topic-filters{gap:7px}}
