/* CONTENEDOR PRINCIPAL */
.actualidad-universitaria { 
    text-align: center;
    padding: 50px 20px;
    background-color: #e0f5f8;
    padding-bottom: 6%;
}

.actualidad-titulo {
    font-size: 2em;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    margin: 0 auto 30px;
}

.actualidad-subtitulo {
    font-size: 19px;
    color: #9d9d9d;
    max-width: 1200px;
    margin: 0 auto 30px;
}

/* CONTENEDOR DEL SLIDER */
.actualidad-slider-container {
    position: relative;
    max-width: 1300px;
    width: 100%;
    margin: auto;
    overflow: hidden; 
    z-index: 12;
}

.actualidad-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* CARDS */
.actualidad-card {
    width: 350px; 
    position: relative;
    height: 600px; 
    margin: 0 10px;
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-bottom: 10px; 
}

@media (max-width: 768px) {
    .actualidad-card {
        width: 100%; 
        height: auto; 
    }
}

.actualidad-card-img {
    height: 266px;
    overflow: hidden;
}

.actualidad-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.actualidad-card-content {
    padding: 10%;
    overflow: hidden;
    color: #599ab7; 
    font-size: 18px;
    height: 200px;
}

.university-tag {
    position: absolute;
    top: 266px; 
    left: 75%;
    transform: translate(-50%, -50%); 
    display: inline-block;
    background: #131967;
    color: white;
    font-weight: bold;
    padding: 8px 25px;
    border-radius: 20px;
  }
.read-morenoticias {
    background: #131967;
    margin-right: 60%;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.read-morenoticias:hover {
    background: #0f1459;
}

.leermas {
    background: #599ab7;
    margin-right: 60%;
    color: white;
    border: none;
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 100px;
}

.leermas:hover {
    background: #599ab7;
}

.actualidad-prev-btn, .actualidad-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.actualidad-prev-btn { 
    left: 10px; 
}
.actualidad-next-btn { 
    right: 10px; 
}

.actualidad-prev-btn:hover, .actualidad-next-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}
