/**
 * Styles pour les filtres de presse
 * 
 * @package COS_Tools
 * @version 1.0.1
 */

/* Conteneur principal des filtres */
.cos-press-filters {
    margin-bottom: 40px;
    display:flex;
    align-items: center;
    justify-content: center;
}

#press-filter-categories {
    flex:80%;
}


.press-filter-btn {
    border-radius: 20px;
    color: #101011;
    height: 40px;
    padding: 8px 16px;
    background: #fff !important;
    border: 1px solid #101011 !important;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 400 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px 2px;
    transition: all 0.3s ease;
}

.press-filter-btn:hover {
    background:var( --e-global-color-primary )!important;
    border-color:var( --e-global-color-primary )!important;
    color: #101011;
}

.press-filter-btn.active {
    background:var( --e-global-color-primary )!important;
    border-color:var( --e-global-color-primary )!important;
    color: #101011;
}


/* Select de langue */
.press-filter-select {
    text-align: right;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #fff;
    color: #101011;
    font-size: 16px;
    font-weight: 600;
    min-width: 120px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.press-filter-select:focus {
    outline: none;
    color: #101011;
}

.press-filter-select:hover {
    color: #101011;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .cos-press-filters {
        flex-direction: column;
    }
    #press-filter-categories {
        margin-bottom:20px;
    }

}

@media screen and (max-width: 480px) {

}



/* Pagination */
#press_media .elementor-pagination{
    display:none;
}
.cos-press-pagination{
    margin-top:40px;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    display:flex;
    align-items: center;
    justify-content: center;
    width:100%;
}

.cos-press-pagination .pagination-wrapper{
    
    display:flex;
    align-items: center;
    justify-content: center;
    gap:20px;
}
.cos-press-pagination a,
.cos-press-pagination span{
    min-width:40px;
    height:40px;
    border-radius: 8px;
    border:1px solid #101011;
    color:#101011;
    font-size: 12px;
    font-weight: 600;
    display:flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;  
}

.cos-press-pagination span.current{
    background:#101011;
    color:#fff;
}

.cos-press-pagination span.prev, .cos-press-pagination a.prev,
.cos-press-pagination span.next, .cos-press-pagination a.next{
    border:none;
    position:relative;
}

.cos-press-pagination span.prev::before, .cos-press-pagination a.prev::before{
    content:'';
    display:block;
    width:20px;
    height:100%;
    background: url(./arrow-left.png) no-repeat left center;
    position:absolute;
    left:-30px;
    top:0;
}

.cos-press-pagination span.next::after, .cos-press-pagination a.next::after{
    content:'';
    display:block;
    width:20px;
    height:100%;
    background: url(./arrow-right.png) no-repeat right center;
    position:absolute;
    right:-30px;
    top:0;
}

.cos-press-pagination span.prev, 
.cos-press-pagination span.next{
    opacity:0.5;
}
