/* blog-post.css, single article page for Areté blog
   Loads alongside styles.css + blog.css (for nav + footer). */

/* ---------- ARTICLE LAYOUT ---------- */
.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 32px 80px;
}
@media (max-width: 700px) { .post { padding: 64px 24px 56px; } }

.post__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 36px;
  transition: color 0.18s ease, gap 0.2s ease;
}
.post__back:hover { color: var(--ink); gap: 12px; }

.post__category {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 24px;
}
.post__category::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--candle);
}

.post__title {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.post__title em { font-style: italic; color: var(--candle); }

.post__lead {
  font-family: var(--display-font);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ink-70);
  margin: 0 0 32px;
  text-wrap: pretty;
}

.post__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--ink-14);
  margin-bottom: 48px;
}
.post__meta-dot { opacity: 0.5; }

/* ---------- HERO IMAGE ---------- */
.post__hero {
  margin: 0 -120px 56px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #E8E4DF 0%, #D8CFC4 100%);
  overflow: hidden;
  position: relative;
}
@media (max-width: 1000px) { .post__hero { margin: 0 0 48px; } }
.post__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__hero-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-55);
  letter-spacing: 0.1em;
  text-align: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(13,27,62,0.04) 0 12px,
      rgba(13,27,62,0.08) 12px 24px);
}
.post__hero-caption {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-55);
  margin: 12px 0 0;
  text-align: center;
  font-style: italic;
}

/* ---------- BODY TYPOGRAPHY ---------- */
.post__body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-70);
}
.post__body > * + * { margin-top: 1.4em; }
.post__body p { margin: 0; }
.post__body p:first-child::first-letter {
  font-family: var(--display-font);
  float: left;
  font-size: 64px;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--ink);
}

.post__body h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
}
.post__body h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.4em;
}
.post__body h2 + p, .post__body h3 + p { margin-top: 0.5em; }

.post__body strong { color: var(--ink); font-weight: 600; }
.post__body em { font-style: italic; }
.post__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--candle);
  transition: color 0.18s, border-color 0.18s;
}
.post__body a:hover { color: var(--candle); }

.post__body ul, .post__body ol {
  padding-left: 24px;
  margin: 1.4em 0;
}
.post__body li { margin-bottom: 0.5em; }
.post__body li::marker { color: var(--candle); }

.post__body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--candle);
  font-family: var(--display-font);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}

.post__body figure {
  margin: 2.4em 0;
}
.post__body figure img {
  width: 100%;
  display: block;
  background: var(--ink-06);
}
.post__body figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-55);
  font-style: italic;
}

.post__divider {
  display: block;
  width: 40px; height: 1px;
  background: var(--ink-30);
  margin: 3em auto;
  border: none;
}

/* ---------- INLINE CTA (book / explore) ---------- */
.post__cta {
  margin: 56px -32px 0;
  padding: 40px 32px;
  background: var(--paper);
  border: 1px solid var(--ink-06);
  text-align: center;
}
@media (max-width: 700px) { .post__cta { margin: 48px 0 0; } }
.post__cta-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--candle);
  margin: 0 0 14px;
}
.post__cta-title {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 14px;
}
.post__cta-text {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-70);
  margin: 0 auto 24px;
  max-width: 480px;
}
.post__cta-actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.post__cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  transition: filter 0.18s ease;
}
.post__cta-btn:hover { filter: brightness(1.1); }
.post__cta-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-30);
}
.post__cta-btn--ghost:hover { border-color: var(--ink); filter: none; }

/* ---------- RELATED POSTS ---------- */
.post-related {
  background: var(--paper);
  border-top: 1px solid var(--ink-06);
  border-bottom: 1px solid var(--ink-06);
  padding: 80px 32px;
}
.post-related__inner { max-width: 1100px; margin: 0 auto; }
.post-related__heading {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-55);
  text-align: center;
  margin: 0 0 36px;
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 800px) { .post-related__grid { grid-template-columns: 1fr; gap: 36px; } }
.post-related__card {
  display: flex; flex-direction: column;
  transition: transform 0.3s ease;
}
.post-related__card:hover { transform: translateY(-3px); }
.post-related__card-media {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(135deg,
      rgba(13,27,62,0.04) 0 10px,
      rgba(13,27,62,0.07) 10px 20px),
    linear-gradient(135deg, #E8E4DF 0%, #D8CFC4 100%);
  margin-bottom: 18px;
  overflow: hidden;
}
.post-related__card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-related__card-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 8px;
}
.post-related__card-title {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}
