/* One shared colour system and footer across the complete website. */
:root{
  --ink:#101c28;--ink-2:#32383f;--muted:#666765;
  --paper:#faf8f4;--paper-2:#f0ebe3;--white:#fffdf9;
  --line:#e3d8c7;--line-2:#d2bd9b;
  --terra:#97630c;--terra-d:#754a06;--terra-l:#efc457;--terra-50:#f9efd7;
  --gold:#dba62d;--gold-light:#ffe8a5;--navy:#101d2b;
}
body:not(.pg-home) h1,body:not(.pg-home) h2{font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.035em;line-height:1.15}
.btn-primary{--fg:#171707;--bd:#f7ce6f;background:linear-gradient(180deg,#ffe7a0,#eac05b 35%,#c88e20 82%,#bc8015);color:#171707;box-shadow:inset 0 1px 0 #fff7d4,inset 0 -1px 0 #87510a,0 5px 12px #0002}
.btn-primary:hover{background:linear-gradient(180deg,#fff0bb,#efca70 50%,#d6a035);color:#171707;box-shadow:inset 0 1px 0 #fff,0 7px 20px #b5812438}
body:not(.pg-home) .btn{border-radius:9px}
body:not(.pg-home) .btn .i-arr{display:none}

/* Inner page introductions retain the homepage's midnight and gold accents. */
.page-head,.article-head{position:relative;isolation:isolate;background:radial-gradient(ellipse at 90% 0,#b38b4c20,transparent 60%),linear-gradient(115deg,#0c1b28,#192e40);color:#d5dce3;border-bottom:1px solid #c8a460}
.page-head::before{background-image:linear-gradient(#d6b36b09 1px,transparent 1px),linear-gradient(90deg,#d6b36b09 1px,transparent 1px);background-size:60px 60px}
.page-head h1,.article-head h1{color:#fff2d4;text-wrap:balance}
.page-head .lead,.article-head .lead{color:#cbd5de;font-size:1.0625rem;line-height:1.85}
.page-head .crumbs ol,.article-head .crumbs ol{color:#aebdca}
.page-head .crumbs a,.article-head .crumbs a{color:#efce8b}
.page-head .crumbs a:hover,.article-head .crumbs a:hover{color:#fff1c9}
.page-head .crumbs li+li::before,.article-head .crumbs li+li::before{color:#a99160}
.page-updated,.article-meta{color:#bac7d1}
.article-meta span+span::before{background:#bd9d5e}
.tag{background:#f4e7c7;color:#78500e;border:1px solid #dbc08a;font-size:.8125rem}
.page-body,.guide-list,.article{background:#faf8f4}

/* Guide archive. */
.guide-tools{gap:15px 20px}
.search{background:#fffdf9;border-color:#d7bd8b;border-radius:10px;color:#8c6a31}
.search:focus-within{border-color:#b17e25;box-shadow:0 0 0 3px #d5ac5b26}
.chip-btn{border-color:#d8c4a0;background:#fffdf8;border-radius:8px;color:#4b4840;font-size:.875rem}
.chip-btn:hover{border-color:#b48636}
.chip-btn[aria-pressed=true]{background:linear-gradient(#f7d88d,#c69335);border-color:#bd8932;color:#241a0a;box-shadow:inset 0 1px 0 #fff1c6,0 3px 9px #b17b1c25}
.g-card{background:linear-gradient(145deg,#fffefb,#f5eee3);border-color:#ddc8a3;border-radius:16px;box-shadow:inset 0 1px 0 #fff,0 9px 18px -15px #76532760}
.g-card:hover{box-shadow:0 14px 25px -16px #76532780}
.g-thumb{background:#ece3d3}
.g-body{padding:24px;gap:12px}
.g-body h2{font-size:1.3rem;line-height:1.3}
.g-body h2 a{color:#152534}
.g-body h2 a:hover{color:#8b5b0e}
.g-body p{font-size:1rem;line-height:1.8;color:#62625d}
.g-body .btn{border-color:#c9a96e;background:#fffaf0;color:#79500f;font-size:.9375rem}
.g-body .btn:hover{background:#f7e7c4;color:#67420b}

/* Article reading surfaces and supporting navigation. */
.article-grid{padding-top:44px}
.toc{padding:21px 19px;background:linear-gradient(135deg,#fffdf8,#f1e9da);border:1px solid #dcc7a3;border-radius:13px}
.toc-h{font-size:.8125rem;color:#8c6520;letter-spacing:.1em}
.toc ol{border-left-color:#d5c19a}
.toc a{color:#5a594f}
.toc a:hover{color:#916115}
.toc a.is-active{border-left-color:#b17c20;color:#1d2e3d}
.article-figure{border:1px solid #d8bd8b;box-shadow:0 12px 25px -17px #71512760;border-radius:17px;background:#f2eadb}
.prose{line-height:1.9}
.prose h2{color:#172b3b}
.prose h3{color:#7f581b}
.prose blockquote{background:#f6ecd7;border-left-color:#b88327}
.prose th{background:#f0e5d0}
.prose th,.prose td{border-color:#dfcfb1}
.table-wrap{border-color:#d8c09a;background:#fffdf8}
.conclusion{background:linear-gradient(135deg,#fffaf0,#f2e5cc);border-color:#d9bf8e}
.article-cta{background:linear-gradient(135deg,#152b3d,#0c1b28);border:1px solid #ba9555;color:#c6d1da;border-radius:15px}
.article-cta strong{color:#f7d995}
.article-faq .faq-item{background:linear-gradient(135deg,#fffdf9,#f6efe4);border:1px solid #dfc8a2;border-radius:10px;margin-bottom:9px;overflow:hidden}
.article-faq .faq-list{border-top:0}
.article-faq .faq-item summary{padding:17px 19px;font-size:1rem}
.article-faq .faq-item summary .i{border-color:#d5bb85;color:#976b1d}
.article-faq .faq-item[open] summary .i{background:#ad7a24;border-color:#ad7a24;color:#fff}
.article-faq .faq-a{padding:0 19px 20px;font-size:1rem;line-height:1.85}
.related{background:#f0eae1;border-top-color:#dfd1ba}
.rel-card{background:linear-gradient(135deg,#fffdfa,#f6efe3);border-color:#ddc7a2;border-radius:15px}
.rel-card .more{color:#936318}
.rel-card .more .i{display:none}

/* Footer styling lives in style.css so it is available on every page. */
@media(max-width:720px){.g-body{padding:22px}.article-grid{padding-top:30px}.article-faq .faq-item summary{padding:16px}.article-faq .faq-a{padding:0 16px 17px}}
@media print{
  .page-head,.article-head{background:#fff;color:#000}
  .page-head h1,.article-head h1,.page-head .lead,.article-head .lead{color:#000}
}
