/* News card positioning */
/******************************************************************************/
/* News Card styling */
/******************************************************************************/
.main-container .hg-news-item,
.main-container .view-hg-news .item {
  position: relative;
}

.main-container .mercury-news__teaser:hover .block--newscard__content h4 {
  background-image: linear-gradient(currentcolor, currentcolor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  position: relative;
  transition: background-size 0.3s;
  background-size: 100% 3px;
  padding-bottom: 1px;
}

/* Images need border radius
/******************************************************************************/
.main-container .gt-main-content .mercury-news__teaser img,
.main-container .gt-main-content .mercury-news__teaser .gt-image {
  border-radius: 9px 0 0 9px;
}

@media (max-width: 768px) {

  .main-container .gt-main-content .mercury-news__teaser img,
  .main-container .gt-main-content .mercury-news__teaser .gt-image {
    border-radius: 9px 9px 0 0;
  }
}

.main-container .mercury-news__teaser .gt-image::before {
  width: 100%;
  height: 0;
  background: #b3a369;
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.52, 0.01, 0.5, 0.99);
}



.main-container .mercury-news__teaser:hover .gt-image::before {
  width: 100%;
  height: 7px;
}

.main-container .mercury-news__teaser:hover .gt-image img {
  transform: scale(1.1);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.52, 0.01, 0.5, 0.99);
}

.main-container .mercury-news__teaser .gt-image img {
  transform: scale(1);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.52, 0.01, 0.5, 0.99);
}

.main-container .mercury-news__teaser .block--newscard__content h4 {
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 3px;
  position: relative;
  transition: background-size 0.3s;
  display: inline;
  padding: 0;
  line-height: 1.25;
  margin: 0.5rem 0;
}

.main-container .mercury-news__teaser .block--newscard__content h4:before {
  margin: .75rem 0 .25rem;
}

.main-container .mercury-news__teaser .newscard-wrapper-link {
  display: block;
  font-size: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
