.posts-list {
    position: relative;
    padding-block: 100px;
    overflow: hidden;
}

.posts-list .posts-list__title:not(.heading-with-star) {
    margin-left: calc(50% + 10px);
}

.posts-list .posts-list__description {
    margin-left: calc(50% + 10px);
}

.posts-list .posts-list__description:not(:first-child) {
    margin-top: 40px;
}

.posts-list .posts-list__items.swiper {
    overflow: visible;
}

.posts-list .posts-list__items:not(.is-slider) .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.posts-list .posts-list__items.is-slider .swiper-controls-container {
    position: relative;
    margin-top: 50px;
}
.posts-list .posts-list__items.is-slider .swiper-controls {
    margin: 0px;
}
.posts-list .posts-list__items:not(.is-slider) .swiper-controls {
    display: none;
}

.posts-list .posts-list__items.is-slider .swiper-controls-container .insights-vie-more {
    position: absolute;
    right: 0;
    bottom: 0;
}

.posts-list .posts-list__items:not(.is-slider) .posts-list__item {
    width: calc(33.333%);
}

.posts-list .posts-list__items:not(:first-child) {
    margin-top: 100px;
}

.posts-list .posts-list__item {
    position: relative;
    display: flex;
    height: initial;
}

.posts-list .item-post__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 50px 10px;
    width: 100%;
    background-color: var(--grey-90);
    outline: none;
}

.posts-list .item-post__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.posts-list .item-post__title {
    margin-bottom: auto;
    transition: var(--transition);
}

.posts-list .item-post__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 30px;
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid var(--grey-border-40);
}

.posts-list .item-post__button .button.button-link.button-with-icon.button-without-border {
    min-width: auto;
    padding-inline: 0;
    pointer-events: none;
}

.posts-list .item-post__button .button.button-link.button-with-icon.button-without-border::after {
    display: none;
}

/* Hover */

.posts-list .item-post__inner:hover .item-post__title {
    color: var(--red);
}

.posts-list .item-post__inner:hover .button.button-link {
    color: var(--red);
}

.posts-list .item-post__inner:hover .button.button-with-icon svg.arrow path:first-child {
    clip-path: inset(0 0 0 20%);
}

/* Focus (active) */

.posts-list .item-post__inner:focus .item-post__title {
    color: var(--red);
}

.posts-list .item-post__inner:focus .button.button-link {
    color: var(--red);
}

.posts-list .item-post__inner:focus .button.button-with-icon svg.arrow path:first-child {
    clip-path: inset(0 0 0 0);
}

@media (max-width: 1299px) and (min-width: 1024px) {
    .posts-list .item-post__inner {
        padding: 50px 30px 10px;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .posts-list .item-post__info {
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 1023px) {
    .posts-list {
        overflow: visible;
    }

    .posts-list .posts-list__title:not(.heading-with-star) {
        margin-left: 0;
    }

    .posts-list .posts-list__description {
        margin-left: 0;
    }

    .posts-list .posts-list__items:not(.is-slider) .posts-list__item {
        width: 440px;
    }
    .posts-list .posts-list__items.is-slider .swiper-controls-container {
        display: flex;
        justify-content: space-between;
    }
    .posts-list .posts-list__items.is-slider .swiper-controls-container .insights-vie-more {
        position: inherit;
    }
}

@media (max-width: 767px) {
    .posts-list {
        padding-block: 50px;
    }

    .posts-list .posts-list__description:not(:first-child) {
        margin-top: 30px;
    }

    .posts-list .posts-list__description br {
        display: none;
    }

    .posts-list .posts-list__items:not(.is-slider) .posts-list__item {
        width: 100%;
    }

    .posts-list .posts-list__items:not(:first-child) {
        margin-top: 50px;
    }

    .posts-list .item-post__inner {
        padding: 30px 30px 10px;
    }

    .posts-list .item-post__info {
        margin-top: 20px;
    }
    .posts-list .posts-list__items.is-slider .swiper-controls-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}


@media (max-width: 499px) {
    .posts-list .item-post__inner {
        align-items: center;
    }
    
    .posts-list .item-post__categories {
        justify-content: center;
    }

    .posts-list .item-post__title {
        text-align: center;
    }

    .posts-list .item-post__info {
        flex-direction: column;
        justify-content: center;
    }
}