.post-card,
.post-card-content {
    display: flex;
    flex-direction: column;
}

.post-card .post-img-container {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    margin-bottom: 20px;
    background-color: var(--wp--preset--color--light-grey);
    border-radius: 12px;
    overflow: hidden;
}

.search .post-card:not(.header-post) .post-img-container {
    width: 160px;
    height: 160px;
    min-width: 160px;
    padding-bottom: 0;
}

.search .post-card:not(.header-post) {
    gap: 0 32px;
    flex-direction: row;
    max-width: 840px;
    padding-bottom: 36px;
    border-bottom: 1px solid #00182233;
}

.post-card .post-img-container img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s ease-in-out;
}

.post-card:hover .post-img-container img {
    transform: scale(1.1);
}

.post-card .tags {
    display: flex;
    gap: 0 12px;
    margin-bottom: 20px;
}

.post-card .tags .category {
    width: 32px;
    height: 32px;
}


.search .post-card:not(.header-post) .tags {
    margin-bottom: 0;
    margin-top: 16px;
}

.post-card .card-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.search .post-card:not(.header-post) .card-title {
    margin-bottom: 8px;
}

.post-card .card-description {
    margin: 0;
    max-width: 380px;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    overflow: hidden;
}

.search .post-card:not(.header-post) .card-description {
    max-width: unset;
}

.post-card .time-to-read svg {
    margin-right: 8px;
}

.post-card .time-to-read {
    display: flex;
    align-items: center;
    margin: 16px 0 0 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.search .post-card:not(.header-post) .time-to-read {
    display: none;
}

@media ( max-width: 700px ) {
    .post-card .tags {
        gap: 0 10px;
        margin-bottom: 16px;
    }

    .post-card .card-title {
        margin-bottom: 16px;

    }

    .post-card .tags .category,
    .post-card .tags svg {
        width: 24px;
        height: 24px;
    }
}
