/* Posts List Block - styles spécifiques */

/* Sélecteurs spécifiques au bloc posts-list */
.posts-list-block #actu-crypto .container {
    max-width: unset;
    padding: unset;
    position: relative;
}

.posts-list-block #actu-crypto .actu a {
    display: none;
}

.posts-list-block #actu-crypto .trait {
    width: 55px;
    height: 2px;
    background: transparent linear-gradient(88deg, #fd8f02 0%, #fdb003 100%);
    margin-bottom: 40px;
}

.posts-list-block #actu-crypto .posts:not(.slick-initialized) {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    margin: 0;
    padding: 0;
}

.posts-list-block #actu-crypto .posts.slick-initialized {
    display: block;
    margin: 40px 0;
}

.posts-list-block #actu-crypto .posts.slick-initialized .slick-track {
    display: flex;
    align-items: stretch;
}

.posts-list-block #actu-crypto .posts.slick-initialized .slick-slide>a {
    height: 100%;
    display: block;
}

.posts-list-block #actu-crypto .posts figure,
.posts-list-block #actu-crypto .posts figure img {
    width: 100%;
    height: 100%;
}

.posts-list-block #actu-crypto .posts figure:hover img {
    transform: scale(1.1);
    transform-origin: center bottom;
}

.posts-list-block #actu-crypto .posts figure img {
    border-radius: 10px;
    object-fit: cover;
}

.posts-list-block #actu-crypto .posts .post {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-gap: 11px;
    margin: 0;
}

.posts-list-block #actu-crypto .posts.slick-initialized .post {
    width: 200px;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    grid-gap: 11px;
    margin: 0;
}

.posts-list-block #actu-crypto .posts .post figure {
    grid-row: 1/3;
    height: 90px;
}

.posts-list-block #actu-crypto .posts.slick-initialized .post figure {
    grid-row: 1/3;
    height: 90px;
}

.posts-list-block #actu-crypto .posts .post .cat {
    display: flex;
    justify-content: space-between;
}

.posts-list-block #actu-crypto .posts .post h3 {
    font-size: 12px;
    margin: 0;
    line-height: 16px;
    color: #fff;
    font-weight: 600;
}

.posts-list-block #actu-crypto .posts .post h3:hover {
    color: #6c6c6c;
}

.posts-list-block #actu-crypto .posts .post .cat h3 {
    color: #7c7c7c;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
}

.posts-list-block #actu-crypto .posts .post .cat div {
    display: flex;
    justify-content: space-between;
    color: #7c7c7c;
    font-size: 10px;
    line-height: 14px;
    gap: 5px;
    align-items: center;
}

.posts-list-block #actu-crypto .posts .post .cat div figure {
    width: 9px;
    height: 13px;
}

.light-mode .posts-list-block #actu-crypto .posts .post .cat div figure path {
    fill: #7c7c7c;
}

.posts-list-block #actu-crypto .posts .post .cat h3 {
    text-align: left;
    font: normal normal bold 12px / 16px 'Open Sans';
    letter-spacing: 0;
    color: #7C7C7C;
}

.actualites #actu-crypto .posts .post .cat h3 {
     color: #7c7c7c;
     font-weight: 400;
     font-size: 10px;
 }


.light-mode .posts-list-block #actu-crypto .posts .post > h3 {
    color: #000 !important;
} 

.posts-list-block .actu h2 {
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    margin-bottom: 32px;
}

/* .tax-casino_category .posts-list-block #actu-crypto .posts .post,
.tax-crypto_category .posts-list-block #actu-crypto .posts .post,
.tax-evergreen_category .posts-list-block #actu-crypto .posts .post,
.category .posts-list-block #actu-crypto .posts .post {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tax-casino_category .posts-list-block #actu-crypto .posts .post figure,
.tax-crypto_category .posts-list-block #actu-crypto .posts .post figure,
.tax-evergreen_category .posts-list-block #actu-crypto .posts .post figure,
.category .posts-list-block #actu-crypto .posts .post figure {
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.tax-casino_category .posts-list-block #actu-crypto .posts .post h3,
.tax-crypto_category .posts-list-block #actu-crypto .posts .post h3,
.tax-evergreen_category .posts-list-block #actu-crypto .posts .post h3,
.category .posts-list-block #actu-crypto .posts .post h3 {
    text-align: left;
    font: normal normal bold 14px / 18px 'Open Sans';
    letter-spacing: 0;
    color: #FFFFFF;
    text-transform: none;
    overflow: hidden;
    margin: 8px 0 0 0;
}

.light-mode .tax-casino_category .posts-list-block #actu-crypto .posts .post h3,
.light-mode .tax-crypto_category .posts-list-block #actu-crypto .posts .post h3,
.light-mode .tax-evergreen_category .posts-list-block #actu-crypto .posts .post h3,
.light-mode .category .posts-list-block #actu-crypto .posts .post h3 {
    color: #000;
}

.tax-casino_category .posts-list-block #actu-crypto .posts .post .cat h3,
.tax-crypto_category .posts-list-block #actu-crypto .posts .post .cat h3,
.tax-evergreen_category .posts-list-block #actu-crypto .posts .post .cat h3,
.category .posts-list-block #actu-crypto .posts .post .cat h3 {
    text-align: left;
    font: normal normal bold 12px / 16px 'Open Sans';
    letter-spacing: 0;
    color: #7C7C7C;
    text-transform: uppercase;
    margin: 0;
} */

@media screen and (min-width: 768px) {

    .posts-list-block #actu-crypto .posts:not(.slick-initialized) .post,
    .posts-list-block #actu-crypto .posts:not(.slick-initialized) {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 992px) {

    .posts-list-block #actu-crypto .container .posts:not(.slick-initialized),
    .posts-list-block #actu-crypto .posts:not(.slick-initialized) {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        display: grid;
        grid-gap: 2rem;
    }

    .posts-list-block #actu-crypto .posts:not(.slick-initialized) .post {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .posts-list-block #actu-crypto .posts:not(.slick-initialized) .post figure {
        height: 143px;
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        grid-row: unset;
    }
}

/* @media screen and (max-width: 767px) {
    .tax-casino_category .posts-list-block #actu-crypto .posts,
    .tax-crypto_category .posts-list-block #actu-crypto .posts,
    .tax-evergreen_category .posts-list-block #actu-crypto .posts,
    .category .posts-list-block #actu-crypto .posts {
        grid-template-columns: 1fr !important;
    }
} */

/* Pagination Button styles - intégrés de pagination-button.css */
.posts-list-block .pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}


.posts-list-block .pagination a:hover {
    background: transparent linear-gradient(87deg, #fdb003 0%, #fd8d02 100%) 0% 0% no-repeat padding-box;
}

.posts-list-block .pagination a svg {
    height: 50%;
    margin-top: 8px;
}

body.light-mode .posts-list-block .pagination .load-more {
    color: #fff;
}

.posts-list-block .pagination .load-more {
    letter-spacing: 0;
    color: #fff;
    background-color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    border-radius: 4px;
    padding: 0 15px 0 23px;
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.posts-list-block .pagination .load-more:hover {
    background: #000;
    color: #fff !important;
}

.posts-list-block .pagination .load-more svg {
    margin-top: 5px;
}

.posts-list-block .pagination .load-more:hover svg {
    filter: invert(0%);
}

.posts-list-grid .post figure img {
    object-fit: cover;
    transition: transform .3s ease-in-out;
    transform: scale(1);
    transform-origin: center bottom;
}

.posts-list-grid .post:hover figure img {
    transform: scale(1.1);
}

@media screen and (min-width: 992px) {
    .posts-list-block .pagination {
        margin-bottom: 80px;
    }
}