/* === FRANJA CIUDADANA EN VIVO: ELCHE AHORA MISMO (ALTO CONTRASTE + CLS 0) === */
.esm-live-wrap {
  margin: 0 0 2.1rem;
  background: transparent !important;
}

.esm-live-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  padding: 1.15rem 1.25rem 1.25rem !important;
  box-shadow: 0 14px 34px -10px rgba(9, 17, 31, 0.09) !important;
}

.esm-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid #e2e8f0;
}

.esm-live-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.esm-live-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #166534 !important;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.esm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: esmPulseLive 2s infinite;
}

@keyframes esmPulseLive {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.65); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.esm-live-head h2 {
  margin: 0 !important;
  font-size: 1.16rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
  color: #09111f !important;
}

.esm-live-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569 !important;
}

.esm-weather-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  background: #f0f9ff !important;
  border: 1px solid #bae6fd !important;
  color: #0369a1 !important;
  font-size: 0.79rem;
  font-weight: 800;
}

.esm-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.esm-live-card {
  background: #ffffff !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 15px !important;
  padding: 0.95rem 1.05rem !important;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.esm-live-card:hover {
  border-color: #99f6e4 !important;
  box-shadow: 0 10px 24px -8px rgba(9, 17, 31, 0.09) !important;
}

.esm-lc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.esm-lc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.esm-lc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.esm-lc-icon svg { width: 18px; height: 18px; }
.esm-lc-icon.ic-ph { background: #ecfdf5 !important; color: #059669 !important; }
.esm-lc-icon.ic-tr { background: #e0f2fe !important; color: #0284c7 !important; }
.esm-lc-icon.ic-cu { background: #f3e8ff !important; color: #7c3aed !important; }

.esm-lc-heading {
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 850 !important;
  color: #09111f !important;
  line-height: 1.2 !important;
}

.esm-lc-status {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  white-space: nowrap;
}
.esm-lc-status.st-ok { background: #dcfce7 !important; color: #166534 !important; }
.esm-lc-status.st-info { background: #e0f2fe !important; color: #075985 !important; }
.esm-lc-status.st-warn { background: #fef3c7 !important; color: #92400e !important; }
.esm-lc-status.st-purple { background: #f3e8ff !important; color: #6b21a8 !important; }

.esm-lc-list {
  list-style: none !important;
  margin: 0 0 0.75rem 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.esm-lc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.38rem 0.52rem;
  background: #f8fafc !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 9px;
  font-size: 0.81rem;
  color: #1e293b !important;
}

.esm-lc-row strong {
  color: #09111f !important;
  font-weight: 780;
}

.esm-lc-row small {
  color: #52637a !important;
  font-size: 0.73rem;
}

.esm-lc-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.08rem 0.42rem;
  border-radius: 6px;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.esm-lc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #e2e8f0;
}

.esm-lc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0b6e66 !important;
  text-decoration: none !important;
}
.esm-lc-cta:hover {
  color: #064e49 !important;
  text-decoration: underline !important;
}

@media (max-width: 1040px) {
  .esm-live-grid {
    grid-template-columns: 1fr;
  }
  .esm-live-card {
    min-height: auto;
  }
}

/* === ALINEACION SIMETRICA 3x3 (ALTURA UNIFORME EN LAS 3 COLUMNAS) === */
.esm-lc-row {
  align-items: center !important;
  padding: 0.42rem 0.58rem !important;
}
.esm-lc-row-main {
  min-width: 0;
  flex: 1;
}
.esm-lc-row-title {
  display: block;
  font-size: 0.81rem;
  font-weight: 780;
  color: #09111f !important;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
}
a.esm-lc-row-title:hover {
  color: #0b6e66 !important;
  text-decoration: underline !important;
}
.esm-lc-row-sub {
  display: block;
  font-size: 0.72rem;
  color: #52637a !important;
  line-height: 1.25;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
