.postList__posts {
    display: grid;
    gap: 2rem;
    margin-bottom: var(--marginBottom16);
}

.post {
    position: relative;
    display: grid;
    place-items: flex-end;
    border-radius: 2rem;
    overflow: hidden;
    background: transparent;
    will-change: transform, background;
}

.post > * {
    grid-row: 1;
    grid-column: 1;
}

.postList__showMoreLink {
    float: right;
}

.post_contentWrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 6rem 1rem 0 1rem;
}

.post__title {
    padding: 1rem;
    border-radius: var(--borderRadiusForms);
    z-index: 1;
    color: var(--baseLight100);
    background-color: rgb(28 61 255 / 70%);
}

.post__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .3s ease-in-out, opacity .3s ease-in-out;
}

.post:hover .post__image {
    scale: 1.1;
    opacity: .5;
}

.post:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    transition: box-shadow ease-in-out .2s;
}

.post:hover::after {
    box-shadow: none;
}

.post__tags {
    display: flex;
    flex-wrap: wrap;
}

.post__tag {
    margin: 0 1rem 1rem 0;
    padding: .4rem 1.2rem;
    z-index: 2;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 100rem;
    color: var(--baseLight100);
    background-color: var(--secondaryColor500);
    transition: background-color ease-in-out .2s;
}

.post__tag:hover {
    text-decoration: none;
    background-color: var(--secondaryColor900);
}

.post__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;

}

@media (min-width: 768px) {
    .postList__posts {
        grid-template-columns: repeat(auto-fit, minmax(46%, 1fr));
    }

    .post_contentWrapper {
        padding: 6rem 2rem .5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .postList {
        position: relative;
        margin-bottom: calc(-1 * var(--marginBottom176));
        padding-bottom: var(--marginBottom176);
    }

    .postList::after {
        position: absolute;
        bottom: 0;
        left: 48%;
        content: '';
        display: block;
        width: 150px;
        height: var(--marginBottom152);
        margin-inline: auto;
        transform: rotateY(180deg);
        background: transparent url(../../../images/lines-3.svg) no-repeat center top;
    }
}
