.news{
  width: 1280px;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  gap: 50px;
}

.news-block{
    display: flex;
    gap: 50px;
}

.news-block-img img{
    width: 250px;
    border-radius: 10px;
}

.news-block-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-block-contentainer{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-block-content-time{
    color: #333333;
    font-size: 14px;
    font-weight: 400;
}

.news-block-content-title{
    color: #333333;
    font-size: 25px;
    font-weight: 600;
}

.news-block-content-text{
    color: #333333;
    font-size: 18px;
    font-weight: 400;
}

.news-block-content-link{
    color: rgba(90, 90, 90, 0.6);
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s;
}

.news-block-content-link:hover{
    opacity: 0.3;
}







/* Стили пагинации */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 30px;
}

.pagination button {
    border: none;
    background: #f4f4f4;
    color: #000;
    font-size: 20px;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button.active {
    background: #767676;
    color: #fff;
}

.pagination button:hover:not(.active) {
    background: #e0e0e0;
}

.pagination .nav-btn {
    min-width: 150px;
}

.pagination .disabled {
    background: #f4f4f4 !important;
    color: #ccc !important;
    cursor: default;
}






@media (min-width: 500px) and (max-width: 1280px) {
    .news-block-img img {
        width: 250px !important;
    }
}


@media (max-width: 1280px){
    .news {
      width: 90%;
  }

  .news-block{
    flex-direction: column;
    gap: 20px;
  }

  .news-block-content-text {
        font-size: 15px;
        
    }

    .news-block-contentainer-link{
        margin-top: 20px;
    }

    .news-block-img img {
        width: 100%;
    }

    .pagination .nav-btn {
    min-width: 100px;
}

.pagination button {

    font-size: 15px;
}

.pagination {
    gap: 15px;
}
}