/* Tune the distill.pub template to the Cybersecurity Robotics brand.
   Loaded after distill's injected CSS; keeps the research-paper look, our accent. */
html{font-size:15px}
body.distill{background:#fff}

/* our sticky header/footer sit outside distill's grid — keep them at 16px base */
.site-head,.site-foot{font-size:16px}
.site-head{margin-bottom:0}

/* distill title + byline */
d-title{padding-top:3rem;border-bottom:none}
d-title h1{font-weight:700;letter-spacing:-.02em}
d-title p{color:#6b7280}
d-byline{border-top:1px solid #e7e7e9;border-bottom:1px solid #e7e7e9}

/* links + accents in the research body */
d-article a,d-byline a{color:#b21e18;border-bottom:1px solid rgba(178,30,24,.28)}
d-article a:hover{border-bottom-color:#b21e18;text-decoration:none}
d-article h2{border-bottom:none}

/* abstract lead + citation note */
.abstract-lead{font-style:italic;color:#3a3a3a;font-size:1.06rem;line-height:1.62;
  border-left:3px solid #e0322b;padding-left:1rem;margin:.5rem 0 2rem}
.cite-note{font-size:.85rem;color:#666;margin:.2rem 0 1rem}
.readpaper{display:inline-block;font-family:var(--mono,monospace);font-size:.85rem;font-style:normal;
  border:1px solid #111418;border-radius:20px;padding:.45rem 1.1rem;color:#111418}
.readpaper:hover{background:#111418;color:#fff;border-bottom-color:#111418}
d-appendix{border-top:1px solid #e7e7e9;padding-top:1.5rem}
d-appendix h3{font-size:1rem}

/* keep article images from overpowering the page */
d-article img,d-article svg{max-width:100%;height:auto}
d-article figure img{max-height:520px;width:auto;margin:0 auto;display:block}
