
/* full width container */
.bento-container{margin-left:1.60em;margin-right:1.60em;}

@media (max-width: 767px) {
    .bento-container{
        margin-left:0.75em;margin-right:0.75em;
    }
}


.blog-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 2rem;
  overflow: hidden;
  color: #ffffff;
}

/* Background image sits at the bottom of the isolated stack */
.blog-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* image position */
  transition: transform 0.5s ease;
  z-index: -2;
}

.blog-card:hover img {
  transform: scale(1.05);
}

/* Dark overlay sits above image, below text */
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  //background: rgba(0, 0, 0, 0.4);
  background-image: linear-gradient(1deg, #000000d6 .86%, #0000 40%);
  transition: all ease-in-out 0.3s;
  z-index: -1;
  pointer-events: none;
}

.blog-card:hover::after {
  //background: rgba(0, 0, 0, 0.55);
}

.blog-card:hover .blog-card__content{transform: translateY(-6px);}

.blog-card__content {
  max-width: 85%;
  transition: transform 0.2s ease;
  margin-bottom:-1.9rem;
}

.blog-card__cats {
  font-size: 1rem;
  margin-bottom: 0.1rem;
  font-weight:normal;
}

/* Category links sit above the stretched title link */
.blog-card__cats a {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.blog-card__cats a:hover,
.blog-card__cats a:focus {
  color: #ffffff;
  text-decoration: none;
}

.blog-card__title {
  font-weight: 800;
  margin-bottom: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 24px;
  line-height:25px;
}

.blog-card__content .content {
  
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight:200;
  font-size: 15px;
  color:white;
  text-align:left;
}

.blog-card__title a {
  color: #ffffff;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
}

/* Stretches the title link across the entire .blog-card */
.blog-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-card:hover .blog-card__title a,
.blog-card__title a:focus {
  color: #2392FB;
  text-decoration: none;
}

.blog-card__title a:hover{color:#45CC89 !important;} /* hover colour on h3 anchor */

/* Heights matching the bento proportions (accounting for Foundation's 1.875rem / 30px gutter) */
.blog-card--tall {
  height: 100%;
  min-height: 550px;
}

.blog-card--wide,
.blog-card--square {
  min-height: 310px;
}

/* Add spacing below the tall left card when stacked on mobile/tablet */
@media screen and (max-width: 63.9375em) {
  .blog-card--tall {
    min-height: 310px;
    margin-bottom: 1.25rem;
  }
  
  /* reposition images for tall and square */
  .blog-card--square img,.blog-card--tall img{ object-position: center 100% !important; }
  
  
}
