/*
Theme Name:   eMobility Spark
Theme URI:    https://emobility-news.gr
Description:  Electric Blue Light theme — clean white + electric blue. Child theme for eMobility News on GeneratePress.
Author:       eMobility News
Template:     generatepress
Version:      2.0.0
Text Domain:  emobility-spark
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --em-blue:        #0057FF;
  --em-blue-dk:     #0040CC;
  --em-blue-lt:     #EEF3FF;
  --em-blue-mid:    #C4D4FF;
  --em-teal:        #00B4A6;
  --em-teal-lt:     #E0F7F5;
  --em-orange:      #FF5C00;
  --em-orange-lt:   #FFF0E8;
  --em-green:       #00A651;
  --em-green-lt:    #E6F7ED;
  --em-red:         #E8002D;
  --em-red-lt:      #FFEBEE;

  --em-white:       #FFFFFF;
  --em-bg:          #F5F6FA;
  --em-bg-2:        #ECEEF5;
  --em-surface:     #FFFFFF;
  --em-border:      #E2E5EF;
  --em-border-dark: #C8CCDB;

  --em-text:        #0A0E1A;
  --em-text-2:      #3D4260;
  --em-text-3:      #7B80A0;
  --em-text-4:      #A8ADBD;

  --em-serif:       'Playfair Display', Georgia, serif;
  --em-sans:        'DM Sans', system-ui, sans-serif;
  --em-mono:        'JetBrains Mono', monospace;

  --em-radius:      6px;
  --em-radius-lg:   12px;
  --em-radius-xl:   18px;
  --em-shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --em-shadow:      0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --em-shadow-lg:   0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--em-sans);
  background: var(--em-bg);
  color: var(--em-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--em-blue);
  text-decoration: none;
  transition: color .15s, opacity .15s;
}
a:hover { color: var(--em-blue-dk); }

h1, h2, h3, h4, h5 {
  font-family: var(--em-serif);
  color: var(--em-text);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(26px, 4vw, 44px); }
h2 { font-size: clamp(20px, 3vw, 30px); }
h3 { font-size: clamp(16px, 2vw, 21px); }

p { margin: 0 0 1.2em; }

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.em-cat {
  display: inline-block;
  font-family: var(--em-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.em-cat-blue   { background: var(--em-blue-lt);   color: var(--em-blue);   border: 1px solid var(--em-blue-mid); }
.em-cat-teal   { background: var(--em-teal-lt);   color: var(--em-teal);   border: 1px solid rgba(0,180,166,.25); }
.em-cat-orange { background: var(--em-orange-lt); color: var(--em-orange); border: 1px solid rgba(255,92,0,.2); }
.em-cat-green  { background: var(--em-green-lt);  color: var(--em-green);  border: 1px solid rgba(0,166,81,.2); }
.em-cat-red    { background: var(--em-red-lt);    color: var(--em-red);    border: 1px solid rgba(232,0,45,.15); }

.cat-ochimata, .cat-vehicles     { background: var(--em-blue-lt);   color: var(--em-blue);   border: 1px solid var(--em-blue-mid); }
.cat-fortisi,  .cat-charging     { background: var(--em-teal-lt);   color: var(--em-teal);   border: 1px solid rgba(0,180,166,.25); }
.cat-nomothesia                  { background: rgba(155,92,246,.08); color: #6B21D4;          border: 1px solid rgba(155,92,246,.2); }
.cat-energeia, .cat-energy       { background: var(--em-green-lt);  color: var(--em-green);  border: 1px solid rgba(0,166,81,.2); }
.cat-epikairotita, .cat-news     { background: var(--em-orange-lt); color: var(--em-orange); border: 1px solid rgba(255,92,0,.2); }

/* ============================================================
   GRADIENT ACCENT BAR
   ============================================================ */
#em-gradient-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--em-blue), var(--em-teal), var(--em-orange));
}

/* ============================================================
   TOP INFO BAR
   ============================================================ */
#em-topbar {
  background: var(--em-white);
  border-bottom: 1px solid var(--em-border);
  padding: 7px 0;
  font-size: 11px;
}
#em-topbar .em-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#em-topbar .em-date { color: var(--em-text-3); }
#em-topbar .em-social a {
  color: var(--em-text-3);
  margin-left: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .15s;
}
#em-topbar .em-social a:hover { color: var(--em-blue); }

/* ============================================================
   BREAKING NEWS TICKER
   ============================================================ */
#em-breaking {
  background: var(--em-blue);
  display: flex;
  align-items: center;
  height: 34px;
  overflow: hidden;
}
#em-breaking .em-breaking-label {
  background: var(--em-text);
  color: var(--em-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}
#em-breaking .em-ticker-wrap { overflow: hidden; flex: 1; height: 100%; }
#em-breaking .em-ticker {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: em-ticker 40s linear infinite;
}
#em-breaking .em-ticker a {
  color: var(--em-white);
  font-size: 12px;
  font-weight: 500;
  padding: 0 28px;
}
#em-breaking .em-ticker a:hover { opacity: .8; }
#em-breaking .em-ticker-sep { color: rgba(255,255,255,.4); font-size: 16px; }
@keyframes em-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   HEADER & NAV
   ============================================================ */
#em-header {
  background: var(--em-white);
  border-bottom: 1px solid var(--em-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--em-shadow-sm);
}
#em-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}

/* Logo */
#em-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
#em-logo .em-logo-bolt {
  width: 32px;
  height: 32px;
  background: var(--em-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#em-logo .em-logo-bolt svg { width: 15px; height: 19px; }
#em-logo .em-logo-title {
  font-family: var(--em-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--em-text);
  display: block;
  letter-spacing: -.3px;
}
#em-logo .em-logo-title span { color: var(--em-blue); }
#em-logo .em-logo-sub {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--em-text-3);
  display: block;
  margin-top: 1px;
}

/* Nav */
#em-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
#em-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--em-text-2);
  padding: 6px 13px;
  border-radius: var(--em-radius);
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
#em-nav a:hover { color: var(--em-blue); background: var(--em-blue-lt); }
#em-nav a.current { color: var(--em-blue); background: var(--em-blue-lt); }

/* Search */
#em-search-btn {
  background: var(--em-bg);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 7px 14px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--em-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
  flex-shrink: 0;
}
#em-search-btn:hover { border-color: var(--em-blue); color: var(--em-blue); }

#em-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--em-white);
  border-bottom: 1px solid var(--em-border);
  box-shadow: var(--em-shadow);
  padding: 20px 24px;
}
#em-search-overlay.active { display: block; }
#em-search-overlay input {
  width: 100%;
  background: var(--em-bg);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  color: var(--em-text);
  padding: 12px 16px;
  font-size: 15px;
}
#em-search-overlay input:focus { outline: none; border-color: var(--em-blue); }

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
#em-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HERO
   ============================================================ */
#em-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1px;
  background: var(--em-border);
  margin: 0 -24px 32px;
  border-bottom: 1px solid var(--em-border);
}
.em-hero-main {
  position: relative;
  overflow: hidden;
  background: var(--em-bg-2);
  min-height: 440px;
}
.em-hero-main .em-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.em-hero-main:hover .em-hero-img { transform: scale(1.03); }
.em-hero-main .em-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(10,14,26,.88) 0%, rgba(10,14,26,.4) 60%, transparent 100%);
}
.em-hero-main h2 {
  color: #fff;
  font-size: clamp(20px, 2.5vw, 32px);
  margin: 6px 0 10px;
  line-height: 1.15;
}
.em-hero-main h2 a { color: inherit; text-decoration: none; }
.em-hero-main .em-hero-meta {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.em-hero-main .em-hero-meta::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--em-blue);
}

/* Blue badge */
.em-blue-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--em-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* Hero side */
.em-hero-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--em-border);
}
.em-hero-side-item {
  background: var(--em-white);
  flex: 1;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid transparent;
  transition: all .15s;
}
.em-hero-side-item:hover {
  background: var(--em-blue-lt);
  border-left-color: var(--em-blue);
}
.em-hero-side-item h4 {
  font-size: 15px;
  line-height: 1.3;
  margin: 5px 0 5px;
  color: var(--em-text);
}
.em-hero-side-item h4 a { color: inherit; text-decoration: none; }
.em-hero-side-item h4 a:hover { color: var(--em-blue); }
.em-hero-side-item .em-date { font-size: 11px; color: var(--em-text-3); }

/* ============================================================
   SECTION LABEL
   ============================================================ */
.em-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.em-section-label .em-label-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--em-blue);
  flex-shrink: 0;
}
.em-section-label h3 {
  font-family: var(--em-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--em-blue);
  margin: 0;
}
.em-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--em-border);
}

/* ============================================================
   CARD GRID
   ============================================================ */
.em-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.em-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.em-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.em-card {
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--em-shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.em-card:hover {
  border-color: var(--em-blue-mid);
  box-shadow: var(--em-shadow);
  transform: translateY(-2px);
}
.em-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--em-bg-2);
}
.em-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.em-card:hover .em-card-img img { transform: scale(1.04); }
.em-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.em-card-body h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 5px 0 8px;
  flex: 1;
  color: var(--em-text);
}
.em-card-body h3 a { color: inherit; text-decoration: none; }
.em-card-body h3 a:hover { color: var(--em-blue); }
.em-card-excerpt {
  font-size: 13px;
  color: var(--em-text-3);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.em-card-meta {
  font-size: 11px;
  color: var(--em-text-4);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* List card */
.em-list-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--em-border);
  align-items: center;
  transition: padding-left .15s;
}
.em-list-card:last-child { border-bottom: none; }
.em-list-card:hover { padding-left: 4px; }
.em-list-card-img {
  width: 88px;
  height: 62px;
  border-radius: var(--em-radius);
  overflow: hidden;
  background: var(--em-bg-2);
}
.em-list-card-img img { width: 100%; height: 100%; object-fit: cover; }
.em-list-card h4 { font-size: 13px; line-height: 1.32; margin: 4px 0 5px; color: var(--em-text); }
.em-list-card h4 a { color: inherit; text-decoration: none; }
.em-list-card h4 a:hover { color: var(--em-blue); }
.em-list-card .em-date { font-size: 11px; color: var(--em-text-4); }

/* ============================================================
   2-COL LAYOUT
   ============================================================ */
#em-content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin: 28px 0;
}

/* Sidebar */
.em-sidebar-widget { margin-bottom: 32px; }

.em-ad-zone {
  background: var(--em-bg-2);
  border: 1px dashed var(--em-border-dark);
  border-radius: var(--em-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  font-size: 11px;
  color: var(--em-text-4);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
.em-single-header { margin-bottom: 24px; }
.em-single-header h1 { margin: 8px 0 14px; color: var(--em-text); }
.em-single-meta {
  font-size: 12px;
  color: var(--em-text-3);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--em-border);
}
.em-single-featured {
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--em-radius-lg);
  margin-bottom: 28px;
  border: 1px solid var(--em-border);
}
.em-single-featured img { width: 100%; height: 100%; object-fit: cover; }

.em-entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--em-text-2);
  max-width: 720px;
}
.em-entry-content p { margin-bottom: 1.4em; color: var(--em-text-2); }
.em-entry-content h2 { font-size: 26px; margin: 2em 0 .7em; color: var(--em-text); }
.em-entry-content h3 { font-size: 21px; margin: 1.8em 0 .6em; color: var(--em-text); }
.em-entry-content a { color: var(--em-blue); text-decoration: underline; text-underline-offset: 3px; }
.em-entry-content a:hover { color: var(--em-blue-dk); }
.em-entry-content ul, .em-entry-content ol { padding-left: 24px; margin-bottom: 1.4em; }
.em-entry-content li { margin-bottom: .5em; color: var(--em-text-2); }
.em-entry-content blockquote {
  border-left: 3px solid var(--em-blue);
  padding: 4px 0 4px 20px;
  margin: 2em 0;
  font-family: var(--em-serif);
  font-size: 21px;
  font-style: italic;
  color: var(--em-text-3);
  background: var(--em-blue-lt);
  border-radius: 0 var(--em-radius) var(--em-radius) 0;
}
.em-entry-content strong { color: var(--em-text); font-weight: 600; }

.em-inline-ad {
  background: var(--em-bg-2);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  padding: 20px;
  text-align: center;
  margin: 28px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--em-text-4);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.em-btn {
  padding: 10px 20px;
  border-radius: var(--em-radius);
  background: var(--em-blue);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  display: inline-block;
}
.em-btn:hover { background: var(--em-blue-dk); color: #fff; transform: translateY(-1px); }

.em-btn-outline {
  padding: 9px 18px;
  border-radius: var(--em-radius);
  background: transparent;
  color: var(--em-blue);
  border: 1px solid var(--em-blue-mid);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  display: inline-block;
}
.em-btn-outline:hover { background: var(--em-blue-lt); }

/* ============================================================
   LOAD MORE
   ============================================================ */
#em-load-more { text-align: center; margin: 36px 0; }
#em-load-more button {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--em-white);
  border: 1px solid var(--em-border-dark);
  color: var(--em-text-2);
  padding: 12px 32px;
  border-radius: var(--em-radius);
  cursor: pointer;
  transition: all .2s;
  box-shadow: var(--em-shadow-sm);
}
#em-load-more button:hover { background: var(--em-blue); color: #fff; border-color: var(--em-blue); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.em-newsletter-box {
  background: var(--em-blue-lt);
  border: 1px solid var(--em-blue-mid);
  border-radius: var(--em-radius-lg);
  padding: 20px;
}
.em-newsletter-box p { font-size: 13px; color: var(--em-text-2); margin-bottom: 12px; }
.em-newsletter-box input[type="email"] {
  width: 100%;
  background: var(--em-white);
  border: 1px solid var(--em-border);
  border-radius: var(--em-radius);
  color: var(--em-text);
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 8px;
}
.em-newsletter-box input[type="email"]:focus { outline: none; border-color: var(--em-blue); }
.em-newsletter-box button {
  width: 100%;
  background: var(--em-blue);
  color: #fff;
  border: none;
  border-radius: var(--em-radius);
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.em-newsletter-box button:hover { background: var(--em-blue-dk); }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#em-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--em-blue), var(--em-teal));
  z-index: 9999;
  transition: width .1s linear;
}

/* ============================================================
   FOOTER
   ============================================================ */
#em-footer {
  background: var(--em-text);
  margin-top: 56px;
}
#em-footer-top {
  height: 3px;
  background: linear-gradient(90deg, var(--em-blue), var(--em-teal), var(--em-orange));
}
#em-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.em-footer-logo-title { font-family: var(--em-serif); font-size: 18px; font-weight: 700; color: #fff; }
.em-footer-logo-title span { color: var(--em-blue); }
.em-footer-tagline { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; margin-top: 12px; }
.em-footer-col h5 {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin: 0 0 14px;
}
.em-footer-col ul { list-style: none; padding: 0; margin: 0; }
.em-footer-col ul li { margin-bottom: 8px; }
.em-footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .15s; }
.em-footer-col ul li a:hover { color: var(--em-blue); }
#em-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#em-footer-bottom p { font-size: 11px; color: rgba(255,255,255,.3); margin: 0; }
#em-footer-bottom a { color: var(--em-blue); }

.em-footer-social { display: flex; gap: 8px; margin-top: 14px; }
.em-footer-social a {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: 5px 10px;
  transition: all .15s;
  text-decoration: none;
}
.em-footer-social a:hover { color: var(--em-blue); border-color: rgba(0,87,255,.4); }

/* Source attribution */
.em-source-attr {
  font-size: 12px;
  color: var(--em-text-3);
  border-top: 1px solid var(--em-border);
  padding-top: 14px;
  margin-top: 32px;
}

/* ============================================================
   SPONSORED
   ============================================================ */
.em-sponsored-card {
  background: var(--em-blue-lt);
  border: 1px solid var(--em-blue-mid);
  border-radius: var(--em-radius-lg);
  padding: 16px;
}
.em-sponsored-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--em-blue);
  margin-bottom: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  #em-hero { grid-template-columns: 1fr; }
  .em-hero-side { display: grid; grid-template-columns: 1fr 1fr; }
  .em-grid { grid-template-columns: repeat(2, 1fr); }
  #em-content-area { grid-template-columns: 1fr; }
  #em-footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  #em-nav { display: none; }
  #em-main { padding: 0 16px; }
  .em-grid { grid-template-columns: 1fr; }
  .em-grid-4 { grid-template-columns: 1fr 1fr; }
  .em-hero-side { grid-template-columns: 1fr; }
  .em-hero-main { min-height: 300px; }
  #em-footer-main { grid-template-columns: 1fr; padding: 28px 16px; }
}

/* DEI Ad Banners */
.em-ad-zone { background: transparent !important; border: none !important; padding: 0 !important; }

/* Fix ad banner display */
.em-ad-zone img, #em-sidebar img, #em-sidebar a img {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force ad images to display */
#em-sidebar img { display:block !important; max-width:100% !important; height:auto !important; visibility:visible !important; opacity:1 !important; }
