.rl-authors { display: grid; gap: var(--rh-space-4); }

@media (min-width: 48rem) {
  .rl-authors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.rl-author-card {
  display: grid;
  align-content: start;
  gap: var(--rh-space-3);
  min-width: 0;
  padding: var(--rh-space-4);
  background: var(--rh-surface);
  border: var(--rh-border-width) solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
}

.rl-author-card__face {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--rh-space-12);
  height: var(--rh-space-12);
  border-radius: var(--rh-radius-full);
  overflow: hidden;
  background: var(--rh-surface-sunken);
  color: var(--rh-text);
  font-weight: var(--rh-weight-medium);
}

.rl-author-card__face img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rl-author-card__link,
.rl-author-card__head {
  display: grid;
  grid-template-columns: var(--rh-space-12) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--rh-space-3);
  color: var(--rh-text-strong);
  text-decoration: none;
}

.rl-author-card__head { grid-template-columns: var(--rh-space-12) minmax(0, 1fr); }

.rl-author-card__link { border-radius: var(--rh-radius-md); }

.rl-author-card__link:hover .rl-author-card__name { text-decoration: underline; }

.rl-author-card__link:focus-visible { outline: none; box-shadow: var(--rh-shadow-focus); }

.rl-author-card__who { display: grid; min-width: 0; }

.rl-author-card__view { font: var(--rh-text-caption); color: var(--rl-text-meta); }

.rl-author-card__go { width: var(--rh-space-4); height: var(--rh-space-4); color: var(--rl-text-meta); }

.rl-author-card__name { margin: 0; font-weight: var(--rh-weight-bold); color: var(--rh-text-strong); overflow-wrap: anywhere; }

.rl-author-card__name a { color: inherit; }

.rl-author-card__headline { margin: 0; font: var(--rh-text-caption); color: var(--rl-text-meta); overflow-wrap: anywhere; }

.rl-author-card__bio {
  margin: 0;
  font: var(--rh-text-caption);
  color: var(--rl-text-meta);
  overflow-wrap: anywhere;
}

.rl-author-card__acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: var(--rh-space-2); }

.rl-author-card__acts > .rl-follow { display: grid; }

.rl-author-card__acts .rh-btn { justify-content: center; min-block-size: var(--rh-space-10); }

.rl-home__forumask { margin: var(--rh-space-3) 0 0; font: var(--rh-text-caption); color: var(--rl-text-meta); }

.rl-home__forumask a { font-weight: var(--rh-weight-bold); }

.rl-follow { margin: 0; display: inline-flex; }

.rl-follow__btn svg { width: 14px; height: 14px; flex: none; }

.rl-home__side { display: grid; gap: var(--rh-space-4); min-width: 0; }

.rl-home__card {
  display: grid;
  gap: var(--rh-space-3);
  min-width: 0;
  padding: var(--rh-space-4);
  border: var(--rh-border-width) solid var(--rh-border);
  border-radius: var(--rh-radius-card);
  background: var(--rh-surface);
}

.rl-home__card h2,
.rl-home__card .rl-vote__q { margin: 0; font: var(--rh-weight-bold) var(--rh-text-md)/var(--rh-leading-snug) var(--rh-font-display); color: var(--rh-text-strong); }

.rl-home__side .rl-authors { grid-template-columns: minmax(0, 1fr); gap: var(--rh-space-4); }

.rl-home__side .rl-author-card { padding: 0; border: 0; border-radius: 0; background: none; }

.rl-home__side .rl-author-card + .rl-author-card { padding-block-start: var(--rh-space-4); border-block-start: var(--rh-border-width) solid var(--rh-border); }

.rl-authorpage__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--rh-space-4) var(--rh-space-8);
  align-items: center;
  margin-block: 0 var(--rh-space-8);
  padding: var(--rh-space-8);
  background: var(--rh-accent-tint);
  border: var(--rh-border-width) solid color-mix(in srgb, var(--rh-accent) 18%, transparent);
  border-radius: var(--rh-radius-2xl);
}

.rl-authorpage__face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: var(--rh-radius-full);
  overflow: hidden;
  background: var(--rh-text-strong);
  color: var(--rh-surface);
  font: var(--rh-weight-black) var(--rh-text-3xl)/1 var(--rh-font-display);
  box-shadow: 0 0 0 4px var(--rh-surface);
}

.rl-authorpage__face img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rl-authorpage__identity { min-width: 0; display: flex; flex-direction: column; gap: var(--rh-space-2); }

.rl-authorpage__eyebrow {
  margin: 0;
  font: var(--rh-weight-medium) var(--rh-text-xs)/1.2 var(--rh-font-body);
  letter-spacing: var(--rh-tracking-eyebrow);
  text-transform: uppercase;
  color: var(--rl-text-meta);
}

.rl-authorpage__identity h1 {
  margin: 0;
  font: var(--rh-weight-black) var(--rh-text-3xl)/var(--rh-leading-tight) var(--rh-font-display);
  color: var(--rh-text-strong);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.rl-authorpage__headline { margin: 0; font-size: var(--rh-text-lg); color: var(--rh-text); overflow-wrap: anywhere; }

.rl-authorpage__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rh-space-1) var(--rh-space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  font: var(--rh-text-caption);
  color: var(--rl-text-meta);
}

.rl-authorpage__meta li { display: inline-flex; align-items: center; gap: var(--rh-space-1); overflow-wrap: anywhere; }

.rl-authorpage__location svg { width: 14px; height: 14px; flex: none; }

.rl-authorpage__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  gap: var(--rh-space-8);
  align-items: start;
  margin-block: 0 var(--rh-space-10);
}

.rl-authorpage__about h2,
.rl-authorpage__contact h2,
.rl-authorpage__items h2 {
  margin: 0 0 var(--rh-space-3);
  font: var(--rh-text-h2);
  font-size: var(--rh-text-xl);
  color: var(--rh-text-strong);
}

.rl-authorpage__about p { margin: 0 0 var(--rh-space-3); overflow-wrap: anywhere; }

.rl-authorpage__contact {
  padding: var(--rh-space-5);
  background: var(--rh-surface);
  border: var(--rh-border-width) solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
}

.rl-authorpage__contacts { display: grid; margin: 0; padding: 0; list-style: none; }

.rl-authorpage__contacts li + li { border-top: var(--rh-border-width) solid var(--rh-border); }

.rl-authorpage__contactline {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px var(--rh-space-3);
  padding-block: var(--rh-space-3);
  text-decoration: none;
}

.rl-authorpage__contacticon {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--rl-text-meta);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rl-authorpage__contactname { font-weight: var(--rh-weight-medium); color: var(--rh-text-strong); }

.rl-authorpage__contactout {
  grid-column: 3;
  grid-row: 1 / span 2;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--rl-text-meta);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rl-authorpage__contactsite {
  grid-column: 2;
  font: var(--rh-weight-regular) 0.8125rem/1.3 var(--rh-font-mono);
  color: var(--rl-text-meta);
  overflow-wrap: anywhere;
}

a.rl-authorpage__contactline:hover .rl-authorpage__contactname { color: var(--rh-text-accent); text-decoration: underline; }

a.rl-authorpage__contactline:hover .rl-authorpage__contacticon { stroke: var(--rh-text-accent); }

.rl-authorpage__contactsite--text { color: var(--rh-text-strong); user-select: text; }

@media (max-width: 47.999rem) {
  .rl-authorpage__head { grid-template-columns: minmax(0, 1fr); padding: var(--rh-space-5); }

  .rl-authorpage__follow { flex-direction: row; flex-wrap: wrap; min-inline-size: 0; }

  .rl-authorpage__follow .rh-btn { inline-size: auto; }

  .rl-authorpage__face { width: 96px; height: 96px; }

  .rl-authorpage__body { grid-template-columns: minmax(0, 1fr); }
}

@container rl-phone-width (max-width: 47.999rem) {
  .rl-authorpage__head { grid-template-columns: minmax(0, 1fr); padding: var(--rh-space-5); }

  .rl-authorpage__follow { flex-direction: row; flex-wrap: wrap; min-inline-size: 0; }

  .rl-authorpage__follow .rh-btn { inline-size: auto; }

  .rl-authorpage__face { width: 96px; height: 96px; }

  .rl-authorpage__body { grid-template-columns: minmax(0, 1fr); }
}

.rl-authorpage__follow { display: flex; flex-direction: column; align-items: stretch; gap: var(--rh-space-2); min-inline-size: 12rem; }

.rl-authorpage__follow > .rl-follow { display: grid; }

.rl-authorpage__follow .rh-btn { inline-size: 100%; justify-content: center; min-block-size: var(--rh-space-10); }

.rl-authoritems {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: var(--rh-space-5);
  margin: 0 0 var(--rh-space-10);
  padding: 0;
  list-style: none;
}

.rl-authoritem {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: var(--rh-border-width) solid var(--rh-border);
  border-radius: var(--rh-radius-xl);
  background: var(--rh-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s var(--rh-ease), box-shadow 0.2s var(--rh-ease);
}

.rl-authoritem:hover { border-color: var(--rh-border-strong); box-shadow: var(--rh-shadow-sm); color: inherit; }

.rl-authoritem:hover .rl-authoritem__title { text-decoration: underline; }

.rl-authoritem:focus-visible { outline: none; box-shadow: var(--rh-shadow-focus); }

.rl-authoritem__media { display: block; aspect-ratio: 16 / 9; background: var(--rh-surface-sunken); overflow: hidden; }

.rl-authoritem__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rl-authoritem__body { display: flex; flex-direction: column; gap: var(--rh-space-1); padding: var(--rh-space-4); }

.rl-authoritem__kind {
  font: var(--rh-weight-medium) 0.6875rem/1.2 var(--rh-font-body);
  letter-spacing: var(--rh-tracking-wide);
  text-transform: uppercase;
  color: var(--rl-text-meta);
}

.rl-authoritem__title { font: var(--rh-weight-bold) var(--rh-text-md)/1.3 var(--rh-font-display); color: var(--rh-text-strong); overflow-wrap: anywhere; }

.rl-authoritem__facts { font: var(--rh-text-caption); color: var(--rl-text-meta); }

.rl-ask__btn svg,
.rl-feedback__btn svg { width: 14px; height: 14px; flex: none; }
