/* Scoped only to the article credits and contributor biography pages. */
/* Compact credits: directly beneath the article categories in the header. */
.yr-publication .yr-reading-header .yrac-card {
  box-sizing:border-box; width:min(100%,560px); max-width:560px;
  padding:12px 15px 11px; margin:13px auto 0;
  background:#faf9f6; border:1px solid #e8e5df; border-radius:6px;
  color:#253a35; font-family:var(--yr-sans,"Source Sans 3",system-ui,sans-serif);
  font-size:12px; line-height:1.35; text-align:left;
}
.yr-publication .yr-reading-header .yrac-people {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:13px; row-gap:8px; padding:0;
}
.yr-publication .yr-reading-header .yrac-person {
  display:flex;align-items:center;gap:9px;min-width:0;
}
.yr-publication .yr-reading-header .yrac-avatar {
  display:grid;flex:0 0 34px;width:34px;height:34px;
  place-items:center;border-radius:50%;background:#ededeb;color:#34483f;overflow:hidden;
}
.yr-publication .yr-reading-header .yrac-avatar-image {
  display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;
}
.yr-publication .yr-reading-header .yrac-avatar svg {width:18px;height:18px;}
.yr-publication .yr-reading-header .yrac-person-info {min-width:0;}
.yr-publication .yr-reading-header a.yrac-name {
  font-size:13px;line-height:1.3;font-weight:700;color:#29463d;
  text-decoration:underline;text-decoration-color:#b7c3b9;text-underline-offset:2px;
}
.yr-publication .yr-reading-header a.yrac-name:hover,
.yr-publication .yr-reading-header a.yrac-name:focus-visible {text-decoration-color:#9b694b;}
.yr-publication .yr-reading-header .yrac-role {
  font-size:11px;line-height:1.35;color:#667068;margin-top:2px;
}
@media(max-width:470px){
  .yr-publication .yr-reading-header .yrac-card{padding:11px 12px;max-width:390px;}
  .yr-publication .yr-reading-header .yrac-people{grid-template-columns:1fr;row-gap:9px;}
}
.yrac-profile-page .yrac-profile-article {max-width:800px;margin:0 auto 70px;font-family:var(--yr-sans,"Source Sans 3",system-ui,sans-serif);}
.yrac-profile-page .yrac-profile-heading {display:flex;align-items:center;gap:25px;margin:38px 0 35px;}
.yrac-profile-page .yrac-profile-heading h1 {margin:0;font-size:clamp(30px,4vw,44px);line-height:1.2;color:#253a35;}
.yrac-profile-page .yrac-profile-avatar {width:104px;height:104px;flex:0 0 104px;border-radius:50%;background:#f1f2f0;display:grid;place-items:center;overflow:hidden;color:#253a35;}
.yrac-profile-page .yrac-profile-avatar img {display:block;width:100%;height:100%;object-fit:cover;}
.yrac-profile-page .yrac-profile-avatar svg {width:42px;height:42px;}
.yrac-profile-page .yrac-profile-bio {font-size:18px;line-height:1.8;color:#253a35;}
.yrac-profile-page .yrac-profile-bio p {margin:0 0 1.25em;}
@media(max-width:650px){
 .yrac-profile-page .yrac-profile-heading{gap:16px;}
 .yrac-profile-page .yrac-profile-avatar{width:76px;height:76px;flex-basis:76px;}
}


/* Keep the credits close to the content for both joint and sole-author posts. */
body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-reading-header {
  margin-bottom:16px;
}
/* The original wide-screen grid assigns the reading body to row 3 but
 * auto-places the footer into row 2. Explicit placement ensures that the
 * reading text appears BEFORE the pagination/footer, whether or not a
 * feature image or table of contents is present. */
@media (min-width:1600px) {
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-reading-header {grid-column:2;grid-row:1;}
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-feature-figure {grid-column:2;grid-row:2;}
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-toc {grid-column:1;grid-row:3;}
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-reading-body {grid-column:2;grid-row:3;}
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-article-end {grid-column:2;grid-row:4;}
  body.single-post .yr-publication .yr-reading-article.yrac-credited > .yr-comments {grid-column:2;grid-row:5;}
}

/* 1.0.4 — on sole-author articles the card contains only Harmen. */
.yr-publication .yr-reading-header .yrac-card.yrac-card-solo {
  width:min(100%,380px);max-width:380px;
}
.yr-publication .yr-reading-header .yrac-card.yrac-card-solo .yrac-people {
  grid-template-columns:minmax(0,1fr);
}
