/* Homepage cover and member directory. */
.ry-people-home .nav-list {
  gap: clamp(15px, 3vw, 38px);
}
.ry-people-home .nav-list button {
  font-size: 12px;
  letter-spacing: .07em;
  white-space: nowrap;
}
.ry-people-home .nav-list a {
  white-space: nowrap;
}
.ry-people-home .hero {
  padding: clamp(48px, 7vw, 104px) 0;
}
.ry-people-home .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}
.ry-people-home .hero-text {
  padding: 0;
}
.ry-people-home .hero-text .overline {
  margin: 0 0 clamp(16px, 2.5vw, 36px);
}
.ry-people-home .hero h1 {
  font-size: clamp(42px, 6vw, 92px);
  white-space: normal;
}
.ry-people-home .hero-description {
  max-width: 35em;
  margin: 20px auto 25px;
}
.ry-people-home .hero-actions {
  justify-content: center;
  gap: 10px;
}
.ry-face-grid .ry-face > img {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #e3e8db;
}
.ry-face[data-member-id="dongniang"] img {
  object-position: 50% 22%;
}
.ry-face[data-member-id="qiu-peiling"] img {
  object-position: 50% 17%;
}

.ry-wall {
  padding: clamp(35px, 5vw, 68px) 0;
  scroll-margin-top: 24px;
}
.ry-wall > .wrap {
  max-width: 1120px;
}
.ry-wall-grid {
  display: grid;
  gap: clamp(20px, 3vw, 42px);
}
.ry-wall-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  margin-bottom: clamp(15px, 2.5vw, 28px);
}
.ry-wall-heading h2 {
  margin: 0;
  font: 500 clamp(27px, 4vw, 48px)/1.3 var(--serif);
}
.ry-wall-search {
  position: relative;
  display: flex;
  width: min(100%, 330px);
}
.ry-wall-search input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #8e9b85;
  background: #fffcf5;
  color: #294638;
  font: inherit;
}
.ry-wall-search > button,
.ry-wall-all {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #354d38;
  background: #354d38;
  color: #fffcee;
  font: 600 14px/1.4 var(--sans);
  cursor: pointer;
}
.ry-wall-all {
  margin: 0 0 12px;
}
.ry-wall-search .ux-suggestions {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  margin-top: 3px;
  z-index: 4;
}
.ry-wall-search .ux-suggestions button {
  width: 100%;
}
.ry-face-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 22px);
}
.ry-face-grid-featured {
  grid-auto-rows: 1fr;
  scroll-margin-top: 75px;
}
.ry-face-grid-remaining,
.ry-face-grid-results {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.ry-face-grid .ry-face {
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid #cdd1bf;
  color: #283d32;
  background: #faf7ee;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ry-face-grid .ry-face:hover {
  border-color: #607a59;
  background: #f0eee3;
}
.ry-face h3 {
  margin: 12px clamp(8px, 1.15vw, 16px) 3px;
  font: 600 clamp(15px, 2vw, 25px)/1.35 var(--serif);
}
.ry-face-featured h3 {
  font-size: clamp(17px, 2vw, 25px);
  margin-bottom: 6px;
}
.ry-face-name {
  margin: 0 clamp(8px, 1.15vw, 16px) 16px;
  color: #52664f;
  font-size: clamp(12px, 1.1vw, 15px);
}
.ry-face-grid .ry-wall-invite {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: #dbe5d7;
}
.ry-wall-invite h3 {
  margin: 0;
}
.ry-face-category,
.ry-face-line {
  margin: 0 clamp(8px, 1.15vw, 16px);
  line-height: 1.5;
}
.ry-face-category {
  color: #52664f;
  font-size: clamp(11px, 1.1vw, 14px);
}
.ry-face-line {
  margin-top: 8px;
  margin-bottom: 14px;
  font-size: clamp(13px, 1.2vw, 16px);
}
.ry-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.ry-face:focus-visible,
.ry-wall-search :focus-visible,
.ry-problem-strip :focus-visible {
  outline: 2px solid #5f754e;
  outline-offset: 3px;
}

.ry-problems {
  scroll-margin-top: 20px;
  background: #e9ece1;
  border-block: 1px solid #ced3c1;
}
.ry-problem-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 13px 0;
}
.ry-problem-strip h2 {
  margin: 0;
  font: 600 clamp(17px, 2vw, 23px)/1.4 var(--serif);
}
.ry-problem-strip .solid-button {
  margin-left: auto;
  min-height: 44px;
  padding: 8px 13px;
  cursor: pointer;
}
.ry-problem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
}
.ry-problem-tags button {
  background: none;
  border: 0;
  padding: 5px 0;
  color: #344c39;
  font: 500 13px/1.3 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 34px;
  cursor: pointer;
}
#problem-panel {
  padding: 15px 0 36px;
}
#problem-results {
  margin-top: 32px;
  scroll-margin-top: 18px;
}
#problem-result-title {
  font: 500 clamp(22px, 3vw, 36px)/1.4 var(--serif);
}
#problem-grid {
  margin-top: 18px;
}
.ry-people-home #problem-grid[data-result-count="1"] {
  grid-template-columns: minmax(0, 960px);
}
.ry-people-home #problem-grid[data-result-count="1"] > .ux-result-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
}
.ry-people-home #problem-grid[data-result-count="1"] .ux-card-heading {
  display: block;
}
.ry-people-home #problem-grid[data-result-count="1"] .ux-card-media {
  width: 100%;
  margin-bottom: 16px;
}
.ry-people-home #problem-grid[data-result-count="1"] .ux-card-media img {
  width: 100% !important;
  height: 190px !important;
}

@media (max-width: 1020px) {
  .ry-face-grid-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .ry-face-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ry-face-grid-remaining {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ry-people-home .site-nav {
    height: auto;
  }
  .ry-people-home .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 14px;
    padding-block: 8px;
  }
  .ry-people-home .nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    margin: 0;
    gap: 4px 10px;
    min-height: 35px;
  }
  .ry-people-home .nav-list a,
  .ry-people-home .nav-list button {
    font-size: 11px;
    letter-spacing: normal;
  }
  .ry-people-home .v53-language {
    grid-column: 2;
    grid-row: 1;
  }
  .ry-people-home .hero {
    padding: 42px 0 46px;
  }
  .ry-people-home .hero-text .overline {
    margin-bottom: 12px;
  }
  .ry-people-home .hero h1 {
    font-size: clamp(34px, 9.5vw, 56px);
    line-height: 1.22;
  }
  .ry-people-home .hero-description {
    margin: 10px auto 13px;
  }
  .ry-people-home .hero-actions {
    gap: 7px;
  }
  .ry-people-home .hero-actions a {
    min-height: 44px;
    padding-block: 7px;
  }
  .ry-problem-strip .solid-button {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .ry-face-grid-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ry-people-home #problem-grid[data-result-count="1"] > .ux-result-card {
    display: flex;
    gap: 0;
  }
  .ry-people-home #problem-grid[data-result-count="1"] .ux-card-heading {
    display: flex;
  }
  .ry-people-home #problem-grid[data-result-count="1"] .ux-card-media {
    width: 72px;
    margin: 0;
  }
  .ry-people-home #problem-grid[data-result-count="1"] .ux-card-media img {
    width: 72px !important;
    height: 82px !important;
  }
}

@media (max-width: 360px) {
  .ry-face-grid-remaining {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
