/* Blog Hero */
.blog-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.blog-hero-title {
  font-size: 56px;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-description {
  font-size: 20px;
  color: var(--muted);
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.blog-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(107, 227, 180, 0.1);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--panel);
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
}

.blog-card-description {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.blog-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-views {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Loading State */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid var(--glass);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.empty-state svg {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--white);
}

.empty-state p {
  font-size: 16px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pagination button {
  padding: 10px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination button:hover:not(:disabled) {
  background: var(--panel);
  border-color: var(--accent);
}

.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  border-color: transparent;
}

/* Single Post Page */
.post-header {
  padding: 140px 0 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-title {
  font-size: 48px;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  margin-bottom: 24px;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-featured-image {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 24px;
  border-radius: 16px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.post-content-inner {
  font-size: 18px;
  line-height: 1.8;
  color: var(--white);
}

.post-content-inner h1,
.post-content-inner h2,
.post-content-inner h3,
.post-content-inner h4,
.post-content-inner h5,
.post-content-inner h6 {
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.post-content-inner h2 {
  font-size: 32px;
}

.post-content-inner h3 {
  font-size: 26px;
}

.post-content-inner p {
  margin-bottom: 20px;
}

.post-content-inner a {
  color: var(--accent);
  text-decoration: underline;
}

.post-content-inner a:hover {
  color: var(--accent-2);
}

.post-content-inner ul,
.post-content-inner ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-content-inner li {
  margin-bottom: 8px;
}

.post-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

.post-content-inner code {
  background: var(--glass);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
}

.post-content-inner pre {
  background: var(--glass);
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}

.post-content-inner pre code {
  background: none;
  padding: 0;
}

.post-content-inner blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--muted);
}

/* Share Buttons */
.post-share {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid var(--glass-border);
}

.post-share h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--panel);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 40px;
  }

  .blog-hero-description {
    font-size: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .post-title {
    font-size: 32px;
  }

  .post-meta {
    flex-direction: column;
    gap: 12px;
  }

  .post-content-inner {
    font-size: 16px;
  }

  .post-content-inner h2 {
    font-size: 26px;
  }

  .post-content-inner h3 {
    font-size: 22px;
  }
}
