/* The handbook index stays alongside the reading sheet on wide screens. */
.help-layout {
  font-family: var(--vc-sans, var(--sans));
  display: grid;
  grid-template-columns: minmax(220px, .56fr) minmax(0, 1.44fr);
  align-items: start;
  column-gap: clamp(42px, 6vw, 100px);
  max-width: 1392px;
  margin-inline: auto;
  padding-block: clamp(30px, 4.2vw, 66px) clamp(56px, 7vw, 96px);
}
.help-heading {
  container-type: inline-size;
  position: sticky;
  top: 20px;
  padding: clamp(22px, 2.7vw, 42px);
  color: #f6f3e6;
  background: #182f42;
  border-top: 5px solid var(--yellow);
  box-shadow: inset -6px 0 0 #213a4d, inset -7px 0 0 #5c6d74;
}
.help-heading h1 {
  font: 875 clamp(2.05rem, 19cqw, 4.2rem)/.96 var(--vc-sans, var(--brand));
  letter-spacing: -.065em;
}
.help-heading em { display: block; color: #f7ce49; }
.guide-index-title {
  margin: clamp(36px, 5vw, 76px) 0 .65rem;
  color: #c3cfd1;
  font: 700 .8rem/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.help-heading nav { display: grid; }
.help-heading nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 45px;
  padding: 9px 0;
  text-decoration: none;
  font-weight: 650;
  border-top: 1px solid #74838a82;
}
.help-heading nav a::after {
  content: '';
  width: 6px;
  height: 6px;
  flex: none;
  margin-right: 2px;
  border-right: 1.5px solid #d4dbda;
  border-bottom: 1.5px solid #d4dbda;
  transform: rotate(-45deg);
}
.help-heading nav a:hover { color: #ffdb69; }
.help-heading nav a:focus-visible { outline-color: var(--yellow); }
.help-copy { min-width: 0; max-width: 820px; }
.help-copy section { margin-bottom: clamp(32px, 4vw, 58px); scroll-margin-top: 22px; }
.help-copy section:last-child { margin-bottom: 0; }
.help-copy h2 {
  margin: 0 0 .7em;
  font: 825 clamp(1.85rem, 3.4vw, 3.05rem)/1.02 var(--vc-sans, var(--sans));
  letter-spacing: -.06em;
}
.help-copy :is(p, dd, ol, .answer) { color: #394c59; line-height: 1.63; }
.help-copy p, .help-copy dd, .help-copy .answer { max-width: 69ch; }
.help-copy p + p { margin-top: .9em; }
.help-copy a { color: #194464; font-weight: 680; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.help-copy a:hover { text-decoration-thickness: 2px; }
.help-copy dl>div + div { margin-top: 19px; }
.help-copy dt { margin-bottom: 4px; font-weight: 760; }
.help-copy code { font: 650 .91em var(--mono); background: #dce1db; padding: .11em .24em; }
.help-copy ol { max-width: 71ch; padding-left: 1.5em; margin: 14px 0 0; }
.help-copy li { padding: .27rem 0 .27rem .25rem; }
.help-copy li::marker { font-weight: 740; color: var(--ink); }
.help-copy section:has(> p), .help-copy section:has(> ol), .help-copy section:has(> dl) {
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid #8c9695;
}
.faq-questions { border-top: 2px solid var(--ink); }
.faq-questions details { border-bottom: 1px solid #b2bab6; }
.faq-questions summary {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0,1fr) 20px;
  align-items: center;
  gap: 16px;
  padding: .85em 0;
  cursor: pointer;
  font-weight: 700;
  font-size: clamp(1.03rem, 1.35vw, 1.21rem);
  line-height: 1.35;
  letter-spacing: -.018em;
}
.faq-questions summary::-webkit-details-marker { display: none; }
.faq-questions summary::after {
  content: '';
  width: 15px;
  height: 15px;
  background: linear-gradient(var(--ink),var(--ink)) center/13px 1.5px no-repeat,
              linear-gradient(var(--ink),var(--ink)) center/1.5px 13px no-repeat;
}
.faq-questions details[open] summary::after { background-size: 13px 1.5px, 0 0; }
.faq-questions summary:focus-visible { outline: 3px solid #2670a8; outline-offset: 3px; }
.faq-questions .answer { padding: 0 28px 1.15rem 0; }
@media(max-width: 870px) {
  .help-layout { grid-template-columns: minmax(180px,.6fr) minmax(0, 1.4fr); gap: 30px; }
  .help-heading { padding: 23px 20px; }
}
@media(max-width: 690px) {
  .help-layout { display: block; padding-inline: 0; padding-block: 0 48px; }
  .help-heading { position: static; padding: 25px max(18px,5vw) 18px; box-shadow: none; }
  .help-heading h1 { font-size: clamp(2.5rem,8.4vw,3.65rem); }
  .help-heading em { display: inline; }
  .guide-index-title { margin: 17px 0 5px; font-size: .73rem; }
  .help-heading nav { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .help-heading nav a { font-size: .9rem; line-height: 1.27; min-height: 42px; padding: 7px 0; }
  .help-copy { padding: 25px max(18px,5vw) 0; }
  .help-copy section:first-child { border-top: 0; padding-top: 0; }
  .faq-questions summary { padding-block: .95em; }
  .faq-questions .answer { padding-right: 10px; }
}
@media print {
  .help-heading { position: static; padding: 0; background: none; color: black; border: 0; box-shadow: none; }
  .help-layout { display: block; }
  .help-heading nav, .guide-index-title { display: none; }
}
