/* MenteMatic Blog — Editorial SEO Styles */
.blog-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.blog-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 12px;
}

.blog-hero .section-copy {
  max-width: 64ch;
  margin-bottom: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 48px 0 72px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(19, 48, 92, 0.12);
}

.post-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.post-tag {
  background: var(--gold-soft);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
}

.post-card h2 {
  font-size: 1.25rem;
  line-height: 1.28;
  margin-bottom: 10px;
}

.post-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}

.post-card-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-card-link:hover {
  color: var(--gold);
}

/* Article Layout */
.article-wrap {
  width: min(840px, 92%);
  margin-inline: auto;
  padding: 44px 0 80px;
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.95rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.article-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.article-figure {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.article-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 40px 0 14px;
}

.article-content h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
}

.article-content p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #20375A;
}

.article-content ul,
.article-content ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: #20375A;
}

.callout-box {
  background: var(--surface);
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.callout-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.cta-banner {
  margin: 44px 0 20px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-banner h2,
.cta-banner h3 {
  color: var(--white);
  margin: 0;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 58ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.cta-actions .button.outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.cta-actions .button.outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 24px 20px;
  }
}
