.card {
    display: flex;
    background-color: var(--wp--preset--color--white);
    transition: all .25s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    text-decoration: none;
    flex-direction: column;
    border-radius: var(--wp--custom--border--radius--medium);
    border: 1px solid #0000001f;
    overflow: hidden;
}

.card-thumbnail {
    position: relative;
    border-bottom: 5px solid var(--wp--preset--color--senary);
}

.type-page .card-thumbnail {min-height:350px;border-radius: var(--wp--custom--border--radius--medium) var(--wp--custom--border--radius--medium) 0 0;}


.card-meta {
    padding: var(--wp--preset--spacing--small);
    width: 100%;
    
     /* Takes up 50% of available space */
    height: 100%;
    background: #FFF;
    display: flex;
    color: black;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {text-decoration:none;}
.card:hover:not(.swiper-slide .card) {transform: translateY(-5px);}

.card h2, .card h3, .card-title, .card h4 {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--black);
	margin: 0 0 var(--wp--preset--spacing--tiny) 0;
	font-weight: 600;
	text-decoration: none;
	margin: 0;
}

.card .card-excerpt {
	margin: var(--wp--preset--spacing--small) 0 0 0;
	font-size: var(--wp--preset--font-size--tiny);
	color: var(--wp--custom--color--neutral--600);
}
.author {font-size:16px;margin-top:15px;}

.readmore {
    display: flex;
    justify-content: flex-end;
}

.readmore span {background: var(--wp--preset--color--primary);padding: 5px 10px;font-size: 14px;font-weight: 600;border-radius: 25px;color: #FFF;}

.card:hover .readmore {
	
}

.card.post-card .card-date {
	font-size: var(--wp--preset--font-size--tiny);
	color: var(--wp--preset--color--tertiary);
	position: absolute;
	top: 0;
	font-weight: 700;
	z-index: 25;
	background: white;
	padding: 8px 10px;
}
.card-category {padding: 5px 8px;font-size: var(--wp--preset--font-size--tiny);background: var(--wp--preset--color--quaternary);color: white;font-weight: 600;border-radius: 25px;width: fit-content;}

.name-cat-wrap > .card-date {
    margin: 0;
}

.category-reading-time {
    display: flex;
    gap: 10px;
    align-items:center;
    margin-bottom: 15px;
}


.name-cat-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin-bottom: var(--wp--preset--spacing--small);
    position: relative;
}
.card-reading-time {
    font-size: var(--wp--preset--font-size--tiny);
}
.type-team .category-reading-time {
    display: none;
}
.type-team h2.card-title {
    color: white;
}

.posts.grid .type-post .card-thumbnail {
    width:33.333%;
    border: 0;
}

.posts.grid .type-post .card-meta {
    width:66.666%;
}

.posts.grid .card h2, .posts.grid .card h3, .posts.grid .card-title, .posts.grid .card h4 {
}

.card-thumbnail.team {
    object-fit: cover;
    max-height: 300px;
}

.card-meta.team {
    background: var(--wp--preset--color--primary);
}

.block.card .eye-condition {
    position: absolute;
    top: 0px;
    left: 0;
    background: var(--wp--preset--color--primary);
    padding: 5px 10px;
    border-radius: 12px 0;
    color: white;
}
.card-category.stories {
    background: var(--wp--preset--color--quinary);
    color: var(--wp--preset--color--primary);
}

.block.card .institution {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    background: var(--wp--preset--color--primary);
    padding: 5px 10px;
    border-radius: 12px 0 0;
    color: white;
}

.latest-news-block article, .latest-news-block .card {
    height: 100%;
}