/* Resources and About (skout/content.py), on top of site.css and legal.css: the same reading column and type. */
.res-hub { padding-top: 88px; padding-bottom: 112px; max-width: 820px; }
.res-hub h1.disp { margin: 0 0 16px; font-size: clamp(36px, 5vw, 56px); line-height: 1.04; }
.res-lead { font-size: 19px; line-height: 1.55; color: #55555C; margin: 0 0 40px; max-width: 34em; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.res-card { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; background: #FFFFFF; border: 1px solid #DDD9D0;
  border-radius: 18px; text-decoration: none; color: #111114; transition: border-color .18s ease, transform .18s ease; }
.res-card:hover { border-color: #FF5B2E; transform: translateY(-1px); }
.res-card:focus-visible { outline: 2px solid #3D3BF3; outline-offset: 3px; }
.res-meta, .res-crumbs, .res-toc p, .res-related > p { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .05em;
  text-transform: uppercase; color: #55555C; }
.res-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.res-desc { font-size: 16px; line-height: 1.55; color: #3A3A40; }
.res-more { font-weight: 600; font-size: 15px; color: #C2410C; }
.res-article { padding-top: 72px; padding-bottom: 112px; }
.res-article h1.disp { margin: 0 0 18px; }
.res-crumbs { display: flex; gap: 10px; margin: 0 0 24px; }
.res-crumbs a { color: #55555C; text-decoration: none; }
.res-crumbs a:hover { color: #111114; }
.res-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin: 0 0 36px; font-size: 15px; color: #55555C; }
.res-byline a { color: #111114; text-decoration-color: #FF5B2E; text-underline-offset: 3px; }
.res-byline .mono { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.res-body { max-width: 680px; font-size: 18px; line-height: 1.7; }
.res-body h2 { scroll-margin-top: 88px; }
.res-toc { margin: 0 0 40px; padding: 20px 24px; background: #FFFFFF; border: 1px solid #DDD9D0; border-radius: 16px; max-width: 680px; }
.res-toc p { margin: 0 0 10px; }
.res-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.res-toc li::marker { color: #FF5B2E; font-family: 'Geist Mono', monospace; }
.res-toc a { color: #111114; text-decoration: none; }
.res-toc a:hover { text-decoration: underline; text-decoration-color: #FF5B2E; }
.tpl-block { margin: 8px 0 28px; border: 1px solid #DDD9D0; border-radius: 14px; background: #FFFFFF; overflow: hidden; }
.tpl-block figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px;
  border-bottom: 1px solid #ECE9E2; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .04em;
  text-transform: uppercase; color: #55555C; }
.tpl-copy { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #CFCBC2; background: #F5F3EE; color: #111114;
  font: 600 14px 'Geist', sans-serif; letter-spacing: 0; text-transform: none; cursor: pointer; }
.tpl-copy:hover { border-color: #111114; }
.tpl-block pre { margin: 0; padding: 18px; white-space: pre-wrap; font: 15px/1.6 'Geist', sans-serif; color: #26262B; }
.res-cta { margin: 64px 0 0; padding: 32px; border-radius: 20px; background: #111114; color: #F5F3EE; max-width: 680px; }
.res-cta-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.2; margin: 0 0 10px;
  letter-spacing: -0.02em; }
.res-cta p { margin: 0 0 20px; color: #D6D4CE; font-size: 16px; line-height: 1.55; }
.res-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.res-related { margin-top: 64px; max-width: 680px; }
.res-related > p { margin: 0 0 14px; }
.res-related .res-title { font-size: 20px; }
@media (max-width: 760px) {
  .res-hub, .res-article { padding-top: 48px; padding-bottom: 72px; }
  .res-body { font-size: 17px; }
  .res-card { padding: 20px; }
  .res-title { font-size: 21px; }
  .res-cta { padding: 24px; }
  .res-cta-row .btn { flex: 1 1 100%; justify-content: center; }
}
