/***********************************************************/ 
/*******************  RESPONSIVE STYLING *******************/
/********************** LATEST NEWS BLOCK ******************/
/***********************************************************/ 



.latest-news-filter-row-1 .featured-image {
  display: block;
background-repeat: no-repeat;
background-size: 220%; /* or whatever size you want */
transition: background-size 0.3s ease; /* Adding transition for smooth effect */
}



.latest-news-filter-row-2 .featured-image {
  display: block;
background-repeat: no-repeat;
}

.container-featured-image{
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.latest-news-filter-row-3 .featured-image {
  display: block;
background-repeat: no-repeat;
background-size: 200%; /* or whatever size you want */
transition: background-size 0.3s ease; /* Adding transition for smooth effect */
}


.latest-news-filter-new-row .featured-image {
  display: block;
background-repeat: no-repeat;
background-size: 200%; /* or whatever size you want */
transition: background-size 0.3s ease; /* Adding transition for smooth effect */
}



@media (min-width: 700px) {
  .featured-image{
    height: 300px;
      background-position: center;
  }
  }
@media (max-width: 700px) {
.featured-image{
  height: 300px;
    background-size: cover!important;
    background-position: center;
}
}

/* */

@media (min-width: 977px) {
  .latest-news-filter-row-1 .featured-image{
    height: 300px;
    display: block;
  }
}

@media (max-width: 977px) {
  .latest-news-filter-row-1 .featured-image{
    height: 300px;
    background-size: cover;
    background-position: center;
    display: block;
    position: relative;
  }
}

@media (min-width: 977px) {
  .latest-news-filter-row-1 .featured-image{
    width: 50%;
  }
}

/* */

@media (max-width: 1600px) {
  .latest-news-filter-main-container button{
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 60px;
  }
}


@media (max-width: 768px) {
  .latest-news-filter-main-title h2{
    color: #a6192e;
    font-size: 45px;
    font-family: 'Moderat Light', 'Roboto Light';
    margin: 0px;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .latest-news-filter-main-title h2{
    color: #a6192e;
    font-size: 65px;
    font-family: 'Moderat Light', 'Roboto Light';
    margin: 0px;
    text-align: center;
    padding-bottom: 10px;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  .latest-news-filter-main-title h2{
    color: #a6192e;
    font-size: 75px;
    font-family: 'Moderat Light', 'Roboto Light';
    margin: 0px;
    text-align: center;
    padding-bottom: 20px;
  }
}

@media (min-width: 1200px) {
  .latest-news-filter-main-title h2{
    color: #a6192e;
    font-size: 85px;
    font-family: 'Moderat Light', 'Roboto Light';
    margin: 0px;
    text-align: center;
    padding-bottom: 40px;
  }
}

.post-categories {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
}

@media (max-width: 767px) {
.container-featured-image,.latest-news-filter-row-1 .news-featured-image{
  height: 150px !important;
}
}



@media (min-width: 1025px) {
  .latest-news-filter-row-2 .column-latest-news-filter:first-child{
    margin-right: 40px;
  }
}



@media (min-width: 1025px) {
  .latest-news-filter-row-2 .column-latest-news-filter:nth-child(2){
    margin-right: 40px;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-row-3 .column-latest-news-filter:first-child{
    margin-right: 40px;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-row-3 .column-latest-news-filter:nth-child(2){
    margin-right: 40px;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-new-row .column-latest-news-filter:first-child{
    margin-right: 40px;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-new-row .column-latest-news-filter:nth-child(2){
    margin-right: 40px;
  }
}



@media (min-width: 977px) {
  .latest-news-filter-row-1 .post-content{
    width: 60%;
    }
}

@media (min-width: 977px) {
  .latest-news-filter-row-1 .news-featured-image{
    width: 40%;
    }
}


@media (max-width: 977px) {
  .latest-news-filter-row-1 .news-featured-image{
   display: block;
   height: 300px;
    }
}

.post-category {
  white-space: nowrap; /* Prevent text from breaking */
  margin-right: 10px; /* Adjust margin between items */
  margin-bottom: 10px; /* Adjust margin between lines */
  display: inline-block;
}

@media (max-width: 1600px) {
  .latest-news-filter-main-container-content{
      padding-left: 24px;
      padding-right: 24px;
  }
}

@media (max-width: 1600px) {
  .searchandfiltercontainer{
      padding-left: 24px;
      padding-right: 24px;
  }
}

@media (max-width: 1600px) {
  .latest-news-filter-new-row{
      padding-left: 24px;
      padding-right: 24px;
  }
}

@media (min-width: 1600px) and (max-width: 1650px) {
  .searchandfiltercontainer{
    padding-left: 24px;
    padding-right: 24px;
  }
}


@media (min-width: 1600px) and (max-width: 1650px) {
  .searchandfiltercontainer{
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-row-2{
    display: flex;
  }
}

@media (max-width: 1025px) {
  .latest-news-filter-row-2{
    display: block;
  }
}

.latest-news-filter-row-1:hover {
  background-size: 100% 100%;
}

@media (min-width: 977px) {
  .latest-news-filter-row-1{
    display: flex;
    justify-content: flex-end;
    background-color: #2e2d62;
  }
}


@media (min-width: 1025px) {
  .latest-news-filter-row-3{
    display: flex;
  }
}

@media (max-width: 1025px) {
  .latest-news-filter-row-3{
    display: block;
  }
}

@media (min-width: 1025px) {
  .latest-news-filter-new-row{
    display: flex;
  }
}

@media (max-width: 1025px) {
  .latest-news-filter-new-row .column-latest-news-filter{
    margin-bottom: 40px;
  }
}

@media (min-width: 1025px) {
  .column-latest-news-filter{
    width: calc(33.33%);
  }
}

@media (max-width: 1025px) {
.latest-news-filter-row-2 .column-latest-news-filter {
  margin-top: 40px;
}
}

@media (max-width: 1025px) {
  .latest-news-filter-row-3 .column-latest-news-filter {
    margin-top: 40px;
  }
  }
  

/* MEDIA */

@media (max-width: 700px) {
  .post-categories a{
    font-size: 18px;
    text-decoration: none;
    font-family: 'Roboto Bold';
    padding-top: 5px;
    padding-bottom: 5px;  
    white-space: normal; /* Allows text to break and wrap onto multiple lines */
    word-break: break-word; /* Breaks long words if necessary */
    display: inline-block;
    text-align: center;
  }
  }

@media (min-width: 700px) {
  .post-categories a{
    font-size: 18px;
    text-decoration: none;
    border: 1px solid white;
    border-radius: 60px;
    font-family: 'Roboto Bold';
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;  
    white-space: normal; /* Allows text to break and wrap onto multiple lines */
    word-break: break-word; /* Breaks long words if necessary */
    display: inline-block;
    text-align: center;
  }
  }

  @media (max-width: 976px) {
    .latest-news-filter-row-1 .post-content{
      display: flex;
        align-items: flex-start;
        justify-content: space-around;
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 40px;
    }
  }

  @media (min-width: 976px) {
  .latest-news-filter-row-1 .post-content{
    display: flex;
      align-items: flex-start;
      justify-content: space-around;
      flex-direction: column;
      padding-top: 40px;
      padding-bottom: 40px;
      padding-right: 40px!important;
      padding-left: 40px!important;
  }
}

.post-category-first-line{
  display: flex;
}

.latest-news-filter-row-1 .post-categories{
  display: flex;
}

.post-categories{
  margin-bottom: 30px;
}

.latest-news-filter-row-1 .post-categories-first-line{
  margin-right: 10px;
}

.latest-news-filter-new-row .post-categories-first-line{
  margin-right: 10px;
}

.latest-news-filter-new-row h2{
  font-size: 32px;
    font-family: 'Roboto Bold';
    color: #ffffff;
}

@media (min-width: 700px) {
.latest-news-filter-new-row .post-content .post-categories-first-line a{
  font-size: 18px;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 60px;
  font-family: 'Roboto Bold';
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: white;
}
}

@media (max-width: 700px) {
  .latest-news-filter-new-row .post-content .post-categories-first-line a{
    font-size: 18px;
    text-decoration: none;
    font-family: 'Roboto Bold';
    padding-top: 3px;
    padding-bottom: 3px;
    color: white;
  }
}

@media (max-width: 700px) {
  .latest-news-filter-new-row .post-content .post-categories-second-line a{
    font-size: 18px;
    text-decoration: none;
    font-family: 'Roboto Bold';
    padding-top: 3px;
    padding-bottom: 3px;
    color: white;
  }
}

@media (min-width: 700px) {
.latest-news-filter-new-row .post-content .post-categories-second-line a{
  font-size: 18px;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 60px;
  font-family: 'Roboto Bold';
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: white;
}
}

.post-categories-first-line{
  margin-bottom: 20px;
  display: contents;
}

.post-categories-first-line a:first-child{
  margin-right: 10px;
  white-space: normal; /* Allows text to break and wrap onto multiple lines */
    word-break: break-word; /* Breaks long words if necessary */
    display: inline-block; 
    text-align: center;
}



.post-categories-second-line{
  margin-bottom: 40px;
}

.post-content{
  padding-left: 20px;
  padding-right: 20px;
}

.latest-news-filter-row-1{
  background-color: #2e2d62;
  margin-bottom: 40px;
  min-height: 300px;
}



.latest-news-filter-row-2{
  margin-bottom: 40px;
}

.latest-news-filter-row-2 .column-latest-news-filter{
  background-color: #a6192e;
}

.latest-news-filter-row-3{
  margin-bottom: 40px;
}

.latest-news-filter-row-3 .column-latest-news-filter{
  background-color: #2e2d62;
}



.latest-news-filter-new-row{
  margin-bottom: 40px;
}

.latest-news-filter-new-row .column-latest-news-filter{
  background-color: #2e2d62;
}



.post-categories{
  font-size: 18px;
  font-family: 'Roboto Bold';
  color: #ffffff;
  line-height: 1.5;
}

.featured-image-top-row{
height: auto !important;
}

.post-excerpt{
  font-size: 18px;
  font-family: 'Roboto Regular';
  color: #ffffff;
  line-height: 1.5;
}

.info-inner{
font-size: 18px;
font-family: 'Roboto Regular';
color: #ffffff;
line-height: 1.5;
}

.info-inner p{
  margin-bottom: 0px;
  margin-top: 0px;
  }

  .latest-news-filter-row-1 .info-inner{
    padding-bottom: 40px;
  } 

.latest-news-filter-row-2 .info-inner{
  padding-bottom: 20px;
} 

.latest-news-filter-row-3 .info-inner{
  padding-bottom: 20px;
} 

.latest-news-filter-new-row .info-inner{
  padding-bottom: 20px;
} 



.latest-news-filter-row-1 h2 a:hover{
  color: #FF6900;
}

.latest-news-filter-row-1{
  color: white;
}

.latest-news-filter-row-2{
  color: white;
}

.latest-news-filter-row-3{
  color: white;
}

@media (min-width: 1400px) {
  .latest-news-filter-row-1 h2{
    font-size: 38px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

@media (min-width: 700px) and (max-width: 1400px) {
  .latest-news-filter-row-1 h2{
    font-size: 32px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
  }

@media (max-width: 700px) {
  .latest-news-filter-row-1 h2{
    font-size: 28px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

.latest-news-filter-row-2 h2 a:hover{
  color: #FF6900;
}



@media (min-width: 1400px) {
  .latest-news-filter-row-2 h2{
    font-size: 32px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

@media (min-width: 700px) and (max-width: 1400px) {
  .latest-news-filter-row-2 h2{
    font-size: 28px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
  }

@media (max-width: 700px) {
  .latest-news-filter-row-2 h2{
    font-size: 24px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

.latest-news-filter-row-3 h2 a:hover{
  color: #FF6900;
}


@media (min-width: 1400px) {
  .latest-news-filter-row-3 h2{
    font-size: 32px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

@media (min-width: 700px) and (max-width: 1400px) {
  .latest-news-filter-row-3 h2{
    font-size: 28px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
  }

@media (max-width: 700px) {
  .latest-news-filter-row-3 h2{
    font-size: 24px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}


@media (min-width: 1400px) {
  .latest-news-filter-new-row h2{
    font-size: 32px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}

@media (min-width: 700px) and (max-width: 1400px) {
  .latest-news-filter-new-row h2{
    font-size: 28px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
  }

@media (max-width: 700px) {
  .latest-news-filter-new-row h2{
    font-size: 24px;
          font-family: 'Moderat Regular', 'Roboto Regular';
          margin: 0px;
          font-weight: 500;
          line-height: 1.0;
  }
}


.latest-news-filter-new-row .post-categories-first-line a{
  color: #ffffff;
}

.latest-news-filter-new-row .post-categories-first-line a:hover{
  color: #FF6900;
}


.cintainer-news{
  max-width: 1600px;
  margin: auto;
}


.column-latest-news-filter {
  overflow: hidden; /* Add overflow property to clip overflowing content */
}



.latest-news-filter-main-container{
  max-width: 1600px;
  margin: auto;
}

/* TEXT STYLING */

.latest-news-filter-content-inner .date{
  font-size: 18px;
  font-family: 'Roboto Bold';
}

.latest-news-filter-content-inner .link{
  font-size: 21px;
  font-family: 'Moderat Bold', 'Roboto Bold';
  text-transform: uppercase;
}

/* BUTTON STYLE */

/* Button style 1 */

.info-inner{
  padding-top: 20px;
}

.post-content{
  padding-top: 20px;
}

button{
  margin-bottom: 60px;
  display: inline-block;
    padding: 10px 30px;
    font-size: 21px;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    background-color: rgba(0, 0, 0, 0.0);
    border: 1px solid white;
    transition: background-color 0.3s, color 0.3s;
    font-family: 'Moderat Bold', 'Roboto Bold';
    margin-top: 20px;
}

button:hover {
  background-color: #FF6900;
  cursor: pointer;
}
