/* Hero section specific to homepage */
.hero {
  text-align: center;
  padding: 10rem 0 6rem;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* Article Content styling */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.category {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-primary-light, #34d399);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.meta time {
  display: flex;
  align-items: center;
}

/* Inside the article content */
.article-content {
  font-size: 1.125rem;
  color: var(--color-text-main);
  background: var(--color-surface);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-glass);
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #fff;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #cbd5e1;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content img {
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin: 2rem 0;
}


/* Mobile Responsive Overrides */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 3rem;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .article-content {
    padding: var(--spacing-md);
  }
  .article-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }
  .meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
