.required {
  color: var(--accent-color);
  font-size: 0.95em;
  font-family: var(--font-sans);
  font-weight: normal;
}

.optional {
  color: var(--light-body-color);
  font-size: 0.95em;
  font-family: var(--font-sans);
  font-weight: normal;
}

.subchapter {
  font-size: 110% !important;
  color: #555;
}

.hook {
  border: 1px solid var(--border-color);
  margin-top: 10px;
  padding: 8px 13px;
  font-family: var(--font-sans);
  border-radius: 3px;
  position: relative;
  font-size: 15px;
}

.hookExpand {
  position: absolute;
  top: 11px;
  left: 13px;
  cursor: pointer;

  > svg {
    fill: var(--extra-light-body-color);
    flex-shrink: 0;
    display: block;
  }
}

.hookBody {
  flex: 1;
  padding-left: 20px;
  align-self: center;
}

.hookName {
  display: block;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 21px;

  &:hover .hookNameDesc {
    color: var(--base-body-color);
  }
}

.hookNameName {
  font-family: var(--font-mono);
  font-size: 0.95em;
  color: var(--base-body-color);
}

.hookNameDesc {
  padding-left: 10px;
  font-size: 13px;
  color: var(--light-body-color);
}

a.hookGithub {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--light-body-color);
}

.hookDeets {
  margin-top: 15px;
  margin-bottom: 5px;
  line-height: 1.2;

  p {
    margin: 0;
  }

  pre {
    padding: 15px;
    font-size: 0.95em;
    margin-top: 15px;
  }
}

.propertyGroup {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 10px;
}

.groupDescription {
  margin-top: 20px;
  font-family: var(--font-sans);
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: 16px;
}

.returnValue {
  font-size: 15px;
  font-family: var(--font-sans);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
  padding-bottom: 10px;
  line-height: 1.2;

  &:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  p {
    margin: 0;
  }

  pre {
    padding: 15px;
    font-size: 0.95em;
    margin-top: 15px;
  }
}

.returnValueName {
  font-weight: bold;
  color: #555;
  font-family: var(--font-mono);
  font-size: 0.95em;
  margin-bottom: 5px;

  svg {
    fill: #777;
    display: inline-block;
    margin-left: 5px;
  }

  &:hover svg {
    fill: #555;
  }
}

.pane {
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin: 10px 0;
}

.expandablePaneButton {
  background: white;
  color: var(--base-body-color);
  border: 0;
  padding: 10px;
  font-family: var(--font-sans);
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  background: var(--light-bg-color);
  display: block;
  width: 100%;
  font-weight: bold;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;

  svg {
    fill: var(--extra-light-body-color);
  }
}

.expandablePaneContent {
  padding: 15px;
  font-size: 16px;
}
