/* ============================================================
   BLOG INDEX
   ============================================================ */

.blog-main {
  padding: 56px 56px 80px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ---- Post card (index) ---- */
.post-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
  padding: 0 0 20px;
}

.post-card + .post-card {
  border-top: none;
}

.post-card:hover {
  border-color: var(--accent);
  background: rgba(140, 26, 48, 0.04);
}

.post-header {
  padding: 28px 32px 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7A5A62;
}

.post-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(140, 26, 48, 0.12);
  padding: 3px 8px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.2;
}

.post-excerpt {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.7;
  color: #7A5A62;
  padding: 0 32px;
  margin-bottom: 16px;
}

.post-excerpt em {
  font-style: italic;
  color: var(--accent2);
}

.post-read {
  display: inline-block;
  margin-left: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* ============================================================
   INDIVIDUAL POST PAGE
   ============================================================ */

.post-article {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 56px 96px;
  width: 100%;
  box-sizing: border-box;
}

.post-back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #7A5A62;
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.2s;
}

.post-back:hover {
  color: var(--text);
}

.post-article-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.post-article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.15;
  margin-top: 16px;
  text-wrap: balance;
}

.post-article-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.post-article-body p {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

/* ============================================================
   HOMEPAGE BLOG PREVIEW SECTION
   ============================================================ */

.home-blog {
  padding: 72px 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.home-blog-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  line-height: 1.1;
}

.home-blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.home-post-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 24px 28px;
  background: var(--bg);
  transition: border-color 0.2s;
}

.home-post-card:hover {
  border-color: var(--accent);
}

.home-post-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.home-post-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #7A5A62;
}

.home-post-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-post-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.home-post-excerpt {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.7;
  color: #7A5A62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .blog-main { padding: 36px 24px 56px; }
  .post-article { padding: 40px 24px 72px; }
  .post-header { padding: 22px 20px 14px; }
  .post-excerpt { padding: 0 20px; }
  .post-read { margin-left: 20px; }
  .home-blog { padding: 56px 24px; }
  .home-blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
