/* =====================================================
   BLOG PAGE STYLES – Modern, Bold Design
   ===================================================== */

/* HERO SECTION */
.blog-hero {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.blog-hero p {
  font-size: 1.375rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* CATEGORIES */
.blog-categories {
  background: var(--white);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--light-grey);
  position: sticky;
  top: 80px;
  z-index: 50;
}

.categories-list {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.category-tag {
  padding: 10px 24px;
  background: var(--light-bg);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--dark-text);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-tag:hover,
.category-tag.active {
  background: var(--brand-red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

/* ARTICLES LISTING */
.articles-section {
  padding: var(--spacing-xxl) 0;
  background: var(--light-bg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.article-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.article-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-red);
}

.article-image {
  background: linear-gradient(135deg, var(--brand-red-light) 0%, var(--brand-red) 100%);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.article-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

.article-content {
  padding: var(--spacing-lg);
}

.article-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
}

.article-category {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-red);
}

.article-date {
  color: var(--mid-grey);
}

.article-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-text);
  line-height: 1.3;
}

.article-excerpt {
  font-size: 1rem;
  color: var(--mid-grey);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.article-card a {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.article-card a:hover {
  gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.5rem;
  }

  .blog-hero p {
    font-size: 1.125rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .categories-list {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
  }
}
