/* Ansel: /articles and each article page. Loaded after styles.css, which supplies the tokens, nav, buttons,
   footer, the 720 px column (.section-inner) and the reading type (.doc-body). This file adds only what articles
   need: the index cards, the article head, the summary and contents cards, Scripture quotes, the app card and
   related reads. Pages are generated by tools/articles.py; edit the template there, not the output. */
@font-face{font-family:"Fraunces";font-style:normal;font-weight:400 500;font-display:swap;src:url(/fonts/fraunces-latin-var.woff2) format("woff2")}

:root{--night:#1E2A4A;--night-2:#2B3A63;--night-ink-2:#D6DDF2;--night-ink-3:#B8C3E0;--edge-2:0 6px 0 rgba(31,42,34,.08), 0 0 0 1px rgba(31,42,34,.09);--r-xl:32px}

/* ---------- index ---------- */
.list-head h1{margin:0;font-weight:800;font-size:clamp(38px,4.4vw,60px);line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.list-head p{margin:var(--s16) 0 0;font-size:var(--fs-20);line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.art-list{list-style:none;margin:var(--s48) 0 0;padding:0;display:grid;gap:var(--s16)}
.art-card{display:flex;align-items:flex-start;gap:var(--s16);padding:var(--s24);background:var(--card);border-radius:var(--r-lg);box-shadow:var(--edge-1);
  text-decoration:none!important;color:inherit!important;transition:background .2s}
.art-card:hover{background:#FFFDF7}
.art-card img{flex:none;width:56px;height:56px}
.art-card h2{margin:0;font-weight:700;font-size:var(--fs-24);line-height:1.2;letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.art-card p{margin:var(--s8) 0 0;font-size:var(--fs-16);line-height:1.5;color:var(--ink-2);text-wrap:pretty}
.art-card .art-meta{margin-top:var(--s12)}
.art-card:hover h2{color:var(--green-text)}

/* ---------- article column: 640 px keeps 18 px body near 75 characters a line ---------- */
.art-col{width:min(640px,100% - 2*var(--gutter))}

/* ---------- article head ---------- */
.crumbs{margin:0 0 var(--s24);font-size:var(--fs-16);font-weight:500}
.crumbs a{text-decoration:none}
.crumbs a::before{content:"\2190\00a0"}
.art-head h1{margin:0;font-weight:800;font-size:clamp(38px,4.4vw,60px);line-height:1.04;letter-spacing:-.04em;text-wrap:balance}
.art-lede{margin:var(--s24) 0 0;font-size:var(--fs-20);line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.art-meta{margin:var(--s16) 0 0;font-size:var(--fs-14);line-height:1.45;color:var(--ink-3);font-variant-numeric:tabular-nums}
.art-meta span+span::before{content:"\00b7";margin:0 var(--s8)}

/* ---------- in short + contents: two cards before the body ---------- */
/* "In short" is the one card; the contents list sits on the page so two boxes don't stack before the body */
.art-short{margin-top:var(--s32);padding:var(--s24);border-radius:var(--r-lg);background:var(--cream);box-shadow:var(--edge-1)}
.art-toc{margin-top:var(--s32)}
.art-short h2,.art-toc h2{margin:0 0 var(--s12);font-weight:700;font-size:var(--fs-18);line-height:1.35}
.art-short ul{margin:0;padding-left:1.2em;display:grid;gap:var(--s8);max-width:62ch}
.art-short li{font-size:var(--fs-16);line-height:1.55;color:var(--ink)}
.art-short li::marker{color:var(--green)}
.art-toc ol{margin:0;padding-left:1.4em;display:grid;gap:var(--s4)}
.art-toc li{font-size:var(--fs-16);line-height:1.5;color:var(--ink-3)}
.art-toc li::marker{font-variant-numeric:tabular-nums}

/* ---------- body additions (the rest is .doc-body in styles.css) ---------- */
.art-body{margin-top:var(--s48)}
.art-body h2{font-size:clamp(28px,2.4vw,32px);line-height:1.1;letter-spacing:-.025em;margin-top:var(--s64)}
.art-body p,.art-body li{text-wrap:pretty}
.art-body ol{margin:0 0 var(--s16);padding-left:1.4em}
.art-body ol li::marker{color:var(--green-text);font-weight:700}
/* a Scripture quote: the app's devotional face, the verse in full, the reference under it */
.verse{margin:var(--s24) 0;padding:var(--s24);background:var(--card);border-radius:var(--r-lg);box-shadow:var(--edge-1)}
.verse p{margin:0;font-family:"Fraunces",Georgia,serif;font-size:var(--fs-20);line-height:1.5;color:var(--ink)!important;text-wrap:pretty}
.verse cite{display:block;margin-top:var(--s12);font-style:normal;font-weight:700;font-size:var(--fs-16);color:var(--green-text)}
/* a short aside inside the body, e.g. how Ansel handles this moment */
.note{margin:var(--s24) 0;padding:var(--s16) var(--s24);background:var(--mint);border-radius:var(--r-lg);box-shadow:var(--edge-1)}
.note p{margin:0;max-width:62ch;color:var(--ink)!important;font-size:var(--fs-16)!important}

/* ---------- the app card: the homepage's night band, as a card ---------- */
.art-cta{margin-top:var(--s64);padding:var(--s32);border-radius:var(--r-xl);background:linear-gradient(160deg,var(--night),var(--night-2));color:#fff;box-shadow:var(--edge-2)}
.art-cta img{width:64px;height:64px;margin-bottom:var(--s16)}
.art-cta h2{margin:0;font-weight:800;font-size:clamp(28px,2.4vw,32px);line-height:1.1;letter-spacing:-.025em;text-wrap:balance}
.art-cta p{margin:var(--s12) 0 var(--s24);max-width:56ch;font-size:var(--fs-18);line-height:1.55;color:var(--night-ink-2);text-wrap:pretty}

.ico-apple{fill:currentColor}
.btn--lg .ico-apple{width:22px;height:22px;margin-top:-3px}

/* ---------- keep reading ---------- */
.art-related{margin-top:var(--s64)}
.art-related > h2{margin:0 0 var(--s16);font-weight:700;font-size:var(--fs-24);line-height:1.25;letter-spacing:-.02em}
.art-related .art-list{margin-top:0}
.art-fine{margin:var(--s48) 0 0;max-width:38em;font-size:var(--fs-14);line-height:1.55;color:var(--ink-3)}

@media (max-width:760px){
  .art-card{padding:var(--s16)}
  .art-card img{width:44px;height:44px}
  .art-card h2{font-size:var(--fs-20)}
  .art-short{padding:var(--s16)}
  .verse{padding:var(--s16)}
  .verse p{font-size:var(--fs-18)}
  .art-cta{padding:var(--s24)}
  .art-cta .btn--lg{width:100%;padding-inline:var(--s16);white-space:nowrap}
}
