﻿/***********************
****  Vertical card  ***
***********************/

.vertical-card {
  box-shadow:  4px 6px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  background-color: white;
}

.vertical-card a.card-title, 
.horizontal-card a.card-title{
  display: block;
  font-size: 18.5px;
}

.vertical-card span.card-date {
  font-size: 14px;
}

.vertical-card a.card-title {
  color: var(--textColour);
  text-decoration: none;
}

.vertical-card a.card-title:hover  {
  color: inherit;
  text-decoration: underline;
}

.vertical-card p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vertical-card.featured {
  background-color: var(--globalBlue);
  color: white;
}

.vertical-card.featured .card-title, 
.vertical-card.featured span.text-muted {
  color: white !important;
}

.vertical-card .featured-title {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--globalBlue);
  color: white;
  text-transform: uppercase;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 15px;
}

.vertical-card .thumbnail-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vertical-card .tags .tag {
  display: inline-block;
  background: #efefef;
  color: var(--globalBlue);
  padding: 5px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  margin: 0 5px 5px 0;
}

.vertical-card.featured .tags .tag {
  background: var(--globalPink);
  color: white;
}