/* blogs */
.post-cards {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 25px;
}
.post-card {
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(0 5px 12px rgb(0 0 0 / 10%));
    width: calc((100% - (25px * 3)) / 4);
}
.post-card__image {
    aspect-ratio: 16 / 9;
    background: #4c4c4c;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    line-height: 0;
    overflow: hidden;
    padding: 12px;
    position: relative;
}
.post-card__image::after {
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: FontAwesome;
    font-size: 90px;
    font-weight: 700;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition-duration: .3s;
}
.post-card[data-tag="css"] .post-card__image::after {
    content: "\f38b";
}
.post-card[data-tag="html"] .post-card__image::after {
    content: "\f13b";
}
.post-card[data-tag="javascript"] .post-card__image::after {
    content: "\f3b8";
}
.post-card[data-tag="php"] .post-card__image::after {
    content: "\f457";
}
.post-card[data-tag="python"] .post-card__image::after {
    content: "\f3e2";
}
.post-card a:hover .post-card__image::after {
    transform: scale(1.1);
}
.post-card__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.post-image__ttl {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6em;
    overflow: hidden;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
}
.post-card__text {
    padding: 12px;
}
.post-card__ttl {
    color: #333;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    margin: 0 0 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.post-card__date {
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 5px;
}
.post-card__caption p {
    color: #333;
    display: -webkit-box;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.post-card__tagline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0 0;
}
@media screen and (max-width: 968px) {
    .post-cards {
        gap: 20px;
    }
    .post-card {
        width: calc((100% - (20px * 2)) / 3);
    }
}
@media screen and (max-width: 768px) {
    .post-card {
        width: calc((100% - (20px * 1)) / 2);
    }
}
@media screen and (max-width: 568px) {
    .post-card {
        width: 100%;
    }
    .post-card__ttl {
        height: auto;
    }
}