/* Shared palette, loaded only by the Rongyi route handler. */
:root {
  --ry-page: #faf7f0;
  --ry-graphite: #26343d;
  --ry-caramel: #96602b;
  --ry-caramel-hover: #794a23;
  --ry-sage: #e7efe7;
  --ry-edge: #cbd6cb;
}

body.ry-people-home,
body.v55-profile,
body.rg-root.rg-hub {
  --paper: var(--ry-page);
  --ink: var(--ry-graphite);
  --ink2: var(--ry-graphite);
  --line: var(--ry-edge);
  --rg-bg: var(--ry-page);
  --rg-ink: var(--ry-graphite);
  --rg-line: var(--ry-edge);
  background: var(--ry-page);
  color: var(--ry-graphite);
}

.ry-people-home .site-nav,
.rg-root.rg-hub .rg-header {
  background: var(--ry-page);
  border-color: var(--ry-edge);
}

.ry-people-home .hero-description,
.ry-people-home .nav-list a,
.ry-people-home .wordmark small,
.ry-people-home .footer .foot-top,
.ry-people-home .footer .foot-note,
.ry-people-home .closing p,
.ry-face-name,
.ry-face-category,
.ry-face-line,
.rg-root .rg-header nav,
.v55-profile .v55-lead,
.v55-profile .v55-question,
.v55-profile .ry-sample-hero,
.v55-profile .ry-sample-section,
.v55-profile .v55-related span,
.v55-profile .p4-profile-update h2,
.ry-visit-main {
  color: var(--ry-graphite);
}

.ry-people-home .hero h1 em,
.ry-people-home .overline,
.ry-people-home .nav-list a:hover,
.rg-root .rg-header nav a:hover {
  color: var(--ry-caramel);
}

.ry-people-home .solid-button,
.ry-wall-search > button,
.ry-wall-all,
.ry-people-home .mf-query-row button[type=submit],
.ry-people-home .ux-card-body .mf-card-actions > a,
.v55-profile .ry-actions > [data-action="forward-profile"],
.v55-profile .v55-actions a:first-child,
.v55-profile .v55-actions > .ry-contact-primary,
.v55-profile .v55-actions button[aria-pressed=true],
.v55-profile .v55-intro [aria-selected=true],
.rg-root.rg-hub .rg-button:not(.rg-secondary),
.rg-dialog .rg-button:not(.rg-secondary) {
  background: var(--ry-caramel);
  border-color: var(--ry-caramel);
  color: #fff;
}

.ry-people-home .solid-button:hover,
.ry-wall-search > button:hover,
.ry-wall-all:hover,
.ry-people-home .mf-query-row button[type=submit]:hover,
.ry-people-home .ux-card-body .mf-card-actions > a:hover,
.v55-profile .ry-actions > [data-action="forward-profile"]:hover,
.v55-profile .v55-actions a:first-child:hover,
.v55-profile .v55-actions > .ry-contact-primary:hover,
.rg-root.rg-hub .rg-button:not(.rg-secondary):hover,
.rg-dialog .rg-button:not(.rg-secondary):hover {
  background: var(--ry-caramel-hover);
  border-color: var(--ry-caramel-hover);
  color: #fff;
}

.ry-people-home .outline-button:hover,
.ry-people-home .ry-meeting-highlights,
.ry-people-home .ry-problems,
.ry-people-home .closing,
.ry-face-grid .ry-face:hover,
.ry-face-grid .ry-wall-invite,
.ry-visit-strip,
.ry-visit-details > div,
.ry-visit-guides > section,
.ry-talk,
.ry-talk-body blockquote,
.v55-profile .v55r-evidence,
.v55-profile[data-finish] .v55r-evidence,
.v55-profile .v55r-tea-case,
.v55-profile .p4-referral-context,
.v55-profile .p4-source-panel:not(.p41-source-details),
.v55-profile .ry-moments li,
.v55-profile .ry-related li,
.v55-profile .joanne-poster-grid > li,
.v55-profile .joanne-values > li,
.rg-root .rg-kit .rg-kit-item,
.rg-root .rg-kit .rg-intro-card {
  background: var(--ry-sage);
  border-color: var(--ry-edge);
  color: var(--ry-graphite);
}

.v55-profile[data-layout] .v55r-visual {
  --visual-ink: var(--ry-graphite);
  --visual-rule: var(--ry-edge);
  background: var(--ry-sage);
  border-color: var(--ry-edge);
}

.ry-face-grid .ry-face:not(.ry-wall-invite, :hover),
.ry-share-grid .ry-share-card,
.ry-people-home .footer {
  background: var(--ry-page);
  border-color: var(--ry-edge);
  color: var(--ry-graphite);
}

.ry-people-home .footer {
  border-top: 1px solid var(--ry-edge);
}

.ry-share-grid .ry-share-card:hover {
  background: #fff;
  border-color: var(--ry-graphite);
}

.ry-visit-page .ry-visit-main {
  width: min(1256px, calc(100% - 80px));
  padding-block-start: clamp(30px, 4vw, 60px);
}

.ry-visit-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(20px, 3.5vw, 52px);
  align-items: center;
}

.ry-visit-hero h1 {
  font-size: clamp(36px, 4.25vw, 62px);
  text-wrap: balance;
}

.ry-visit-hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 18px 40px rgba(38, 52, 61, .12);
}

.ry-visit-details {
  margin-block-start: clamp(24px, 4vw, 48px);
}

@media (max-width: 800px) {
  .ry-visit-page .ry-visit-main { width: calc(100% - 36px); }
  .ry-visit-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ry-visit-hero h1 { font-size: clamp(36px, 7vw, 50px); }
}
