/* demokratian — ESPACIO · Votaciones listing
   Incluye: hero oscuro, KPIs, featured, archive, tabs, 1-vot y 2-vot layouts */

/* ═══════════════════════════════════════════════════════════════════
   HERO OSCURO (común a los 3 layouts)
   ═══════════════════════════════════════════════════════════════════ */
.vot-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(72px, 9vw, 130px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.vot-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--green) 22%, transparent), transparent 45%),
    radial-gradient(circle at 5% 95%, color-mix(in srgb, var(--green) 18%, transparent), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.vot-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}
.vot-hero .vh-mark {
  position: absolute;
  top: -10px;
  right: clamp(20px, 5vw, 80px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(220px, 30vw, 460px);
  line-height: 0.7;
  color: color-mix(in srgb, var(--green) 8%, transparent);
  pointer-events: none;
  z-index: -1;
}
.vot-hero .vh-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.vot-hero .vh-crumbs a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .15s;
}
.vot-hero .vh-crumbs a:hover { color: var(--green); }
.vot-hero .vh-crumbs .sep {
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,0.25);
  display: inline-block;
}
.vot-hero .vh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 45%, transparent);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.vot-hero .vh-eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 70%, transparent);
  animation: votPulse 1.8s infinite;
}
.vot-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 120px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0 0 24px;
  max-width: 16ch;
  color: #fff;
}
.vot-hero h1 em {
  font-style: italic;
  color: var(--green);
}
.vot-hero .vh-deck {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin: 0 0 40px;
}
.vot-hero.has-image { background: var(--ink); }
.vot-hero.has-image::before {
  background: var(--hero-img) center 35% / cover no-repeat;
  filter: saturate(0.9);
}
.vot-hero.has-image::after {
  --hero-shade: color-mix(in srgb, var(--ink) 50%, #000);
  background:
    linear-gradient(95deg, color-mix(in srgb, var(--hero-shade) 70%, transparent) 0%, color-mix(in srgb, var(--hero-shade) 50%, transparent) 38%, color-mix(in srgb, var(--hero-shade) 20%, transparent) 72%, color-mix(in srgb, var(--hero-shade) 8%, transparent) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--hero-shade) 45%, transparent), transparent 55%);
  mask-image: none;
}
.vot-hero.has-image .vh-mark { display: none; }

@keyframes votPulse {
  0% { box-shadow: 0 0 0 0 currentColor; }
  70% { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ═══════════════════════════════════════════════════════════════════
   KPIs del hero (layout 3+)
   ═══════════════════════════════════════════════════════════════════ */
.vots-hero-kpis {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.vots-hero-kpis .kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vots-hero-kpis .kpi .kp-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}
.vots-hero-kpis .kpi .kp-num em { font-style: italic; color: var(--green); }
.vots-hero-kpis .kpi .kp-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURED section (layout 3+)
   ═══════════════════════════════════════════════════════════════════ */
.vots-featured-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(56px, 7vw, 88px);
}
.vots-featured-section .vots-single-extra {
  margin-top: 0;
}
.vots-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.vots-section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--green);
}
.vots-section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 32px;
}
.vots-section-title em { font-style: italic; color: var(--green-display); }

.vots-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.vots-feat-main {
  background: var(--green-deep);
  color: #fff;
  border-radius: 24px;
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 460px;
  transition: transform .25s ease;
}
.vots-feat-main:hover { transform: translateY(-3px); }
.vots-feat-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,0.18), transparent 50%);
  z-index: -1;
}
.vots-feat-main .fm-mark {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(200px, 26vw, 360px);
  line-height: 0.7;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  z-index: -1;
}
.vots-feat-main .fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.vots-feat-main .fm-eyebrow .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: votPulse 1.8s infinite;
}
.vots-feat-main .fm-type {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 11px;
}
.vots-feat-main h3 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 22px;
  color: #fff;
}
.vots-feat-main h3 em {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 0.1em;
  text-decoration-thickness: 3px;
}
.vots-feat-main .fm-desc,
.vots-feat-main .fm-desc * {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85) !important;
  margin: 0 0 32px;
  max-width: 46ch;
}
.vots-feat-main .fm-desc * { margin: 0; }
.vots-feat-main .fm-desc p + p { margin-top: .6em; }
/* La imagen del resumen: sin flotar, a su ancho y con esquinas redondeadas */
.vots-feat-main .fm-desc img {
  float: none !important;
  display: block;
  max-width: 100%;
  height: auto !important;
  border-radius: 10px;
  margin: 0 0 14px;
}
.vots-feat-main .fm-meta {
  display: flex;
  gap: 36px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.vots-feat-main .fm-meta .mm-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.vots-feat-main .fm-meta .mm-value {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.015em;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.vots-feat-main .fm-meta .mm-value em { font-style: italic; }
.vots-feat-main .fm-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  align-self: flex-start;
  transition: all .2s;
}
.vots-feat-main:hover .fm-cta {
  background: var(--ink);
  color: #fff;
}

.vots-feat-side {
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  gap: 14px;
}
.vots-feat-side .fs-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vots-feat-side .fs-head::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--green);
}
.vots-feat-side .fs-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  flex: 1;
}
.vots-feat-side .fs-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  background: var(--green);
  border-radius: 0 3px 3px 0;
}
.vots-feat-side .fs-item.is-soon::before { background: #E2B441; }
.vots-feat-side .fs-item:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -18px rgba(20,30,18,0.2);
}
.vots-feat-side .fs-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vots-feat-side .fs-meta .pill {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green-deep);
  border: 1px solid var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vots-feat-side .fs-meta .pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.vots-feat-side .fs-meta .pill.soon { background: #FAF3DC; color: #8a6b1c; border-color: #E2B441; }
.vots-feat-side .fs-meta .pill.soon .dot { background: #E2B441; }
.vots-feat-side .fs-meta .sep { color: var(--line); }
.vots-feat-side .fs-meta .type { color: var(--slate); letter-spacing: 0.06em; }
.vots-feat-side .fs-item h4 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.vots-feat-side .fs-item:hover h4 { color: var(--green-deep); }
.vots-feat-side .fs-item .fs-when {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.vots-feat-side .fs-item .fs-when strong { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════════
   ARCHIVE section (layout 3+)
   ═══════════════════════════════════════════════════════════════════ */
.vots-archive-section {
  padding: clamp(56px, 7vw, 88px) 0 96px;
  background: var(--paper);
}
.vots-archive-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}
.vots-archive-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.vots-archive-tabs button {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}
.vots-archive-tabs button .ct {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--slate);
}
.vots-archive-tabs button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.vots-archive-tabs button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.vots-archive-tabs button.is-active .ct {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.vots-archive-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.vots-archive-row {
  display: grid;
  grid-template-columns: 130px 110px 1fr 180px auto;
  gap: 28px;
  align-items: center;
  padding: 26px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .25s ease, padding-left .25s ease;
  position: relative;
}
.vots-archive-row:hover {
  background: var(--green-mist);
  padding-left: 28px;
}
.vots-archive-row .ar-date {
  display: flex;
  flex-direction: column;
}
.vots-archive-row .ar-date .day {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.vots-archive-row .ar-date .mon {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 6px;
}
.vots-archive-row .ar-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  white-space: nowrap;
}
.vots-archive-row .ar-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.vots-archive-row.is-open .ar-pill {
  background: var(--green-mist);
  color: var(--green-deep);
  border-color: var(--green);
}
.vots-archive-row.is-open .ar-pill .dot {
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 70%, transparent);
  animation: votPulse 1.8s infinite;
}
.vots-archive-row.is-soon .ar-pill {
  background: #FAF3DC;
  color: #8a6b1c;
  border-color: #E2B441;
}
.vots-archive-row.is-soon .ar-pill .dot { background: #E2B441; }
.vots-archive-row .ar-body { min-width: 0; }
.vots-archive-row .ar-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vots-archive-row .ar-meta .type { color: var(--green-deep); }
.vots-archive-row .ar-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.vots-archive-row:hover .ar-title { color: var(--green-deep); }
.vots-archive-row .ar-result {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.05em;
  text-align: right;
}
.vots-archive-row .ar-result strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.vots-archive-row.is-open .ar-result strong,
.vots-archive-row.is-soon .ar-result strong { color: var(--green-deep); }
.vots-archive-row .ar-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all .25s ease;
}
.vots-archive-row:hover .ar-arrow {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  transform: rotate(-25deg);
}

/* Responsive 3+ layout */
@media (max-width: 1100px) {
  .vots-featured { grid-template-columns: 1fr; }
  .vots-feat-main { min-height: 380px; }
  .vots-archive-row {
    grid-template-columns: 100px 1fr auto;
    gap: 18px;
  }
  .vots-archive-row .ar-pill { grid-column: 1 / -1; justify-self: start; order: -1; }
  .vots-archive-row .ar-result { display: none; }
}
@media (max-width: 720px) {
  .vot-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .vots-hero-kpis { gap: 24px; }
  .vots-archive-row {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }
  .vots-archive-row .ar-arrow { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   SHARED: section + head + extra tiles (1 y 2 votaciones)
   ═══════════════════════════════════════════════════════════════════ */
.vots-single-section {
  padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
}
.vots-single-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.vots-single-head {
  margin-bottom: 40px;
}
.vots-single-head .vh-eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 22px;
}
.vots-single-head .vh-eyebrow-line a {
  color: var(--slate);
  text-decoration: none;
}
.vots-single-head .vh-eyebrow-line a:hover { color: var(--green-deep); }
.vots-single-head .vh-eyebrow-line .sep {
  width: 22px;
  height: 1.5px;
  background: var(--line);
  display: inline-block;
}
.vots-single-head h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  max-width: 22ch;
}
.vots-single-head h1 em { font-style: italic; color: var(--green-display); }
.vots-single-head .vh-deck {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--slate);
  line-height: 1.55;
  max-width: 60ch;
}

/* Tiles de apoyo */
.vots-single-extra {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vse-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vse-tile .vt-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-mist);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.vse-tile h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.vse-tile p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.vse-tile a.vt-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vse-tile a.vt-link::after {
  content: "\2192";
  transition: transform .2s;
}
.vse-tile a.vt-link:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT 1 VOTACIÓN — card protagonista
   ═══════════════════════════════════════════════════════════════════ */
.vots-single-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--green-deep);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  transition: transform .25s ease;
}
.vots-single-card:hover { transform: translateY(-3px); }
.vots-single-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,0.2), transparent 50%);
  z-index: -1;
}
.vots-single-card .vsc-mark {
  position: absolute;
  bottom: -60px;
  right: -30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(280px, 36vw, 520px);
  line-height: 0.7;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  z-index: -1;
}
.vots-single-card .vsc-inner {
  padding: clamp(48px, 6vw, 80px);
  position: relative;
}
.vots-single-card .vsc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.vots-single-card .vsc-eyebrow .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: votPulse 1.8s infinite;
}
.vots-single-card .vsc-type {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 11px;
}
.vots-single-card h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0 0 28px;
  color: #fff;
  max-width: 14ch;
}
.vots-single-card h2 em {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  text-underline-offset: 0.08em;
  text-decoration-thickness: 4px;
}
.vots-single-card .vsc-deck,
.vots-single-card .vsc-deck * {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82) !important;
  margin: 0 0 48px;
  max-width: 50ch;
}
.vots-single-card .vsc-deck * { margin: 0; }
.vots-single-card .vsc-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 40px;
}
.vots-single-card .vsc-meta .cell {
  padding-right: 24px;
  border-right: 1px dashed rgba(255,255,255,0.18);
}
.vots-single-card .vsc-meta .cell:last-child { border-right: none; }
.vots-single-card .vsc-meta .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.vots-single-card .vsc-meta .value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.vots-single-card .vsc-meta .value em { font-style: italic; }
.vots-single-card .vsc-meta .value .small {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}
.vots-single-card .vsc-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
  transition: all .2s;
}
.vots-single-card:hover .vsc-cta {
  background: var(--ink);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════
   LAYOUT 2 VOTACIONES — grid asimétrico
   ═══════════════════════════════════════════════════════════════════ */
.vots-pair-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
.vots-pair-card {
  border-radius: 24px;
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
  transition: transform .25s ease;
}
.vots-pair-card:hover { transform: translateY(-3px); }
.vots-pair-card .vpc-mark {
  position: absolute;
  bottom: -45px;
  right: -20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(200px, 26vw, 380px);
  line-height: 0.7;
  pointer-events: none;
  z-index: -1;
}
.vots-pair-card .vpc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.vots-pair-card .vpc-eyebrow .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: votPulse 1.8s infinite;
}
.vots-pair-card .vpc-type {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
}
.vots-pair-card h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 0 0 22px;
  max-width: 14ch;
}
.vots-pair-card h2 em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 0.08em;
  text-decoration-thickness: 3px;
}
.vots-pair-card .vpc-deck,
.vots-pair-card .vpc-deck * {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 44ch;
}
.vots-pair-card .vpc-deck * { margin: 0; }
.vots-pair-card.primary .vpc-deck *,
.vots-pair-card.primary .vpc-deck { color: rgba(255,255,255,0.85) !important; }
.vots-pair-card .vpc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 18px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  margin-bottom: 32px;
}
.vots-pair-card .vpc-meta .cell {
  padding-right: 18px;
  border-right: 1px dashed currentColor;
}
.vots-pair-card .vpc-meta .cell:last-child { border-right: none; }
.vots-pair-card .vpc-meta .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
}
.vots-pair-card .vpc-meta .value {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.vots-pair-card .vpc-meta .value em { font-style: italic; }
.vots-pair-card .vpc-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  align-self: flex-start;
  transition: all .2s;
}

/* PRIMARIA — verde profundo */
.vots-pair-card.primary {
  background: var(--green-deep);
  color: #fff;
}
.vots-pair-card.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,0.18), transparent 50%);
  z-index: -1;
}
.vots-pair-card.primary .vpc-mark { color: rgba(255,255,255,0.07); }
.vots-pair-card.primary .vpc-eyebrow {
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.vots-pair-card.primary h2 { color: #fff; }
.vots-pair-card.primary h2 em {
  color: rgba(255,255,255,0.92);
  text-decoration-color: rgba(255,255,255,0.32);
}
.vots-pair-card.primary .vpc-deck { color: rgba(255,255,255,0.85) !important; }
.vots-pair-card.primary .vpc-type { background: rgba(255,255,255,0.16); color: #fff; }
.vots-pair-card.primary .vpc-meta { border-color: rgba(255,255,255,0.18); }
.vots-pair-card.primary .vpc-meta .cell { border-right-color: rgba(255,255,255,0.18); color: #fff; }
.vots-pair-card.primary .vpc-cta { background: #fff; color: var(--ink); }
.vots-pair-card.primary:hover .vpc-cta { background: var(--ink); color: #fff; }

/* SECUNDARIA — paper-warm con acento verde */
.vots-pair-card.secondary {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid var(--line);
}
.vots-pair-card.secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--green) 18%, transparent), transparent 55%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--green) 8%, transparent), transparent 50%);
  z-index: -1;
}
.vots-pair-card.secondary .vpc-mark { color: color-mix(in srgb, var(--green) 10%, transparent); }
.vots-pair-card.secondary .vpc-eyebrow {
  background: var(--green-mist);
  color: var(--green-deep);
  border: 1px solid var(--green);
}
.vots-pair-card.secondary h2 em { color: var(--green-display); text-decoration-color: color-mix(in srgb, var(--green) 40%, transparent); }
.vots-pair-card.secondary .vpc-deck { color: var(--ink-soft); }
.vots-pair-card.secondary .vpc-type { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green-deep); }
.vots-pair-card.secondary .vpc-meta { border-color: var(--line); color: var(--ink); }
.vots-pair-card.secondary .vpc-meta .cell { border-right-color: var(--line); }
.vots-pair-card.secondary .vpc-meta .value { color: var(--ink); }
.vots-pair-card.secondary .vpc-meta .value em { color: var(--green-deep); }
.vots-pair-card.secondary .vpc-cta {
  background: var(--ink);
  color: #fff;
}
.vots-pair-card.secondary:hover .vpc-cta { background: var(--green-deep); }

/* ════════════════��══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .vots-pair-grid { grid-template-columns: 1fr; }
  .vots-pair-card { min-height: 420px; }
}
@media (max-width: 720px) {
  .vots-single-card .vsc-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vots-single-card .vsc-meta .cell {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px dashed rgba(255,255,255,0.18);
  }
  .vots-single-card .vsc-meta .cell:last-child { border-bottom: none; padding-bottom: 0; }
  .vots-pair-card .vpc-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vots-pair-card .vpc-meta .cell {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px dashed currentColor;
  }
  .vots-pair-card .vpc-meta .cell:last-child { border-bottom: none; padding-bottom: 0; }
  .vots-single-extra { grid-template-columns: 1fr; }
}


/* ============================================================
   PÁGINA DETALLE DE VOTACIÓN (publicPage)
   ============================================================ */

/* --- Hero de detalle: mismo hero del listado, pero compactado ---------------
   La cabecera ya era muy alta y ahora ademas lleva la linea de datos y el
   resumen. Se sube todo lo de arriba (migas, estado, titulo) para que la fila
   de fechas y el boton "Ampliar informacion" no empujen la pagina.
   Solo afecta a publicPage: el listado sigue con su hero grande.          */
.vot-hero-detalle {
  padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 80px);
}
.vot-hero-detalle .vh-crumbs { margin-bottom: 18px; }
.vot-hero-detalle .vh-eyebrow { margin-bottom: 18px; }
.vot-hero-detalle h1 {
  font-size: clamp(46px, 6.5vw, 92px);
  margin: 0 0 14px;
}
.vot-hero-detalle .vh-deck { margin-bottom: 22px; }

/* Linea de datos generada desde la BD (tipo, nº de opciones, paridad) */
.vot-hero-detalle .vh-facts {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--green);
  margin: 0 0 14px;
}

/* Resumen: se recorta a 3 lineas, el texto completo esta en la ficha */
.vot-hero-detalle .vh-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Hero (reutiliza .vot-hero del listado, extiende con meta grid) --- */
.vot-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  margin-top: 8px;
}
.vot-hero-meta .hm-cell {
  padding-right: 24px;
  border-right: 1px dashed rgba(255,255,255,0.15);
}
.vot-hero-meta .hm-cell:last-child { border-right: none; }
.vot-hero-meta .hm-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.vot-hero-meta .hm-value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.vot-hero-meta .hm-value .small {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: 0;
}
.vot-hero-meta .hm-value .italic { font-style: italic; color: var(--green); }
.vot-hero-meta .hm-value.mono { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0; word-break: break-all; }

/* --- Expand button --- */
.vot-expand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 22px 12px 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.vot-expand svg { color: var(--green); transition: transform .2s; }
.vot-expand:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}
.vot-expand:hover svg { color: var(--ink); transform: translate(2px,-2px); }
.vot-expand[hidden] { display: none; }

/* --- Content wrapper --- */
.vot-content {
  padding: clamp(56px, 7vw, 88px) 0 88px;
}
.vot-content .esp-wrap {
  max-width: var(--esp-wrap, 1200px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* --- Actions v2 (3 botones principales) --- */
.vot-actions-v2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 64px;
}
.vot-action-v2 {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 50px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: all .2s;
  cursor: pointer;
  font: inherit;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.vot-action-v2:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(20,30,18,0.22);
}
.vot-action-v2 .va-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  color: var(--ink);
  flex-shrink: 0;
  transition: all .2s;
}
.vot-action-v2 .va-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.vot-action-v2 .va-text strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.vot-action-v2 .va-text strong em { font-style: italic; }
.vot-action-v2 .va-text span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--slate);
  text-transform: uppercase;
}
.vot-action-v2 .va-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all .25s ease;
  flex-shrink: 0;
}
.vot-action-v2:hover .va-arrow {
  border-color: currentColor;
  transform: rotate(-25deg);
}
.vot-action-v2.primary {
  background: var(--green);
  border-color: var(--green);
}
.vot-action-v2.primary .va-ico {
  background: var(--ink);
  color: var(--green);
}
.vot-action-v2.primary .va-text span { color: rgba(15,18,15,0.7); }
.vot-action-v2.primary .va-arrow {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.vot-action-v2.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.vot-action-v2.primary:hover .va-text span { color: rgba(255,255,255,0.7); }
.vot-action-v2.primary:hover .va-arrow {
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}

/* --- Section head --- */
.vot-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.vot-section-head .sh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.vot-section-head .sh-eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--green);
}
.vot-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.vot-section-head h2 em { font-style: italic; color: var(--green-display); }
.vot-section-head .sh-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.05em;
}

/* --- Gender blocks (votación paritaria) --- */
.vot-gender-block {
  margin-bottom: 40px;
}
.vot-gender-block:last-child {
  margin-bottom: 64px;
}
.vot-gender-block .vot-options-v2 {
  margin-bottom: 0;
}
.vot-gender-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.vot-gender-label::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--green);
}

/* --- Options v2 (grid de opciones) --- */
.vot-options-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.vot-option-v2 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  position: relative;
  min-height: 160px;
}
.vot-option-v2:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(20,30,18,0.22);
}
.vot-option-v2 .ov-img {
  background-size: cover;
  background-position: center;
  background-color: var(--paper-warm);
  position: relative;
}
.vot-option-v2 .ov-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,18,15,0.5), transparent 60%);
}
.vot-option-v2 .ov-letter {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 0.9;
  z-index: 2;
}
.vot-option-v2 .ov-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.vot-option-v2 .ov-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vot-option-v2 .ov-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--slate);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vot-option-v2 .ov-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  align-self: flex-start;
}
.vot-option-v2:hover .ov-more { gap: 10px; }

/* --- Seal v2 (sello criptográfico) --- */
.vot-seal-v2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  margin: 0 0 56px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
}
.vot-seal-v2 .sv-text {
  padding: 36px 40px;
  position: relative;
}
.vot-seal-v2 .sv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.vot-seal-v2 .sv-eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--green);
}
.vot-seal-v2 h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}
.vot-seal-v2 h3 em { font-style: italic; color: var(--green); }
.vot-seal-v2 .sv-deck {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 42ch;
}
.vot-seal-v2 .sv-hash {
  padding: 36px 40px;
  background: rgba(255,255,255,0.04);
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.vot-seal-v2 .sv-hash .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.vot-seal-v2 .sv-hash .label-ok {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.vot-seal-v2 .sv-hash .hash {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  word-break: break-all;
  line-height: 1.5;
}
.vot-seal-v2 .sv-hash .when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
}
/* Entrada al portal publico de verificacion. Hasta ahora solo se llegaba escaneando el
   QR del PDF de resultados, de modo que quien no descargaba ese PDF no sabia siquiera
   que existia. */
.vot-seal-v2 .sv-hash .sv-verificar {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--green);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  align-self: flex-start;
}
.vot-seal-v2 .sv-hash .sv-verificar:hover { border-bottom-color: var(--green); }
.vot-seal-v2 .sv-hash .sv-verificar-nota {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
}

/* --- Share --- */
.vot-share {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.vot-share h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.vot-share-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.vot-share-row a,
.vot-share-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font: inherit;
  cursor: pointer;
  transition: all .15s;
}
.vot-share-row a:hover,
.vot-share-row button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* --- Modal (detalle opción / resultados / lista votos) --- */
.vot-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,18,15,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: votFade .2s ease;
}
.vot-modal.is-open { display: flex; }
@keyframes votFade { from { opacity: 0 } to { opacity: 1 } }
.vot-modal-dialog {
  background: var(--paper);
  border-radius: 22px;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
  animation: votSlide .25s ease;
  position: relative;
}
@keyframes votSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vot-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all .15s;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.vot-modal-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Modal wide — resultados y lista de votos (iframe) */
.vot-modal-dialog.vom-wide {
  max-width: 94vw;
  height: calc(100vh - 48px);
}
.vom-iframe {
  width: 100%;
  flex: 1;
  border: 0;
  display: block;
  min-height: 0;
}

/* Modal · resultados */
.vom-results .vom-body { padding: 32px 36px 36px; overflow-y: auto; }
.vom-head-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.vom-head-row .vh-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-mist);
  color: var(--green-deep);
  display: grid;
  place-items: center;
}
.vom-head-row h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.1;
}
.vom-head-row p {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}
.vom-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.vom-stats .ks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vom-stats .ks-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.vom-stats .ks-value {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.vom-result-row {
  margin-bottom: 18px;
}
.vom-result-row .rr-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.vom-result-row .rr-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.vom-result-row .rr-letter {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.vom-result-row .rr-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
}
.vom-result-row .rr-pct strong { color: var(--ink); margin-right: 4px; }
.vom-result-row .rr-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.vom-result-row .rr-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width .8s cubic-bezier(0.22, 1, 0.36, 1);
}
.vom-result-row.is-winner .rr-fill { background: var(--green-deep); }
.vom-result-row.is-winner .rr-name::after {
  content: attr(data-winner-label);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Modal · lista de votos */
.vom-votes .vom-body { padding: 32px 36px 36px; overflow-y: auto; }
.vom-votes table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 8px;
}
.vom-votes thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.vom-votes tbody td {
  padding: 12px 8px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
}
.vom-votes tbody td.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
}
.vom-votes tbody td.choice {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.vom-votes tbody tr:hover { background: var(--paper-warm); }
.vom-votes .vom-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
  padding: 12px 14px;
  background: var(--paper-warm);
  border-radius: 10px;
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* --- Info modal (ampliación) --- */
.votinfo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(20px, 5vh, 64px) 24px;
  background: rgba(15, 18, 15, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow-y: auto;
}
.votinfo-modal.is-open { display: flex; animation: votFade .2s ease; }
.votinfo-dialog {
  background: var(--paper);
  border-radius: 24px;
  width: 100%;
  max-width: 1080px;
  margin: auto;
  position: relative;
  box-shadow: 0 50px 100px -24px rgba(0,0,0,0.5);
  animation: votSlide .28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.votinfo-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 5;
  transition: all .15s;
  backdrop-filter: blur(8px);
}
.votinfo-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(90deg); }
.votinfo-head {
  background: var(--ink);
  background-image:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--green) 22%, transparent), transparent 50%),
    radial-gradient(circle at 5% 95%, color-mix(in srgb, var(--green) 16%, transparent), transparent 45%);
  color: #fff;
  padding: clamp(36px, 5vw, 56px) clamp(36px, 6vw, 72px) clamp(32px, 4vw, 44px);
}
.votinfo-head .vi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.votinfo-head .vi-eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--green); }
.votinfo-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  max-width: 22ch;
}
.votinfo-head h2 em { font-style: italic; color: var(--green); }
.votinfo-body {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) clamp(36px, 6vw, 72px);
  max-height: 62vh;
  overflow-y: auto;
}
.votinfo-prose { min-width: 0; }
.votinfo-prose > *:first-child { margin-top: 0; }
.votinfo-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
  margin: 36px 0 14px;
}
.votinfo-prose h3:first-child { margin-top: 0; }
.votinfo-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.votinfo-prose strong { color: var(--ink); font-weight: 600; }
.votinfo-prose ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.votinfo-prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.votinfo-prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.votinfo-prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--green);
}
.votinfo-prose a:hover { color: var(--ink); }
.votinfo-aside {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 40px);
}
.votinfo-aside .ia-block { margin-bottom: 32px; }
.votinfo-aside .ia-block:last-child { margin-bottom: 0; }
.votinfo-aside .ia-row {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.votinfo-aside .ia-row:last-child { margin-bottom: 0; }
.votinfo-aside .ia-row strong { color: var(--ink); font-weight: 600; }
.votinfo-aside .ia-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.votinfo-aside .ia-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* --- Countdown integrado --- */
.vot-countdown {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--green-mist);
  border: 1px solid color-mix(in srgb, var(--green) 20%, transparent);
  margin-bottom: 48px;
}
.vot-countdown .cd-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.vot-countdown .cd-time {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* --- Responsive detail page --- */
@media (max-width: 1100px) {
  .vot-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .vot-hero-meta .hm-cell:nth-child(2n) { border-right: none; }
  .vot-actions-v2 { grid-template-columns: 1fr; }
  .vot-options-v2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .votinfo-body {
    grid-template-columns: 1fr;
    gap: 32px;
    max-height: none;
  }
  .votinfo-aside {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
  }
}
@media (max-width: 720px) {
  .vot-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .vot-hero-meta { grid-template-columns: 1fr; }
  .vot-hero-meta .hm-cell { border-right: none; border-bottom: 1px dashed rgba(255,255,255,0.15); padding: 14px 0; }
  .vot-options-v2 { grid-template-columns: 1fr; }
  .vot-option-v2 { grid-template-columns: 110px 1fr; min-height: 130px; }
  .vot-option-v2 .ov-letter { font-size: 30px; }
  .vot-seal-v2 { grid-template-columns: 1fr; }
  .vot-seal-v2 .sv-hash { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .vom-results .vom-body,
  .vom-votes .vom-body { padding: 22px 18px 28px; }
  .vom-stats { grid-template-columns: 1fr; gap: 14px; }
}
