/* RGYS client-facing advice and trust; navigation and form behaviour stay unchanged. */
.sto-site .rgys-client-section {
  padding: 78px 0;
  background: #f3f6f3;
}
.sto-site .rgys-client-section:nth-of-type(even) {
  background: #faf7ef;
}
.sto-site .rgys-client-heading {
  max-width: 980px;
  margin-bottom: 30px;
}
.sto-site .rgys-client-heading h2 {
  margin: 8px 0 16px;
  color: #082a3b;
  font-family: var(--serif);
  font-size: clamp(31px, 3.3vw, 45px);
  line-height: 1.38;
}
.sto-site .rgys-client-heading p {
  margin: 0;
  color: #435d66;
  font-size: 17px;
  line-height: 1.9;
}
.sto-site .rgys-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sto-site .rgys-advice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.sto-site .rgys-trust-card,
.sto-site .rgys-advice-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid #d2dcd7;
  border-top: 3px solid #b58a52;
  background: #fffefa;
}
.sto-site .rgys-trust-card > span,
.sto-site .rgys-advice-card > span {
  display: block;
  margin-bottom: 12px;
  color: #8b642f;
  font-family: Georgia, serif;
  font-size: 27px;
}
.sto-site .rgys-trust-card h3,
.sto-site .rgys-advice-card h3 {
  margin: 0 0 12px;
  color: #0a3042;
  font-size: 21px;
  line-height: 1.5;
}
.sto-site .rgys-trust-card p,
.sto-site .rgys-advice-card p {
  margin: 0;
  color: #435d66;
  font-size: 16px;
  line-height: 1.9;
}
.sto-site .rgys-trust-card ul,
.sto-site .rgys-advice-card ul {
  color: #435d66;
  font-size: 16px;
  line-height: 1.85;
}
.sto-site .rgys-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 29px;
  padding-top: 24px;
  border-top: 1px solid #c8d4cf;
}
.sto-site .rgys-signature strong {
  color: #082a3b;
  font-size: 20px;
}
.sto-site .rgys-signature p {
  max-width: 900px;
  margin: 0;
  color: #435d66;
  font-size: 16px;
  line-height: 1.85;
}
.sto-site .rgys-client-section svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.sto-site .rgys-client-section--film {
  margin: 28px 0;
  padding: 28px;
  border: 1px solid #d2dcd7;
}
.sto-site .rgys-client-section--film .rgys-client-heading h3 {
  margin: 0 0 14px;
  color: #082a3b;
  font-size: 26px;
  line-height: 1.5;
}
.sto-site p.rgys-signature {
  color: #6c532e;
  font-size: 16px;
  font-weight: 700;
}
.sto-site .sto-faq-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.sto-site .sto-faq-group > h2 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
}
.sto-site .sto-faq-group details,
.sto-site .sto-faq-group details + details {
  min-width: 0;
  margin: 0;
  padding: 24px;
}
.sto-site .sto-faq-group details[hidden] {
  display: none !important;
}
.sto-site .sto-faq-evidence {
  grid-template-columns: 1fr;
  gap: 13px;
}
.sto-site .sto-faq-page details > summary {
  font-size: 18px;
  line-height: 1.65;
}
.sto-site .sto-faq-page .sto-source-links a {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}
.sto-site .sto-faq-page .sto-source-links small {
  font-size: 13px;
}
.sto-site .sto-author .sto-kicker {
  font-size: 12px;
  letter-spacing: 0.08em;
}
.sto-site .sto-author p {
  font-size: 15px;
  line-height: 1.8;
}
.sto-site .sto-author--compact p {
  font-size: 14px;
}
.sto-site .sto-about-grid p {
  font-size: 17px;
  line-height: 1.95;
}
.sto-site .sto-footer {
  color: #d1dedf;
}
.sto-site .sto-footer .sto-brand strong {
  color: #fff;
}
.sto-site .sto-footer .sto-brand small {
  color: #c3d2d5;
  font-size: 10px;
  line-height: 1.65;
}
.sto-site .sto-footer__grid > div > p {
  max-width: 460px;
  color: #c0d0d2;
  font-size: 15px;
  line-height: 1.9;
}
.sto-site .sto-footer h3 {
  color: #e4c492;
  font-size: 17px;
  letter-spacing: 0.025em;
}
.sto-site .sto-footer li {
  margin-bottom: 12px;
  color: #d1dedf;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.sto-site .sto-footer a:focus-visible {
  outline: 2px solid #e4c492;
  outline-offset: 4px;
}
.sto-site .sto-footer__bottom {
  color: #b5c8ca;
  font-size: 13px;
  line-height: 1.8;
}
.sto-site .sto-footer-cta p {
  font-size: 16px;
  line-height: 1.85;
}
.sto-site .sto-about-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.sto-site .sto-about-mark img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  padding: 10px;
  border-radius: 50%;
  background: #fff;
}
.sto-site .sto-about-mark > span {
  color: #ead6b2;
  font-size: 29px;
  line-height: 1.4;
}
.sto-site .sto-about-mark > p {
  margin: 0;
  font-family: var(--sto-sans);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
}
.sto-site .rgys-media-caption {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 14px;
  color: #d2e0e3;
  line-height: 1.8;
}
@media (min-width: 1181px) {
  .sto-site .sto-brand-header > .sto-shell {
    min-height: 118px;
  }
}
@media (max-width: 1100px) {
  .sto-site .rgys-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sto-site .sto-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
  .sto-site .sto-footer__grid > div:first-child {
    grid-column: auto;
  }
}
@media (max-width: 720px) {
  .sto-site .rgys-client-section {
    padding: 57px 0;
  }
  .sto-site .rgys-trust-grid,
  .sto-site .rgys-advice-grid,
  .sto-site .sto-faq-group {
    grid-template-columns: minmax(0, 1fr);
  }
  .sto-site .rgys-trust-card,
  .sto-site .rgys-advice-card,
  .sto-site .sto-faq-group details {
    padding: 22px;
  }
  .sto-site .rgys-signature {
    align-items: flex-start;
    flex-direction: column;
  }
  .sto-site .sto-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sto-site .sto-footer .sto-brand img {
    width: 75px;
    height: 75px;
  }
  .sto-site .sto-footer .sto-brand > span {
    display: grid;
    min-width: 0;
  }
  .sto-site .sto-footer .sto-brand strong {
    font-size: 28px;
  }
  .sto-site .sto-footer .sto-brand small {
    max-width: 230px;
  }
}
@media (max-width: 700px) {
  .sto-site .sto-search-dialog {
    inset: var(--sto-search-top, 12px) 0 auto;
    max-height: var(--sto-search-max-height, calc(100dvh - 24px));
  }
  .sto-site .sto-search-dialog .sto-search-surface {
    max-height: calc(var(--sto-search-max-height, calc(100dvh - 24px)) - 58px);
    overflow: auto;
  }
  .sto-site .sto-search-chip-wrap {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
  .sto-site .sto-search-chip-arrow {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }
}
