/* ============================================================
   WoxeRadio — Residents section
   Portrait-led editorial profiles on top of the /main_tree shell.
   ============================================================ */

body.tree-body .residents-tree-main {
  min-width: 0;
  padding: 24px 0 4px;
}

body.tree-body .residents-tree-page {
  --rs-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  max-width: 1460px;
  margin: 0 auto;
  padding: 0 0 10px;
  color: var(--tree-ink);
  font-family: var(--tree-sans);
  font-size: 14px;
}

body.tree-body .residents-tree-page a {
  text-decoration: none;
}

body.tree-body .residents-tree-page .icon {
  flex: 0 0 auto;
}

body.tree-body .residents-tree-page :focus-visible {
  outline: 2px solid var(--tree-accent);
  outline-offset: 2px;
}

body.tree-body .residents-tree-page ::selection {
  background: var(--tree-accent);
  color: #ffffff;
}

body.tree-body .rs-index-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

body.tree-body .rs-profile-page {
  max-width: 1200px;
  counter-reset: rs-section;
}

/* ------------------------------------------------------------------
   Shared
   ------------------------------------------------------------------ */

body.tree-body .rs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tree-muted);
  font-family: var(--rs-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

body.tree-body .rs-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tree-accent);
  box-shadow: 0 0 0 3px var(--tree-accent-soft);
}

body.tree-body .rs-arrow {
  display: inline-block;
  font-family: var(--tree-sans);
  font-size: 12px;
  line-height: 1;
}

body.tree-body .rs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 52px 20px;
  border: 1px dashed var(--tree-line-strong);
  border-radius: 14px;
  background: var(--tree-surface-2);
  color: var(--tree-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

body.tree-body .rs-empty .icon {
  width: 22px;
  height: 22px;
  color: var(--tree-accent);
}

body.tree-body .rs-empty p {
  margin: 0;
}

/* ------------------------------------------------------------------
   Index hero
   ------------------------------------------------------------------ */

body.tree-body .rs-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  min-height: 240px;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 34px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(255, 85, 0, .16) 0%, rgba(255, 85, 0, 0) 52%),
    #101316;
  color: #ffffff;
}

body.tree-body .rs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 68%);
  mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 68%);
  pointer-events: none;
}

body.tree-body .rs-hero > * {
  position: relative;
  z-index: 1;
}

body.tree-body .rs-hero-copy {
  max-width: 720px;
  min-width: 0;
}

body.tree-body .rs-hero .rs-kicker {
  color: rgba(255, 255, 255, .64);
}

body.tree-body .rs-hero .rs-kicker .rs-dot {
  box-shadow: 0 0 0 3px rgba(255, 85, 0, .24);
}

body.tree-body .rs-title {
  margin: 11px 0 0;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(32px, 4.2vw, 64px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}

body.tree-body .rs-sub {
  max-width: 560px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.55;
}

body.tree-body .rs-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

body.tree-body .rs-count,
body.tree-body .rs-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

body.tree-body .rs-count .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent-2);
}

body.tree-body .rs-hero-link {
  color: rgba(255, 255, 255, .74);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

body.tree-body .rs-hero-link:hover {
  border-color: var(--tree-accent);
  background: rgba(255, 85, 0, .12);
  color: #ffffff;
}

body.tree-body .rs-hero-link .rs-arrow {
  font-size: 12px;
}

body.tree-body .rs-hero-people {
  display: flex;
  align-items: center;
  padding-left: 16px;
}

body.tree-body .rs-person {
  width: 64px;
  height: 64px;
  margin-left: -16px;
  overflow: hidden;
  border: 2px solid #101316;
  border-radius: 50%;
  background: #202326;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

body.tree-body .rs-person:first-child {
  margin-left: 0;
  box-shadow: 0 0 0 2px var(--tree-accent);
}

body.tree-body .rs-person img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Section heads / feed
   ------------------------------------------------------------------ */

body.tree-body .rs-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--tree-line);
  margin-bottom: 16px;
}

body.tree-body .rs-section-num {
  color: var(--tree-accent);
  font-family: var(--rs-mono);
  font-size: 9.5px;
  letter-spacing: .05em;
}

body.tree-body .rs-section-num::before {
  content: counter(rs-section, decimal-leading-zero);
}

body.tree-body .rs-section-title {
  margin: 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
}

body.tree-body .rs-section-note {
  margin-left: auto;
  color: var(--tree-muted);
  font-family: var(--rs-mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
}

body.tree-body .rs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

body.tree-body .rs-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 14px;
  background: var(--tree-surface);
  color: var(--tree-ink);
  transition: border-color .2s ease, transform .2s ease;
}

body.tree-body .rs-card:hover {
  border-color: var(--tree-line-strong);
  transform: translateY(-2px);
}

body.tree-body .rs-card-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--tree-surface-2);
}

body.tree-body .rs-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

body.tree-body .rs-card:hover .rs-card-photo img {
  transform: scale(1.04);
}

body.tree-body .rs-card-years {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(5, 7, 10, .52);
  color: #ffffff;
  font-family: var(--rs-mono);
  font-size: 9px;
  letter-spacing: .02em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body.tree-body .rs-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 11px 30px 12px 13px;
}

body.tree-body .rs-card-name {
  margin: 0;
  overflow: hidden;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tree-body .rs-card-show {
  margin: 0;
  overflow: hidden;
  color: var(--tree-muted);
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.tree-body .rs-card-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--tree-muted);
  font-family: var(--tree-sans);
  font-size: 12px;
  line-height: 1;
  transition: color .18s ease, transform .18s ease;
}

body.tree-body .rs-card:hover .rs-card-arrow {
  color: var(--tree-accent);
  transform: translate(1px, -1px);
}

/* ------------------------------------------------------------------
   Profile hero
   ------------------------------------------------------------------ */

body.tree-body .rs-crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: var(--tree-muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
}

body.tree-body .rs-crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tree-muted);
  transition: color .18s ease;
}

body.tree-body .rs-crumbs a:hover {
  color: var(--tree-ink);
}

body.tree-body .rs-crumbs .rs-arrow {
  font-size: 12px;
}

body.tree-body .rs-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 440px;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 38px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background:
    radial-gradient(80% 120% at 0% 100%, rgba(255, 85, 0, .18) 0%, rgba(255, 85, 0, 0) 55%),
    #101316;
  color: #ffffff;
}

body.tree-body .rs-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .5;
  -webkit-mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 68%);
  mask-image: radial-gradient(120% 130% at 100% 0%, #000000 0%, transparent 68%);
  pointer-events: none;
}

body.tree-body .rs-profile-hero > * {
  position: relative;
  z-index: 1;
}

body.tree-body .rs-profile-hero::after {
  content: attr(data-initial);
  position: absolute;
  right: 30px;
  top: 50%;
  z-index: 0;
  color: rgba(255, 255, 255, .045);
  font-family: var(--tree-brand);
  font-size: clamp(220px, 24vw, 340px);
  font-weight: 700;
  line-height: .7;
  pointer-events: none;
  transform: translateY(-50%);
}

body.tree-body .rs-profile-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #202326;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8);
}

body.tree-body .rs-profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.tree-body .rs-profile-info {
  min-width: 0;
}

body.tree-body .rs-profile-hero .rs-kicker {
  color: rgba(255, 255, 255, .62);
}

body.tree-body .rs-profile-hero .rs-kicker .rs-dot {
  box-shadow: 0 0 0 3px rgba(255, 85, 0, .24);
}

body.tree-body .rs-profile-name {
  margin: 10px 0 14px;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}

body.tree-body .rs-show-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .86);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.tree-body .rs-show-pill > .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--tree-accent-2);
}

body.tree-body .rs-show-pill:hover {
  border-color: var(--tree-accent);
  background: rgba(255, 85, 0, .12);
  color: #ffffff;
}

body.tree-body .rs-show-pill .rs-arrow {
  font-size: 12px;
}

body.tree-body .rs-profile-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

body.tree-body .rs-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  line-height: 1;
}

body.tree-body .rs-chip .icon {
  width: 12px;
  height: 12px;
  color: var(--tree-accent-2);
}

body.tree-body .rs-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

body.tree-body .rs-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .82);
  font-size: 10.5px;
  font-weight: 600;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

body.tree-body .rs-social .icon {
  width: 14px;
  height: 14px;
}

body.tree-body .rs-social:hover {
  border-color: var(--tree-accent);
  background: rgba(255, 85, 0, .12);
  color: #ffffff;
}

/* ------------------------------------------------------------------
   Profile sections
   ------------------------------------------------------------------ */

body.tree-body .rs-section {
  counter-increment: rs-section;
  margin-bottom: 38px;
}

body.tree-body .rs-bio {
  max-width: 840px;
}

body.tree-body .rs-bio p {
  margin: 0 0 16px;
  color: var(--tree-ink);
  font-size: 16px;
  line-height: 1.78;
}

body.tree-body .rs-bio p:first-child {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.68;
}

body.tree-body .rs-bio p:last-child {
  margin-bottom: 0;
}

body.tree-body .rs-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.tree-body .rs-gallery-item {
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--tree-line);
  border-radius: 10px;
  background: var(--tree-surface-2);
  cursor: zoom-in;
}

body.tree-body .rs-gallery-item:only-child {
  grid-column: span 2;
  aspect-ratio: 4 / 3;
}

body.tree-body .rs-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

body.tree-body .rs-gallery-item:hover img {
  transform: scale(1.04);
}

body.tree-body .rs-show-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: 26px 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background:
    radial-gradient(90% 140% at 0% 100%, rgba(255, 85, 0, .14) 0%, rgba(255, 85, 0, 0) 55%),
    #101316;
  color: #ffffff;
}

body.tree-body .rs-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 180px;
  height: 56px;
  flex: 0 0 180px;
}

body.tree-body .rs-eq span {
  flex: 1;
  min-width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff8a4d, #ff5500);
  transform-origin: bottom;
  animation: rs-eq 1.1s ease-in-out infinite alternate;
}

@keyframes rs-eq {
  from { transform: scaleY(.45); }
  to { transform: scaleY(1); }
}

body.tree-body .rs-show-copy {
  flex: 1;
  min-width: 0;
}

body.tree-body .rs-show-label {
  color: var(--tree-accent-2);
  font-family: var(--rs-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.tree-body .rs-show-name {
  margin: 6px 0 0;
  color: #ffffff;
  font-family: var(--tree-brand);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

body.tree-body .rs-show-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--tree-accent);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .18s ease;
}

body.tree-body .rs-show-link:hover {
  background: var(--tree-accent-2);
}

body.tree-body .rs-show-link .rs-arrow {
  font-size: 12px;
}

body.tree-body .rs-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.tree-body .rs-video {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 12px;
  background: var(--tree-surface);
}

body.tree-body .rs-video video,
body.tree-body .rs-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
}

body.tree-body .rs-video-orig {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-top: 1px solid var(--tree-line);
  color: var(--tree-muted);
  font-size: 10px;
  font-weight: 600;
  transition: color .18s ease;
}

body.tree-body .rs-video-orig .icon {
  width: 12px;
  height: 12px;
}

body.tree-body .rs-video-orig:hover {
  color: var(--tree-accent);
}

body.tree-body .rs-video-bad {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 24px;
  color: var(--tree-muted);
  font-size: 11px;
  text-align: center;
}

body.tree-body .rs-links {
  border-top: 1px solid var(--tree-line);
}

body.tree-body .rs-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--tree-line);
  color: var(--tree-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .18s ease;
}

body.tree-body .rs-link .icon {
  width: 14px;
  height: 14px;
  color: var(--tree-accent);
}

body.tree-body .rs-link-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.tree-body .rs-link-arrow {
  margin-left: auto;
  color: var(--tree-muted);
  font-size: 13px;
  transition: color .18s ease, transform .18s ease;
}

body.tree-body .rs-link:hover {
  color: var(--tree-accent);
}

body.tree-body .rs-link:hover .rs-link-arrow {
  color: var(--tree-accent);
  transform: translate(1px, -1px);
}

body.tree-body .rs-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 26px 28px;
  border: 1px solid var(--tree-line);
  border-radius: 16px;
  background: var(--tree-surface);
}

body.tree-body .rs-share-copy {
  min-width: 0;
}

body.tree-body .rs-share-title {
  margin: 8px 0 0;
  color: var(--tree-ink);
  font-family: var(--tree-brand);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.15;
}

body.tree-body .rs-share-sub {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--tree-muted);
  font-size: 11.5px;
  line-height: 1.55;
}

body.tree-body .rs-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--tree-accent);
  color: #ffffff;
  font-family: var(--tree-sans);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s ease;
}

body.tree-body .rs-share-btn .icon {
  width: 14px;
  height: 14px;
}

body.tree-body .rs-share-btn:hover {
  background: var(--tree-accent-2);
}

/* ------------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------------ */

body.tree-body .rs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(3, 5, 8, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.tree-body .rs-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.tree-body .rs-lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

body.tree-body .rs-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

body.tree-body .rs-lightbox-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

body.tree-body .rs-lightbox-nav .rs-arrow {
  font-size: 17px;
}

body.tree-body .rs-lightbox-prev {
  left: 18px;
}

body.tree-body .rs-lightbox-next {
  right: 18px;
}

body.tree-body .rs-lightbox-close:hover,
body.tree-body .rs-lightbox-nav:hover {
  background: rgba(255, 255, 255, .15);
}

body.tree-body.rs-lightbox-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1280px) {
  body.tree-body .rs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.tree-body .residents-tree-main {
    padding-top: 18px;
  }

  body.tree-body .rs-person {
    width: 56px;
    height: 56px;
    margin-left: -14px;
  }
}

@media (max-width: 980px) {
  body.tree-body .rs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tree-body .rs-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tree-body .rs-profile-hero {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 30px;
    min-height: 400px;
    padding: 26px;
  }

  body.tree-body .rs-profile-name {
    font-size: 44px;
  }
}

@media (max-width: 900px) {
  body.tree-body .rs-profile-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    padding: 24px;
    text-align: center;
  }

  body.tree-body .rs-profile-photo {
    width: 240px;
    margin: 0 auto;
  }

  body.tree-body .rs-profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.tree-body .rs-profile-meta,
  body.tree-body .rs-socials {
    justify-content: center;
  }

  body.tree-body .rs-profile-name {
    font-size: 40px;
  }

  body.tree-body .rs-profile-hero::after {
    display: none;
  }
}

@media (max-width: 720px) {
  body.tree-body .residents-tree-main {
    padding-top: 12px;
  }

  body.tree-body .rs-index-page {
    gap: 24px;
  }

  body.tree-body .rs-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
    padding: 22px 20px;
    border-radius: 14px;
  }

  body.tree-body .rs-title {
    font-size: 32px;
  }

  body.tree-body .rs-sub {
    font-size: 12px;
  }

  body.tree-body .rs-hero-meta {
    margin-top: 16px;
  }

  body.tree-body .rs-person {
    width: 48px;
    height: 48px;
    margin-left: -12px;
  }

  body.tree-body .rs-hero-people {
    padding-left: 12px;
  }

  body.tree-body .rs-section-title {
    font-size: 21px;
  }

  body.tree-body .rs-card-body {
    padding: 10px 28px 11px 11px;
  }

  body.tree-body .rs-card-name {
    font-size: 15px;
  }

  body.tree-body .rs-card-show {
    font-size: 10px;
  }

  body.tree-body .rs-profile-hero {
    padding: 20px;
    border-radius: 14px;
    margin-bottom: 30px;
  }

  body.tree-body .rs-profile-photo {
    width: 210px;
    border-radius: 12px;
  }

  body.tree-body .rs-profile-name {
    font-size: 34px;
  }

  body.tree-body .rs-bio p {
    font-size: 15.5px;
    line-height: 1.72;
  }

  body.tree-body .rs-bio p:first-child {
    font-size: 17px;
    line-height: 1.65;
  }

  body.tree-body .rs-gallery {
    gap: 8px;
  }

  body.tree-body .rs-show-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  body.tree-body .rs-eq {
    width: 100%;
    height: 44px;
    flex-basis: 44px;
  }

  body.tree-body .rs-show-link {
    align-self: flex-start;
  }

  body.tree-body .rs-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.tree-body .rs-share {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
  }

  body.tree-body .rs-lightbox {
    padding: 16px;
  }

  body.tree-body .rs-lightbox-nav {
    width: 38px;
    height: 38px;
  }

  body.tree-body .rs-lightbox-prev {
    left: 8px;
  }

  body.tree-body .rs-lightbox-next {
    right: 8px;
  }

  body.tree-body .rs-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 620px) {
  body.tree-body .rs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.tree-body .rs-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.tree-body .rs-card-name {
    font-size: 15px;
  }

  body.tree-body .rs-card-show {
    font-size: 9.5px;
  }
}

@media (max-width: 430px) {
  body.tree-body .rs-title {
    font-size: 30px;
  }

  body.tree-body .rs-person {
    width: 44px;
    height: 44px;
    margin-left: -11px;
  }

  body.tree-body .rs-profile-name {
    font-size: 30px;
  }

  body.tree-body .rs-profile-photo {
    width: 180px;
  }

  body.tree-body .rs-section-title {
    font-size: 20px;
  }

  body.tree-body .rs-section-note {
    font-size: 8.5px;
  }

  body.tree-body .rs-social {
    height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  body.tree-body .rs-show-pill {
    font-size: 10.5px;
  }

  body.tree-body .rs-card-name {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tree-body .residents-tree-page *,
  body.tree-body .residents-tree-page *::before,
  body.tree-body .residents-tree-page *::after {
    transition: none !important;
    animation: none !important;
  }
}
