#news {
  color: #222222;
}

#news .single-news .news-content {
  display: block;
  height: 100%;
  box-shadow: 2px 2px 8px rgba(51, 51, 51, 0.337254902);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  padding: 0;
}
#news .single-news .news-content:hover {
  cursor: pointer;
}
#news .single-news .news-content:hover img {
  transform: scale(1.2);
}

#news .single-news .news-content:hover .text-container {
  border-left: 25px solid var(--accent-color);
}

#news .single-news .image-container {
  position: relative;
  /*height: 195px;*/
  height: 206px;
  overflow: hidden;
}

#news .single-news .image-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
}

#news .single-news .image-container img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  transition: 5s;
}

#news .single-news .text-container {
  padding: 0.75rem 0.75rem 1.5rem;
}

#news .single-news .text-container .news-cat {
  font-weight: 600;
  font-size: 12px;
  color: gray;
  margin-bottom: 1px;
}

#news .single-news .text-container .news-heading {
  display: block;
  /* font-family: var(--font-two); */
  font-size: 16px;
  color: #222222;
  font-weight: 700;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 37px;
}
#news .single-news .text-container .metadata {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}

#news .single-news.two-column .news-content {
  position: relative;
  /*height: 320px;*/
  height: 330px;
  overflow: hidden;
}

#news .single-news.two-column .image-container {
  height: unset;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#news .single-news.two-column .text-container {
  position: absolute;
  /* top: 0; */
  left: 0;
  bottom: 0;
  width: 100%;
  height: 39%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* text-shadow: 2px 2px 3px black; */
  background: white;
}
#news .single-news.two-column .text-container .bigTextContainer {
  top: 9px;
  position: absolute;
}
#news .single-news.two-column .text-container .news-cat {
  color: gray;
  font-size: 14px;
}

#news .single-news.two-column .text-container .news-heading {
  font-size: 18px;
  color: #222222;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 43.2px;
}
#news .single-news.two-column .text-container .metadata {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
}

#news .single-news .metadata .date {
  font-size: 15px;
  color: var(--secondary-color);
}

/* ! For testing */
#news .single-news.two-column .text-container .bigTextContainer {
  width: 94%;
}
#news .single-news .text-container {
  border-left: 25px solid #2c4c9c;
  transition: 1s all ease-in-out;
  position: relative;
  height: 125px;
}

#news .single-news .text-container .vdate {
  position: absolute;
   left: -22px; 
  /*margin-left: -34px;*/
  top: 40px;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
}
#news .single-news.two-column .text-container .metadata,
#news .single-news .text-container .metadata {
  justify-content: end;
}
