/* Creates an rgba background based on a HEX colour */
/*============================================================================
Breakpoint Variables
==============================================================================*/
/*============================================================================
  Breakpoint Mixins
==============================================================================*/
.visual-page-link__link {
  box-sizing: border-box;
  min-height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 20px;
  text-decoration: none;
  display: flex;
  justify-content: flex-end;
}
@media (min-width: 782px) {
  .visual-page-link__link {
    padding: 40px;
  }
}
.visual-page-link__link h4 {
  color: white;
  position: relative;
  z-index: 1;
  text-decoration: none;
  margin-bottom: 10px;
}
.visual-page-link__link .overlay {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  background: linear-gradient(to bottom, rgba(13, 31, 45, 0.35) 0%, rgb(13, 31, 45) 100%);
  transition: all 0.2s ease-in-out;
}
.visual-page-link__link:hover {
  text-decoration: none;
}
.visual-page-link__link:hover .overlay {
  opacity: 0.9;
}
