/* blog.css — Blog index page */

.blog-hero {
  padding: 140px 60px 80px;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(82,183,136,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.blog-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.blog-hero h1 em { font-style: italic; color: var(--green-light); }
.hero-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
}

/* POSTS */
.blog-section { max-width: 1020px; margin: 0 auto; padding: 80px 60px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }

.post-card {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.post-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width 0.4s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(26,61,43,0.1); z-index: 2; }
.post-card:hover::after { width: 100%; }

/* Post visual (CSS gradient image) */
.post-visual {
  height: 160px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.post-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 1px,
    transparent 1px,
    transparent 8px
  );
}
.post-visual.cross-border { background: linear-gradient(135deg, #1A3D2B 0%, #2D6A4F 100%); }
.post-visual.risk { background: linear-gradient(135deg, #1B2D3E 0%, #1A3D2B 100%); }
.post-visual.gateway { background: linear-gradient(135deg, #1A3D2B 0%, #40916C 100%); }

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

.post-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-accent);
  background: var(--green-pale);
  padding: 4px 10px;
  border-radius: 1px;
  margin-bottom: 18px;
}
.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--green-deep);
  margin-bottom: 14px;
}
.post-excerpt {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 24px;
}
.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.post-date { font-size: 12px; font-weight: 400; color: var(--text-light); letter-spacing: 0.04em; }
.post-read {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}
.post-read::after { content: '→'; }
.post-read:hover { color: var(--green-mid); gap: 10px; }

@media (max-width: 1024px) {
  .blog-hero { padding: 110px 24px 60px; }
  .blog-section { padding: 48px 24px; }
  .posts-grid { grid-template-columns: 1fr; }
}
