main {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 80px;
  margin-bottom: 80px;
}

header#about-post {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
header#about-post .post-title{
  text-align: center;
}

header#about-post .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}


header#about-post .categories>a {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
}

section#post-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

section#post-content .thumbnail img {
  max-width: 1024px;
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 20px;
  margin-inline: auto;
}

section#post-content .content {
  max-width: 700px;
  width: 100%;
  margin-inline: auto;
}

section#cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 52px 40px;
  color: white;
  background-image: var(--bg-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

section#cta h2,
section#cta p {
  max-width: 700px;
  text-align: center;
}

section#cta .overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

section#cta .overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section#more-posts {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section#more-posts .posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #D9D9D9;
  border-radius: 12px;
  overflow: hidden;
  padding: 0px;
  gap: 12px;
  height: fit-content;
  min-height: 500px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.post-card .post-img__container {
  width: 100%;
}

.post-card .post-img__container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.post-card .post-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}


.post-card .categories>a {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
}




@media screen and (max-width: 1280px) {
  section#more-posts .posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 640px) {
  section#more-posts .posts {
    grid-template-columns: 1fr;
  }

  .post-card .post-img__container img {
    height: 300px;
  }
}