/* /assets/blog/css/blog-article.css */

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Raleway', sans-serif;
  height: 100%;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container--wide {
  max-width: 75rem;
}

.vlp-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 18%, rgba(0,0,0,1), rgba(0,0,0,0) 58%);
}

.vlp-grid-pan {
  animation: gridPan 22s linear infinite;
}

.blog-card {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(26, 31, 53, 0.6) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 12px 48px rgba(249, 115, 22, 0.15);
  transform: translateY(-4px);
}

.category-badge {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 999px;
  color: #fb923c;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
}

.category-badge--active {
  background: rgba(249, 115, 22, 0.25);
  border-color: rgba(249, 115, 22, 0.5);
}

.author-avatar {
  align-items: center;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  border-radius: 999px;
  color: white;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: white;
  font-size: 14px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.article-content h2 {
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.article-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content strong {
  color: white;
  font-weight: 600;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
}

.article-content li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.article-content ul li {
  list-style: disc;
}

.article-content ol li {
  list-style: decimal;
}

.article-content em {
  color: rgba(249, 115, 22, 0.9);
  font-style: italic;
}

@keyframes gridPan {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-56px, -56px, 0);
  }
}

@media (max-width: 768px) {
  .article-content h2 {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vlp-grid-pan {
    animation: none;
  }

  .blog-card:hover {
    transform: none;
  }
}
