body:has(> #content.rhode-help) > .rhode-utility {
  margin-top: var(--rhode-banner-top);
}

body:has(> #content.rhode-help) > .rhode-header {
  position: sticky;
  inset-inline: auto;
  margin: 16px var(--rhode-edge) 0;
  padding: 0;
}

body:has(> .rhode-header.is-hidden:not(.has-panel):not(:focus-within)) > #content.rhode-help {
  --help-sticky-offset: 0px;
}

#content.rhode-help {
  --help-sticky-offset: var(--help-header-height, 0px);
  --help-padding: 20px;
  --help-heading-size: calc(17.66px + .8vw);
  --help-anchor-offset: calc(86px + var(--help-header-height, 0px));
  min-height: 0;
  margin: 20px var(--rhode-edge);
  padding: 9px var(--help-padding) 32px;
  border-radius: 12px;
  background: var(--rhode-surface);
  color: var(--rhode-ink);
  font: 400 max(14px, calc(13.2px + .2vw))/1.5 var(--rhode-font);
}

.rhode-help h1,
.rhode-help h2 {
  margin: 0;
  color: inherit;
  font: 700 var(--help-heading-size)/1.5 var(--rhode-font);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rhode-help h1 {
  margin-bottom: 8px;
}

.rhode-help h2 {
  scroll-margin-top: var(--help-anchor-offset);
}

.rhode-help__navigation {
  display: contents;
}

.rhode-help__contents {
  position: sticky;
  z-index: 3;
  top: var(--help-sticky-offset);
  overflow-x: auto;
  margin-inline: calc(-1 * var(--help-padding));
  padding: 10px var(--help-padding) 12px;
  background: var(--rhode-surface);
  scrollbar-width: none;
}

.rhode-help__contents::-webkit-scrollbar {
  display: none;
}

.rhode-help__contents ul {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhode-help__contents li {
  flex: 0 0 auto;
}

.rhode-help__contents a {
  display: block;
  padding: 10px 16px;
  border-radius: 28px;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.rhode-help__contents a[aria-current="location"] {
  background: var(--rhode-ink);
  color: var(--rhode-surface);
}

.rhode-help__contents a:focus-visible {
  outline-offset: -2px;
}

.rhode-help__article {
  min-width: 0;
  padding-top: 16px;
  overflow-wrap: anywhere;
}

.rhode-help__article section + section {
  margin-top: 46px;
}

.rhode-help__article h2 {
  margin-bottom: 14px;
}

.rhode-help__article h3 {
  color: inherit;
  font: 700 1.08em/1.4 var(--rhode-font);
}

.rhode-help__article p,
.rhode-help__article ul,
.rhode-help__article ol {
  margin: 0 0 1em;
}

.rhode-help__article ul,
.rhode-help__article ol {
  padding-inline-start: 1.25em;
}

.rhode-help__article a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .17em;
}

.rhode-help__article a:hover {
  text-decoration-thickness: 2px;
}

.rhode-help__article section > :last-child,
.rhode-help__answer > :last-child {
  margin-bottom: 0;
}

.rhode-help--faq .rhode-help__article h2 {
  margin-bottom: 0;
}

.rhode-help__question {
  border-top: 1px solid #c4c4c4;
}

.rhode-help__question summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-weight: 700;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.rhode-help__question summary::-webkit-details-marker {
  display: none;
}

.rhode-help__icon {
  position: relative;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--rhode-ink);
  color: var(--rhode-surface);
}

.rhode-help__icon::before,
.rhode-help__icon::after {
  position: absolute;
  top: 9px;
  left: 5px;
  width: 9px;
  height: 1px;
  background: currentColor;
  content: "";
}

.rhode-help__icon::after {
  transform: rotate(90deg);
  transition: transform .25s ease;
}

.rhode-help__question[open] .rhode-help__icon::after {
  transform: rotate(0);
}

.rhode-help__answer {
  padding: 0 0 18px;
}

@supports (interpolate-size: allow-keywords) {
  .rhode-help__question::details-content {
    block-size: 0;
    overflow: clip;
    interpolate-size: allow-keywords;
    transition: block-size .7s ease, content-visibility .7s allow-discrete;
  }

  .rhode-help__question[open]::details-content {
    block-size: auto;
  }
}

@media (min-width: 822px) {
  #content.rhode-help {
    --help-padding: 2.25vw;
    --help-anchor-offset: max(80px, calc(var(--help-header-height, 0px) + 12px));
    display: grid;
    grid-template-columns: min(30%, 480px) minmax(0, 1fr);
    align-items: start;
    gap: 2.25vw;
    margin: 2.25vw var(--rhode-edge);
    padding: 0;
    background: transparent;
    font-size: max(14px, 1.125vw);
  }

  .rhode-help__navigation,
  .rhode-help__article {
    border-radius: 12px;
    background: var(--rhode-surface);
  }

  .rhode-help__navigation {
    position: sticky;
    top: max(32px, calc(var(--help-sticky-offset) + 12px));
    display: block;
    padding: var(--help-padding);
  }

  .rhode-help h1 {
    margin-bottom: 16px;
  }

  .rhode-help__contents {
    position: static;
    overflow: visible;
    margin: 0;
    padding: 0 0 16px;
    background: transparent;
  }

  .rhode-help__contents ul {
    display: block;
  }

  .rhode-help__contents li + li {
    margin-top: 16px;
  }

  .rhode-help__contents a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    font-weight: 700;
    white-space: normal;
  }

  .rhode-help__contents a[aria-current="location"] {
    background: transparent;
    color: inherit;
  }

  .rhode-help__contents a[aria-current="location"]::before {
    align-self: center;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
  }

  .rhode-help__article {
    padding: calc(var(--help-padding) + 16px) var(--help-padding) var(--help-padding);
  }

  .rhode-help__article section + section {
    margin-top: 72px;
  }

  .rhode-help__article h2 {
    margin-bottom: 24px;
  }

  .rhode-help--faq .rhode-help__article h2 {
    margin-bottom: 32px;
  }

  .rhode-help__question summary {
    padding-block: 17px;
  }

  .rhode-help__answer {
    padding-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rhode-help__question::details-content,
  .rhode-help__icon::after {
    transition: none;
  }
}
