/* Estilos para los cursos */
.course {
    margin-bottom: 30px;
}

.course .text {
    padding: 20px;
}

.course .text p.meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.course .text p.meta span {
    margin-right: 10px;
}

.course .text p.meta i {
    color: rgb(149, 1, 1);
}

.course .text h3 {
    font-weight: 500;
    font-size: 24px;
}

.course .text h3 a {
    color: #000000;
}

.course .img {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Estilos para la fecha */
.meta-date {
    background: #5d50c6;
    color: white;
}

.meta-date .day {
    font-size: 20px;
    font-weight: bold;
    display: block;
}

.meta-date .mos,
.meta-date .yr {
    font-size: 14px;
}

/* Estilos para las tarjetas */
.card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-title {
    color: #000000;
    font-weight: bold;
}

/* Estilos para la lista de elementos */
.list-group-item {
    border: none;
    padding: 0.5rem 0;
}

.list-group-item:before {
    content: "•";
    color: rgb(149, 1, 1);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Estilos para los botones */
.btn-custom {
    background-color: rgb(149, 1, 1);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: rgb(120, 0, 0);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-custom {
    color: rgb(149, 1, 1);
    border-color: rgb(149, 1, 1);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    color: #ffffff;
    background-color: rgb(149, 1, 1);
}

/* Estilos para el acordeón de preguntas frecuentes */
#accordionPreguntas .card {
    margin-bottom: 10px;
}

#accordionPreguntas .card-header {
    background-color: #f8f9fa;
    border: none;
}

#accordionPreguntas .btn-link {
    color: rgb(149, 1, 1);
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

#accordionPreguntas .btn-link:hover,
#accordionPreguntas .btn-link:focus {
    text-decoration: none;
}

#accordionPreguntas .card-body {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

#accordionPreguntas .btn-link::after {
    content: "\002B";
    color: rgb(149, 1, 1);
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

#accordionPreguntas .btn-link[aria-expanded="true"]::after {
    content: "\2212";
}

/* Media queries */
@media (max-width: 1199.98px) {
    .course .text h3 {
        font-size: 22px;
    }
}

@media (max-width: 991.98px) {
    .course .text {
        width: 100%;
    }
    .course .text h3 {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .course .text h3 {
        font-size: 18px;
    }
    .course .text {
        padding: 15px;
    }
}

/* Estilos para la sección de Actividades de Ingreso */
#ingreso .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#ingreso .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#ingreso .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#ingreso .card-text {
    margin-bottom: 1rem;
}

#ingreso .meta-date {
    background-color: rgb(149, 1, 1);
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
}

#ingreso .meta-date .day {
    font-size: 1.2rem;
    font-weight: bold;
}

#ingreso .btn-custom {
    margin-top: auto;
}

/* Media queries para responsividad */
@media (max-width: 767.98px) {
    #ingreso .card {
        margin-bottom: 1.5rem;
    }
}
