/* ==========================================================================
   Blog Styles - Hidari Records
   ========================================================================== */

/* --------------------------------------------------------------------------
   Blog Index Listing
   -------------------------------------------------------------------------- */

.blog-header {
  padding: 60px 48px 40px;
  border-bottom: 1px dashed var(--line);
}

.blog-container {
  padding: 48px;
  max-width: 900px;
}

.blog-title {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
}

.blog-grid {
  display: grid;
  gap: 38px;
  margin-top: 32px;
}

.blog-post-card {
  background: rgba(246, 240, 229, 0.85);
  border: 1px solid rgba(22, 22, 22, 0.1);
  padding: 34px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-2px) rotate(0.5deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  background: rgba(246, 240, 229, 0.96);
}

/* Taped paper scrap details on cards */
.blog-post-card::before {
  content: "";
  position: absolute;
  width: 76px;
  height: 20px;
  background: var(--tape);
  top: -10px;
  left: 38px;
  transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.post-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}

.post-title {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
}

.post-excerpt {
  font-size: 13.5px;
  line-height: 2;
  color: #3e3833;
  margin-bottom: 20px;
}

.read-more {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.read-more:hover {
  color: var(--muted);
  border-color: var(--muted);
}


/* --------------------------------------------------------------------------
   Blog Single Post Page
   -------------------------------------------------------------------------- */

.post-container {
  padding: 64px 58px;
  max-width: 800px;
  margin: 0 auto;
}

.post-header {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 28px;
  margin-bottom: 38px;
}

.post-title {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.post-body {
  font-size: 14.5px;
  line-height: 2.2;
  color: #2e2a25;
}

.post-body p {
  margin-bottom: 28px;
}

.post-body blockquote {
  border-left: 2px solid var(--muted);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--muted);
}

.post-body pre {
  background: #ebdcd8;
  border: 1px solid rgba(22, 22, 22, 0.1);
  padding: 18px;
  overflow-x: auto;
  border-radius: 2px;
  margin: 28px 0;
}

.post-body code {
  font-family: monospace;
  font-size: 13px;
}

.post-image-container {
  margin: 34px 0;
  text-align: center;
}

.post-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 720px);
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.post-body img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 720px);
  margin-inline: auto;
  object-fit: contain;
}

.post-image-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.back-btn-container {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

@media (max-width: 900px) {
  .post-container {
    padding: 44px 24px;
  }
}
