/* The New American System: Articles.
   Colors, fonts and base rules are copied from the home page so the two match.
   Every article page and the Articles index link to this one file. */
:root{
  --paper:#DEE1D6; --paper-2:#D2D6C9; --ink:#1D2833; --muted:#4F5A5A;
  --sea:#C7D1CC; --land:#B7B8A3; --us:#2F4B63; --brass:#8F6419; --rule:#A7AD9E;
  --display:"IM Fell English", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body:"Public Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  color-scheme:light dark;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#172029; --paper-2:#1D2833; --ink:#E4E2D4; --muted:#A1AAA5;
    --sea:#1F2D38; --land:#3B4742; --us:#8DAEC6; --brass:#D4A64F; --rule:#34434C;
  }
}
:root[data-theme="dark"]{
  --paper:#172029; --paper-2:#1D2833; --ink:#E4E2D4; --muted:#A1AAA5;
  --sea:#1F2D38; --land:#3B4742; --us:#8DAEC6; --brass:#D4A64F; --rule:#34434C;
}
*,*::before,*::after{box-sizing:inherit}
html{scroll-padding-top:env(safe-area-inset-top,0px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:1.0625rem;line-height:1.62}
img,svg{max-width:100%}
a{color:var(--us);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
a:focus-visible{outline:2px solid var(--brass);outline-offset:3px;border-radius:2px}
.wrap{max-width:68rem;margin:0 auto;padding:0 1.25rem}
.col{max-width:41rem}
p{margin:0 0 1rem}

/* Masthead */
.mast{border-bottom:1px solid var(--rule);padding:.95rem 0}
.mast .wrap{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.45rem 1.5rem}
.mast-title{font-family:var(--display);font-size:1.5rem;line-height:1.1;color:var(--ink);text-decoration:none}
.mast nav{display:flex;flex-wrap:wrap;gap:.35rem 1.2rem;font-size:.95rem}
.mast nav a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule)}
.mast nav a:hover,.mast nav a[aria-current]{border-color:var(--brass)}

/* Head of an article or of the index */
.a-head{padding:2.6rem 0 1.7rem;border-bottom:1px solid var(--rule)}
.kicker{font-family:var(--display);font-style:italic;font-size:1.2rem;color:var(--muted);margin:0 0 .5rem}
.kicker a{color:inherit}
h1{font-family:var(--display);font-weight:400;font-size:clamp(2.5rem,6.4vw,4.2rem);line-height:1;letter-spacing:-.01em;margin:0 0 1.2rem}
.dek{font-size:1.2rem;line-height:1.55;max-width:38rem;margin:0 0 1.2rem}
.byline{font-size:.92rem;color:var(--muted);margin:0}

/* Article body */
.a-body{padding-top:.6rem;padding-bottom:1rem}
h2{font-family:var(--display);font-weight:400;font-size:clamp(1.75rem,3.9vw,2.35rem);line-height:1.1;margin:2.6rem 0 .8rem}
sup.fn{font-size:.7em;line-height:0;margin-left:.08em}
sup.fn a{color:var(--brass);font-weight:600;text-decoration:none;padding:0 .1em}
sup.fn a:hover{text-decoration:underline}
.quotes{display:grid;gap:1.8rem;margin:1.6rem 0;max-width:46rem}
.quotes blockquote{margin:0;border-left:3px solid var(--brass);padding:.15rem 0 .15rem 1.2rem}
.quotes p{font-family:var(--display);font-size:clamp(1.35rem,3vw,1.75rem);line-height:1.3;margin:0 0 .45rem}
.quotes cite{font-style:normal;font-size:.92rem;color:var(--muted)}
.bridge{font-family:var(--display);font-style:italic;font-size:1.3rem;line-height:1.4;color:var(--muted);margin:2.2rem 0 0}

/* Table */
.scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.5rem 0;max-width:52rem}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{text-align:left;vertical-align:top;padding:.75rem .9rem .75rem 0;border-bottom:1px solid var(--rule)}
thead th{font-weight:700;border-bottom:2px solid var(--ink)}
td:first-child{font-family:var(--display);font-size:1.22rem;line-height:1.25;min-width:11rem}
td:last-child,th:last-child{white-space:nowrap;padding-right:0}

/* Notes */
.notes-h{font-family:var(--body);font-weight:700;font-size:1.05rem;margin:3rem 0 .6rem;padding-top:1.2rem;border-top:2px solid var(--ink)}
.notes{font-size:.92rem;padding-left:1.3rem;max-width:46rem;margin:0}
.notes li{margin-bottom:.55rem;scroll-margin-top:1rem}
.notes li:target{background:var(--paper-2)}

/* Foot of an article */
.a-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;margin:2.5rem 0 0;padding-top:1.1rem;border-top:1px solid var(--rule);font-size:.95rem}

/* Articles index */
.entries{padding-top:.4rem}
.entry{padding:1.9rem 0;border-bottom:1px solid var(--rule);max-width:44rem}
.entry .kicker{font-size:1.1rem;margin-bottom:.35rem}
.entry h2{margin:0 0 .6rem;font-size:clamp(1.9rem,4.4vw,2.6rem)}
.entry h2 a{color:var(--ink);text-decoration:none}
.entry h2 a:hover{text-decoration:underline;text-decoration-thickness:1px}
.entry p{margin:0 0 .6rem}
.more{font-size:.95rem;color:var(--muted)}
.crossref{background:var(--paper-2);border-left:3px solid var(--brass);padding:1.2rem 1.4rem;max-width:44rem;margin:2.4rem 0 0}
.crossref b{display:block;margin-bottom:.2rem}

footer{border-top:1px solid var(--rule);margin-top:3rem;padding:1.5rem 0 2.5rem;font-size:.9rem;color:var(--muted)}
footer a{color:inherit}

@media (max-width:480px){
  td:first-child{font-size:1.1rem;min-width:8.5rem}
  th,td{padding-right:.7rem}
}
