.articles-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 47.88px;
  text-align: center;
  margin-top: 44px;
  margin-bottom: 100px;
}

.articles-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.articles-list li {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  max-width: 380px;
  height: 499px;
  border: 1px solid #D3D8E3;
  border-radius: 12px;
  cursor: pointer;
}

.articles-list li img {
  border-radius: 12px;
}

.articles-list li .date {
  text-align: left;
  margin-right: auto;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #73787D;
}

.articles-list li h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 25px;
  color: #000000;
}

.articles-list li .text {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: pre-line;
  height: 144px;
}

.articles-list li button {
  border: none;
  padding: 10px;
  border-radius: 8px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 100px;
}

.pagination button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 5px;
  background-color: #f0f0f0;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination button.active {
  background-color: #0056b3;
  color: #fff;
}

.pagination button:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
  background-color: #ddd;
}

.article-details {
  background-color: #F2F6FF;
  padding-top: 100px;
  padding-bottom: 100px;
}

.article-details-data {
  padding: 50px;
  width: 100%;
  max-width: 1164px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  border-radius: 24px;
}

.article-details-data img {
  margin-bottom: 30px;
  border-radius: 24px;
}

.article-details-data p {
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  text-align: left;
  color: #000000;
  margin: 0;
  margin-bottom: 30px;
}

.article-details-data p span {
  color: #97A5B9;
}

.article-details-data h3 {
  margin: 0;
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 600;
  line-height: 60px;
  text-align: left;
}

.article-details-data .text {
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  text-align: justified;
  columns: #53585E;
  margin: 0;
  margin-bottom: 40px;
}

@media (max-width: 1600px) {

  .articles-list {
    gap: 15px;
  }

}

@media (max-width: 400px) {
  .articles-title {
    color: #1A202C;
    font-size: 24px;
    font-weight: 700;
    line-height: 31.92px;
    text-align: left;
    margin-bottom: 30px;
  }

  .article-details {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  
  .article-details-data {
    padding: 20px;
    max-width: 355px;
  }
  
  .article-details-data img {
    margin-bottom: 30px;
    width: 332px;
    height: 192px;
  }
  
  .article-details-data p {
    font-size: 12px;
    margin-bottom: 23px;
  }
  
  .article-details-data p span {
    color: #97A5B9;
  }
  
  .article-details-data h3 {
    margin: 0;
    margin-bottom: 23px;
    font-size: 18px;
    line-height: 25px;
  }
  
  .article-details-data .text {
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 23px;
  }
  

}