.curso-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.curso-info-full-width {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

@media screen and (max-width: 1024px) {
    .curso-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .curso-info {
        grid-template-columns: 1fr;
    }
}

.curso-card {
    background: #ffffff;
    border-left: 6px solid #007bff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease;
}

.curso-card:hover {
    transform: scale(1.02);
}

.curso-titulo {
    font-size: 1.25rem;
    color: #0056b3;
    margin-bottom: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.curso-card p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.curso-card strong {
    color: #2a6f97;
}



.curso-card.importante {
    border-left-color: #28a745; /* Verde */
}

.enlace-portal {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
}

.btn-portal {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 16px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-portal:hover {
    background-color: #0056b3;
    color: white;
}
.texto-modalidad {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.texto-modalidad {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.tabla-horario-idiomas {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    max-width: 1000px;
}

.tabla-horario-idiomas thead {
    background-color: #004080;
    color: white;
}

.tabla-horario-idiomas th,
.tabla-horario-idiomas td {
    padding: 14px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.cabecera-materia {
    background-color: #004080;
    color: white;
    font-weight: bold;
}

.cabecera-horario {
    background-color: #0066cc;
    color: white;
    font-weight: bold;
}

.tabla-horario-idiomas td {
    background-color: #fefefe;
}

.tabla-horario-idiomas tbody tr:nth-child(odd) td {
    background-color: #f4f9ff;
}

.tabla-horario-idiomas td:contains("✔") {
    font-weight: bold;
    color: #28a745;
    font-size: 1.2rem;
}

.sin-horario {
    color: #888;
    font-style: italic;
    background-color: #f9f9f9;
}
