/* Blog Post page-local styles — scoped under .page-post */
.page-post {
  /* ARTICLE HEAD */
  .article-head { padding: 56px 0 48px; }
  .post-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 36px;
  }
  .post-breadcrumbs a:hover { color: var(--teal-2); }
  .post-breadcrumbs .sep { width: 10px; height: 1px; background: var(--line-strong); display:inline-block; }
  .article-head .cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-2);
    margin-bottom: 24px;
  }
  .article-head h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(40px, 5.4vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 28px;
    text-wrap: balance;
    max-width: 900px;
  }
  .article-head h1 em {
    font-style: normal;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: var(--teal-2);
    letter-spacing: 0.01em;
  }
  .article-head .standfirst {
    font-size: 22px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 48px;
    max-width: 720px;
    font-weight: 300;
    letter-spacing: -0.005em;
    text-wrap: pretty;
  }
  .byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    flex-wrap: wrap;
  }
  .byline .author {
    display: flex; align-items: center; gap: 14px;
    font-size: 14px;
    color: var(--ink);
  }
  .byline .avatar {
    width: 40px; height: 40px;
    border-radius: 999px;
    background: linear-gradient(160deg, #c7b48a, #6f6346);
    overflow: hidden;
  }
  .byline .author .name { font-weight: 500; }
  .byline .author .role { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
  .byline .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: var(--muted);
  }
  .byline .meta .sep { width: 3px; height: 3px; background: var(--muted); border-radius: 999px; }
  .byline .actions { display: flex; gap: 8px; }
  .byline .actions .ico-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: grid; place-items: center;
    color: var(--charcoal);
    cursor: pointer;
    transition: all .15s ease;
    background: transparent;
  }
  .byline .actions .ico-btn:hover { background: var(--ink); color: var(--sand-3); border-color: var(--ink); }

  /* HERO IMAGE */
  .hero-image {
    aspect-ratio: 16/9;
    border-radius: 4px;
    margin-bottom: 24px;
  }
  .hero-caption {
    font-size: 12.5px;
    color: var(--muted);
    font-family: ui-monospace, Menlo, monospace;
    letter-spacing: 0.04em;
    padding: 0;
    margin: 0 0 88px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-caption::before {
    content: "";
    width: 24px; height: 1px;
    background: var(--line-strong);
  }

  /* BODY */
  .article { padding-bottom: 96px; }
  .article-grid {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 56px;
    align-items: start;
  }
  .article-toc {
    position: sticky;
    top: 96px;
    font-size: 12px;
    color: var(--muted);
  }
  .article-toc .toc-title {
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--charcoal);
  }
  .article-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    counter-reset: toc;
  }
  .article-toc ol li {
    counter-increment: toc;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
    color: var(--muted);
    transition: color .15s ease;
  }
  .article-toc ol li::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute;
    left: 0; top: 0;
    font-family: 'Cinzel', serif;
    color: var(--teal-2);
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .article-toc ol li a:hover { color: var(--ink); }
  .article-toc ol li.active { color: var(--ink); font-weight: 500; }
  .article-toc ol li.active::before { color: var(--ink); }

  .article-body {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--charcoal);
  }
  .article-body > p:first-of-type::first-letter {
    font-family: 'Cinzel', serif;
    font-size: 64px;
    float: left;
    line-height: 0.9;
    padding: 6px 14px 0 0;
    color: var(--ink);
    font-weight: 500;
  }
  .article-body p { margin: 0 0 22px; text-wrap: pretty; }
  .article-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.15;
    color: var(--ink);
    margin: 56px 0 18px;
    text-wrap: balance;
  }
  .article-body h2 .num {
    font-family: 'Cinzel', serif;
    color: var(--teal-2);
    font-size: 14px;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .article-body a {
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    transition: border-color .15s ease;
  }
  .article-body a:hover { border-color: var(--teal-2); color: var(--teal-2); }
  .article-body em { font-style: italic; }
  .article-body strong { font-weight: 600; color: var(--ink); }
  .article-body img { border-radius: 4px; margin: 32px 0; width: 100%; }

  blockquote.pull {
    margin: 48px -32px;
    padding: 0 32px;
    border-left: 2px solid var(--teal-2);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--ink);
    font-style: normal;
    text-wrap: balance;
  }
  blockquote.pull p { margin: 0 0 18px; }
  blockquote.pull cite {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--teal-2);
    font-style: normal;
    margin-top: 18px;
  }

  figure.inline { margin: 48px 0; }
  figure.inline .photo {
    aspect-ratio: 16/10;
    border-radius: 4px;
    margin-bottom: 16px;
  }
  figure.inline figcaption {
    font-size: 12.5px;
    color: var(--muted);
    font-family: ui-monospace, Menlo, monospace;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  figure.inline figcaption::before {
    content: "";
    width: 24px; height: 1px;
    background: var(--line-strong);
  }

  .scripture {
    background: var(--sand-3);
    border-radius: 4px;
    padding: 28px 32px;
    margin: 40px 0;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 17.5px;
    line-height: 1.6;
  }
  .scripture .ref {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-2);
    margin-bottom: 14px;
    display: block;
    font-weight: 500;
  }
  .scripture p { margin: 0; color: var(--ink); font-style: italic; }

  /* SHARE RAIL (right side) */
  .share-rail {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .share-rail .label {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
  }
  .share-rail .icons { display: grid; gap: 8px; }
  .share-rail .icons a {
    width: 38px; height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: grid; place-items: center;
    color: var(--charcoal);
    transition: all .15s ease;
  }
  .share-rail .icons a:hover { background: var(--ink); color: var(--sand-3); border-color: var(--ink); }

  /* AUTHOR BIO */
  .author-card {
    background: var(--sand-3);
    border-radius: 6px;
    padding: 40px;
    margin: 32px auto 0;
    max-width: 720px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 28px;
    align-items: start;
  }
  .author-card .big-avatar {
    width: 100px; height: 100px;
    border-radius: 999px;
    overflow: hidden;
    background:
      repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 14px),
      linear-gradient(160deg, #54595a 0%, #2A2C2B 100%);
  }
  .author-card .who {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-2);
    font-weight: 600;
    margin-bottom: 10px;
  }
  .author-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.012em;
  }
  .author-card .role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
  }
  .author-card p {
    margin: 0 0 16px;
    font-size: 14.5px;
    color: var(--charcoal);
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
  }
  .author-card .links {
    display: flex; gap: 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
  }
  .author-card .links a {
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 2px;
  }
  .author-card .links a:hover { color: var(--teal-2); border-color: var(--teal-2); }

  /* NEXT / PREV NAV */
  .post-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin: 80px 0 0;
  }
  .post-nav a { display: block; transition: opacity .15s ease; }
  .post-nav a:hover { opacity: 0.7; }
  .post-nav .dir {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .post-nav .title {
    font-size: 21px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.012em;
    line-height: 1.3;
    text-wrap: balance;
  }
  .post-nav .next { text-align: right; }
  .post-nav .next .dir { justify-content: flex-end; }

  /* RELATED */
  .related { background: var(--sand-3); }
  .related .sec-head { margin-bottom: 40px; }
  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .related-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all .2s ease;
    color: inherit;
  }
  .related-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
  .related-card .photo { aspect-ratio: 16/10; }
  .related-card .body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
  .related-card .cat-tag {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-2);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .related-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
  }
  .related-card .meta {
    margin-top: auto;
    padding-top: 16px;
    font-size: 12px;
    color: var(--muted);
  }

  /* COMMENT / NEWSLETTER */
  .conversation { padding: 96px 0 64px; }
  .conv-card {
    background: var(--ink);
    color: var(--sand-3);
    border-radius: 6px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .conv-card::before {
    content: "";
    position: absolute;
    left: 50%; top: -160px;
    width: 360px; height: 360px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 999px;
    transform: translateX(-50%);
  }
  .conv-card .sec-tag { color: var(--teal-3); }
  .conv-card h3 {
    font-weight: 300;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin: 14px 0 18px;
    position: relative; z-index: 2;
  }
  .conv-card h3 em {
    font-style: normal;
    font-family: 'Cinzel', serif;
    color: var(--teal-3);
    font-weight: 400;
  }
  .conv-card p {
    color: rgba(250, 246, 236, 0.7);
    margin: 0 auto 28px;
    max-width: 480px;
    font-size: 15.5px;
    position: relative; z-index: 2;
  }
  .conv-card .row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 2;
  }
  .conv-card .btn-primary { background: var(--sand-3); color: var(--ink); }
  .conv-card .btn-primary:hover { background: var(--teal-2); color: var(--sand-3); }
  .conv-card .btn-ghost { border-color: rgba(255,255,255,0.2); color: var(--sand-3); }
  .conv-card .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--sand-3); color: var(--sand-3); }

  /* reading progress bar */
  .reading-progress {
    position: fixed; top: 72px; left: 0; height: 2px; width: 0%;
    background: var(--teal-2); z-index: 60; transition: width .15s ease;
  }

  @media (max-width: 1100px) {
    .article-grid { grid-template-columns: 1fr; gap: 32px; }
    .article-toc, .share-rail { position: static; flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
    .article-toc ol { display: flex; flex-wrap: wrap; gap: 14px 22px; }
    .article-toc ol li { padding-left: 22px; }
    .share-rail .icons { display: flex; }
  }
  @media (max-width: 960px) {
    .related-grid, .post-nav { grid-template-columns: 1fr; gap: 24px; }
    .post-nav .next { text-align: left; }
    .post-nav .next .dir { justify-content: flex-start; }
    .author-card { grid-template-columns: 1fr; padding: 28px; }
    blockquote.pull { margin: 32px 0; padding: 0 24px; font-size: 24px; }
    .conv-card { padding: 40px 24px; }
  }
}
