/* ... (other CSS rules) ... */
.news-card-container {
  display: flex; /* Use flex display for side-by-side cards */
  flex-wrap: wrap; /* Allow cards to wrap to a new line if needed */
  gap: 20px; /* Add some spacing between cards */
  max-width: 1200px; /* Set a maximum width for the cards */
  margin-top: 20px;
  justify-content: center; /* Center the cards horizontally */
}

.news-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1;
  min-width: calc(25% - 20px); /* Four cards per row */
  transition: 0.2s;
  cursor: pointer;

  text-decoration: none; /* Remove underline from the link */
  color: inherit; /* Inherit the color from parent (black by default) */
  /* Adjust the card width for smaller screens */
  @media screen and (max-width: 1280px) {
    min-width: calc(33.33% - 20px); /* Three cards per row */
  }

  /* Adjust the card width for even smaller screens */
  @media screen and (max-width: 768px) {
    min-width: calc(50% - 20px); /* Two cards per row */
  }
  /* Adjust the card width for even smaller screens */
  @media screen and (max-width: 600px) {
    min-width: calc(100% - 20px); /* Two cards per row */
  }
}

.news-card:hover {
  transform: translateY(-0.5%);
  box-shadow: 0 4rem 8rem rgba(0, 0, 0, 0.26);
  filter: brightness(110%);
  /* Add some subtle background color change on hover */
  background-color: #f5f5f5;
}

.news-card img {
  width: 100%; /* Make the image cover the entire width of the card */
  height: auto; /* Maintain the aspect ratio of the image */
}
/*
.news-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 200px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(15px);
  transform: skewX(-30deg);
  transition: 0.6s;
}

.news-card:hover:before {
  left: 300px;
}
*/
.news-content {
  padding: 16px;
  flex: 1;
}

.news-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  hyphens: auto;
  color: #000;
}

.news-date {
  color: #888888;
  margin-bottom: 6px;
  font-size: 14px; /* Adjust the font size as needed */
}

.news-description {
  color: #444;
  font-size: 14px;
  text-align: left;
  display: table-row;
  text-align-last: left;
  white-space: normal;
  hyphens: auto;
}

.center-grid {
  display: flex;
  justify-content: center;
}

/* ... (other CSS rules) ... */

.button-container {
  margin: 60px 0; /* Add spacing from the top and bottom */
}

.pill-button {
  display: inline-block;
  font-size: 2rem;
  /*font-family: "Noto Serif", serif;*/
  font-family: "Maven Pro", sans-serif;
  padding: 8px 16px;
  /*background-color: #0041af;*/
  color: white;
  border-radius: 0.3rem;
  border: 2px solid #ffffff;
  text-decoration: none;
  font-weight: 100;
  transition: background-color 0.3s ease;
}

.pill-button:hover,
.pill-button:active {
  background-color: #ffffff;
  color: #0041af;
}

.pill-button span {
  margin-left: 1rem;
  transition: 0.2s;
}

.pill-button:hover span,
.pill-button:active span {
  margin-left: 1.5rem;
}
