/**
 * StrongHearts V2 — Blog styles (WORKER 3, 2026-10-31).
 * Blog-only rules: listing grid, post cards, article meta.
 * Base typography, buttons, page-hero, prose, cta-band come from style-v2.css.
 */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 8px 0 0;
}

.post-card {
  background: #fff;
  border: 1px solid #E4D3D7;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(166,11,17, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(166,11,17, 0.12);
}

.post-card .badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C8102E;
  background: #FBE7E9;
  border: 1px solid #C8102E;
  border-radius: 999px;
  padding: 5px 14px;
}

.post-card h2,
.post-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.post-card h2 a,
.post-card h3 a {
  color: #C8102E;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: #C8102E;
  text-underline-offset: 4px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.9rem;
  color: #2B2B2B;
}

.post-meta time {
  font-weight: 700;
}

.post-excerpt {
  margin: 0;
  color: #2B2B2B;
  font-size: 1.02rem;
  line-height: 1.6;
}

.post-card .read-more {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 900;
  color: #C8102E;
  text-decoration: none;
  border-bottom: 2px solid #C8102E;
  padding-bottom: 2px;
}

.post-card .read-more:hover {
  color: #A60B11;
}

.post-card .read-more::after {
  content: " →";
}

/* Article header */
.article-hero .post-meta {
  margin-top: 14px;
  font-size: 1rem;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 18px;
  background: #FBE7E9;
  border-left: 4px solid #C8102E;
  border-radius: 0 12px 12px 0;
  max-width: 560px;
}

.article-byline .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #C8102E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.article-byline p {
  margin: 0;
  font-size: 0.95rem;
  color: #2B2B2B;
}

.article-byline strong {
  color: #C8102E;
}

/* General-information disclaimer box (article 1) */
.info-note {
  background: #E6F8FA;
  border: 1px solid #F0D9DE;
  border-radius: 14px;
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 0.98rem;
  color: #2B2B2B;
}

.info-note strong {
  color: #C8102E;
}

/* Prev / next article links */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 0;
  flex-wrap: wrap;
}

.article-nav a {
  flex: 1 1 220px;
  display: block;
  background: #fff;
  border: 1px solid #E4D3D7;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: #C8102E;
}

.article-nav a:hover {
  border-color: #C8102E;
}

.article-nav .nav-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A60B11;
  margin-bottom: 6px;
}

.article-nav .nav-title {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .post-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card {
    transition: none;
  }
  .post-card:hover {
    transform: none;
  }
}
