.media-banner {
  background: url(../images/media-page-image.jpg) bottom center;
  background-size: cover;
}
.media-banner .banner-content-wrapper {
  min-height: 90vh !important;
}
.view-all-media-btn {
  background-color: #1a396700;
  font-family: "Roboto", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  fill: #ffffff;
  color: #ffffff;
  border: 1px solid #fff;
  border-radius: 50px 50px 50px 50px;
  padding: 15px 35px 15px 35px;
  line-height: 1;
  margin-bottom: 50px;
  &:hover {
    background-color: #4ab03b;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
  }
}
.media-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-block: 50px;
}
.media-box {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.57) inset;
  padding: 10px 10px 20px;
  h2 {
    font-family: "Montserrat", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a3967;
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limits text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 47px;
  }
  p {
    color: #7a7a7a;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limits text to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
    height: 72px;
  }
  .readmore-media-btn{
    background-color: #1a3967;
    color: #fff;
    
    &:hover{
        background-color: #4ab03b;
        text-decoration: none;
    }
  }
}
.media-box-banner {
  aspect-ratio: 16/11;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}
