/*
 * Extra rules for the long-form posts added after the cPanel zip was built.
 * The zip's own stylesheet (styles-*.css) is not edited; the new pages load this file after it.
 * Colours follow the zip's theme: logo blue #0050f8 (the copper tokens), white, #e5e5e5 lines.
 */

/* "Jump to" chips above each list: white pill, hairline border, blue ring on hover and focus. */
.jump-chip {
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 1px #e5e5e5;
  transition: box-shadow 160ms ease;
}
.jump-chip:hover,
.jump-chip:focus-visible {
  box-shadow: inset 0 0 0 2px #0050f8;
}

/* The card you jumped to (from a chip or a search result link) gets a blue edge on the start side. Mirrors in RTL. */
.card-lift:target {
  box-shadow: inset 4px 0 0 #0050f8, 0 0 0 1px #0050f8;
}
[dir="rtl"] .card-lift:target {
  box-shadow: inset -4px 0 0 #0050f8, 0 0 0 1px #0050f8;
}

/* The source you jumped to from a citation number gets the same edge, so you can find it in the list. */
.source-item {
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  margin-inline: -0.5rem;
  transition: background-color 160ms ease;
}
.source-item:target {
  background: #fff;
  box-shadow: inset 4px 0 0 #0050f8, 0 0 0 1px #0050f8;
}
[dir="rtl"] .source-item:target {
  box-shadow: inset -4px 0 0 #0050f8, 0 0 0 1px #0050f8;
}

/* "Before you start": a blue rule on the start side (mirrors in RTL through the logical property). */
.note-safety {
  border-inline-start: 4px solid #0050f8;
  padding-inline-start: 1rem;
}

/* Utility not in the compiled stylesheet. */
.font-normal {
  font-weight: 400;
}
