@charset "UTF-8";
.blog-header {
  text-align: center;
  padding: 40px 0;
}
@media (max-width: 575px) {
  .blog-header {
    padding: 20px 0;
  }
}

.blog-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.blog-subtitle {
  font-size: 1.6rem;
  color: #7f8c8d;
  font-weight: 300;
}

/* Элементы управления */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 5rem;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  max-width: 400px;
}

.search-box i {
  color: #95a5a6;
  margin-right: 10px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 1.2rem;
  width: 100%;
  background: transparent;
}

.sort-options select {
  padding: 10px 20px;
  border-radius: 50px;
  border: 2px solid #e0e0e0;
  background: white;
  font-size: 1.2rem;
  color: #333;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
}

.sort-options select:hover {
  border-color: #3498db;
}

/* Сетка статей */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Карточка статьи */
.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-image {
  transform: scale(1.05);
}

.card-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(52, 152, 219, 0.9);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 500;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-excerpt {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 1rem;
}

.card-footer {
  margin-top: auto;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.read-more-btn:hover {
  background: #2980b9;
  gap: 12px;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
}

.pagination-btn {
  padding: 10px 16px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.pagination-btn:hover:not(.disabled) {
  border-color: #3498db;
  color: #3498db;
}

.pagination-btn.active {
  background: #3498db;
  color: white;
  border-color: #3498db;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-dots {
  padding: 10px;
  color: #95a5a6;
}

/* Сообщения об ошибках и отсутствии результатов */
.error,
.no-results {
  text-align: center;
  padding: 40px;
  color: #e74c3c;
  font-size: 1.1rem;
  grid-column: 1/-1;
}

.no-results {
  color: #7f8c8d;
}

/* Адаптивность */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .blog-title {
    font-size: 2.2rem;
  }
  .blog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .card-image-container {
    height: 180px;
  }
  .blog-title {
    font-size: 1.8rem;
  }
}
/*# sourceMappingURL=blog.min.css.map */
