@charset "utf-8";
/* CSS Document */
 /* Container for the masonry grid */
    .newscontainer {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Flexible columns */
      gap: 16px; /* Space between items */
      padding: 16px;
      max-width: 90%;
      margin: 0 auto;
    }

    .articlescontainer {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Flexible columns */
      gap: 16px; /* Space between items */
      padding: 16px;
      max-width: 90%;
      margin: 0 auto;
    }

    /* Each article block */
    .newsarticle {
      display: flex;
      flex-direction: column;
      background-color: #fff;
      border: 1px solid #307384;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    /* Each article block */
    .articles {
      display: flex;
      flex-direction: column;
      background-color: #fff;
      border: 1px solid #307384;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

.newsarticle:hover {
    transform:scale(1.02);
    transition:all .3s;
    border-color: #000;
  -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    background: #f5f5f5; 
}


    /* Image in each article */
    .newsarticle img {
      width: 100%;
      height: auto;
      object-fit: cover; /* Ensure image maintains aspect ratio */
    }

    /* Image in each article */
    .articles img {
      width: 100%;
      height: auto;
      object-fit: cover; /* Ensure image maintains aspect ratio */
    }

    /* Content section inside each article */
    .newscontent {
      padding: 16px;
    }

  /* Content section inside each article */
    .articlescontent {
      padding: 16px;
    }

    .newsheadline {
	  font-family: "Open Sans", sans-serif;
    font-size: 26px;
    color: #ff914d;
	font-weight: 600;
      margin-bottom: 8px;
    }

  .articlesheadline {
	  font-family: "Open Sans", sans-serif;
    font-size: 26px;
    color: #ff914d;
	font-weight: 600;
      margin-bottom: 8px;
    }


    .newstext {
		font-family: "Open Sans", sans-serif;
      font-size: 16px;
      color: #232c31;
   
    }

 .articlestext {
		font-family: "Open Sans", sans-serif;
      font-size: 16px;
      color: #232c31;
   
    }
@media only screen and ( max-width:600px ){
    .newscontainer {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Flexible columns */
      gap: 16px; /* Space between items */
      padding: 16px;
      max-width: 90%;
      margin: 0 auto;
    }

    .articlescontainer {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Flexible columns */
      gap: 16px; /* Space between items */
      padding: 16px;
      max-width: 90%;
      margin: 0 auto;
    }


}

