/* NAVEGACIÓN BREADCRUMB */
.v-breadcrumb-nav { position: -webkit-sticky; position: sticky; top: var(--h-h); z-index: 999; background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--s); min-height: 48px; display: flex; align-items: center; }
.v-breadcrumb-wrapper { display: flex; align-items: center; padding: 0 var(--sp-20); max-width: 1100px; margin: 0 auto; width: 100%; height: 100%; }
.v-b-label { font-size: var(--fs-10); font-weight: var(--w-ext); color: var(--tx-m); text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.v-b-sep { margin: 0 var(--sp-10); color: var(--tx-m); font-size: var(--fs-10); flex-shrink: 0; }
.v-b-scroll { display: flex; gap: var(--sp-20); overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; height: 100%; align-items: center; }
.v-b-scroll::-webkit-scrollbar { display: none; }
.v-b-link { font-size: var(--fs-12); font-weight: var(--w-bold); color: var(--tx-m); text-decoration: none; white-space: nowrap; transition: 0.2s; height: 100%; display: flex; align-items: center; position: relative; border-bottom: 2px solid transparent; }
.v-b-link.active { color: var(--p); border-bottom-color: var(--p); }
.v-b-link:hover { color: var(--p); }

/* CONTENIDO Y GRID DE CANDIDATOS */
.v-container { max-width: 1100px; margin: var(--sp-20) auto; padding: 0 var(--sp-14); font-family: var(--f); color: var(--tx); }
.v-main-title { font-size: var(--fs-24); margin-bottom: var(--sp-10); color: var(--tx); font-weight: var(--w-ext); line-height: 1.2; letter-spacing: -0.5px; }
.v-main-title small { font-weight: var(--w-reg); color: var(--tx-m); font-size: var(--fs-20); margin-left: var(--sp-5); }
.v-main-desc { font-size: var(--fs-14); color: var(--tx-m); margin: calc(var(--sp-5) * -1) 0 var(--sp-20) 0; max-width: 700px; line-height: 1.5; }
.v-stats-bar { background: var(--p); color: var(--w); padding: var(--sp-5) var(--sp-14); border-radius: var(--r-s); font-size: var(--fs-12); display: inline-block; margin-bottom: var(--sp-30); font-weight: var(--w-med); }
.v-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-14); }
@media(min-width: 768px) { .v-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--sp-30); } }

/* TARJETA DE CANDIDATO */
.v-card { background: var(--w); border: 1px solid var(--s); border-radius: 14px; display: flex; flex-direction: column; box-shadow: var(--sh-apple); transition: transform 0.3s ease; cursor: pointer; }
.v-card:hover { transform: translateY(-5px); }
.v-img-box { width: 100%; aspect-ratio: 1/1; background: var(--bg); border-radius: 14px 14px 0 0; overflow: hidden; position: relative; }
.v-foto { width: 100%; height: 100%; object-fit: cover; }
.v-no-foto { height: 100%; display: flex; align-items: center; justify-content: center; font-size: var(--fs-12); color: var(--tx-m); font-weight: var(--w-bold); }
.v-party-bar { position: relative; height: 0px; display: flex; justify-content: center; }
.v-logo-wrapper { position: absolute; top: -35px; width: 64px; height: 64px; background: var(--w); border-radius: 10px; padding: var(--sp-5); box-shadow: var(--sh-soft); display: flex; align-items: center; justify-content: center; border: 1px solid var(--w); z-index: 2; }
.v-logo-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }
.v-info { padding: var(--sp-40) var(--sp-12) var(--sp-20); text-align: center; }
.v-tag { font-size: var(--fs-10); font-weight: var(--w-ext); background: var(--bg); color: var(--tx-m); padding: var(--sp-2) var(--sp-8); border-radius: var(--r-s); display: inline-block; margin-bottom: var(--sp-10); border: 1px solid var(--s); }
.v-name { font-size: var(--fs-16); margin: 0 0 var(--sp-5); font-weight: var(--w-ext); color: var(--tx); line-height: 1.2; }
.v-party-name { font-size: var(--fs-11); color: var(--p); font-weight: var(--w-bold); text-transform: uppercase; margin: 0; letter-spacing: 0.3px; }
.v-empty { grid-column: 1/-1; text-align: center; padding: var(--sp-80) var(--sp-20); color: var(--tx-m); background: var(--bg); border: 2px dashed var(--s); border-radius: 15px; font-weight: var(--w-med); }
.v-btn-perfil { margin-top: var(--sp-14); background: var(--bg); color: var(--tx); border: 1px solid var(--s); padding: var(--sp-8) var(--sp-14); border-radius: var(--r-m); font-size: var(--fs-12); font-weight: var(--w-bold); cursor: pointer; transition: 0.2s; width: 100%; }
.v-btn-perfil:hover { background: var(--s); border-color: var(--tx-m); }

/* BLOQUE FINAL DE CONVERSIÓN */
.v-info-footer { margin-top: var(--sp-40); padding: var(--sp-40); border-top: 2px solid var(--s); text-align: center; background: var(--bg); border-radius: 15px; }
.v-info-title { font-size: var(--fs-24); color: var(--tx); font-weight: var(--w-ext); margin: 0 0 var(--sp-10) 0; }
.v-info-desc { color: var(--tx-m); font-size: var(--fs-14); margin: 0 0 var(--sp-24) 0; }
.v-btn-votar { display: inline-block; background: var(--p); color: var(--w); padding: var(--sp-14) var(--sp-30); text-decoration: none; border-radius: var(--r-m); font-weight: var(--w-ext); font-size: var(--fs-14); transition: 0.3s; box-shadow: 0 4px 12px rgba(227, 19, 48, 0.2); }
.v-btn-votar:hover { background: var(--p-d); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(227, 19, 48, 0.3); }

/* RESPONSIVE CARD */
@media(max-width: 767px) { .v-info { padding-bottom: var(--sp-14); } .v-btn-perfil { padding: var(--sp-10); font-size: var(--fs-12); } }

/* MODAL CANDIDATO */
body.v-modal-open { overflow: hidden; touch-action: none; }
.v-modal-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 23, 42, .45); backdrop-filter: var(--blur); opacity: 0; visibility: hidden; transition: .25s; }
.v-modal-overlay.active { opacity: 1; visibility: visible; }
.v-modal-content { width: 100%; height: min(92dvh, 920px); min-height: 92dvh; border-radius: 22px 22px 0 0; overflow: hidden; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .35s cubic-bezier(.22, .8, .3, 1); will-change: transform; position: relative; background: var(--w); border: 1px solid var(--s); }
.v-modal-overlay.active .v-modal-content { transform: none; }
.v-modal-content.dragging { transition: none; }
.v-drag-handle { width: 42px; height: 5px; border-radius: var(--r-full); background: var(--s); margin: var(--sp-10) auto var(--sp-2); flex: none; }
.v-modal-close-abs { position: absolute; top: var(--sp-12); right: var(--sp-12); width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg); color: var(--tx-m); font-size: var(--fs-20); display: grid; place-items: center; cursor: pointer; z-index: 10; }
.v-modal-bio { display: flex; flex-direction: column; flex: 1; min-height: 0; background: linear-gradient(to bottom, var(--w) 0%, var(--bg) 100%); }
.v-modal-header-tall { position: relative; padding: var(--sp-10) var(--sp-16) var(--sp-14); background: rgba(255, 255, 255, .92); backdrop-filter: var(--blur); border-bottom: 1px solid var(--s); z-index: 2; }
.v-modal-profile-wrapper { display: flex; gap: var(--sp-14); align-items: center; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.v-modal-cover { position: relative; flex: none; width: 88px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--s); }
.v-modal-foto-big { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-no-foto-modal { display: grid; place-items: center; height: 100%; font-size: var(--fs-10); font-weight: var(--w-ext); color: var(--tx-m); }
.v-modal-partido-badge { position: absolute; right: -4px; bottom: -4px; width: 34px; height: 34px; padding: var(--sp-5); border-radius: var(--r-l); background: var(--w); border: 1px solid var(--s); box-shadow: var(--sh-sm); }
.v-modal-partido-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v-modal-intro { flex: 1; min-width: 0; }
.v-badge-container { display: flex; gap: var(--sp-5); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.v-badge-tipo { height: 22px; padding: 0 var(--sp-10); border-radius: var(--r-full); background: var(--bg); color: var(--tx); font-size: var(--fs-10); font-weight: var(--w-ext); display: flex; align-items: center; text-transform: uppercase; letter-spacing: .08em; }
.v-modal-intro h3 { margin: 0; font-size: var(--fs-24); line-height: 1; font-weight: var(--w-ext); letter-spacing: -.04em; color: var(--tx); text-wrap: balance; }
.v-main-cargo { margin-top: var(--sp-5); font-size: var(--fs-12); font-weight: var(--w-bold); color: var(--tx); }
.v-intro-partido { margin-top: var(--sp-2); font-size: var(--fs-11); color: var(--tx-m); }

/* CUERPO DEL MODAL */
.v-modal-body { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: var(--sp-12); flex: 1; min-height: 0; overflow-y: auto; background: var(--bg); padding: var(--sp-14) var(--sp-16) 110px; }
.v-modal-body > div { flex: none; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.v-modal-body::after { content: ""; display: block; min-height: 80px; flex: none; }
.v-modal-body::-webkit-scrollbar { width: 5px; }
.v-modal-body::-webkit-scrollbar-thumb { background: var(--tx-m); border-radius: var(--r-full); }

/* GRID DE BIO Y SECCIONES */
.v-bio-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }
.v-grid-item { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); padding: var(--sp-12) var(--sp-14); border-radius: var(--r-l); min-width: 0; background: var(--w); border: 1px solid var(--s); }
.v-grid-label { flex: none; font-size: var(--fs-10); font-weight: var(--w-ext); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-m); }
.v-grid-value { font-size: var(--fs-12); font-weight: var(--w-bold); color: var(--tx); line-height: 1.4; word-break: break-word; text-align: right; }
.v-bio-section, .v-news-section { padding: var(--sp-14); border-radius: var(--r-l); background: var(--w); border: 1px solid var(--s); }
.v-section-title { margin: 0 0 var(--sp-10); font-size: var(--fs-10); font-weight: var(--w-ext); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-m); }
.v-bio-text { height: auto; display: block; font-size: var(--fs-14); line-height: 1.7; color: var(--tx); }
.v-bio-text p { margin: 0 0 var(--sp-10); }
.v-empty-text { font-style: italic; color: var(--tx-m); }

/* NOTICIAS */
.v-news-list { display: flex; flex-direction: column; gap: var(--sp-8); width: 100%; }
.v-news-item { padding: var(--sp-10) var(--sp-12); border-radius: 14px; text-decoration: none; background: var(--bg); border: 1px solid var(--s); display: flex; flex-direction: column; gap: var(--sp-4); transition: .18s; }
.v-news-item:hover { background: var(--s); }
.v-news-date { font-size: var(--fs-10); font-weight: var(--w-ext); letter-spacing: .08em; text-transform: uppercase; color: var(--tx-m); }
.v-news-title { font-size: var(--fs-12); font-weight: var(--w-bold); color: var(--tx); line-height: 1.45; }
.v-news-more { margin: var(--sp-10) auto 0; display: flex; align-items: center; justify-content: center; gap: var(--sp-8); width: max-content; padding: var(--sp-10) var(--sp-16); border-radius: var(--r-full); background: var(--w); border: 1px solid var(--s); font-size: var(--fs-12); font-weight: var(--w-ext); color: var(--p); text-decoration: none; transition: .18s; white-space: nowrap; }
.v-news-more svg { width: 13px; height: 13px; transition: transform .18s; }

/* ESTADOS Y CARGA */
.v-modal-loading, .v-modal-error { padding: 34px var(--sp-20); border-radius: 22px 22px 0 0; text-align: center; background: var(--w); border: 1px solid var(--s); margin: auto; width: 100%; max-width: var(--max-w); }
.v-modal-loading p, .v-modal-error { margin: 0; font-size: var(--fs-14); font-weight: var(--w-bold); color: var(--tx-m); }
.v-spinner { width: 36px; aspect-ratio: 1; margin: 0 auto var(--sp-12); border-radius: 50%; border: 3px solid var(--s); border-top-color: var(--p); animation: vspin .7s linear infinite; }
@keyframes vspin { to { transform: rotate(360deg); } }

/* RESPONSIVE MODAL */
@media (min-width: 760px) { .v-modal-overlay { align-items: center; padding: var(--sp-24); } .v-modal-content { max-width: var(--max-w); height: min(90vh, 920px); min-height: 720px; border-radius: 24px; } .v-drag-handle { display: none; } .v-modal-cover { width: 104px; border-radius: 24px; } .v-modal-intro h3 { font-size: var(--fs-34); } .v-bio-grid { grid-template-columns: repeat(3, 1fr); } .v-grid-item { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 76px; } .v-grid-value { text-align: left; } .v-modal-body { padding-bottom: 140px; } }

