/* Archivo: /css/noticiasGuardadas.css */
.noticias-guardadas-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.noticias-guardadas-container .section-header {
    margin-bottom: 20px;
}

.noticias-guardadas-container .category-title {
    color: #343a40;
    font-size: 1.5rem;
    position: relative;
}

.noticia-guardada-item {
    padding: 10px;
}

.noticia-guardada-item .noticia-card {
    transition: transform 0.3s ease;
}

.noticia-guardada-item .noticia-card:hover {
    transform: translateY(-5px);
}

.noticia-guardada-item .card-img-container {
    height: 150px;
    overflow: hidden;
}

.noticia-guardada-item .card-img-top {
    height: 100%;
    object-fit: cover;
}

.noticias-guardadas-slider .slick-prev,
.noticias-guardadas-slider .slick-next {
    background-color: #007bff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    z-index: 1;
}

.noticias-guardadas-slider .slick-prev:before,
.noticias-guardadas-slider .slick-next:before {
    font-size: 20px;
    line-height: 1;
}

/* Estilos para botón de guardar */
.btn-guardar {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-guardar:hover {
    background-color: #007bff;
    color: white;
    transform: scale(1.1);
}

.btn-guardar.guardado {
    background-color: #28a745;
    color: white;
}

/* Posicionamiento relativo para el contenedor de noticias */
.news-card, .featured-news {
    position: relative;
}

/* Estilos para las noticias guardadas en el slider */
.noticia-guardada-item {
    padding: 10px;
}

.noticia-guardada-item .card {
    transition: transform 0.3s ease;
    height: 100%;
}

.noticia-guardada-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.noticia-guardada-item .card-img-container {
    height: 160px;
    overflow: hidden;
}

.noticia-guardada-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.noticia-guardada-item .card:hover img {
    transform: scale(1.05);
}