/* Fuente unificada */
.transparencia-wrapper,
.transparencia-wrapper * {
    font-family: 'Open Sans', sans-serif !important;
}

/* Margen superior adaptativo para no chocar con el header en móvil ni dejar hueco en PC */
.transparencia-wrapper {
    margin-top: 35px;
    margin-bottom: 60px;
    padding: 0 15px;
}

@media (max-width: 991px) {
    .transparencia-wrapper {
        margin-top: 90px;
    }
}

/* Encabezados alineados al margen izquierdo */
.section-header-left {
    text-align: left;
    margin-bottom: 25px;
}

.section-header-left h2 {
    font-weight: 700;
    color: #333333;
    font-size: 2.5rem;
    margin: 0;
}

/* Línea roja alineada a la izquierda */
.red-divider {
    width: 50px;
    height: 3px;
    background-color: #611232;
    border: none;
    margin: 8px 0 0 0;
}

/* Divisor gris horizontal que atraviesa la pantalla */
.gray-divider-full {
    border: 0;
    border-top: 1px solid #e0e0e0;
}

/* Grid estricta de 5 columnas para PC, 2 para móviles */
.rubros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    justify-items: center;
}

@media (min-width: 768px) {
    .rubros-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px 15px;
    }
}

/* Tarjetas */
.rubro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    width: 100%;
    max-width: 180px;
}

.rubro-card:hover {
    transform: translateY(-3px);
}

/* Círculos verdes con color institucional (#12322b) */
.icon-circle {
    width: 120px;
    height: 120px;
    background-color: #12322b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

.rubro-card:hover .icon-circle {
    background-color: #0d231e;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Filtro blanco para los iconos */
.icon-circle img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.rubro-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    color: #333333;
}

/* Contenedor y Botón "Ir a Ejercicios Anteriores" alineado a la izquierda */
.btn-container-left {
    text-align: left;
    margin-top: 20px;
}

.btn-ejercicios {
    display: inline-block;
    padding: 10px 24px;
    background-color: #611232;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-ejercicios:hover {
    background-color: #6B1538;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}