.tabla-tematicas {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #111;
    background-color: #f1f1f1;
    border: none;
}

/* Encabezado azul */
.tabla-tematicas thead {
    background-color: #2874b5;
    color: #fff;
}

.tabla-tematicas th {
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
}

/* Filas de contenido */
.tabla-tematicas tbody tr {
    background-color: #f1f1f1;
    border-bottom: 1px solid #d9dfe5;
    transition: background-color 0.2s ease;
}

.tabla-tematicas tbody tr:hover {
    background-color: #e8edf2;
}

.tabla-tematicas td {
    padding: 12px 15px;
    vertical-align: middle;
    border: none;
    line-height: 1.5;
}

/* Distribución de las columnas */
.tabla-tematicas th:nth-child(1),
.tabla-tematicas td:nth-child(1) {
    width: 25%;
}

.tabla-tematicas th:nth-child(2),
.tabla-tematicas td:nth-child(2) {
    width: 55%;
}

.tabla-tematicas th:nth-child(3),
.tabla-tematicas td:nth-child(3) {
    width: 20%;
    text-align: center;
}

/* Botón Consultar */
.tabla-tematicas .btn-consultar {
    display: inline-block;
    padding: 7px 12px;
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #0d6efd;
    transition: background-color 0.2s ease;
}

.tabla-tematicas .btn-consultar:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: #fff;
}

/* Adaptación a móviles */
@media (max-width: 600px) {
    .tabla-tematicas {
        font-size: 13px;
    }

    .tabla-tematicas th,
    .tabla-tematicas td {
        padding: 9px 6px;
        overflow-wrap: anywhere;
    }

    .tabla-tematicas th {
        font-size: 13px;
    }

    .tabla-tematicas th:nth-child(1),
    .tabla-tematicas td:nth-child(1) {
        width: 25%;
    }

    .tabla-tematicas th:nth-child(2),
    .tabla-tematicas td:nth-child(2) {
        width: 45%;
    }

    .tabla-tematicas th:nth-child(3),
    .tabla-tematicas td:nth-child(3) {
        width: 30%;
    }

    .tabla-tematicas .btn-consultar {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/*.table-responsive {*/
/*    display: none !important;*/
/*}*/
