/* ── MAIN ── */
main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 3.5rem 5%;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.main-subtitle {
    font-family: 'Merriweather', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.35;
    margin-bottom: 2.5rem;
}

/* Descripción + imagen */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.description p {
    font-size: 0.96rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1rem;
}

.req-list {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.87rem;
    color: #374151;
}

.req-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-icon svg {
    width: 11px;
    height: 11px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-vote {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s;
}

.btn-vote:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-vote svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tarjeta imagen */
.img-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(26, 79, 156, 0.08);
}

.img-card .top-bar {
    background: var(--blue);
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 7px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.img-card svg.illustration {
    display: block;
    width: 100%;
    padding: 1.5rem;
}

.stats-row {
    display: grid;
    /* 🌟 Se adapta automáticamente: baja las tarjetas a una nueva fila si no caben */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(26, 79, 156, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 79, 156, 0.08);
}

.stat-card .num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.stat-card #stat-fecha {
    font-size: 1.2rem !important; /* Fuente ligeramente más pequeña para el texto largo */
    white-space: normal !important; /* Permite un salto de línea limpio si la pantalla es muy angosta */
    word-break: break-word;
}

.stat-card .lbl {
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 500px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-row {
        grid-template-columns: 1fr; /* Fuerza una tarjeta por fila */
    }
}