/**
 * Single Mission Post template CSS — article hero, body, prayer strip,
 * related posts. Nav/footer styles come from the theme.
 */


  /* reading progress bar */
  .read-bar {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 101;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    transition: width 0.1s linear;
  }


  /* ─────────────────────────  ARTICLE HERO  ───────────────────────── */
  .art-hero {
    padding: 132px 48px 0;
    max-width: 1400px; margin: 0 auto;
  }
  .breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(11,23,38,0.5);
    margin-bottom: 30px;
  }
  .breadcrumb a { transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--navy); }
  .breadcrumb .sep { opacity: 0.4; }
  .breadcrumb .here { color: var(--navy); }

  .art-cat {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(224,120,86,0.1);
    border: 1px solid rgba(224,120,86,0.28);
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase; color: #c05a38; font-weight: 500;
    margin-bottom: 26px;
  }
  .art-cat .dot { width: 6px; height: 6px; border-radius: 50%; background: #e07856; }

  .art-title {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700; line-height: 1.12;
    letter-spacing: -0.02em; color: var(--ink);
    margin-bottom: 26px; text-wrap: balance;
  }
  .art-title .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--navy); letter-spacing: 0; }
  .art-dek {
    font-family: var(--serif-tc); font-weight: 400;
    font-size: clamp(18px, 2vw, 21px); line-height: 1.7;
    color: rgba(11,23,38,0.72);
    max-width: 680px; margin-bottom: 36px;
  }

  .art-meta {
    display: flex; flex-wrap: wrap; gap: 14px 40px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .art-meta .mi { display: flex; flex-direction: column; gap: 5px; }
  .art-meta .mi .k {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(11,23,38,0.45);
  }
  .art-meta .mi .v { font-size: 14px; font-weight: 600; color: var(--ink); }
  .art-meta .share { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .art-meta .share-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); background: white;
    display: grid; place-items: center;
    color: var(--navy); transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .art-meta .share-btn:hover { background: var(--navy); color: white; border-color: var(--navy); transform: translateY(-2px); }
  .art-meta .share-btn svg { width: 16px; height: 16px; }

  /* Cover image */
  .art-cover {
    max-width: 1400px; margin: 48px auto 0;
    padding: 0 48px;
  }
  .art-cover .frame {
    position: relative; aspect-ratio: 16 / 9;
    border-radius: 18px; overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow-2);
  }
  .placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center; align-content: center;
    gap: 8px; text-align: center; padding: 24px;
    background:
      repeating-linear-gradient(135deg, rgba(30,58,95,0.04) 0 14px, rgba(30,58,95,0.08) 14px 28px),
      linear-gradient(135deg, #e7ecf2 0%, #d8e0ea 100%);
    color: rgba(30,58,95,0.55);
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
    text-transform: uppercase; line-height: 1.7;
  }
  .placeholder .ico {
    font-family: var(--serif); font-style: italic;
    font-size: 44px; color: var(--gold); line-height: 1; margin-bottom: 4px;
  }
  .placeholder .sub { opacity: 0.6; }
  .art-cover .cap {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
    color: rgba(11,23,38,0.5); text-align: center;
    margin-top: 14px;
  }

  /* ─────────────────────────  ARTICLE BODY  ───────────────────────── */
  .art-body {
    max-width: 720px; margin: 0 auto;
    padding: 130px 48px 130px;
  }
  .art-body p {
    font-family: var(--serif-tc);
    font-size: 18.5px; line-height: 2; color: var(--ink-2);
    margin-bottom: 28px;
  }
  .art-body > p:first-of-type::first-letter {
    font-family: var(--serif); font-weight: 600;
    float: left; font-size: 76px; line-height: 0.82;
    padding: 8px 14px 0 0; color: var(--navy);
  }
  .art-body h2 {
    font-family: var(--sans);
    font-size: 27px; font-weight: 700; line-height: 1.3;
    letter-spacing: -0.01em; color: var(--ink);
    margin: 8px 0 22px;
  }
  .art-body h2 .num {
    font-family: var(--mono); font-size: 13px; font-weight: 500;
    color: var(--gold-deep); letter-spacing: 0.1em;
    display: block; margin-bottom: 10px;
  }
  .art-body h3 {
    font-size: 19px; font-weight: 600; color: var(--navy);
    margin: 12px 0 14px;
  }
  .art-body a.inline { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
  .sec-rule {
    display: flex; align-items: center; gap: 16px;
    margin: 44px 0;
    color: var(--gold);
  }
  .sec-rule::before, .sec-rule::after { content: ""; height: 1px; flex: 1; background: var(--line); }
  .sec-rule .star { font-family: var(--serif); font-style: italic; font-size: 22px; }

  /* Pull quote */
  .pullquote {
    margin: 44px 0;
    padding-left: 28px;
    border-left: 3px solid var(--gold);
  }
  .pullquote p {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 28px; line-height: 1.45; color: var(--navy);
    margin: 0 0 12px;
  }
  .pullquote cite {
    font-family: var(--mono); font-style: normal;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(11,23,38,0.55);
  }

  /* Scripture block */
  .scripture {
    margin: 44px 0;
    padding: 36px 38px;
    border-radius: 16px;
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    color: white; position: relative; overflow: hidden;
  }
  .scripture::before {
    content: ""; position: absolute; top: -70px; right: -70px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(212,165,116,0.3), transparent 70%);
    pointer-events: none;
  }
  .scripture .qm { font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 0.6; }
  .scripture p {
    font-family: var(--serif-tc); font-weight: 500;
    font-size: 22px; line-height: 1.7; color: white;
    margin: 8px 0 16px; position: relative;
  }
  .scripture .ref {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold);
  }

  /* Inline figure */
  .figure {
    margin: 44px 0;
  }
  .figure .frame {
    position: relative; aspect-ratio: 3 / 2;
    border-radius: 14px; overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow-1);
  }
  .figure.wide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .figure.wide .inner { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
  .figure .cap {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
    color: rgba(11,23,38,0.5); margin-top: 12px; text-align: center;
  }
  .fig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .fig-grid .frame { aspect-ratio: 1 / 1; }

  /* Key-figures strip */
  .keyfacts {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    margin: 44px 0;
    background: var(--line);
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  }
  .keyfacts .kf { background: white; padding: 26px 22px; }
  .keyfacts .kf .n {
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: 42px; line-height: 1; color: var(--gold-deep);
  }
  .keyfacts .kf .n sup { font-size: 18px; vertical-align: top; }
  .keyfacts .kf .l {
    font-size: 13px; color: rgba(11,23,38,0.6);
    margin-top: 10px; line-height: 1.5;
  }

  /* ─────────────────────────  AUTHOR / TAGS  ───────────────────────── */
  .art-foot { max-width: 720px; margin: 0 auto; padding: 0 48px 24px; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
  .tags .tag {
    padding: 7px 14px; border-radius: 999px;
    background: white; border: 1px solid var(--line);
    font-size: 12.5px; color: var(--navy);
    transition: background 0.2s, border-color 0.2s;
  }
  .tags .tag:hover { background: var(--paper); border-color: rgba(212,165,116,0.5); }
  .tags .tag::before { content: "# "; color: var(--gold-deep); }

  .author-card {
    display: flex; gap: 20px; align-items: center;
    padding: 28px 30px; border-radius: 18px;
    background: white; border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
  }
  .author-card .avatar {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center;
    background: linear-gradient(160deg, var(--navy), var(--ink));
    color: var(--gold); font-family: var(--serif); font-style: italic;
    font-size: 28px;
  }
  .author-card .who .r {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px;
  }
  .author-card .who h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
  .author-card .who p { font-size: 13px; color: rgba(11,23,38,0.6); line-height: 1.6; }

  /* ─────────────────────────  PRAYER STRIP  ───────────────────────── */
  .pray-strip {
    background: var(--ink); color: white;
    padding: 130px 48px; margin-top: 64px;
    position: relative; overflow: hidden;
  }
  .pray-strip::before {
    content: ""; position: absolute; top: -150px; right: -80px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(212,165,116,0.14), transparent 70%);
    pointer-events: none;
  }
  .pray-strip .inner {
    max-width: 900px; margin: 0 auto; position: relative; z-index: 2;
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center;
  }
  .pray-strip .eye {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .pray-strip .eye::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
  .pray-strip h3 { font-size: 26px; font-weight: 700; line-height: 1.3; }
  .pray-strip h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
  .pray-strip ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
  .pray-strip li {
    display: flex; gap: 14px; font-size: 14.5px; line-height: 1.7;
    color: rgba(255,255,255,0.82);
  }
  .pray-strip li .n {
    font-family: var(--serif); font-style: italic; color: var(--gold);
    font-size: 20px; line-height: 1.3; flex-shrink: 0;
  }

  /* ─────────────────────────  RELATED  ───────────────────────── */
  .related { padding: 130px 48px; }
  .related .wrap { max-width: 1180px; margin: 0 auto; }
  .related .head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; margin-bottom: 40px;
  }
  .related .sec-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--navy); opacity: 0.7; margin-bottom: 16px;
  }
  .related .sec-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
  .related h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
  .related h2 .accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--navy); }
  .related .back {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--gold-deep); font-weight: 500;
    white-space: nowrap; transition: gap 0.2s, color 0.2s;
  }
  .related .back svg { width: 14px; height: 14px; }
  .related .back:hover { gap: 14px; color: var(--navy); }

  .rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .rel-card { display: flex; flex-direction: column; }
  .rel-card .thumb {
    position: relative; aspect-ratio: 4 / 3;
    border-radius: 14px; overflow: hidden; background: var(--paper);
    box-shadow: var(--shadow-1); margin-bottom: 18px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .rel-card:hover .thumb { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .rel-card .cat-badge {
    position: absolute; top: 12px; left: 12px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
    font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
    color: var(--navy); text-transform: uppercase; font-weight: 500;
    box-shadow: var(--shadow-1);
  }
  .rel-card .cat-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #e07856; }
  .rel-card .date {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
    color: var(--navy); opacity: 0.65; text-transform: uppercase; margin-bottom: 9px;
  }
  .rel-card h3 { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ink); transition: color 0.2s; }
  .rel-card:hover h3 { color: var(--navy); }
  .rel-card p {
    font-size: 13.5px; line-height: 1.7;
    color: rgba(11,23,38,0.65); margin-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Footer styles intentionally omitted — the theme's shared footer
     (from page-mission.css) handles desktop + mobile layout. */

  /* ─────────────────────────  REVEAL  ───────────────────────── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: translateY(0); }


  /* ═══════════════════════════════════════════════════════════════════
   *  Body grid — article column (left) + sidebar (right).
   *  Wraps .art-body and .art-foot. Cover, prayer-strip, and related
   *  stay outside the grid as full-width sections.
   * ═══════════════════════════════════════════════════════════════════ */
  .mp-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 64px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 56px;
    align-items: start;
  }
  .mp-main > .mp-article {
    min-width: 0;
  }
  /* Strip the body / foot of their own max-width and padding — the .mp-main
   * container owns those now. */
  .mp-main .art-body,
  .mp-main .art-foot {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* Add spacing between body and foot when both are in the same column. */
  .mp-main .art-foot {
    margin-top: 48px !important;
    padding-top: 36px !important;
    border-top: 1px solid var(--line);
  }

  /* ---- Sidebar ---- */
  .mp-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .mp-sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: 0 1px 3px rgba(11, 23, 38, 0.04);
  }
  .mp-sidebar-card h6 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .mp-sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mp-sidebar-card .mp-sb-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.5;
    transition: background 0.15s, color 0.15s;
  }
  .mp-sidebar-card .mp-sb-link:hover {
    background: var(--paper);
    color: var(--navy);
  }
  .mp-sidebar-card .mp-sb-link .meta {
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 4px;
  }
  .mp-sidebar-card .mp-sb-link .t {
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .mp-sidebar-card li.is-current .mp-sb-link {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
  }
  .mp-sidebar-card li.is-current .mp-sb-link .meta {
    color: var(--gold);
  }


@media (max-width: 1100px) {
    .pray-strip .inner { grid-template-columns: 1fr; gap: 28px; }
    .rel-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 980px) {
    .mp-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mp-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 720px) {
    .art-hero { padding: 110px 24px 0; }
    .art-meta { gap: 14px 28px; }
    .art-meta .share { margin-left: 0; width: 100%; }
    .art-cover { padding: 0 24px; }
    .art-body { padding: 52px 24px 32px; }
    .art-body p { font-size: 17px; line-height: 1.95; }
    .art-body > p:first-of-type::first-letter { font-size: 60px; }
    .art-foot { padding: 0 24px 24px; }
    .mp-main { padding: 48px 24px; gap: 32px; }
    .mp-sidebar-card { padding: 18px 18px 14px; }
    .figure.wide .inner { padding: 0 24px; }
    .keyfacts { grid-template-columns: 1fr; }
    .pullquote p { font-size: 23px; }
    .scripture { padding: 28px 24px; }
    .scripture p { font-size: 19px; }
    .author-card { flex-direction: column; align-items: flex-start; text-align: left; }
    .pray-strip { padding: 52px 24px; }
    .related { padding: 64px 24px; }
    .related .head { flex-direction: column; align-items: flex-start; }
    .fig-grid { grid-template-columns: 1fr; }
}
