body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #fff;
}

header {
  background: #111;
  padding: 15px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #c084fc;
  text-decoration: none;
}

.blog-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.blog-container h1 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #c084fc;
  text-align: center;
}

.blog-post {
  display: flex;
  flex-wrap: wrap;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(192, 132, 252, 0.1);
}

.blog-post img {
  width: 100%;
  max-width: 400px;
  object-fit: cover;
  height: auto;
}

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

.post-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #c084fc;
}

.post-content p {
  font-size: 16px;
  line-height: 1.6;
}

.post-date {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #aaa;
}

/* Адаптация */
@media (max-width: 768px) {
  .blog-post {
    flex-direction: column;
  }

  .blog-post img {
    max-width: 100%;
  }
}
