/* ─── BLOG HERO ─────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c3e4f 55%, var(--blue) 100%);
  padding: 5.5rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, rgba(82,142,176,0.22) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.blog-hero-inner { position: relative; max-width: 640px; margin: 0 auto; }
.blog-hero .section-label { margin-bottom: 0.75rem; }
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.blog-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.75;
}

/* ─── BLOG SECTION ──────────────────────────────────────── */
.blog-section { background: var(--bg); }

/* ─── BLOG GRID ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ─── BLOG CARD ─────────────────────────────────────────── */
.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1px solid var(--light);
  border-bottom: 4px solid transparent;
}
.blog-card:hover {
  border-bottom-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(82,142,176,0.15);
}

/* Card image area */
.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--light);
  overflow: hidden;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

/* Placeholder when image missing */
.blog-card-img.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
}
.blog-card-img.img-placeholder::after {
  content: '';
  width: 48px; height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23bdbfc2'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Tag badge */
.blog-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Card body */
.blog-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}
.blog-card-body p {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

/* Read More link */
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: auto;
  transition: gap 0.2s;
}
.blog-read-more svg {
  width: 16px; height: 16px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.blog-card:hover .blog-read-more { gap: 0.6rem; }
.blog-card:hover .blog-read-more svg { transform: translateX(3px); }