

  
  /* .news__figure {
    grid-area: img;
    position: relative;
    width: 100%;
    height: auto;
  }
 
  .news__figure img {
    border: #D2D2D2 1px solid;
  } */

  
  /* latest news */

.newscontainer {
  display: grid;
  grid-template-columns: 1fr;
  /* row-gap: 10px;
          column-gap: 10px; */
  gap: 40px 40px;

  margin: 60px auto;
}

@media (min-width: 500px) {
  .newscontainer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .newscontainer {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.news__article {
  position: relative;
  cursor: pointer;
}

.news__h2 {
  grid-column: span 3;
  /* font-family: 'Open Sans', sans-serif;   */
  font-weight: 900;
  font-size: 4rem;
  text-align: center;
}

/* .news__figure {
  position: relative;
} */

/* .news__category {
  position: absolute;
  bottom: 15px;
  background-color: var(--mainColor);
  color: #ffffff;
  text-transform: uppercase;
  padding: 5px 15px 5px 20px;
}

.news__category__link {
  color: #ffffff;
  text-decoration: none;
} */

/* position: absolute;
      left: 0;
      bottom: 20px;
      display: inline-block;
      width: auto; */

/* .news__link {
  display: block;
  padding-bottom: 20px;
  text-decoration: none;
} */

.news__article .news__link {
  /* color: var(--mainColor); */
  color: black;
  /* letter-spacing: 0.05em; */
}

.news__article:hover .news__link {
  color: #fcaf1a;
}
.news__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 1025px) {
  .news__title {
    font-size: .9rem;
  }
}
@media (min-width: 1200px) {
  .news__title {
    font-size: 1rem;
  }
}

.news__date {
  /* text-align: right;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  right: 0; */
  color: rgba(0, 0, 0, 0.452);
  font-size: 0.8rem;
}


