/* ── Blog Latest Posts Section ─────────────────────────────────────────── */
.blog-latest {
  width: 100%;
  background: #f6f8fb;
  padding: 96px 0 80px;
}
.blog-latest-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.blog-latest-header {
  margin-bottom: 48px;
}
.blog-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--rw-pink, #ef479b);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.blog-latest-header h3 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
  margin: 0;
}

/* Cards grid */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .blog-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .blog-cards {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .blog-card { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .blog-cards { grid-template-columns: minmax(80vw, 1fr); }
}

/* Individual card */
.blog-card {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(26,31,54,.10);
  border-color: #d1d9e8;
}
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Thumbnail */
.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #e8edf5;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.blog-card-thumb--empty {
  background: linear-gradient(135deg, #e8edf5 0%, #d0d9f0 100%);
}

/* Card body */
.blog-card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rw-pink, #ef479b);
  background: rgba(239,71,155,.09);
  padding: 3px 9px;
  border-radius: 99px;
}
.blog-date {
  font-size: 11px;
  color: #9aa7b8;
  font-weight: 500;
}
.blog-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
  margin: 2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-read-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--rw-pink, #ef479b);
  letter-spacing: .03em;
  margin-top: auto;
  padding-top: 6px;
}

/* Footer link */
.blog-latest-footer {
  margin-top: 36px;
  text-align: center;
}
.blog-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  border-bottom: 2px solid var(--rw-pink, #ef479b);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.blog-all-link:hover {
  color: var(--rw-pink, #ef479b);
}
