/* Базовые настройки */
:root {
  --accent: #0eb4eb;
  --accent-dark: #0984b3;
  --red: #ff4757;
  --yellow: #ffa502;
}

/* Основные стили страницы */
body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("fon2.jpg") no-repeat center/cover fixed;
  color: white;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Главный контейнер */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent, #0eb4eb);
  background: rgba(14, 180, 235, 0.1);
  border: 1px solid var(--accent, #0eb4eb);
  border-radius: 8px;
  padding: 8px 16px;
  margin-bottom: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.back-to-home:hover {
  background: rgba(14, 180, 235, 0.2);
  transform: translateX(-3px);
  box-shadow: 0 4px 12px rgba(14, 180, 235, 0.15);
}
/* Секция блога */
.blog-section {
  width: 100%;
}

.blog-title {
  color: var(--accent);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.blog-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--red);
}

/* Сетка колонок */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Колонка */
.blog-column {
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--accent);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
}

.blog-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(14, 180, 235, 0.3);
}

/* Заголовок колонки */
.column-title {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(14, 180, 235, 0.3);
}

/* Контейнер постов */
.posts-container {
  min-height: 200px;
}

/* Лоадер */
.loader {
  text-align: center;
  color: var(--accent);
  padding: 30px 0;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 30px 15px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}
