/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }

.wrap-custom-last-posts {
    width: 100%;
    position: relative;
    display: inline-block;
}

.wrap-custom-last-posts .tabs-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0 10px;
    margin-bottom: 40px;
}

.wrap-custom-last-posts .tabs-content button {
    color: #000000;
    padding: 6px 18px 6px;
    border-radius: 40px;
    border: 1px solid #000000;
    background: #fff;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 14px;
}

.wrap-custom-last-posts .tabs-content button.active {
    background: #000;
    color: #ffffff;
}

.wrap-custom-last-posts .tab-content {
    display: none;
    animation: fadeEffect 1s;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wrap-custom-last-posts .tab-content .wrap-post {
    display: flex;
    gap: 0px;
    flex-direction: column;
    align-items: flex-start;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image figure {
    aspect-ratio: 4/3;
    width: 100%;
    height: 100%;
    position: relative;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image figure a {
    height: 100%;
    display: block;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image figure a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-sizing: border-box;
    max-width: 100%;
    vertical-align: bottom;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image .post-categories {
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 15px;
    border-radius: 3px;
    background-color: #00000080;
    padding-top: 7px;
    padding-right: 8px;
    padding-bottom: 7px;
    padding-left: 8px;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image .post-categories p {
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #fff;
    display: inline-block;
    position: relative;
    margin: 0;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image .post-categories .separator {
    white-space: pre-wrap;
    width: 10px;
    display: inline-block;
    font-size: 12px;
    height: 10px;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-image .post-categories .separator::after {
    content: "·";
    position: absolute;
    top: -1px;
    left: 3px;
    width: 12px;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-info a {
    color: #000;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-info .excerpt {
    margin-top: 8px;
    color: rgba(0,0,0,.9);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 400;
}

.wrap-custom-last-posts .tab-content .wrap-post .post-info .date_create {
    margin-top: 15px;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(0,0,0,.5);
    font-weight: 700;
}

@media only screen and (max-width: 767px) {
	.wrap-custom-last-posts .tab-content {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}