/* Publication detail pages (RP, PB, IB, DP, CM), body.pubdoc. 2026-10-28.
   Brings them onto the current site design: compact analysis-style header, flat square side boxes
   (same system as the guides sidebar, no rounded corners, no shadows, no gradient), a cover thumbnail,
   and "Continue reading" cards with thumbnails. Loaded after style.css, before compact-heads.css. */

/* ---------- Header: same compact size as analysis pages ---------- */
html body.pubdoc .art-header{padding:42px 0 26px}
html body.pubdoc .art-header .pub-title{font-size:clamp(1.7rem,2.8vw,2.4rem);line-height:1.16;letter-spacing:-.015em;max-width:880px;margin-bottom:16px}
html body.pubdoc .art-header .art-standfirst{font-size:1.05rem;line-height:1.65}

/* ---------- Side boxes: flat, square, slate (guides sidebar system) ---------- */
html body.pubdoc .pub-aside{gap:12px}
html body.pubdoc .aside-card{background:#F7F8F9;border:1px solid #E5E8EB;border-radius:0;padding:18px 18px 16px;box-shadow:none}
html body.pubdoc .aside-dl{background:#F7F8F9;border-color:#E5E8EB}
html body.pubdoc .aside-label{font-family:var(--sans);font-size:.66rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#59636D;margin-bottom:10px}
html body.pubdoc .aside-dl .btn{display:flex;width:100%;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:0;background:#15191E;color:#fff;font-size:.82rem;font-weight:600;padding:0 10px;box-shadow:none}
html body.pubdoc .aside-dl .btn:hover{background:#2B3238;color:#fff}
html body.pubdoc .aside-note{font-size:.74rem;color:#7A848E;margin:8px 0 0}
html body.pubdoc .aside-facts{font-size:.83rem;gap:8px 12px}
html body.pubdoc .aside-facts dt{color:#6E7882}
html body.pubdoc .aside-facts dd{color:#15191E}
html body.pubdoc .aside-cite{font-size:.8rem;line-height:1.6;color:#3A434C}
html body.pubdoc .aside-btn{border-radius:0;background:#fff;border:1px solid #DDE2E7;color:#15191E;padding:8px 14px;font-size:.78rem;box-shadow:none}
html body.pubdoc .aside-btn:hover{background:#15191E;border-color:#15191E;color:#fff}
html body.pubdoc .doc-cta{background:#F7F8F9;border-left:3px solid #15191E;border-radius:0;box-shadow:none}
html body.pubdoc .doc-cta .btn{border-radius:0;background:#15191E;color:#fff;box-shadow:none}
html body.pubdoc .doc-cta .btn:hover{background:#2B3238}

/* cover thumbnail at the top of the download box */
html body.pubdoc .aside-cover{display:block;max-width:168px;margin:0 auto 14px}
html body.pubdoc .aside-cover .pubcover{width:100%;border:1px solid #E5E8EB;box-shadow:none;transform:none}
html body.pubdoc .aside-cover .pubcover:hover{box-shadow:none;transform:none}

/* ---------- Continue reading: cards with thumbnails ---------- */
html body.pubdoc section.art-related{padding:48px 0 60px}
html body.pubdoc .art-rel-grid{gap:34px}
html body.pubdoc .art-rel-item .ed-img{display:block;overflow:hidden;background:#E6ECEC;margin-bottom:14px}
html body.pubdoc .art-rel-item .ed-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;transition:transform .5s ease}
html body.pubdoc .art-rel-item:hover .ed-img img{transform:scale(1.03)}
html body.pubdoc .art-rel-item .ed-cover{display:flex;justify-content:center;align-items:flex-start;aspect-ratio:16/9;overflow:hidden;background:#E6ECEC;padding-top:16px;margin-bottom:14px}
html body.pubdoc .art-rel-item .ed-cover .pubcover{width:42%;flex:none;box-shadow:none;transform:none}
html body.pubdoc .art-rel-item .ed-cover .pubcover:hover{box-shadow:none;transform:none}
html body.pubdoc .art-rel-title{font-size:1.1rem;margin:10px 0 8px}

@media (max-width:900px){
  html body.pubdoc .aside-cover{max-width:176px}
}
@media (prefers-reduced-motion:reduce){
  html body.pubdoc .art-rel-item .ed-img img{transition:none}
  html body.pubdoc .art-rel-item:hover .ed-img img{transform:none}
}
