.pix-wrapper-bande-actus {
    max-width: 1920px;
    margin: 0 auto;
    padding: calc(clamp(30px, 11vw, 85px) * 100/85) 0 calc(clamp(30px, 11vw, 85px) * 120/85);
    overflow: hidden;
}

.pix-wrapper-bande-actus h2 {
    font-size: clamp(30px, 11vw, 85px);
    font-weight: 900;
    color: #e2e2e2;
    text-transform: uppercase;
    max-width: 1820px;
    padding: 0 20px;
    position: relative;
    margin: 0 auto;
    line-height: 0.7;
    margin-bottom: calc(clamp(30px, 11vw, 85px) * 60/85);
    letter-spacing: -0.08em;
}

.pix-wrapper-bande-actus h2::before {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 10px;
    width: 120px;
    height: 6px;
    background: #1076eb;
    transform: translateX(-100%);
}
.pix-swiper-actus {
    position: relative;
    
    max-width: 1920px;
    margin: 0 auto;

    background: url("https://www.asmm.fr/wp-content/themes/asmm/i/deco-carousel-actus.svg") repeat-x center center;
    background-size: auto 200px;
}

.pix-wrapper-actu {
    padding: 0px 20px;
    text-align: center;
}
.pix-wrapper-actu .pix-actu {
    position: relative;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.pix-wrapper-actu .pix-wrapper-actu-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.pix-wrapper-actu .pix-actu-content-height {
    width: 100%;
    height: 1000%;
    transition: all 0.8s ease;
}
.pix-wrapper-actu .pix-actu-content {
    background: rgba(32, 32, 32, 0.85);
    text-align: center;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.8s ease, background 0.8s ease;
}
.pix-wrapper-actu .pix-actu-content h3 {
    text-transform: uppercase;
    color: #fff;
    font-weight: 900;
    font-size: 17px;
    text-shadow: 2px 2px 6px #040405;
    margin: 0;
}
.pix-wrapper-actu .pix-actu-thumbnail img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    vertical-align: top;
    background: #fff;
}

.pix-wrapper-actu .pix-actu:hover .pix-actu-content-height {
    transition: all 0.3s ease;
    height: 0%;
}
.pix-wrapper-actu .pix-actu:hover .pix-actu-content {
    background: rgba(16, 118, 235, 0.85);
    transition: height 0.3s ease, background 0.3s ease;
}


/* Style the navigation arrows */
.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Adjust the button size */
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    border-radius: 50%; /* Make it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Ensure it's above other elements */
    transition: background-color 0.3s ease;
}

/* Change arrow color */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px; /* Adjust arrow size */
    color: white; /* Change arrow color */
}

/* Hover effect */
.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Adjust position */
.swiper-button-prev {
    left: 10px; /* Position the left arrow */
}

.swiper-button-next {
    right: 10px; /* Position the right arrow */
}
