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

.blog-hero {
  background: var(--dark);
  color: var(--white);
  padding: 140px 24px 80px;
  border-bottom: 3px solid var(--accent);
}
.blog-hero h1 { color: var(--white); margin: 12px 0 16px; }
.blog-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 560px; }
.blog-hero .section-label { color: var(--gold); }

/* FEATURED POST */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 64px;
  background: linear-gradient(135deg, #F8FAFC 0%, var(--white) 100%);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.post-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 4px;
}
.post-date { font-size: .82rem; color: var(--muted); }

.blog-featured h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
  line-height: 1.3;
}
.blog-featured h2 a { color: var(--dark); }
.blog-featured h2 a:hover { color: var(--brand); }
.blog-featured p { color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
  font-size: .75rem;
  font-weight: 500;
  background: rgba(27,79,114,.08);
  color: var(--brand);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(27,79,114,.15);
}

.blog-featured-img { }
.feat-img-placeholder {
  background: linear-gradient(135deg, var(--brand) 0%, #2E86AB 100%);
  border-radius: 12px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.feat-img-placeholder span { font-size: 4rem; }
.feat-img-placeholder small { color: rgba(255,255,255,.7); font-size: .85rem; }

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.post-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card-cta {
  background: var(--dark);
  border-color: var(--dark);
}
.post-card-cta h3 { color: var(--white); }
.post-card-cta p { color: rgba(255,255,255,.6); }

.post-cat-pill {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  width: fit-content;
}
.post-card h3 { font-size: 1.05rem; line-height: 1.4; flex: 1; }
.post-card h3 a { color: var(--dark); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.post-link { color: var(--brand); font-weight: 600; font-size: .88rem; }
.post-link:hover { color: var(--accent); }

/* NEWSLETTER */
.newsletter-box {
  background: linear-gradient(135deg, var(--brand) 0%, #2E86AB 100%);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.newsletter-text h3 { color: var(--white); margin-bottom: 8px; }
.newsletter-text p { color: rgba(255,255,255,.7); font-size: .92rem; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.email-input {
  padding: 13px 20px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem;
  width: 280px;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.email-input::placeholder { color: rgba(255,255,255,.4); }
.email-input:focus { border-color: var(--white); }

nav .active { color: var(--white) !important; }

/* Responsive */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { order: -1; }
  .feat-img-placeholder { height: 200px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; padding: 32px 24px; }
  .email-input { width: 100%; }
  .newsletter-form { width: 100%; }
  .blog-featured { padding: 28px 20px; }
}
