/* ==================== BLOG STYLES ==================== */

/* --- Blog Hero --- */
.blog-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}

.blog-hero-heading {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.blog-hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 300;
}

/* --- Blog Grid --- */
.blog-list-section {
  padding: 80px 0 120px;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

/* --- Blog Card --- */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 42, 74, 0.12);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card-tag {
  background: rgba(26, 42, 74, 0.08);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  flex-grow: 1;
  margin-bottom: 20px;
}

.blog-card-read {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-read {
  color: var(--navy);
}

/* --- Article Page --- */
.blog-article {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--bg);
}

.blog-container {
  max-width: 760px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* Article Header */
.article-header {
  margin-bottom: 48px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.article-tag {
  background: rgba(26, 42, 74, 0.08);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Article Body */
.article-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1.8em;
}

.article-lead {
  font-size: 1.1rem;
  color: var(--navy);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 2.5em !important;
  line-height: 2;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 3em;
  margin-bottom: 1em;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(26, 42, 74, 0.1);
  line-height: 1.5;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2em;
  margin-bottom: 0.8em;
}

.article-body strong {
  color: var(--navy);
  font-weight: 700;
}

.article-body ol,
.article-body ul {
  margin-bottom: 1.8em;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.6em;
  line-height: 1.8;
}

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 3em 0;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 20px !important;
}

.article-cta .btn {
  display: inline-block;
}

/* Article Author */
.article-author {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  margin: 48px 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.article-author-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 2px;
}

.article-author-role {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.article-author-bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Article Nav */
.article-nav {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-nav-back {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.article-nav-back:hover {
  color: var(--navy);
}

/* Nav Active */
.nav-active {
  color: var(--accent) !important;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .blog-hero {
    padding: 140px 0 48px;
  }

  .blog-hero-heading {
    font-size: 1.8rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card {
    padding: 24px;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-body h2 {
    font-size: 1.2rem;
  }

  .article-author {
    flex-direction: column;
    text-align: center;
  }

  .article-cta {
    padding: 28px 20px;
  }

  .blog-list-section {
    padding: 48px 0 80px;
  }
}
