/* ============================================================
   News Electricity — Front-End Styles
   Bright, clean, white background — electric news aesthetic
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Source+Serif+4:wght@400;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --nep-yellow:    #FFD600;
  --nep-blue:      #005FFF;
  --nep-blue-dark: #003DBF;
  --nep-orange:    #FF5C00;
  --nep-green:     #00BF5A;
  --nep-cyan:      #00D4FF;
  --nep-dark:      #071225;
  --nep-text:      #12203A;
  --nep-muted:     #5A7090;
  --nep-border:    #DCE9F8;
  --nep-light:     #F4F8FF;
  --nep-white:     #FFFFFF;
  --nep-shadow:    0 3px 20px rgba(0,95,255,.10);
  --nep-radius:    12px;
  --nep-radius-lg: 18px;
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-serif:    'Source Serif 4', serif;
}

.nep-front-wrap * { box-sizing: border-box; }
.nep-front-wrap { font-family: var(--font-body); color: var(--nep-text); background: var(--nep-white); }
.nep-front-wrap a { text-decoration: none; }

/* ─── HERO ─────────────────────────────────────────────── */
.nep-hero {
  background: linear-gradient(135deg, var(--nep-dark) 0%, #0A2A5E 50%, #003DBF 100%);
  padding: 56px 32px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nep-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 30px,
    rgba(255,214,0,.025) 30px, rgba(255,214,0,.025) 31px
  );
  pointer-events: none;
}
.nep-hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.nep-hero-badge {
  display: inline-block;
  background: var(--nep-yellow);
  color: var(--nep-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.nep-hero-title {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--nep-white);
  margin: 0 0 12px;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.nep-hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 28px;
}
.nep-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nep-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s, box-shadow .15s;
}
.nep-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.nep-btn-comm { background: var(--nep-yellow); color: var(--nep-dark); }
.nep-btn-home  { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.nep-btn-home:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ─── STATE SELECTOR ───────────────────────────────────── */
.nep-selector-section {
  padding: 36px 32px 28px;
  background: var(--nep-white);
  border-bottom: 2px solid var(--nep-border);
  text-align: center;
}
.nep-selector-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nep-text);
  margin: 0 0 4px;
}
.nep-selector-hint { color: var(--nep-muted); font-size: .85rem; margin: 0 0 18px; }
.nep-state-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 1100px; margin: 0 auto; }
.nep-state-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid var(--nep-border);
  background: var(--nep-white);
  color: var(--nep-text);
  transition: all .18s;
  min-width: 78px;
}
.nep-state-btn:hover, .nep-state-btn-active {
  border-color: var(--nep-blue);
  background: var(--nep-blue);
  color: var(--nep-white);
}
.nep-state-btn .nep-state-abbr { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; line-height: 1; }
.nep-state-btn .nep-state-name { font-size: .65rem; margin-top: 2px; font-weight: 500; opacity: .8; text-align: center; line-height: 1.2; }
.nep-state-btn:hover .nep-state-name, .nep-state-btn-active .nep-state-name { opacity: 1; }

/* ─── STATE CONTENT ────────────────────────────────────── */
#nep-state-content { padding: 32px; max-width: 1300px; margin: 0 auto; }

.nep-state-section {}

/* State Header */
.nep-state-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--nep-dark) 0%, #0A2A5E 100%);
  color: #fff;
  border-radius: var(--nep-radius-lg);
  padding: 24px 30px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.nep-state-header-left { display: flex; align-items: center; gap: 18px; }
.nep-state-abbr-badge {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--nep-yellow);
  background: rgba(255,255,255,.08);
  padding: 8px 16px;
  border-radius: 10px;
  line-height: 1;
}
.nep-state-title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 0; color: #fff; }
.nep-state-meta  { margin: 4px 0 0; color: rgba(255,255,255,.65); font-size: .88rem; }
.nep-compare-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.nep-pill { display: inline-block; padding: 8px 16px; border-radius: 20px; font-weight: 700; font-size: .82rem; transition: transform .12s; }
.nep-pill:hover { transform: scale(1.04); }
.nep-pill-comm { background: var(--nep-yellow); color: var(--nep-dark); }
.nep-pill-home  { background: var(--nep-orange); color: #fff; }

/* State Body */
.nep-state-body { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* Articles */
.nep-articles-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--nep-text);
  border-left: 4px solid var(--nep-yellow);
  padding-left: 12px;
  margin: 0 0 18px;
}
.nep-news-item {
  display: flex;
  gap: 16px;
  background: var(--nep-white);
  border: 1px solid var(--nep-border);
  border-radius: var(--nep-radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: box-shadow .15s, transform .15s;
}
.nep-news-item:hover { box-shadow: var(--nep-shadow); transform: translateY(-1px); }
.nep-news-thumb { flex-shrink: 0; width: 110px; height: 78px; }
.nep-news-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.nep-news-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--nep-text); margin: 0 0 6px; line-height: 1.4; }
.nep-news-title a { color: inherit; }
.nep-news-title a:hover { color: var(--nep-blue); }
.nep-news-meta { margin-bottom: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nep-provider-badge { background: var(--nep-light); color: var(--nep-blue); font-size: .72rem; padding: 2px 10px; border-radius: 10px; font-weight: 600; }
.nep-news-date { font-size: .75rem; color: var(--nep-muted); }
.nep-news-excerpt { font-size: .82rem; color: var(--nep-muted); margin: 0 0 8px; line-height: 1.5; }
.nep-news-links { display: flex; gap: 8px; align-items: center; }
.nep-btn-primary { background: var(--nep-blue); color: #fff; padding: 6px 14px; border-radius: 6px; font-size: .8rem; font-weight: 600; transition: background .12s; }
.nep-btn-primary:hover { background: var(--nep-blue-dark); color: #fff; }
.nep-btn-outline { border: 1px solid var(--nep-blue); color: var(--nep-blue); padding: 5px 13px; border-radius: 6px; font-size: .8rem; font-weight: 600; transition: all .12s; }
.nep-btn-outline:hover { background: var(--nep-blue); color: #fff; }

/* No articles */
.nep-no-articles { background: var(--nep-light); border-radius: var(--nep-radius); padding: 30px; text-align: center; color: var(--nep-muted); }

/* ─── SIDEBAR ───────────────────────────────────────────── */
.nep-sidebar-box {
  background: var(--nep-white);
  border: 1px solid var(--nep-border);
  border-radius: var(--nep-radius);
  padding: 18px 16px;
  margin-bottom: 18px;
}
.nep-sidebar-box h4 { font-size: .95rem; font-weight: 700; color: var(--nep-text); margin: 0 0 12px; border-bottom: 2px solid var(--nep-border); padding-bottom: 8px; }
.nep-provider-list { margin: 0; padding: 0; list-style: none; }
.nep-provider-list li { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--nep-border); font-size: .82rem; }
.nep-provider-list li:last-child { border: none; }
.nep-prov-name { flex: 1; color: var(--nep-text); font-weight: 500; }
.nep-prov-count { background: var(--nep-green); color: #fff; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* Compare Sidebar */
.nep-compare-sidebar { background: linear-gradient(135deg, #FFFBEA, #FFF8D6); border-color: var(--nep-yellow); }
.nep-compare-sidebar p { font-size: .82rem; color: var(--nep-muted); margin: 0 0 12px; }
.nep-sidebar-cta { display: block; padding: 11px 14px; border-radius: 8px; font-weight: 700; font-size: .83rem; text-align: center; margin-bottom: 8px; transition: transform .12s; }
.nep-sidebar-cta:hover { transform: scale(1.02); }
.nep-cta-commercial { background: var(--nep-blue); color: #fff; }
.nep-cta-home       { background: var(--nep-orange); color: #fff; }
.nep-powered-by { font-size: .72rem; color: var(--nep-muted); text-align: center; margin: 8px 0 0; }
.nep-powered-by a { color: var(--nep-blue); }

/* Info box */
.nep-info-box { font-size: .83rem; color: var(--nep-muted); }
.nep-info-box p { line-height: 1.55; margin: 0 0 8px; }

/* Bottom CTA Bar */
.nep-bottom-cta-bar {
  background: var(--nep-dark);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 14px 24px;
  border-radius: 0 0 var(--nep-radius-lg) var(--nep-radius-lg);
  font-size: .83rem;
  margin-top: 24px;
}
.nep-bottom-cta-bar a { color: var(--nep-yellow); font-weight: 600; margin: 0 6px; }
.nep-bottom-cta-bar a:hover { text-decoration: underline; }

/* ─── LANDING GRID ─────────────────────────────────────── */
.nep-section-head { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin: 0 0 18px; }
.nep-article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.nep-article-card { background: var(--nep-white); border: 1px solid var(--nep-border); border-radius: var(--nep-radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.nep-article-card:hover { box-shadow: var(--nep-shadow); transform: translateY(-3px); }
.nep-card-image img { width: 100%; height: 170px; object-fit: cover; }
.nep-card-body { padding: 16px; }
.nep-state-chip { display: inline-block; background: var(--nep-blue); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 10px; border-radius: 10px; margin-bottom: 8px; }
.nep-card-title { font-family: var(--font-serif); font-size: .98rem; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }
.nep-card-title a { color: var(--nep-text); }
.nep-card-title a:hover { color: var(--nep-blue); }
.nep-card-provider { font-size: .74rem; color: var(--nep-muted); margin: 0 0 8px; }
.nep-card-excerpt  { font-size: .8rem; color: var(--nep-muted); margin: 0 0 10px; line-height: 1.5; }
.nep-card-links { display: flex; gap: 8px; }
.nep-read-more  { font-size: .8rem; font-weight: 600; color: var(--nep-blue); }
.nep-source-link { font-size: .8rem; color: var(--nep-muted); }

.nep-empty-state { text-align: center; padding: 60px 20px; background: var(--nep-light); border-radius: var(--nep-radius); }
.nep-empty-icon { font-size: 3rem; }
.nep-empty-state h3 { font-size: 1.2rem; color: var(--nep-text); }
.nep-empty-state p  { color: var(--nep-muted); }

/* ─── FOOTER COMPARE ───────────────────────────────────── */
.nep-footer-compare {
  background: linear-gradient(135deg, #071225, #0A2A5E);
  color: #fff;
  text-align: center;
  padding: 48px 32px;
  margin-top: 0;
}
.nep-footer-compare h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: 0 0 10px; }
.nep-footer-compare > p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto 28px; line-height: 1.6; }
.nep-footer-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.nep-footer-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 12px;
  font-weight: 700;
  min-width: 280px;
  text-align: left;
  transition: transform .15s;
}
.nep-footer-btn:hover { transform: translateY(-3px); }
.nep-footer-btn strong { display: block; font-size: 1rem; }
.nep-footer-btn span { display: block; font-size: .78rem; opacity: .8; font-weight: 400; margin-top: 2px; }
.nep-footer-commercial { background: var(--nep-yellow); color: var(--nep-dark); }
.nep-footer-home       { background: var(--nep-orange); color: #fff; }
.nep-footer-attr { font-size: .8rem; color: rgba(255,255,255,.45); }
.nep-footer-attr a { color: var(--nep-cyan); }

/* ─── POST CTAs ─────────────────────────────────────────── */
.nep-post-ctas { margin-top: 32px; border-top: 2px solid var(--nep-border); padding-top: 28px; }
.nep-read-original { background: var(--nep-light); border-radius: 8px; padding: 14px 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.nep-orig-link { color: var(--nep-blue); font-weight: 600; }
.nep-compare-cta-block { background: linear-gradient(135deg, #EFF6FF, #DCEEFF); border: 1px solid #C0DAFF; border-radius: var(--nep-radius-lg); padding: 28px; margin-bottom: 18px; }
.nep-cta-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--nep-text); margin: 0 0 8px; }
.nep-cta-subtext { color: var(--nep-muted); font-size: .88rem; margin: 0 0 20px; line-height: 1.6; }
.nep-cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.nep-cta-big {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.nep-cta-big:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.nep-cta-commercial { background: var(--nep-blue); color: #fff; }
.nep-cta-home       { background: var(--nep-orange); color: #fff; }
.nep-cta-icon  { font-size: 1.8rem; flex-shrink: 0; }
.nep-cta-text strong { display: block; font-size: 1rem; }
.nep-cta-text em     { display: block; font-size: .78rem; font-style: normal; opacity: .8; margin-top: 2px; }
.nep-cta-arrow { margin-left: auto; font-size: 1.4rem; opacity: .7; }
.nep-cta-powered { font-size: .75rem; color: var(--nep-muted); margin: 14px 0 0; text-align: center; }
.nep-cta-powered a { color: var(--nep-blue); }
.nep-back-to-state { text-align: center; }
.nep-back-to-state a { color: var(--nep-blue); font-size: .88rem; }
.nep-disclaimer { background: var(--nep-light); border-radius: 8px; padding: 12px 16px; font-size: .78rem; color: var(--nep-muted); line-height: 1.5; }
.nep-source-note { background: #f0f4ff; border-left: 3px solid var(--nep-blue); padding: 10px 14px; font-size: .85rem; }
.nep-state-badge { display: inline-block; background: var(--nep-yellow); color: var(--nep-dark); font-weight: 700; font-size: .8rem; padding: 4px 14px; border-radius: 20px; margin: 12px 0; }
.nep-lead { font-family: var(--font-serif); font-size: 1.05rem; color: var(--nep-text); line-height: 1.7; border-left: 4px solid var(--nep-yellow); padding-left: 16px; margin-bottom: 20px; }
.nep-article-body h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--nep-text); margin: 24px 0 10px; }
.nep-cta-btn { display: block; padding: 14px 20px; border-radius: 8px; font-weight: 700; text-align: center; margin-bottom: 10px; font-size: .9rem; }
.nep-cta-commercial.nep-cta-btn { background: var(--nep-blue); color: #fff; }
.nep-cta-home.nep-cta-btn { background: var(--nep-orange); color: #fff; }
.nep-cta-block { margin: 16px 0; }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .nep-state-body { grid-template-columns: 1fr; }
  .nep-article-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .nep-hero-title { font-size: 2.4rem; }
  .nep-hero { padding: 40px 20px; }
  #nep-state-content { padding: 20px 16px; }
  .nep-article-grid { grid-template-columns: 1fr; }
  .nep-state-header { padding: 18px 20px; flex-direction: column; align-items: flex-start; }
  .nep-footer-btns { flex-direction: column; align-items: center; }
  .nep-footer-btn  { min-width: 0; width: 100%; max-width: 360px; }
  .nep-news-thumb  { width: 80px; height: 60px; }
}
