/* Interior pages share the masthead's column and palette, even when the restored
   site's saved generic theme contains a dark foreground on a colored paper. */
body[data-rayo-page="author"] {
  --ink: #191919;
  --ink-2: #353535;
  --muted: #565656;
  --paper: #fff;
  --card: #fff;
  --line: #ccc;
  --accent: #b90000;
  --accent-text: #971515;
  --sans: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body[data-rayo-page] > .rh-profile {
  width: min(100%, 1120px);
  min-width: 0;
  box-sizing: border-box;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  padding-bottom: clamp(32px, 6vw, 72px);
}
.rh-profile .crumbs {flex-wrap:wrap; align-items:baseline; color:var(--muted)}
.rh-profile .crumbs a {color:#742124; text-underline-offset:3px}
.rh-profile .author-hero {
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:clamp(16px, 3vw, 36px);
  padding-block:clamp(24px, 4vw, 48px);
  border:0;
  text-align:left;
}
.rh-profile .author-hero .author-avatar {
  width:clamp(80px, 10vw, 104px);
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:50%;
}
.rh-profile .author-hero h1 {
  margin:0;
  font:700 clamp(36px, 5vw, 60px)/1.05 Arial,Helvetica,sans-serif;
  letter-spacing:-.04em;
  color:var(--ink);
  overflow-wrap:anywhere;
}
.rh-profile .author-hero .eyebrow {color:var(--accent-text); font:700 13px/1.45 Arial,Helvetica,sans-serif; letter-spacing:.06em}
.rh-profile .author-hero .lede {max-width:65ch; margin:.65em 0 0; font:17px/1.6 Arial,Helvetica,sans-serif; color:var(--ink-2)}
body[data-rayo-page="author"] .rh-profile .rh-feed {padding:0}
/* Match the published articles' headers and keep long sitemap URLs usable. */
body[data-rayo-page="page"] :is(.trust .post-head, .sitemap-page .blog-hero) {border-bottom:2px solid var(--rh-red)}
body[data-rayo-page="page"] :is(.trust, .sitemap-page) h1 {font-family:Arial,Helvetica,sans-serif; font-weight:700; color:#191919}
body[data-rayo-page="page"] .sitemap-page td:first-child {overflow-wrap:anywhere}
body[data-rayo-page="article"] :is(.post-head .byline a, .post-foot a) {color:#971515}
body[data-rayo-page="article"] .related .card {border-radius:0; box-shadow:none; background:#fff}
body[data-rayo-page="article"] .related .card :is(h2,h3) {font-family:Arial,Helvetica,sans-serif; font-weight:700}
@media (max-width:540px) {
  .rh-profile .author-hero {grid-template-columns:minmax(0,1fr); justify-items:start}
  .rh-profile .author-hero .author-avatar {width:80px}
}
