.news-section {
    padding: 80px 0;
}

.news-section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff 0%, #c1d1e9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 30px;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: rgba(31, 165, 253, 0.1);
    border-radius: 12px;
    color: #8b9bb4;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
    color: #fff;
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(31, 165, 253, 0.1);
    max-width: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 165, 253, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-card-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 16, 26, 0) 0%, rgba(9, 16, 26, 0.9) 100%);
}

.news-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: rgba(31, 165, 253, 0.9);
    border-radius: 8px;
    color: #c1d1e9;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-card-card-content {
    padding: 24px;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #c1d1e9;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-excerpt {
    color: #8b9bb4;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: #6c757d;
    font-size: 0.875rem;
}
@media (max-width: 1200px) {
  .news-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-tabs {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 40px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .news-grid {
      grid-template-columns: 1fr;
  }
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 0.75rem;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 165, 253, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
  color: #8b9bb4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
  border-color: rgba(31, 165, 253, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(9, 16, 26, 0.5);
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border: 1px solid rgba(31, 165, 253, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
  color: #8b9bb4;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-number:hover {
  background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
  border-color: rgba(31, 165, 253, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.pagination-number.active {
  background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
  border-color: rgba(31, 165, 253, 0.3);
  color: #fff;
  box-shadow: 0 4px 15px rgba(31, 165, 253, 0.2);
}

.pagination-dots {
  color: #8b9bb4;
  padding: 0 0.5rem;
}

@media (max-width: 768px) {
  .pagination {
      flex-wrap: wrap;
      gap: 0.5rem;
  }

  .pagination-btn,
  .pagination-number {
      width: 40px;
      height: 40px;
      min-width: 40px;
  }
}
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-direction: column;
}

.load-more-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(31, 165, 253, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(9, 16, 26, 0.95) 0%, rgba(9, 16, 72, 0.95) 100%);
  color: #8b9bb4;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.load-more-btn:hover {
  background: linear-gradient(90deg, #1fa5fd 0%, #0dcaf0 100%);
  border-color: rgba(31, 165, 253, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.load-more-btn svg {
  transition: transform 0.3s ease;
}

.load-more-btn:hover svg {
  transform: translateY(2px);
}

@media (max-width: 768px) {
  .pagination-container {
      flex-direction: column;
      gap: 1rem;
  }

  .load-more-btn {
      width: 100%;
      justify-content: center;
  }
}