/* Programas electorales 29N (scripts/programas-29n-pages.js): portada + páginas */
.pg29-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.pg29-grid--xl{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin:18px 0 22px}
.pg29-tarjeta{display:flex;flex-direction:column;gap:3px;background:#fff;border:1px solid #e6e2dc;border-left:5px solid var(--c);border-radius:6px;padding:10px 12px;text-decoration:none;color:var(--ink);font-family:var(--font-ui);transition:border-color .15s,transform .15s,box-shadow .15s}
.pg29-tarjeta:hover{border-color:var(--c);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.07);color:var(--ink)}
.pg29-tarjeta strong{font-size:15px;line-height:1.2}
.pg29-tarjeta__nombre{font-size:11.5px;color:var(--ink-muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pg29-tarjeta__estado{margin-top:auto;padding-top:4px;font-size:12px;font-weight:700;color:var(--red)}
.pg29-tarjeta--sin .pg29-tarjeta__estado,.pg29-tarjeta--verificando .pg29-tarjeta__estado{color:var(--ink-muted);font-weight:600}
/* portada: tarjetas con la línea gráfica de «Guías prácticas» (guide-card) */
.h29-programas{padding:26px 20px 18px;background:var(--bg,#faf9f6);border-bottom:1px solid var(--border)}
.h29-programas .section-title{margin-bottom:0}
.pg29-hgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:6px}
.pg29-hcard.guide-card{flex:none;padding:16px 16px 14px;border-radius:12px}
.pg29-hcard .guide-card__icon{width:36px;height:36px;margin-bottom:10px;border-radius:10px}
.pg29-hcard .guide-card__icon svg{width:20px;height:20px}
.pg29-hcard .guide-card__title{display:flex;align-items:center;gap:7px;font-size:1.12rem;margin-bottom:4px}
.pg29-hcard__punto{width:9px;height:9px;border-radius:50%;background:var(--c);flex:none}
.pg29-hcard .guide-card__desc{font-size:.8rem;line-height:1.45;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.3em}
.pg29-hcard .guide-card__cta{font-size:.8rem}
.pg29-hcard:hover{border-color:var(--red);box-shadow:0 8px 22px rgba(0,0,0,.08);transform:translateY(-2px)}
.pg29-hcard--sin .guide-card__icon,.pg29-hcard--verificando .guide-card__icon{background:var(--red-light);color:var(--red)}
.pg29-hcard--sin .guide-card__cta,.pg29-hcard--verificando .guide-card__cta{color:var(--ink-muted)}
.h29-prog-nota{margin:14px 0 0;font-family:var(--font-ui);font-size:12.5px;color:var(--ink-muted)}
@media (max-width:1100px){.pg29-hgrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.pg29-hgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.h29-programas{padding:20px 12px 14px}.pg29-hcard.guide-card{padding:13px 12px 12px}.pg29-hcard .guide-card__icon{width:30px;height:30px}.pg29-hcard .guide-card__title{font-size:1rem}}
/* páginas: maqueta de artículo de PL (templates/programas.html) */
.section-programas-29n .article-body .pg29-prop p::first-letter,.section-programas-29n .article-body .pg29-verif p::first-letter,.section-programas-29n .article-body .pg29-faq p::first-letter,.section-programas-29n .article-body .pg29-ficha p::first-letter,.section-programas-29n .article-body>p:first-child::first-letter{float:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;color:inherit}
.pg29-fichas{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0;margin:0 0 8px;border-top:2px solid var(--ink);border-bottom:1px solid var(--border)}
.pg29-ficha{padding:14px 16px 12px 0}
.pg29-ficha+.pg29-ficha{border-left:1px solid var(--border);padding-left:16px}
.section-programas-29n .article-body .pg29-ficha h3{margin:0 0 6px;font:800 11px var(--font-ui);letter-spacing:.14em;text-transform:uppercase;color:var(--red)}
.section-programas-29n .article-body .pg29-ficha p{margin:0 0 6px;font-size:16px;line-height:1.45}
.section-programas-29n .article-body .pg29-ficha a{font-family:var(--font-display);font-weight:700;color:var(--ink)}
.section-programas-29n .article-body .pg29-ficha a:hover{color:var(--red)}
.pg29-doc{font-family:var(--font-display);font-weight:700}
.section-programas-29n .pg29-mini{font-family:var(--font-ui);font-size:13px;color:var(--ink-muted);line-height:1.5}
.pg29-indice{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 0 8px;padding:10px 0;border-bottom:1px solid var(--border)}
.section-programas-29n .article-body .pg29-indice a{font:700 12px var(--font-ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ink-mid);text-decoration:none}
.section-programas-29n .article-body .pg29-indice a:hover{color:var(--red)}
.pg29-indice small{color:var(--red);margin-left:3px}
.pg29-tema{scroll-margin-top:90px}
.pg29-props{counter-reset:prop}
.pg29-prop{display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--border)}
.pg29-prop::before{counter-increment:prop;content:counter(prop,decimal-leading-zero);font:900 20px/1 var(--font-display);color:var(--border-dark,#c9c2b8)}
.section-programas-29n .article-body .pg29-prop p{margin:0;font-size:17px;line-height:1.6}
.pg29-pag{font-family:var(--font-ui);font-size:12px;white-space:nowrap}
.section-programas-29n .article-body .pg29-pag a{color:var(--ink-muted);text-decoration:underline}
.pg29-verif{border-top:2px solid var(--ink);border-bottom:1px solid var(--border);padding:12px 0;margin:26px 0}
.section-programas-29n .article-body .pg29-verif p{margin:0;font-family:var(--font-ui);font-size:13.5px;line-height:1.6;color:var(--ink-mid)}
.section-programas-29n .article-body .pg29-verif p::before{content:"Verificación";display:block;font:800 11px var(--font-ui);letter-spacing:.14em;text-transform:uppercase;color:var(--red);margin-bottom:4px}
.pg29-tabla-wrap{overflow-x:auto;margin:10px 0 20px}
.pg29-tabla{width:100%;border-collapse:collapse;font-family:var(--font-ui);font-size:14px}
.pg29-tabla th{text-align:left;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-muted);border-bottom:2px solid var(--ink);padding:8px 6px}
.pg29-tabla td{padding:10px 6px;border-bottom:1px solid var(--border);vertical-align:top}
.section-programas-29n .article-body .pg29-tabla a{color:var(--ink);font-weight:700}
.pg29-faq{border-top:2px solid var(--ink)}
.pg29-faq details{border-bottom:1px solid var(--border);padding:12px 0}
.pg29-faq summary{cursor:pointer;font-family:var(--font-display);font-weight:700;font-size:18px;color:var(--ink)}
.pg29-faq summary:hover{color:var(--red)}
.section-programas-29n .article-body .pg29-faq p{margin:8px 0 0;font-size:16px}
.section-programas-29n .article-body .pg29-grid{margin-top:8px}
/* tarjetas de partido con el estilo de las tarjetas de PL */
.section-programas-29n .pg29-tarjeta,.h29-programas .pg29-tarjeta{border:1px solid var(--border);border-top:3px solid var(--c);border-left:1px solid var(--border);border-radius:8px;background:var(--bg-card,#fff)}
.section-programas-29n .pg29-tarjeta strong,.h29-programas .pg29-tarjeta strong{font-family:var(--font-display);font-size:17px;font-weight:700}
.section-programas-29n .article-body .pg29-tarjeta{text-decoration:none}
.pg29-side-links{margin:0;padding:0}
.sidebar-widget--editorial .widget-body .pg29-side-links li{list-style:none;padding:10px 0;border-bottom:1px solid var(--border)}
.sidebar-widget--editorial .widget-body .pg29-side-links li:last-child{border-bottom:none}
@media (max-width:600px){.pg29-grid{grid-template-columns:repeat(2,1fr)}.pg29-prop{grid-template-columns:28px 1fr}.pg29-pag{grid-column:2}.pg29-ficha+.pg29-ficha{border-left:0;border-top:1px solid var(--border);padding-left:0}}
.c29-programa{margin:10px 0 0;font-family:var(--font-ui);font-size:14px}
.c29-programa a{font-weight:700;color:var(--red)}
.section-programas-29n .article-body .pg29-tarjeta,.section-programas-29n .article-body .pg29-tarjeta strong{color:var(--ink)}
.section-programas-29n .article-body .pg29-tarjeta:hover strong{color:var(--red)}
.section-programas-29n .article-body .pg29-tarjeta__estado{color:var(--red)}
.section-programas-29n .article-body .pg29-tarjeta--sin .pg29-tarjeta__estado,.section-programas-29n .article-body .pg29-tarjeta--verificando .pg29-tarjeta__estado{color:var(--ink-muted)}
.h29 .h29-programas h3.section-title{font-family:var(--font-display);font-size:clamp(22px,3vw,30px);font-weight:700;line-height:1.2;color:var(--ink);border-left:4px solid var(--red);padding-left:14px;margin:0;letter-spacing:normal;text-transform:none}
.h29 .h29-programas h3.section-title small{display:block;font-family:var(--font-ui);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin-bottom:4px}
.h29 .h29-programas .guide-card__title{font-family:var(--font-display)}
@media (max-width:640px){.pg29-hcard .guide-card__icon,.pg29-hcard .guide-card__desc{display:none}.pg29-hcard .guide-card__eyebrow{font-size:.6rem;margin-bottom:4px}.pg29-hcard .guide-card__title{margin-bottom:8px}.pg29-hcard.guide-card{padding:12px 12px 11px}}
/* v6: sin icono ni descripción, con logo del partido */
.pg29-hcard.guide-card{padding:12px 14px 11px}
.pg29-hcard .guide-card__eyebrow{margin-bottom:8px}
.h29 .h29-programas .pg29-hcard .guide-card__title{display:flex;align-items:center;gap:10px;margin:0 0 9px;font-size:1.08rem;line-height:1.2;min-height:28px}
.pg29-hcard__logo{height:26px;width:auto;max-width:92px;object-fit:contain;object-position:left center;flex:none}
@media (max-width:640px){.pg29-hcard__logo{height:20px;max-width:64px}.h29 .h29-programas .pg29-hcard .guide-card__title{font-size:.98rem;gap:8px;min-height:22px}}
/* foto del cabeza de lista */
.pg29-cab__fila{display:flex;gap:14px;align-items:flex-start}
.pg29-cab__foto{margin:0;flex:none;width:112px}
.pg29-cab__foto img{width:112px;height:112px;object-fit:cover;object-position:center 20%;border-radius:8px;display:block;background:#eee}
.pg29-cab__foto figcaption{font-family:var(--font-ui);font-size:10px;line-height:1.3;color:var(--ink-muted);margin-top:4px}
.section-programas-29n .article-body .pg29-cab__foto figcaption a{color:var(--ink-muted);font-family:var(--font-ui);font-weight:400}
.pg29-cab__ini{flex:none;width:112px;height:112px;border-radius:8px;background:var(--red-light);color:var(--red);display:grid;place-items:center;font:900 34px var(--font-display)}
.section-programas-29n .article-body .pg29-cab a.pg29-mini{font-family:var(--font-ui);font-weight:700;color:var(--red);font-size:13px}
@media (max-width:600px){.pg29-cab__foto,.pg29-cab__foto img,.pg29-cab__ini{width:88px;height:auto}.pg29-cab__foto img,.pg29-cab__ini{height:88px}}
