.template-hero {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.newsletter-hero img {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
}

.newsletter-wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 96px;
  width: 80%;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.post-card img {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


@media screen and (max-width: 960px) {
  .newsletter-wrap {
    flex-direction: column;
    gap: 16px;
    width: 90%;
  }
}