/* Políticas Slider Styles */
#politicas-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
    border-radius: 0.25rem;
    display: flex;
    flex-wrap: nowrap;
}

.politica-slide {
    position: relative;
    width: calc(33.333% - 1rem);
    height: 100%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
    visibility: hidden;
}

.politica-slide.active {
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.politica-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.politica-slide img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(50%);
}

.politica-slide:hover img {
    filter: brightness(70%);
}

.politica-slide .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1rem;
    width: 100%;
    z-index: 2;
}

.politica-slide h2 {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,.8);
    margin-bottom: 0.25rem;
}

/* Navigation Controls */
.politicas-slider-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.politicas-slider-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.politicas-slider-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .politica-slide {
        width: calc(50% - 0.5rem);
    }
}

@media (max-width: 767px) {
    #politicas-slider {
        height: 250px;
    }
    
    .politica-slide {
        width: 100%;
        margin-right: 0;
    }
}