.latest-news {
  text-align: center;
  padding-top: 70px;
}

.latest-news h1 {
  color: var(--mainText);
  margin-bottom: 30px;
}

.articles-wrapper {
  display: flex;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 20px;
}

.article {
  flex-basis: calc(25% - 30px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background-color: #fff;
  border-radius: 30px;
}

.articleImg {
  height: 300px;
  margin-bottom: 20px;
}
.article img {
  height: 100%;
  width: 100%;
  border-radius: 30px 30px 0 0;
  object-fit: cover;
}

.article-info {
  padding: 10px;
  min-height: 350px;
  flex-grow: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.article-info h4 {
  color: var(--mainText);
  text-align: center;
  font-size: 1.3rem;
}

.article-info h5 {
  color: var(--secondaryText);
  text-align: center;
  font-size: 1.2rem;
}
.article-info p {
  flex-grow: 1;
}

.article-info a {
  margin-top: auto;
  text-decoration: none;
  color: var(--mainText);

  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  padding-left: 10px;
}
.article-info a:hover {
  text-decoration: underline;
  font-weight: bold;
  transition: 0.1s ease-in-out;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
}

.pagination-btn {
  padding: 10px 5px;
}
.pagination-btn button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondaryText);
  color: #fff;
  border: none;
}
.pagination-btn button:hover {
  background-color: var(--buttonSelect);
}

.pagination-btn button.selected {
  background-color: var(--buttonSelect) !important;
}

.our-interesting-reads {
  padding: 60px 0 30px 0;
}
.our-interesting-reads .header h2 {
  text-align: center;
  color: var(--mainText);
}
.interesting-read {
  padding-top: 10px;
}

.interesting-read h5 {
  margin-bottom: 15px;
}
.interesting-read p {
  margin-bottom: 40px;
}

@media (max-width: 1000px) {
  .article,
  .interesting-read {
    flex-basis: calc(50% - 30px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: #fff;
    border-radius: 30px;
  }
}
@media (max-width: 600px) {
  .articles-wrapper {
    flex-direction: column;
  }

  .article {
    max-width: 350px;
    margin: 20px auto;
    margin-bottom: 40px;
  }
}
