.posts-section {
    display: flex;
    justify-content: center;
}

.posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
	margin-bottom: 30px;
}

.parallelepiped {
	display: none;
}

.post-container {
	background-size: cover;
/* 	background: center top no-repeat; */
/*     background: #181818; */
    overflow: hidden;
    display: flex;
	border-radius: 15px;
	min-height: 300px;
}

.post-link {
	transition: 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
	padding: 20px;
/* 	border-radius: 15px; */
	background: linear-gradient(rgba(30, 34, 66, 0) 0%, rgb(30, 34, 66) 100%) 0% 0% / 100%, linear-gradient(rgba(30, 34, 66, 0) 0%, rgb(30, 34, 66) 100%);
	width: 100%;
	height: 100%;
}

.post-link:hover {
	color: #fff;
	background: linear-gradient(rgba(30, 34, 66, 0) 0%, rgb(30, 34, 66) 100%) 0% 0% / 100%, linear-gradient(rgba(30, 34, 66, 0) 0%, rgb(30, 34, 66) 100%);
}

.post-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

a .title {
/*     font-size: 23px; */
/*     margin: 20px 0 10px 0; */
	margin: 0;
    color: #ffffff;
}

.post-content {
	height: 100%;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	flex-direction: column;
}

.excerpt {
    font-size: 14px;
/*     color: #bbbbbb; */
    margin: 10px 0;
}

ul.page-numbers .current {
    background-color: rgba(86, 79, 255, 0.3) !important;
    border: 1px solid rgb(86, 79, 255);
}

ul.page-numbers a { 
	border: 1px solid transparent;
	transition: 0.3s;
/* 	font-size: 1.2em; */
}

ul.page-numbers a:hover {
	border-color: rgb(86, 79, 255);
}

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .post-title {
        font-size: 16px;
    }

    .post-excerpt {
        font-size: 13px;
    }
}

.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: -20px 0 20px 0;
}

@media (max-width: 768px) {
    .posts-container {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .post-img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .posts-container {
        grid-template-columns: 1fr;
    }

    .post-img {
        height: 140px;
    }

    .title {
        font-size: 14px;
    }

    .excerpt {
        font-size: 12px;
    }
}
