/* ── blog.css ───────────────────────────────────────────────
   Premium Academic Typography & Styling (Degree Crafters Style)
───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Inter:wght@400;500;600;700&display=swap');

/* Blog Hero */
.blog-hero {
  background: var(--bg-alt); /* Soft off-white */
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  position: relative;
  z-index: 2;
}

.blog-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* Blog Grid */
.blog-section {
  padding: 2rem 0 6rem;
  background-color: var(--bg-alt);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Premium Card Design */
.blog-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.blog-image {
  width: 100%;
  height: 220px;
  background-color: #f7f7f7;
  object-fit: cover;
  display: block;
}

/* Clean Padding Structure */
.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Gold Accent Tag */
.blog-tag {
  color: #c5a059; /* Elegant Mustard/Gold */
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Serif Title */
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--primary);
}

/* Subtle Excerpt */
.blog-excerpt {
  color: #666666;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

/* Separator Line */
.blog-divider {
  border: 0;
  border-top: 1px solid #eaeaea;
  margin-bottom: 1.25rem;
}

/* Card Footer Flex */
.blog-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-date {
  font-size: 0.85rem;
  color: #888888;
  font-family: 'Inter', sans-serif;
}

.blog-read-more {
  color: #c5a059;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.blog-read-more:hover {
  opacity: 0.8;
}

/* Article Page Layout */
.article-header {
  padding: 7rem 0 3rem;
  background: var(--bg-alt);
  text-align: center;
}

.article-category {
  color: #c5a059;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  line-height: 1.25;
}

.article-meta {
  color: #888888;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.article-body {
  background: #ffffff;
  padding: 4rem 0 6rem;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #333333;
}

.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 3.5rem 0 1.5rem;
  color: #1a1a1a;
}

.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.article-content p {
  margin-bottom: 1.8rem;
}

.article-content ul {
  margin-bottom: 1.8rem;
  padding-left: 1.5rem;
}

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

.article-content blockquote {
  border-left: 4px solid #c5a059;
  padding-left: 1.5rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 2.5rem 0;
  color: #555;
  background: transparent;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 2.2rem;
  }
  .blog-hero h1 {
    font-size: 2.5rem;
  }
}
