:root {
  --r9-ink: #172824;
  --r9-muted: #65736e;
  --r9-line: rgba(34, 63, 54, .13);
  --r9-green: #1c6a52;
  --r9-soft: #edf3eb;
  --r9-panel: rgba(255, 255, 255, .94);
  --r9-shadow: 0 18px 54px rgba(37, 62, 52, .08);
}

body.rde-ro-credits-r9 {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 90% 7%, rgba(132, 178, 156, .16), transparent 27%),
    linear-gradient(180deg, #fbfaf7 0%, #f5f5ef 100%);
  color: var(--r9-ink);
}

.rde-ro-credits-r9 .site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 36px;
  border-bottom: 1px solid var(--r9-line);
  background: rgba(250, 249, 245, .93);
  box-shadow: 0 10px 34px rgba(31, 54, 46, .055);
  color: var(--r9-ink);
  backdrop-filter: blur(22px) saturate(125%);
}

.rde-ro-credits-r9 .site-header.is-scrolled {
  height: 76px;
  background: rgba(250, 249, 245, .96);
}

.rde-ro-credits-r9 .desktop-nav {
  color: #52635d;
}

.rde-ro-credits-r9 .desktop-nav a:hover {
  color: var(--r9-ink);
}

.rde-ro-credits-r9 .mobile-menu {
  background: rgba(248, 247, 242, .985);
  color: var(--r9-ink);
}

.rde-ro-credits-r9 .rde-language-switch {
  box-shadow: none;
}

.rde-ro-credits-r9 main {
  padding: 88px 0 0;
}

.rde-credit-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 8vw, 118px) 0 clamp(54px, 6vw, 82px);
  border-bottom: 1px solid var(--r9-line);
}

.rde-credit-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 82% 28%, rgba(161, 195, 169, .24), transparent 30%),
    radial-gradient(circle at 62% 100%, rgba(213, 224, 198, .36), transparent 37%);
  pointer-events: none;
}

.rde-credit-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: end;
}

.rde-credit-eyebrow {
  margin: 0 0 18px;
  color: var(--r9-green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rde-credit-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--r9-ink);
  font-size: clamp(3.5rem, 6.2vw, 6.1rem);
  font-weight: 650;
  line-height: .91;
  letter-spacing: -.065em;
}

.rde-credit-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--r9-muted);
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.rde-credit-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--r9-line);
  border-radius: 24px;
  background: var(--r9-line);
  box-shadow: var(--r9-shadow);
}

.rde-credit-stats > div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .9);
}

.rde-credit-stats strong {
  color: var(--r9-ink);
  font-size: 1.65rem;
  font-weight: 680;
  letter-spacing: -.035em;
}

.rde-credit-stats span {
  color: var(--r9-muted);
  font-size: .88rem;
  line-height: 1.4;
}

.rde-credit-catalog {
  padding: clamp(64px, 7vw, 104px) 0 120px;
}

.rde-credit-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.rde-credit-toolbar h2 {
  margin: 0;
  color: var(--r9-ink);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -.045em;
}

.rde-credit-search {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid var(--r9-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(37, 62, 52, .05);
}

.rde-credit-search svg {
  width: 21px;
  fill: none;
  stroke: var(--r9-green);
  stroke-width: 1.8;
}

.rde-credit-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--r9-ink);
  font: inherit;
}

.rde-credit-search input::placeholder {
  color: #8a9691;
}

.rde-credit-search:focus-within {
  border-color: rgba(28, 106, 82, .48);
  box-shadow: 0 0 0 4px rgba(28, 106, 82, .09);
}

.rde-credit-status {
  margin: 0 0 16px;
  color: var(--r9-muted);
  font-size: .86rem;
  white-space: nowrap;
}

.rde-credit-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.rde-credit-group {
  overflow: hidden;
  border: 1px solid var(--r9-line);
  border-radius: 26px;
  background: var(--r9-panel);
  box-shadow: var(--r9-shadow);
}

.rde-credit-group[hidden] {
  display: none;
}

.rde-credit-group-head {
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 24px 25px 20px;
  border: 0;
  border-bottom: 1px solid var(--r9-line);
  background: linear-gradient(145deg, rgba(238, 244, 236, .96), rgba(250, 250, 247, .96));
  box-shadow: none;
  backdrop-filter: none;
}

.rde-credit-group-head p {
  margin: 0 0 7px;
  color: var(--r9-green);
  font-size: .68rem;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rde-credit-group-head h3 {
  margin: 0;
  color: var(--r9-ink);
  font-size: 1.36rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.rde-credit-group-head > span {
  flex: none;
  margin-left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(28, 106, 82, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--r9-muted);
  font-size: .72rem;
  white-space: nowrap;
}

.rde-credit-photos {
  display: grid;
}

.rde-credit-photo {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 20px;
  min-height: 146px;
  padding: 18px;
}

.rde-credit-photo + .rde-credit-photo {
  border-top: 1px solid var(--r9-line);
}

.rde-credit-thumb {
  display: block;
  overflow: hidden;
  min-height: 110px;
  border-radius: 16px;
  background: #e9eee8;
}

.rde-credit-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 110px;
  max-height: 150px;
  object-fit: cover;
  transition: transform .45s ease;
}

.rde-credit-thumb:hover img {
  transform: scale(1.035);
}

.rde-credit-thumb-empty {
  display: grid;
  place-items: center;
}

.rde-credit-thumb-empty svg {
  width: 34px;
  fill: none;
  stroke: #809087;
  stroke-width: 1.5;
}

.rde-credit-copy {
  min-width: 0;
  align-self: center;
}

.rde-credit-copy h4 {
  margin: 0 0 9px;
  color: var(--r9-ink);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.rde-credit-author {
  margin: 0 0 10px;
  color: var(--r9-muted);
  font-size: .83rem;
  line-height: 1.45;
}

.rde-credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  align-items: center;
  font-size: .82rem;
}

.rde-credit-links a,
.rde-credit-links span {
  color: var(--r9-green);
  text-underline-offset: 3px;
}

.rde-credit-note {
  margin: 11px 0 0;
  color: #74817c;
  font-size: .75rem;
  line-height: 1.48;
}

.rde-credit-empty,
.rde-credit-no-results {
  padding: 38px;
  border: 1px dashed rgba(34, 63, 54, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .58);
  color: var(--r9-muted);
  text-align: center;
}

.rde-ro-credits-r9 .site-footer {
  margin-top: 0;
  background: #eef2eb;
}

@media (max-width: 1120px) {
  .rde-credit-hero-grid {
    grid-template-columns: 1fr;
  }

  .rde-credit-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rde-credit-stats > div {
    grid-template-columns: 1fr;
    gap: 5px;
    align-content: center;
  }

  .rde-credit-toolbar {
    grid-template-columns: 1fr minmax(260px, 420px);
  }

  .rde-credit-status {
    grid-column: 2;
    margin-top: -18px;
  }
}

@media (max-width: 900px) {
  .rde-credit-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rde-ro-credits-r9 .site-header {
    height: 76px;
    padding: 0 16px;
  }

  .rde-ro-credits-r9 main {
    padding-top: 76px;
  }

  .rde-ro-credits-r9 .saved-button {
    display: none;
  }

  .rde-credit-hero {
    padding-top: 62px;
  }

  .rde-credit-hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  .rde-credit-stats {
    grid-template-columns: 1fr;
  }

  .rde-credit-stats > div {
    grid-template-columns: 100px 1fr;
  }

  .rde-credit-toolbar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rde-credit-status {
    grid-column: auto;
    margin: -8px 0 0;
  }

  .rde-credit-photo {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .rde-credit-thumb,
  .rde-credit-thumb img {
    min-height: 94px;
  }

  .rde-credit-group-head {
    padding: 20px 18px 16px;
  }
}

@media (max-width: 520px) {
  .rde-ro-credits-r9 .brand-wordmark {
    display: none;
  }

  .rde-credit-photo {
    grid-template-columns: 1fr;
  }

  .rde-credit-thumb,
  .rde-credit-thumb img {
    min-height: 190px;
    max-height: 240px;
  }

  .rde-credit-group-head {
    align-items: flex-start;
  }
}

/* Controls kept local so the credits page does not depend on a historical language stylesheet. */
.rde-ro-credits-r9 .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rde-ro-credits-r9 .header-actions {
  gap: 10px;
}

.rde-ro-credits-r9 .rde-language-switch {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
  min-height: 46px;
  padding: 3px;
  border: 1px solid rgba(34, 63, 54, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 24px rgba(37, 62, 52, .055);
}

.rde-ro-credits-r9 .rde-language-switch a {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 999px;
  color: #42534d;
  font-size: .72rem;
  font-weight: 760;
  line-height: 1;
  letter-spacing: .045em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.rde-ro-credits-r9 .rde-language-switch a:hover {
  background: rgba(28, 106, 82, .08);
  color: var(--r9-green);
}

.rde-ro-credits-r9 .rde-language-switch a[aria-current="page"] {
  background: #174f3f;
  color: #fff;
}

.rde-ro-credits-r9 .rde-language-switch a:focus-visible {
  outline: 2px solid var(--r9-green);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .rde-ro-credits-r9 .rde-language-switch {
    min-height: 42px;
  }

  .rde-ro-credits-r9 .rde-language-switch a {
    width: 35px;
    height: 35px;
    font-size: .68rem;
  }
}
