.news-page-wrapper {
  background-color: black;
}

.news-page-container {
  background-color: var(--secondary-color);
  width: 100%;
  height: auto;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-clip: padding-box;
}

.news-page-container h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-color);
  text-align: center;
  margin: 0;
}

.news-row-col {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.single-post-container {
  padding: 1rem;
  flex: 1;
}

.news-column {
  justify-content: center;
  flex: 2;
}

/* ------------------------MEDIA------------------------ */

@media (501px <= width <= 1000px) {
  .single-post-container {
    width: 70%;
    margin: 0 auto;
  }
}

@media (1001px <= width <= 4000px) {
  .news-row-col {
    flex-direction: row-reverse;
  }
}
