.main {
  padding: 40px 20px;
  text-align: center;
  background-color: #2c2c2c; /* или любой другой тёмный фон */
  color: #fff;
}



.page-link {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.page-link a {
  text-decoration: none;
  color: #666;
}

.page-link a,
.page-link span,
.page-description {
  color: #f6f6f6;
}


.news-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.news-section .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
  width: 100% ;
}

.news-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.news-card img {
  width: 240px;
  height: 160px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
  flex: 1;
}

.news-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #222;
}

.news-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

.news-date {
  font-size: 13px;
  color: #aaa;
}

/* Адаптив */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
  }

  .news-card img {
    width: 100%;
    height: auto;
  }
}
