/* ════════════════════════════════
   PAGE — blog (index + posts)
   ════════════════════════════════ */

/* ── BLOG INDEX HERO ── */
.blog-index-hero {
  min-height: 28vh;
  padding: 5rem 2rem 3rem;
}

.blog-index-hero .hero-mark { margin-bottom: 0.75rem; }
.blog-index-hero h1 { margin-bottom: 0.75rem; }

.blog-index-hero::before {
  background: radial-gradient(ellipse at 50% 40%, rgba(166, 130, 107, 0.06) 0%, transparent 60%);
}

.blog-index-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ── POST LIST ── */
.posts-section { padding: 4rem 0 6rem; }

.post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(166, 130, 107, 0.12);
  opacity: 0;
  transform: translateY(20px);
}

.post-card.visible { animation: fadeUp 0.7s ease forwards; }

.post-card:first-child { padding-top: 0; }
.post-card:last-child { border-bottom: none; }

.post-card:not(:has(.post-card-image)) {
  grid-template-columns: 1fr;
}

.post-card-image {
  display: block;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.post-card-image:hover img { transform: scale(1.03); }

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.meta-separator { margin: 0 0.5em; opacity: 0.4; }

.post-card-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 0;
  line-height: 1.25;
}

.post-card-body h2 a {
  color: var(--warm-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-body h2 a:hover { color: var(--terra); }

.post-excerpt {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.7;
}

.read-more {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.read-more:hover { color: var(--terra-dark); }

/* ── POST HERO ── */
.post-hero {
  min-height: 28vh;
  padding: 5rem 2rem 2.5rem;
}

.post-hero .hero-mark { margin-bottom: 0.75rem; }
.post-hero h1 { margin-bottom: 0.75rem; }

.post-hero::before {
  background: radial-gradient(ellipse at 50% 30%, rgba(166, 130, 107, 0.07) 0%, transparent 60%);
}

.post-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 800px;
}

.post-hero-meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

/* ── POST BODY ── */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.post-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  display: block;
}

/* ── ARTICLE CONTENT ── */
.post-content {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.85;
}

.post-content p { margin-bottom: 1.5rem; }
.post-content p:last-child { margin-bottom: 0; }

.post-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--warm-black);
  margin: 3rem 0 1.25rem;
  opacity: 1;
  transform: none;
  animation: none;
  line-height: 1.2;
}

.post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--warm-black);
  margin: 2rem 0 0.75rem;
}

.post-content a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.post-content a:hover { color: var(--terra-dark); }
.post-content strong { font-weight: 600; color: var(--warm-black); }
.post-content em { font-style: italic; }

.post-content blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--warm-black);
  border-left: 2px solid var(--terra);
  padding: 1rem 1.75rem;
  margin: 2.5rem 0;
  line-height: 1.45;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content hr {
  border: none;
  border-top: 1px solid rgba(166, 130, 107, 0.2);
  margin: 3rem 0;
}

/* ── POST CTA ── */
.post-cta {
  text-align: center;
  margin: 3rem 0;
}

.post-content .post-cta a {
  color: var(--cream);
  text-decoration: none;
}

.post-content .post-cta a:hover {
  color: var(--cream);
}

/* ── POST FOOTER ── */
.post-footer {
  border-top: 1px solid rgba(166, 130, 107, 0.12);
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  border: 1px solid rgba(166, 130, 107, 0.3);
  padding: 0.3rem 0.75rem;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-prev,
.nav-next {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  max-width: 45%;
}

.nav-prev:hover,
.nav-next:hover { color: var(--terra); }

.nav-next {
  text-align: right;
  margin-left: auto;
}

.back-to-index a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-to-index a:hover { color: var(--terra); }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .post-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .post-card-image img { aspect-ratio: 16/9; }

  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-next {
    margin-left: 0;
    text-align: left;
  }
}
