/* SolarEngery Child — directory layer on top of NexterWP.
   Mobile-first, one clear answer per screen, high contrast.
   Colours: deep green (solar/brand), warm amber accent, ink text.
   No partner promotion, no hidden paid placement. */
:root{
  --se-green:#0b6b3a; --se-green-dark:#084d2a; --se-amber:#f59e0b;
  --se-ink:#14201a; --se-muted:#5b6b60; --se-line:#dfe7e0; --se-bg:#f6f8f6; --se-card:#ffffff;
}
*{box-sizing:border-box}
body{color:var(--se-ink)}
.se-hero,.se-city,.se-home,.se-archive,.se-listing{max-width:1080px;margin:0 auto;padding:24px 16px}
.se-eyebrow{font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;color:var(--se-green);font-weight:700;margin:0 0 8px}
.se-hero h1,.se-city h1,.se-home h1{font-size:clamp(1.7rem,5vw,2.6rem);line-height:1.15;margin:0 0 12px}
.se-lede{font-size:1.1rem;color:var(--se-muted);max-width:62ch}
.se-verified{font-size:.9rem;color:var(--se-muted);border-left:3px solid var(--se-green);padding-left:10px}
.se-summary{display:grid;grid-template-columns:1fr;gap:12px;margin:24px 0}
@media(min-width:640px){.se-summary{grid-template-columns:repeat(3,1fr)}}
.se-summary-card{background:var(--se-card);border:1px solid var(--se-line);border-radius:12px;padding:16px}
.se-big{display:block;font-size:1.5rem;font-weight:800;color:var(--se-green-dark)}
.se-note{font-size:.95rem;color:var(--se-muted)}
.se-body h2{margin-top:32px}
.se-search{display:grid;gap:12px;background:var(--se-bg);border:1px solid var(--se-line);border-radius:12px;padding:16px;margin:20px 0}
@media(min-width:640px){.se-search{grid-template-columns:1fr 1fr auto;align-items:end}}
.se-search label,.se-filters label{font-weight:600;font-size:.9rem;display:grid;gap:6px}
.se-search select,.se-filters select,.se-quote input,.se-quote select,.se-calc input,.se-calc select{padding:10px;border:1px solid var(--se-line);border-radius:8px;font-size:1rem;width:100%}
button,.se-btn{display:inline-block;background:var(--se-green);color:#fff;border:0;border-radius:8px;padding:12px 20px;font-weight:700;cursor:pointer;text-decoration:none}
button:hover,.se-btn:hover{background:var(--se-green-dark)}
.se-btn-ghost{background:#fff;color:var(--se-green);border:1px solid var(--se-green)}
.se-crumbs{font-size:.9rem;color:var(--se-muted);margin-bottom:16px}
.se-crumbs a{color:var(--se-green)}
.se-cards{list-style:none;padding:0;display:grid;gap:12px}
@media(min-width:640px){.se-cards{grid-template-columns:repeat(2,1fr)}}
.se-card{background:var(--se-card);border:1px solid var(--se-line);border-radius:12px;padding:16px}
.se-card h2{margin:0 0 6px;font-size:1.15rem}
.se-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:.85rem;font-weight:700;background:#eef3ee}
.se-badge.owner-verified{background:#dcf5e3;color:var(--se-green-dark)}
.se-empty{background:#fff8e6;border:1px solid #f5d67a;border-radius:12px;padding:16px}
.se-facts{display:grid;grid-template-columns:140px 1fr;gap:8px 16px;background:var(--se-bg);border-radius:12px;padding:16px}
.se-facts dt{font-weight:700}
.se-facts dd{margin:0}
.se-calc,.se-quote-form{background:var(--se-card);border:1px solid var(--se-line);border-radius:12px;padding:16px;margin:16px 0}
.se-calc label,.se-quote-form label{display:block;font-weight:600;margin:10px 0 4px}
.se-result{font-size:1.1rem;font-weight:700;color:var(--se-green-dark);margin-top:12px}
.se-method{font-size:.85rem;color:var(--se-muted)}
.se-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:20px 0}
/* QC fix 2026-12-01: page headings must be dark ink, not grey — low contrast was flagged. */
h1,h2,h3{color:var(--se-ink)}
.site-title,.site-title a{color:var(--se-ink)}

/* Listing redesign 2026-12-01: Google-checked profile layout. */
.se-badge.google-checked{background:#dcf5e3;color:var(--se-green-dark)}
.se-badge.google-matched{background:#fff3cd;color:#7a5b00}
.se-rating{font-size:1.1rem;font-weight:700;margin:8px 0 0}
.se-note{font-size:.85rem;color:var(--se-muted)}
.se-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.se-listing section{margin:32px 0}
.se-listing section h2{margin-bottom:12px}
.se-others .se-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.se-others .se-card{border:1px solid var(--se-border,#e5e5e5);border-radius:12px;padding:16px}
.se-others .se-card h3{margin:0 0 8px;font-size:1rem}

/* ---- Listing v2 (2026-12-01): rebuilt from full-page screenshot comparison vs GoSolarIndex.
   Same layout bones as the reference (cards, dotted-leader benchmark, review card,
   embedded map, rich other-installer cards, accordion FAQ, sticky bottom bar) with
   our own wording and honest badges. Amber is the primary CTA; green is badges only. ---- */
.se-listing{max-width:1240px} /* wide enough for main column + 340px sticky sidebar */
.se-listing a{color:var(--se-ink)}
.se-h1{font-size:clamp(1.9rem,4.5vw,2.5rem);line-height:1.15;font-weight:800;margin:0 0 14px}
.se-intro{font-size:1.08rem;line-height:1.7;color:#374151;margin:0 0 16px}
.se-crumbs a{text-decoration:underline;color:var(--se-ink)}
.se-trust{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.95rem;margin:0 0 20px}
.se-trust .se-muted{color:var(--se-muted)}
.se-stars{color:#b45309;font-weight:700}
.se-badge{border:1px solid transparent}
.se-badge.google-checked{background:#dcf5e3;color:#14532d}
.se-btn-amber{background:var(--se-amber);color:#1a1a1a}
.se-btn-amber:hover{background:#d97706;color:#1a1a1a}
.se-btn-outline{background:#fff;color:var(--se-ink);border:1.5px solid #111827}
.se-btn-outline:hover{background:#f3f4f6;color:var(--se-ink)}
.se-btn-wa{background:#22c55e;color:#fff;border:1.5px solid #22c55e}
.se-btn-wa:hover{background:#16a34a;color:#fff}
.se-btn-block{display:block;text-align:center}
.se-actions .se-btn{padding:13px 22px;font-size:1rem}
.se-card-block{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin:32px 0}
.se-card-block h2{margin-top:0}
.se-ruled{border-bottom:3px solid #111827;padding-bottom:10px}
.se-leader-rows{margin:8px 0 0}
.se-leader-rows div{display:flex;justify-content:space-between;gap:16px;padding:13px 0}
.se-leader-rows div:last-child{border-bottom:0}
.se-leader-rows dt{color:#4b5563;flex:1;display:flex;align-items:baseline;font-weight:400}
.se-leader-rows dt::after{content:"";flex:1;border-bottom:2px dotted #9ca3af;margin:0 10px;transform:translateY(-3px)}
.se-leader-rows dd{margin:0;font-weight:700;text-align:right}
/* Net-investment total row: bold, with a solid top border like the reference. */
.se-leader-rows div.se-total{border-top:2px solid #111827;margin-top:6px;padding-top:14px}
.se-leader-rows div.se-total dt,.se-leader-rows div.se-total dd{font-weight:700;color:#111827}
.se-subtitle{color:#4b5563;margin:0 0 16px}
.se-review-card{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px 24px;margin:0 0 16px}
.se-review-score{font-size:2rem;font-weight:800;margin-right:6px}
.se-review-stars{color:var(--se-amber);letter-spacing:2px;font-size:1.2rem}
.se-location h2,.se-others h2{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px}
.se-section-link{font-size:.9rem;text-decoration:underline}
.se-address{margin:4px 0 16px}
.se-map{width:100%;height:320px;border:1px solid #e5e7eb;border-radius:12px}
.se-other-cards{grid-template-columns:1fr !important}
.se-other-card{padding:20px 24px;border:1px solid #f59e0b}
.se-other-card h3 a{color:#111827}
.se-pill-verified{display:inline-block;background:#dcfce7;color:#166534;border:1px solid #86efac;border-radius:999px;padding:2px 10px;font-size:.8rem;font-weight:700;vertical-align:middle;margin-left:8px;white-space:nowrap}
.se-card-note{text-align:right;font-size:.85rem;color:#6b7280;margin:10px 0 0}
.se-archive .se-card{padding:20px 24px;border:1px solid #f59e0b}
.se-archive .se-card h2 a{color:#111827;text-decoration:none}
.se-other-top{display:flex;gap:14px;align-items:flex-start}
.se-avatar{position:relative;flex:none;width:56px;height:56px;border-radius:8px;background:#f3f4f6;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.15rem;color:#111827}
.se-avatar-check{position:absolute;right:-6px;bottom:-6px;width:20px;height:20px;border-radius:50%;background:#16a34a;color:#fff;font-size:.7rem;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.se-other-card h3{margin:0 0 4px;font-size:1.1rem}
.se-other-card h3 a{text-decoration:none}
.se-other-meta{font-size:.92rem;color:#4b5563;margin:0}
.se-other-desc{color:#374151;margin:12px 0}
.se-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.se-chip{border:1px solid #d1d5db;border-radius:6px;padding:4px 10px;font-size:.85rem;background:#fff}
.se-other-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;border-top:1px solid #e5e7eb;padding-top:16px;margin:0}
.se-faq-item{border-top:1px solid #e5e7eb;padding:2px 0}
.se-faq-item:last-of-type{border-bottom:1px solid #e5e7eb}
.se-faq-item summary{list-style:none;cursor:pointer;font-weight:700;padding:16px 28px 16px 0;position:relative}
.se-faq-item summary::marker{display:none}
.se-faq-item summary::-webkit-details-marker{display:none}
.se-faq-item summary::after{content:"+";position:absolute;right:4px;top:14px;font-size:1.3rem;font-weight:400;color:#6b7280}
.se-faq-item[open ] summary::after{content:"\2013"}
.se-faq-item p{margin:0 0 16px;color:#374151}
.se-quote .se-quote-form{border:0;padding:0;margin:0}
.se-quote-form label{display:block;font-weight:600;margin:12px 0 4px}
.se-quote-form label input,.se-quote-form label select{font-weight:400;margin-top:6px}
.se-quote-form input[type="text"],.se-quote-form input[type="tel"],.se-quote-form select{padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;width:100%;background:#fff}
.se-quote-form label:has(input[type="checkbox"]){display:flex;align-items:center;gap:8px;font-weight:600}
.se-quote-form label:has(input[type="checkbox"]) input{width:auto;margin:0}
.se-quote-form button[type="submit"]{width:100%;background:var(--se-amber);color:#1a1a1a;padding:15px;font-size:1.05rem;margin-top:14px}
.se-quote-form button[type="submit"]:hover{background:#d97706}
.se-record-rows{margin:8px 0 0}
.se-record-rows div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #f3f4f6}
.se-record-rows div:last-child{border-bottom:0}
.se-record-rows dt{color:#6b7280}
.se-record-rows dd{margin:0;font-weight:600;text-align:right}
.se-record-rows dd a{text-decoration:underline}
.se-sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #e5e7eb;padding:12px 16px;display:flex;justify-content:center;gap:12px;box-shadow:0 -2px 12px rgba(0,0,0,.06)}
.se-sticky-bar .se-btn{padding:12px 28px}
.se-listing{padding-bottom:96px}
/* Header: kill the purple — ink wordmark, ink nav, amber Get Quotes button (Nexter markup). */
.site-header .site-title a,.site-title a{color:#111827}
#menu-main-menu a{color:#111827}
#menu-main-menu li:last-child a{background:var(--se-amber);color:#1a1a1a !important;border-radius:8px;padding:10px 18px;font-weight:700}
#menu-main-menu li:last-child a:hover{background:#d97706;color:#1a1a1a !important}
@media(max-width:640px){
  .se-card-block{padding:18px}
  .se-review-card{padding:16px}
  .se-other-card{padding:16px}
  .se-sticky-bar .se-btn{flex:1;padding:12px 10px;text-align:center}
}

/* ---- Homepage v2 (2026-12-01): rebuilt from full-page screenshot comparison vs GoSolarIndex. ---- */
.se-home{max-width:880px}
.se-home h1{font-size:clamp(2rem,5vw,2.7rem);line-height:1.12;font-weight:800;margin:0 0 14px}
.se-home h2{font-size:1.55rem;font-weight:800;margin:0 0 8px}
.se-home section{margin:44px 0}
.se-eyebrow-pill{display:inline-block;background:#fff7e6;border:1px solid #f5d67a;color:#7a4a00;border-radius:999px;padding:6px 14px;font-size:.85rem;font-weight:700;margin:0 0 16px}
.se-eyebrow{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:#6b7280;font-weight:700;margin:0 0 6px}
.se-search-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:18px;margin:22px 0 12px}
.se-search-fields{display:grid;gap:12px}
@media(min-width:640px){.se-search-fields{grid-template-columns:1fr 1fr auto;align-items:end}}
.se-search-fields label{position:relative;display:block}
.se-search-fields select{width:100%;padding:12px 12px 12px 34px;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;background:#fff;appearance:none}
.se-field-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:#6b7280;pointer-events:none}
.se-search-fields button{background:var(--se-amber);color:#1a1a1a;border:0;border-radius:8px;padding:13px 22px;font-weight:700;font-size:1rem;cursor:pointer;white-space:nowrap}
.se-search-fields button:hover{background:#d97706}
.se-top-cities{font-size:.92rem;color:#4b5563;margin:14px 0 0}
.se-top-cities a{color:#4b5563;text-decoration:none}
.se-top-cities a:hover{text-decoration:underline;color:var(--se-ink)}
.se-start-grid{display:grid;gap:14px;margin-top:18px}
@media(min-width:640px){.se-start-grid{grid-template-columns:1fr 1fr}}
.se-start-card,.se-tool-card{position:relative;display:block;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;text-decoration:none;color:var(--se-ink)}
.se-start-card:hover,.se-tool-card:hover,.se-state-card:hover,.se-guide-card:hover{border-color:#9ca3af}
.se-start-icon{display:inline-flex;width:44px;height:44px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:12px}
.se-start-tag{position:absolute;top:16px;right:16px;border:1px solid #d1d5db;border-radius:6px;padding:3px 8px;font-size:.78rem;font-weight:600;color:#374151;background:#fff}
.se-start-card strong,.se-tool-card strong{display:block;font-size:1.08rem;margin-bottom:4px}
.se-start-arrow{position:absolute;right:18px;top:50%;color:#6b7280;font-size:1.2rem}
.se-start-desc,.se-tool-desc{display:block;color:#4b5563;font-size:.95rem;padding-right:20px}
.se-preview-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:16px 0}
.se-pills{display:flex;flex-wrap:wrap;gap:8px}
.se-pill{border:1px solid #d1d5db;border-radius:999px;padding:7px 16px;font-size:.9rem;text-decoration:none;color:#374151;background:#fff}
.se-pill-on{background:#111827;color:#fff;border-color:#111827}
.se-cta-band{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:12px;padding:32px 24px;text-align:center}
.se-cta-band h2{margin-bottom:8px}
.se-cta-band p{color:#4b5563}
.se-btn-dark{background:#111827;color:#fff}
.se-btn-dark:hover{background:#000;color:#fff}
.se-state-grid{display:grid;gap:12px;margin-top:18px}
@media(min-width:640px){.se-state-grid{grid-template-columns:repeat(3,1fr)}}
.se-state-card{position:relative;display:block;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px;text-decoration:none;color:var(--se-ink)}
.se-state-card strong{display:block;font-size:1rem}
.se-state-card span{color:#b45309;font-size:.85rem;font-weight:600}
.se-state-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#6b7280;font-size:1.1rem}
.se-tools-grid{display:grid;gap:14px;margin-top:18px}
@media(min-width:640px){.se-tools-grid{grid-template-columns:1fr 1fr}}
.se-tool-card .se-start-tag{top:16px}
.se-tool-link{display:block;border-top:1px solid #e5e7eb;margin-top:14px;padding-top:12px;font-weight:700;color:var(--se-ink)}
.se-guide-list{display:grid;gap:14px;margin-top:18px}
.se-guide-card{position:relative;display:block;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;text-decoration:none;color:var(--se-ink)}
.se-guide-card .se-start-tag{position:static;display:inline-block;margin-bottom:10px}
.se-guide-card strong{display:block;font-size:1.15rem;margin-bottom:6px}
.se-vendor-cta{margin:44px 0}
.se-vendor-cta h2{margin-top:12px}

/* ---- Footer (2026-12-01): force the Theme Builder footer columns into a real 4-column grid. ---- */
#nxt-footer .wp-block-columns{display:grid !important;grid-template-columns:repeat(4,1fr);gap:24px}
@media(max-width:900px){#nxt-footer .wp-block-columns{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){#nxt-footer .wp-block-columns{grid-template-columns:1fr}}
#nxt-footer a{color:#374151;text-decoration:none}
#nxt-footer a:hover{color:#111827;text-decoration:underline}
#nxt-footer .wp-block-list{list-style:none;margin:0;padding:0}
#nxt-footer .wp-block-list li{margin:7px 0}
#nxt-footer h3{font-size:1rem;margin:0 0 10px}
#nxt-footer h2{font-size:1.3rem}

/* ---- Listing sidebar + footer/menu fixes (2026-12-01, user feedback round 2) ---- */
/* Two-column listing: main content left, sticky quote sidebar right (like GoSolarIndex). */
.se-listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.se-sidebar{position:sticky;top:20px}
.se-sidebar .se-quote{margin:0}
.se-sidebar .se-quote h2{font-size:1.2rem}
.se-sidebar-note{font-size:.9rem;color:#4b5563;margin:14px 4px 0}
@media(max-width:860px){
  .se-listing-layout{grid-template-columns:1fr}
  .se-sidebar{position:static}
}
/* Benchmark: tighter rows, values wrap cleanly. */
.se-leader-rows div{padding:10px 0}
.se-leader-rows dd{max-width:52%}
.se-trust a,.se-review-left a{color:inherit;text-decoration:underline}
/* Footer: grey must run full-bleed, not a centred box. */
#nxt-footer{background:#e5e7eb}
#nxt-footer .wp-block-group{background:transparent !important}
/* Header menu: breathing room between items and around the amber button (desktop only). */
@media(min-width:861px){
  #menu-main-menu{display:flex;align-items:center;gap:28px}
  #menu-main-menu li{margin:0}
  /* Header breathing room (2026-12-01): Nexter's header container only has
     10px top/bottom padding, so the desktop menu sat flush against the top
     edge of the header. */
  .site-header .nxt-header-wrap{padding-top:18px;padding-bottom:18px}
  /* Sticky header, desktop only (2026-12-01, user): the menu stays at the top
     while scrolling. .wrapper-main has no overflow/transform, so sticky works. */
  #nxt-header.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 #e5e7eb}
  body.admin-bar #nxt-header.site-header{top:32px}
}
/* Mobile menu (≤860px): Nexter's default header ships no hamburger, so the
   five links would overflow a phone screen. JS (assets/js/main.js) injects a
   ☰ toggle button; the nav hides until it is tapped, then drops down as a
   full-width vertical list. */
.se-menu-toggle{display:none}
/* Bare hamburger icon (GoSolarIndex mobile reference): three plain bars, no
   button box, no border, no background — just the icon, at the far right. */
.se-menu-bars{display:flex;flex-direction:column;gap:5px;width:24px}
.se-menu-bars span{display:block;height:2.5px;background:#111827;border-radius:2px;transition:transform .2s ease,opacity .2s ease}
@media(max-width:860px){
  .site-header .nxt-header-wrap{justify-content:space-between !important;position:relative;width:100%}
  /* Hamburger to the right (2026-12-01): the toggle is injected as a sibling
     BEFORE .site-navigation, and Nexter gives .site-navigation flex-grow:1 —
     the empty nav (menu hidden) absorbs all free space, so space-between
     alone leaves the button stuck to the logo. An auto margin takes the
     free space first, pushing the button to the right edge. */
  .se-menu-toggle{margin-left:auto}
  /* Pin it (v1.0.14): flex spacing + auto margin were verified present in
     the served CSS yet the button still rendered against the logo on a real
     phone in incognito, so the button is now ALSO absolutely positioned at
     the top-right of the header — no flex distribution can move it. */
  .se-menu-toggle{position:absolute;right:15px;top:15px}
  .se-menu-toggle{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#111827;border:0;border-radius:8px;padding:10px 8px;font-size:1rem;font-weight:700;cursor:pointer}
  .se-menu-toggle:hover{background:#f3f4f6}
  #menu-main-menu{display:none}
  /* Hide the empty nav when closed: its flex-grow:1 is already neutralised by
     the toggle's auto margin, but its margin-inline-end:-12px still sticks
     12px past the viewport — the sideways scroll at 320px AND 768px. */
  #nxt-header .site-navigation{display:none;margin-inline-end:0}
  #nxt-header.se-nav-open .site-navigation{display:block;order:3;flex-basis:100%;width:100%;margin-inline-end:0}
  #nxt-header.se-nav-open #menu-main-menu{display:flex;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-top:1px solid #e5e7eb;margin-top:12px}
  #nxt-header.se-nav-open #menu-main-menu li{margin:0;border-bottom:1px solid #f3f4f6}
  #nxt-header.se-nav-open #menu-main-menu li a{display:block;padding:14px 8px;color:#111827}
  #nxt-header.se-nav-open #menu-main-menu li:last-child{border-bottom:0;padding:12px 0}
  #nxt-header.se-nav-open #menu-main-menu li:last-child a{background:var(--se-amber);color:#1a1a1a !important;border-radius:8px;padding:14px;text-align:center;font-weight:700}
  #nxt-header.se-nav-open #menu-main-menu li:last-child a:hover{background:#d97706}
  /* Open state: the three bars become an X. */
  #nxt-header.se-nav-open .se-menu-bars span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  #nxt-header.se-nav-open .se-menu-bars span:nth-child(2){opacity:0}
  #nxt-header.se-nav-open .se-menu-bars span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  .site-header .nxt-header-wrap{padding-top:14px;padding-bottom:14px}
}
/* Small-phone tightening (≤640px): sticky bar, map, filters, benchmark rows. */
@media(max-width:640px){
  .se-sticky-bar{padding:10px 12px;gap:8px}
  .se-sticky-bar .se-btn{flex:1;padding:12px 8px;font-size:.95rem}
  .se-map{height:260px}
  .se-filters label{flex:1 1 160px}
  .se-filters button{flex:1 1 100%}
  .se-leader-rows div{gap:10px;padding:9px 0}
  .se-review-card .se-btn{flex:1 1 100%;text-align:center}
}
/* Card buttons on phones (≤480px): all three on ONE line — no wrapping.
   Icons hide (saves width), buttons shrink to fit with a small gap. */
@media(max-width:480px){
  .se-other-actions{flex-wrap:nowrap;gap:6px}
  .se-other-actions .se-btn{flex:0 1 auto;min-width:0;padding:10px 8px;font-size:.88rem;white-space:nowrap}
  .se-other-actions .se-btn-ic{display:none}
  /* Header at 320px: the logo + wide Menu button overflowed the page by ~15px
     (v1.0.10 check). The icon-only button is ~64px narrower; shrinking the
     title too leaves real breathing room. */
  .site-header .site-title{font-size:1.35rem}
}

/* Claim-submitted notice on a listing page. */
.se-notice{background:#dcfce7;border:1px solid #86efac;color:#166534;border-radius:10px;padding:12px 16px;font-weight:600;margin:0 0 16px}

/* Services offered list on a listing page. */
.se-services-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}
.se-services-list li{padding-left:24px;position:relative}
.se-services-list li::before{content:"✓";position:absolute;left:0;color:#15803d;font-weight:700}
@media(max-width:640px){.se-services-list{grid-template-columns:1fr}}

/* State directory pages (/listings/?solar_state=… and /states/…). */
.se-state .se-state-listings h2{font-size:1.5rem;margin:36px 0 16px}
.se-state-filter{margin:0 0 20px}
.se-table-wrap{overflow-x:auto}
.se-discom-table{width:100%;border-collapse:collapse;font-size:.98rem}
.se-discom-table th,.se-discom-table td{text-align:left;padding:11px 12px;border-bottom:1px solid #e5e7eb;vertical-align:top}
.se-discom-table th{font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:#6b7280}
.se-discom-table tr:last-child td{border-bottom:0}
.se-steps{list-style:none;margin:0;padding:0;counter-reset:se-step}
.se-steps li{counter-increment:se-step;padding:0 0 20px 52px;position:relative}
.se-steps li:last-child{padding-bottom:0}
.se-steps li::before{content:counter(se-step);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:#111827;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.se-steps h3{margin:0 0 6px;font-size:1.05rem}
.se-steps p{margin:0;color:#374151}
.se-city-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.se-city-grid a{display:block;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;color:#111827;text-decoration:none}
.se-city-grid a:hover{border-color:#f59e0b}
.se-quickfacts h2{font-size:1.2rem}
.se-quickfacts .se-leader-rows div{padding:9px 0}
@media(max-width:860px){.se-city-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.se-city-grid{grid-template-columns:1fr}.se-steps li{padding-left:46px}}

/* ---- Blog page (home.php) — 2026-12-02: AVAADA blog reference supplied by
   the user (two top cards, featured row, topic pills, card grid, Load More)
   plus a sticky sidebar with the homepage's Where-to-start + Tools. ---- */
.se-blog{max-width:1200px;margin:0 auto;padding:24px 16px}
.se-blog h1{font-size:clamp(2rem,5vw,2.7rem);line-height:1.12;font-weight:800;margin:0 0 14px}
.se-blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.se-blog-main{min-width:0}
.se-blog-side{position:sticky;top:20px}
.se-blog-top{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.se-blog-topcard{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;text-decoration:none;color:var(--se-ink)}
.se-blog-topcard:hover{border-color:#9ca3af}
.se-blog-topcard img{width:100%;height:210px;object-fit:cover;display:block}
.se-blog-topcard strong{display:block;padding:14px 16px;font-size:1.05rem;line-height:1.4}
.se-blog-featured{display:grid;grid-template-columns:1.05fr 1fr;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin:0 0 28px}
.se-blog-featured>a{display:block}
.se-blog-featured img{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}
.se-blog-featured-text{padding:24px}
.se-blog-featured h2{font-size:1.5rem;line-height:1.25;margin:0 0 10px}
.se-blog-featured h2 a{color:var(--se-ink);text-decoration:none}
.se-blog-featured p{color:#374151}
.se-blog-meta{font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;color:#6b7280;font-weight:700;margin:0 0 8px}
.se-blog-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.se-blog-pill{cursor:pointer;font-family:inherit}
.se-blog-pill-on{background:var(--se-amber);color:#1a1a1a;border-color:var(--se-amber);font-weight:700}
.se-blog-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.se-blog-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}
.se-blog-card>a{display:block}
.se-blog-card img{width:100%;height:180px;object-fit:cover;display:block}
.se-blog-card-text{padding:16px}
.se-blog-card h3{font-size:1.08rem;line-height:1.35;margin:0 0 8px}
.se-blog-card h3 a{color:var(--se-ink);text-decoration:none}
.se-blog-card-text p{color:#374151;margin:0 0 10px}
.se-blog-card-text p:last-child{margin-bottom:0}
.se-blog-readmore{font-weight:700;color:var(--se-ink);text-decoration:underline}
.se-blog-hidden{display:none}
.se-blog-empty{margin:0}
.se-blog-more{text-align:center;margin:28px 0 0}
.se-side-block{margin:0 0 28px}
.se-side-block h2{font-size:1.2rem;margin:0 0 6px}
.se-side-row{display:flex;gap:12px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:13px 14px;text-decoration:none;color:var(--se-ink);margin:0 0 10px}
.se-side-row:hover{border-color:#9ca3af}
.se-side-ic{flex:none;width:38px;height:38px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;display:flex;align-items:center;justify-content:center;font-size:1.1rem}
.se-side-row strong{display:block;font-size:.98rem;line-height:1.3}
.se-side-desc{display:block;color:#4b5563;font-size:.88rem;line-height:1.45;margin-top:2px}
.se-side-cta{background:#111827;color:#fff;border-radius:12px;padding:22px}
.se-side-cta h2{color:#fff;font-size:1.2rem;margin:0 0 8px}
.se-side-cta p{color:#d1d5db;margin:0 0 14px}
.se-side-cta p:last-child{margin-bottom:0}
@media(max-width:900px){
  .se-blog-layout{grid-template-columns:1fr}
  .se-blog-side{position:static}
}
@media(max-width:640px){
  .se-blog-top{grid-template-columns:1fr}
  .se-blog-featured{grid-template-columns:1fr}
  .se-blog-featured img{min-height:0;height:200px}
  .se-blog-grid{grid-template-columns:1fr}
}

.se-filters input[type="search"]{padding:10px;border:1px solid var(--se-line);border-radius:8px;font-size:1rem;width:100%}
.se-cat-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.se-cat-chips a{display:inline-block;border:1px solid #e5e7eb;border-radius:999px;padding:6px 14px;color:#111827;text-decoration:none;font-size:.9rem;background:#fff}
.se-cat-chips a:hover{border-color:#f59e0b}
.se-cat-chips a.se-chip-on{background:#111827;color:#fff;border-color:#111827}
.se-row-highlight td{background:#fffbeb}
.se-netgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.se-netcard{border:1px solid #e5e7eb;border-radius:10px;padding:16px;background:#fff}
.se-netcard h3{margin:0 0 8px;font-size:1.05rem}
.se-netcard h3 a{color:#111827;text-decoration:none}
.se-netcard h3 a:hover{color:#b45309}
.se-netcard p{margin:0;color:#374151;font-size:.95rem;line-height:1.55}
@media(max-width:860px){.se-netgrid{grid-template-columns:1fr}}

/* ---- Mobile reading + menu overlay (v1.0.33, 2026-12-02, user phone screenshots).
   Root cause found in the live HTML: Nexter sets
   .nxt-container-block-editor{padding:0} and its responsive rules only set
   max-width + auto margins — on a phone the container is 100vw with ZERO
   side padding, so the logo, titles and article text all touch the edges.
   The mobile menu was also in-flow (order:3, flex-basis:100%), so opening
   it pushed the whole page content down. ---- */
@media(max-width:860px){
  /* 1. Side breathing room, 16px, on every page type. The child templates
     (.se-home/.se-listing/.se-blog/...) already carry their own 16px, so the
     container itself is NOT padded (that would double it to 32px there). */
  #nxt-header.site-header .nxt-container-block-editor{padding-left:16px;padding-right:16px}
  #nxt-footer .nxt-container-block-editor{padding-left:16px;padding-right:16px}
  /* Single posts: gutter the whole article; the featured image breaks back
     out to full-bleed with negative margins so it keeps its current look. */
  .nxt-blog-single-post>article{padding-left:16px;padding-right:16px}
  .nxt-blog-single-post .nxt-blog-image{margin-left:-16px;margin-right:-16px}
  /* Regular pages (Tools, Get Quotes, Cities, ...): gutter the entry content. */
  .site-content .entry-content{padding-left:16px;padding-right:16px}
  /* 2. Menu opens as an OVERLAY, not a push-down: absolute, full viewport
     width (the -16px cancels the header container's 16px padding), below
     the header bar, floating above the page content. Header height and the
     content below never move when it opens or closes. */
  #nxt-header.se-nav-open .site-navigation{position:absolute;top:100%;left:-16px;right:-16px;z-index:200;display:block;width:auto;flex-basis:auto;order:0;margin-inline-end:0;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 12px 24px rgba(0,0,0,.12)}
  #nxt-header.se-nav-open #menu-main-menu{width:100%;margin-top:0}
  #nxt-header.se-nav-open #menu-main-menu li a{padding:14px 16px;text-align:left}
  #nxt-header.se-nav-open #menu-main-menu li:last-child{padding:12px 16px}
  /* Hamburger: the header now has 16px padding, so right:0 keeps the icon
     in the same 16px gutter as the logo (was right:15px = 31px from the edge). */
  .se-menu-toggle{right:0}
  /* Guard: nothing may scroll sideways on a phone. */
  body{overflow-x:clip}
}
