/* ============================================
   ESTILOS GRÁFICO DERECHIZACIÓN ANDALUCÍA
   Clases idénticas a charts_election_andalucia_2026.css
   ============================================ */

body {
    font-family: 'Encode Sans', sans-serif;
    margin: 0 auto;
    padding: 16px;
    color: #181818;
}

.chart_title_election {
    font-family: "Encode Sans", sans-serif;
    text-align: left;
    color: black;
    font-size: 22px;
    font-weight: 700;
    max-width: 643px;
    margin-bottom: 10px;
    line-height: 25px;
}

.chart_subtitle_election {
    font-size: 14px;
    text-align: left;
    font-family: "Encode Sans", sans-serif;
    line-height: 20px;
    color: #181818;
    max-width: 643px;
    margin-bottom: 15px;
}

.separator_container_election {
    width: 100%;
    border-top: 2px solid #dddddd;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Ladillo subsección (sin equivalente en el original) */
p.ladillo {
    font-family: "Encode Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #444;
    margin: 0 0 4px 55px;
    line-height: 1.5;
}

/* Nota de fuente */
p.fuente {
    font-size: 11px;
    color: #999;
    font-family: "Encode Sans", sans-serif;
    margin-top: 8px;
}

/* Tooltip — idéntico a .tooltip-election */
#tooltip-derechizacion {
    position: absolute;
    z-index: 10;
    visibility: hidden;
    color: black;
    padding: 8px;
    background-color: white;
    border-radius: 0px;
    font-size: 12px;
    pointer-events: none;
    font-family: "Encode Sans", sans-serif;
    box-shadow: 0 2px 2px 0 #ccc;
    border: 1px solid #ccc;
    margin-left: 2px;
    line-height: 1.5;
}
