/* ==========================================================================
   BLOG SPECIFIC STYLES
   ========================================================================== */
.blog-page, .article-page {
  background: #FAFAFC;
  padding-top: 80px;
}

/* --- HERO DO BLOG --- */
.blog-hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(180deg, #F2EAFE 0%, #FAFAFC 100%);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(123,63,242,0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.blog-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #1A1A24;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.blog-hero p {
  font-size: 1.25rem;
  color: #555566;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --- BLOG GRID E CARDS --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 6rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(123, 63, 242, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(123, 63, 242, 0.15);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7B3FF2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1A1A24;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 1rem;
  color: #555566;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555566;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}

.blog-card-btn {
  font-weight: 600;
  color: #7B3FF2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- ARTICLE PAGE STYLES --- */
.article-page {
  background: #ffffff;
}

.article-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 1rem 2rem;
  text-align: center;
}

.article-breadcrumb {
  font-size: 0.9rem;
  color: #555566;
  margin-bottom: 2rem;
}
.article-breadcrumb a {
  color: #7B3FF2;
  text-decoration: none;
}
.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-category {
  display: inline-block;
  background: rgba(123, 63, 242, 0.1);
  color: #7B3FF2;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.article-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #1A1A24;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.article-excerpt {
  font-size: 1.25rem;
  color: #555566;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-inline: auto;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: #555566;
}
.article-meta strong {
  color: #1A1A24;
}

.article-featured-img {
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}
.article-featured-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.article-content a {
  color: #7B3FF2;
  text-decoration: underline;
}

.article-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 3rem 0 1rem;
  color: #1A1A24;
}

.article-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #1A1A24;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content .highlight-box {
  background: rgba(123, 63, 242, 0.05);
  border-left: 4px solid #7B3FF2;
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-style: italic;
  color: #1A1A24;
}

.article-cta {
  background: linear-gradient(135deg, #4A148C 0%, #7B3FF2 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem 0;
  color: white;
  box-shadow: 0 20px 40px rgba(123, 63, 242, 0.3);
}

.article-cta h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  color: white;
  margin: 0 0 1.5rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
}

.article-cta .btn {
  background: white;
  color: #7B3FF2;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}
.article-cta .btn:hover {
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .article-title {
    font-size: 2.25rem;
  }
  .article-excerpt {
    font-size: 1.1rem;
  }
  .blog-hero h1 {
    font-size: 2.25rem;
  }
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
