/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid layout */
  gap: 20px;
}

/* News Card */
.news-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0px;
  padding: 16px;
  box-shadow: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Card Title */
.news-card__title {
  margin: 0 0 10px;
  text-transform: capitalize;
  text-decoration: none;
  color: inherit;
}

/* Card Link */
.news-card__link {
  text-decoration: none;
  color: inherit;
  width: 80%;
}

.news-card__link:hover {
  text-decoration: none;
  color: #2aace3;
  width: 80%;
}

/* Card Teaser */
.news-card__teaser {
  font-size: 1rem;
  color: #555;
  margin: 10px 0;
}

/* Card Date */
.news-card__date {
  font-size: 0.875rem;
  color: #999;
}


/* Wrapper Layout */
.content-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin: 20px;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    margin-right: 16px;
    text-align: center;
    border-right: 1px solid #efefef;
    border-radius: 4px;
    padding: 4px;
  }

  .news-card__month {
    font-size: 18px;
    text-transform: uppercase;
  }

  .news-card__day {
    font-size: 30px;
    font-weight: 600;
    color: gray;
    line-height: .75em;
  }

.categories-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 8px;
}

.categories-list a {
  text-decoration: none;
  color: #0073e6;
}

.categories-list a:hover {
  text-decoration: none;
}

.about-us p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Side-by-side on desktop */
  }
}

@media (max-width: 1023px) {
  .content-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Stack on smaller screens */
  }

  .sidebar {
    margin-top: 20px;
  }
}

}
