#custom-blog-sidebar {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.custom-blog-articles-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-blog-article {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    height: 360px;
    position: relative;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.3s, background-blur 0.3s;
    box-sizing: border-box;
    border-radius: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.custom-blog-author-avatar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.custom-blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); /* Pas d'assombrissement par défaut */
    transition: background 0.3s;
    z-index: 1;
    border-radius: 15px;
}

.custom-blog-article:hover::before {
    background: rgba(0, 0, 0, 0.5); /* Assombrissement au hover */
}

.custom-blog-slider {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 15px;
}

.custom-blog-slide {
    display: block;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.custom-blog-slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
}

.custom-blog-slider-prev,
.custom-blog-slider-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.custom-blog-slider-prev:hover,
.custom-blog-slider-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.custom-blog-pagination {
    text-align: right;
    margin-top: 20px;
}

.custom-blog-pagination a {
    margin: 0 5px;
    text-decoration: none;
    color: #fff; /* Texte blanc */
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 3px;
    background: #f0f0f0;
}

.custom-blog-pagination a.current {
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #BE094F, #647FE4); /* Dégradé comme demandé */
}

.custom-blog-pagination a:hover {
    text-decoration: underline;
}
