/* ============================================================
   BLOG POST — single article page
   Nav and footer styles are inherited from blog.css + mobile-blog.css
   ============================================================ */


/* ══════════════════════════════════════════════════
   POST LAYOUT
   ══════════════════════════════════════════════════ */

.post-main {
  background: #ffffff;
  padding-bottom: 100px;
}

.post-main article {
  width: 100%;
}

.post-main--with-sidebar {
  background: #ffffff;
}

.post-layout {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(260px, 2fr);
  gap: 48px;
  align-items: start;
}

.post-content {
  min-width: 0;
}

.post-layout .post-header {
  max-width: none;
  margin: 0;
  padding: 36px 0 48px;
}

.post-hero-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #383838;
  border-radius: 12px;
}

.post-hero-placeholder span {
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.post-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-mobile-toc {
  display: none;
}

.post-layout .post-body {
  max-width: none;
  margin: 0;
  padding: 40px 0 0;
}

.post-layout .post-body h2 {
  scroll-margin-top: 32px;
}

.post-sidebar {
  min-width: 0;
  padding-top: 36px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.post-sidebar__sticky {
  position: static;
}

.post-toc {
  padding: 24px;
  background: #f5f5f5;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
}

.post-sidebar__title {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-mont);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: #111111;
}

.post-toc__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-toc__list li {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.post-toc__list a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-regular);
  line-height: 1.45;
  letter-spacing: var(--ls-default);
  color: rgba(17, 17, 17, 0.62);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-toc__list a:hover {
  color: #111111;
  transform: translateX(3px);
}

.post-share {
  margin-top: 24px;
}

.post-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-share__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  font-family: var(--font-mont);
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #111111;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.post-share__links a:hover {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
}

.post-promo {
  min-height: 432px;
  margin-top: 24px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 20px;
  background: #111111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.post-promo .nav__dd-promo-top {
  width: 100%;
}

.post-promo__btn {
  display: none;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .post-layout {
    grid-template-columns: minmax(0, 5fr) minmax(230px, 2fr);
    gap: 32px;
  }

  .post-toc {
    padding: 20px;
  }
}


/* ── BACK LINK ── */
.post-back-wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 196px 40px 0;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-back:hover { color: #111111; }

.post-back svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.post-back:hover svg { transform: translateX(-3px); }


/* ── HEADER ── */
.post-header {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 36px 40px 48px;
}

.post-header__tag-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.post-header__tag {
  display: inline-block;
  font-family: var(--font-mont);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: #555555;
  background: #f0eee9;
  border-radius: 999px;
  padding: 4px 12px;
}

.post-header__date {
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #aaaaaa;
}

.post-header__updated {
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #aaaaaa;
}
.post-header__updated::before {
  content: "·";
  margin-right: 12px;
  color: #cccccc;
}

.post-header__title {
  font-family: var(--font-mont);
  font-size: var(--fs-h1-mont);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  line-height: 1.02;
  color: #111111;
  margin: 0 0 28px 0;
}

.post-header__lead {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 1.1);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  letter-spacing: var(--ls-default);
  color: #555555;
  margin: 0;
  border-left: 0;
  padding-left: 0;
}


/* ── FEATURED IMAGE ── */
.post-feature-img {
  max-width: var(--max-content);
  margin: 0 auto 60px;
  padding: 0 40px;
}

.post-feature-img img {
  width: 100%;
  height: min(418.75px, calc(31.25vw - 25px));
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}


/* ── BODY ── */
.post-body {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 40px 0;
}

/* Headings */
.post-body h2 {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-h2-mont) * 0.6);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.05em;
  line-height: 1.2;
  color: #111111;
  margin: 52px 0 16px 0;
}

.post-body h2:first-child { margin-top: 0; }

.post-body h3 {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 1.05);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  line-height: 1.35;
  color: #111111;
  margin: 32px 0 12px 0;
}

/* Paragraphs */
.post-body p {
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: #333333;
  margin: 0 0 20px 0;
}

.post-body p:last-child { margin-bottom: 0; }

.post-body strong {
  font-weight: var(--fw-semibold);
  color: #111111;
}

.post-body em {
  font-style: italic;
}

/* Inline links */
.post-body a {
  color: #47326c;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.post-body a:hover { color: #111111; }

/* Lists */
.post-body ul,
.post-body ol {
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: #333333;
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.post-body li { margin-bottom: 8px; }
.post-body li:last-child { margin-bottom: 0; }

/* Blockquote */
.post-body blockquote {
  border-left: 3px solid #d9ceea;
  margin: 32px 0;
  padding: 4px 0 4px 24px;
}

.post-body blockquote p {
  font-family: var(--font-dutch);
  font-size: calc(var(--fs-p) * 1.15);
  font-style: italic;
  color: #444444;
  margin: 0;
}

/* Divider */
.post-body hr {
  border: none;
  border-top: 1px solid #eeeeee;
  margin: 44px 0;
}


/* ── IN-ARTICLE IMAGES ── */
.post-figure {
  max-width: var(--max-content);
  margin: 44px auto;
  padding: 0 40px;
}

.post-figure img {
  width: 100%;
  height: min(418.75px, calc(31.25vw - 25px));
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.post-figure figcaption {
  margin-top: 12px;
  font-family: var(--font-mont);
  font-size: 12px;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #aaaaaa;
  text-align: center;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════
   MORE POSTS — 4 related posts below article
   ══════════════════════════════════════════════════ */

.section-more-posts {
  background: #f5f5f5;
  padding-top: 80px;
  padding-bottom: 100px;
}

.more-posts__inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 40px;
}

.more-posts__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.more-posts__heading {
  font-family: var(--font-mont);
  font-size: var(--fs-h2-mont);
  font-weight: var(--fw-regular);
  letter-spacing: -0.07em;
  line-height: var(--lh-h2-mont);
  color: #111111;
  margin: 0;
}

.more-posts__heading em {
  font-family: var(--font-dutch);
  font-size: var(--fs-h2-dutch);
  font-style: italic;
  letter-spacing: var(--ls-default);
}

.more-posts__see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #555555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.more-posts__see-all:hover { color: #111111; }

.more-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
