/* --- COMPONENTES DEL CARRUSEL DE NOTICIAS --- */
.news-carousel {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.news-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.news-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.news-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.news-body {
    padding: 35px;
}

.news-body h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gris-oscuro);
    margin-bottom: 10px;
    line-height: 1.2;
}

.news-excerpt {
    color: #666666;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

/* Contenido oculto expansible ("Leer más") */
.news-full-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.news-full-content.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Botón personalizado integrado con estilo DaisyUI manually */
.btn-read-more {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 22px;
    background-color: var(--azul-mediterraneo);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.2);
}

.btn-read-more:hover {
    background-color: #1565C0;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.3);
}

/* --- NAVEGACIÓN FLECHAS DEL CARRUSEL --- */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-arrow {
    background-color: #ffffff;
    color: var(--gris-oscuro);
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.carousel-arrow:hover {
    background-color: var(--azul-mediterraneo);
    color: #ffffff;
    border-color: var(--azul-mediterraneo);
    transform: scale(1.08);
}