/* ==========================================================================
   DatumPeru.pe - Poll Component & Realtime Voting Styles (poll.css)
   ========================================================================== */

#poll {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

#poll h2 {
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 5px solid #fbbf24;
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(6, 78, 59, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

#poll h2::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

#poll h2 i {
  color: #fbbf24 !important;
  font-size: 19px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.pl-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 200px;
}

/* Loading Spinner Overlay */
.pl-content.load::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  z-index: 10;
  border-radius: var(--radius-sm);
}

.pl-content .ld-txt {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Estadísticas de Encuesta */
.pl-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.pl-votes {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pl-votes i {
  color: var(--primary);
}

.pl-btn button,
.pl-btn a {
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.pl-btn button:hover,
.pl-btn a:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.pl-msj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 2px;
}

/* ==========================================================================
   Modo Votación y Resultados con Filas Contiguas y Líneas Borde a Borde
   ========================================================================== */

.pl-options {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-top: 10px;
  margin-bottom: 14px;
}

.pl-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1.5px solid #cbd5e1 !important;
  transition: background 0.15s ease;
  background: #ffffff;
}

.pl-option:last-child {
  border-bottom: none !important;
}

.pl-option:nth-child(even) {
  background: #f8fafc;
}

.pl-option:hover {
  background: #f0f7ff !important;
}

/* ==========================================================================
   Banner / Botón para Reportar / Corregir Candidaturas
   ========================================================================== */
.poll-report-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff5f5;
  border: 1.5px solid #fecaca;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.04);
}

.poll-report-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.report-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid #fca5a5;
}

.report-title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 2px;
}

.report-subtitle {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.btn-report-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid #b91c1c;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.28);
}

.btn-report-action:hover {
  background: #b91c1c;
  color: #ffffff;
  border-color: #991b1b;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.4);
  transform: translateY(-1px);
}

.pl-data {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.pl-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pl-img.p2 {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: none;
  background: #ffffff;
}

.pl-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pl-name h3.c {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  line-height: 1.25;
}

.pl-name span.p {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.pl-option .send-vote {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pl-option .send-vote:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==========================================================================
   Modo Resultados: Barras Animadas y Medallas
   ========================================================================== */

#poll.result .pl-option {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 18px 18px 46px;
  overflow: hidden;
  gap: 10px;
}

#poll.result .pl-position {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 32px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-right-radius: 8px;
}

#poll.result .pl-position.top.rank-1 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

#poll.result .pl-position.top.rank-2 {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
  color: #ffffff;
}

#poll.result .pl-position.top.rank-3 {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff;
}

#poll.result .pl-option.winner {
  border-color: #93c5fd;
  background: #f0f7ff;
}

#poll.result .pl-porcentage {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}

#poll.result .pl-count {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

#poll.result .total {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

#poll.result .br {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

#poll.result .br .pr {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 6px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#poll.result .pl-option.winner .br .pr {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* Sidebar Poll */
.sidebar-area #poll {
  padding: 16px;
}

.sidebar-area .pl-img {
  width: 42px;
  height: 42px;
}

.sidebar-area .pl-img.p2 {
  width: 28px;
  height: 28px;
}

.sidebar-area .pl-name h3 {
  font-size: 13.5px;
}

/* ==========================================================================
   Votante Identificado y Resaltado de Candidato Votado
   ========================================================================== */
.pl-option.my-voted-option {
  border: 2px solid #059669 !important;
  background: #f0fdf4 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12) !important;
}

.my-voted-badge {
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2);
}

.voted-candidate-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0 6px 0;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.voted-candidate-preview img.cand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #059669;
}

.voted-candidate-preview img.party-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.voted-candidate-preview .cand-info {
  flex: 1;
  overflow: hidden;
}

.voted-candidate-preview .cand-info strong {
  display: block;
  font-size: 14px;
  color: #064e3b;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voted-candidate-preview .cand-info span {
  display: block;
  font-size: 11.5px;
  color: #047857;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Hero Banner Panorámico de Alto Impacto para Región / Provincia / Distrito
   ========================================================================== */
.poll-hero-card {
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 24px rgba(11, 25, 44, 0.07) !important;
  background: #ffffff !important;
  margin-bottom: 24px !important;
}

.poll-hero-banner {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #0b192c;
}

.poll-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.poll-hero-card:hover .poll-hero-img {
  transform: scale(1.03);
}

.poll-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0.35) 0%, rgba(11, 25, 44, 0.65) 45%, rgba(11, 25, 44, 0.95) 100%);
  pointer-events: none;
}

.poll-hero-header-content {
  position: absolute;
  inset: 0;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.poll-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-tag i {
  color: #60a5fa;
}

.hero-tag.highlight {
  background: rgba(0, 118, 255, 0.35);
  border-color: rgba(96, 165, 250, 0.6);
  color: #ffffff;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.6);
  color: #a7f3d0;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.poll-hero-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.22 !important;
  margin: 0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  letter-spacing: -0.4px !important;
}

.poll-hero-body {
  padding: 24px 28px 28px 28px;
  background: #ffffff;
}

.poll-hero-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.poll-meta-strip {
  display: block;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.meta-pills-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.meta-pill.ronda {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.meta-pill.abierta {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.meta-pill.cierre {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.meta-pill.live-clock {
  background: #0f172a;
  color: #f8fafc;
  font-family: inherit;
  font-size: 12px;
  border: 1px solid #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Tags row base styles */
.poll-tags-single-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-tag {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hero-tag.highlight {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.hero-live-pill {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  white-space: nowrap;
}

.poll-main-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 10px 0 0 0;
  line-height: 1.35;
  background: linear-gradient(135deg, #0a192f 0%, #1e40af 55%, #2563eb 100%);
  padding: 14px 20px;
  border-radius: 10px;
  border-left: 5px solid #f59e0b;
  box-shadow: 0 4px 16px rgba(10, 25, 47, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.poll-main-hero-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

/* Debate Section Custom Header */
.debate-header-box {
  margin-bottom: 20px;
}

.debate-header-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 50%, #4f46e5 100%);
  padding: 14px 20px;
  border-radius: 10px;
  border-left: 5px solid #38bdf8;
  box-shadow: 0 4px 16px rgba(30, 27, 75, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.debate-header-title-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.debate-main-heading {
  font-size: 16.5px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.debate-main-heading i {
  color: #38bdf8 !important;
  font-size: 18px !important;
}

.debate-counter-badge {
  font-size: 11.5px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  padding: 2px 9px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
}

.debate-moderation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.debate-lead-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 10px 0 0 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .poll-hero-card {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 12px !important;
  }
  .poll-infographic-banner {
    border-radius: 0 !important;
  }
  .poll-infographic-banner img {
    border-radius: 0 !important;
  }
  .poll-hero-header-box {
    padding: 12px 14px 10px !important;
  }
  .poll-tags-single-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-bottom: 8px !important;
  }
  .hero-tag {
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
  }
  .hero-live-pill {
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
  }
  .poll-main-hero-title {
    font-size: 15px !important;
    padding: 10px 14px !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
  }
  .poll-hero-body {
    padding: 12px 14px 16px !important;
  }
  .poll-hero-desc {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
  }
  .poll-meta-strip {
    display: block !important;
    width: 100% !important;
    padding-top: 10px !important;
  }
  .meta-pills-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .meta-pill {
    font-size: 11px !important;
    padding: 7px 6px !important;
    border-radius: 6px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .meta-pill.live-clock {
    background: #0f172a !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    font-family: inherit !important;
    font-size: 10.5px !important;
    padding: 7px 4px !important;
    display: inline-flex !important;
    width: 100% !important;
    box-shadow: none !important;
  }
  
  /* Report error compact card */
  .poll-report-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px !important;
    margin-top: 14px !important;
    border-radius: 8px !important;
    text-align: center !important;
  }
  .poll-report-left {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    text-align: center !important;
  }
  .report-icon-box {
    margin: 0 auto !important;
  }
  .report-title {
    font-size: 13px !important;
    display: block !important;
  }
  .report-subtitle {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin: 3px 0 0 0 !important;
  }
  .btn-report-action {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
  }

  /* Share buttons compact 100% width */
  .share-section {
    margin-top: 14px !important;
    padding-top: 12px !important;
    text-align: center !important;
  }
  .share-title {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    display: block !important;
  }
  .share-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0 !important;
    list-style: none !important;
  }
  .share-buttons li {
    margin: 0 !important;
  }
  .share-buttons li:nth-child(1),
  .share-buttons li:nth-child(2) {
    flex: 1 1 calc(50% - 4px) !important;
  }
  .share-buttons li:nth-child(1) .share-btn,
  .share-buttons li:nth-child(2) .share-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
  .share-buttons li:nth-child(n+3) {
    flex: 1 1 calc(20% - 6px) !important;
    min-width: 38px !important;
  }
  .share-buttons li:nth-child(n+3) .share-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 8px 0 !important;
    font-size: 14px !important;
  }

  /* Debate section mobile optimization */
  .poll-debate-card,
  #debateSection {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    padding: 14px 12px !important;
    margin-top: 12px !important;
  }
  .debate-header-title-bar {
    padding: 10px 12px !important;
    gap: 8px !important;
    border-left-width: 4px !important;
  }
  .debate-main-heading {
    font-size: 13px !important;
    line-height: 1.35 !important;
    flex-wrap: wrap !important;
  }
  .debate-moderation-badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
  }
  .debate-form-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #formCitizenComment {
    padding: 14px 12px !important;
  }
  #btnSubmitComment {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px !important;
  }
  .citizen-comment-card {
    padding: 12px 12px !important;
    border-radius: 10px !important;
  }
  .comment-cand-badge-wrap {
    margin: 4px 0 8px 0 !important;
  }
  .comment-body-wrap {
    margin-left: 0 !important;
  }
  .comment-body-wrap p {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  /* Sidebar area margin on mobile */
  .sidebar-area {
    margin: 16px 12px 0 12px !important;
    width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }
  .sidebar-territory-directory {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .sidebar-card,
  .community-join-card,
  .directory-sidebar-card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  /* Hide observatorio and heavy clutter on mobile */
  .seo-content-section,
  .observatorio-info-card,
  .observatorio-box,
  .trust-seal-strip,
  .info-observatorio-block,
  .audited-methodology-card {
    display: none !important;
  }
}

