/* What Sphinx writes and the phpspec 9 stylesheet has no rule for. */

/* Sphinx wraps every section, so each h2 is the first of its kind. */
.manual-content section > h2:first-of-type { padding-top: 1.5rem; }
.manual-content h1 + section > h2:first-of-type { padding-top: 0; }

.version-notice { margin-bottom: 2rem; }

.manual-content .headerlink {
  margin-left: .4em;
  color: var(--text-dim);
  opacity: 0;
  transition: opacity .12s;
}
.manual-content :is(h1, h2, h3, h4):hover .headerlink { opacity: 1; }

.manual-content .admonition-title {
  color: var(--heading);
  font-weight: 600;
  margin-bottom: .35rem;
}
.manual-content .callout > :last-child { margin-bottom: 0; }

.manual-content blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}
.manual-content dt { color: var(--text-bright); font-weight: 600; }
.manual-content dd { margin: 0 0 1rem 1.5rem; }

/* Pygments token classes beyond those the phpspec 9 pages use. */
.highlight .c1, .highlight .cm, .highlight .cs, .highlight .ch, .highlight .cpf { color: #4a5568; font-style: italic; }
.highlight .cp, .highlight .kc, .highlight .kd, .highlight .kp, .highlight .kt, .highlight .ow { color: var(--violet); }
.highlight .s1, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se,
.highlight .sh, .highlight .si, .highlight .sr, .highlight .ss, .highlight .sx, .highlight .dl { color: #34d399; }
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mo, .highlight .il { color: var(--amber); }
.highlight .nb, .highlight .bp, .highlight .vm { color: var(--blue); }
.highlight .nn, .highlight .gp { color: var(--text-dim); }
.highlight .nt { color: var(--cyan); }
