.featured-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
}

.large-post {
  grid-column: 1 / 3; /* Spans two columns */
  grid-row: 1 / 3; /* Spans two rows */
}

.small-post {
  grid-column: span 1; /* Spans only one column */
  grid-row: auto; /* Normal row span */
}

.large-post img {
  width: 100%;
  height: auto;
}

.small-post img {
  width: 100%;
  height: auto;
}

.featured-post {
  border: 2px solid #d9d9d9;
  border-radius: 15px;
  box-shadow: 0 3px 4px #d3d3d3;
  overflow: hidden;
}

.featured-post h2 {
  font-size: 1rem !important;
}
.featured-post.small-post p {
  display: none;
}
.featured-post img {
  width: 100%;
}
.featured-post-text {
  margin: 1rem;
}
.featured-post.large-post h2 {
  font-size: 1.6rem !important;
}

.featured-post.large-post p {
  font-size: 1.2rem;
}

.featured-posts-grid {
  margin-bottom: 2rem;
}

.latest-posts {
  margin-top: 9rem;
}
.latest-posts p {
  font-size: 0.9rem;
}
.latest-post h2 {
  font-size: 1.2rem;
}
.latest-posts h2 {
  text-align: center;
}