/**
 * Posts Grid Block Styles
 */

.posts-grid-block {
}

.posts-grid-block__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 768px) {
    .posts-grid-block__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .posts-grid-block__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.vh-post-card__thumb {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 20px;
}

.vh-post-card__category {
    position: absolute;
    top: 0;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

.vh-post-card__category .overlay-tag {
    --overlay-tag-bg-color: #F2EEE5;
    --overlay-tag-text-color: #0D0D0D;    
}

.vh-post-card__thumb-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.vh-post-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder in editor */
.vh-post-card__thumb--placeholder {
    background-color: #E5E5E5;
}

.vh-post-card__title {
    font-family: 'Panama', serif;
    font-size: 28px;
    line-height: .9;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    color: #0D0D0D;
    font-weight: 400;
}

.vh-post-card__attendees {
    font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.5;
    color: #0D0D0D;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.vh-post-card__excerpt {
    font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.5;
    color: #0D0D0D;
    margin: 0 0 20px 0;
}

.vh-post-card__button-link.link-underline {
    --link-underline-color: #0D0D0D;    
}

@media (min-width: 768px) {
    .vh-post-card__title {
        font-size: 32px;
    }
}
