@media (min-width: 1280px) {
  .page-container {
    padding: 70px 50px;
  }
}

.news-grid .item {
  background-color: var(--bgColor);
  margin-bottom: 20px;
  padding: 20px;
}
.news-grid .item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  margin-bottom: 30px;
}
.news-grid .item .title {
  font-family: "Roboto Slab", serif;
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 42px;
  line-height: 2.625rem;
}
.news-grid .item .content p,
.news-grid .item .content ul,
.news-grid .item .content ol {
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .news-grid {
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    gap: 30px;
  }
  .news-grid .item {
    flex: 0 0 calc(50% - 15px);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 885px;
    padding: 20px 20px;
  }
  .news-grid .item .content {
    flex-grow: 0;
    flex-shrink: 1;
    overflow-y: auto;
    padding-right: 8px;
  }
  .news-grid .item .content::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }
  .news-grid .item .content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: grab;
  }
  .news-grid .item .content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
}
@media (min-width: 1280px) {
  .news-grid {
    gap: 50px;
  }
  .news-grid .item {
    flex: 0 0 calc(50% - 25px);
    padding: 35px 35px;
  }
  .news-grid .item .title {
    font-size: 28px;
    font-size: 1.75rem;
    line-height: 48px;
    line-height: 3rem;
  }
}

#navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
}
#navigation .page-numbers {
  display: block;
  padding: 14px 18px;
  background-color: var(--bgColor);
  border-radius: 4px;
  margin-top: 40px;
  color: var(--text);
}
#navigation .page-numbers.current {
  background-color: var(--highlightColor);
  color: #FFF;
}
#navigation .page-numbers:not(.current):hover {
  background-color: var(--middleColor);
  color: #FFF;
}
@media (min-width: 768px) {
  #navigation {
    justify-content: start;
    gap: 23px;
  }
  #navigation .page-numbers {
    padding: 24px 32px;
  }
}
