/* div{
  border: 1px solid red;
} */
.news {
  color: var(--white1);
  margin-top: 144px;
  padding-bottom: 100px;
}

.news .news-head {

  padding-top: 50px !important;
  padding-bottom: 30px !important;
}

.news .news-container {
  padding-top: 0px;
  display: flex;
  width: 100%;
  gap: 40px;
  flex-wrap: wrap;
  transition: opacity 1s ease;
  
}

.news .empty-news-box {
  height: 1px !important;
  background-color: transparent !important;
  margin-top: -40px;
}

.news .news-box {
  height: 150px;
  width: 100%;
  max-width: 600px;
  flex: 500px;
  background-color: var(--grey3);
  color: var(--white1);
  text-decoration: none;
  display: flex;
  padding-right: 20px;

  opacity: 0;
  animation: fadeIn 2s ease forwards;

  margin-right: 0;
  margin-top: 0;
}

/* News-box animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.news .news-img-cont {
  height: 150px;
  width: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.news .news-img-cont img {
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: cover;
}

.news .news-values {
  width: 100%;
  max-width: 380px;
}

.news .news-date {
  color: var(--grey1);
  margin-top: 20px;
  margin-bottom: 10px;
}

.news .news-btn-more {
  margin-top: 50px;
  padding-top: 14px;
  padding-bottom: 14px;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 1240px) {
  .news .news-box {
    max-width: 100%;
  }

  .news .news-values {
    width: 100%;
    max-width: 100%;
  }
  .news .news-head {

    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  
}

@media screen and (max-width: 1150px) {
  .news {
    margin-top: 52px;
  }
  .news .news-head {
    padding-top: 30px;
    padding-bottom: 30px;
    margin-top: 0;
    margin-bottom: 0;

    font-size: 24px;
    line-height: 27px;
    font-family: "Barlow";
    font-weight: 600;
  }

  .news .news-container {
   
  }
}

@media screen and (max-width: 945px) {
  .news .news-container .news-box {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 783px) {
  .news {
    margin-top: 50px;
    padding-bottom: 50px;
  }

  .news .news-head {
    padding-top: 30px;
    padding-bottom: 30px;

    font-size: 24px;
    line-height: 27px;
    font-family: "Barlow";
    font-weight: 600;
  }

  .news .news-date {
    margin-top: 10px;
    margin-bottom: 7px;

    font-size: 12px;
    line-height: 15px;
    font-family: "Barlow";
    font-weight: 400;
  }

  .news .news-title {
    font-size: 14px;
    line-height: 20px;
    font-family: "Axiforma";
    font-weight: 600;
  }

  .news .news-img-cont {
    margin-right: 15px;
    height: 110px;
    width: 110px !important;
    min-width: 110px !important;
    overflow: hidden;
    justify-content: center;
    align-items: center;
  }

  .news .news-box {
    padding-right: 15px;
    /* height: 110px; */
    height: fit-content;
  }

  .news .news-box .news-img-cont {
    margin-top: auto;
    margin-bottom: auto;
  
    
  }

  .news .news-container {
    gap: 20px;
  }

  .news .empty-news-box {
    height: 1px !important;
    background-color: transparent !important;
    margin-top: -20px;
  }

  .news .news-title {
    padding-bottom: 10px;
  }

  .news .news-btn-more a span {
    font-size: 14px;
    line-height: 17px;
    font-family: "Barlow";
    font-weight: 600;
  }
  .news .news-btn-more {
    margin-top: 30px;
    padding-top: 14px;
    padding-bottom: 14px;
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 660px) {
  .news {
    margin-top: 60px;
  }
}
