/*
  Styles editors can pick from the wysiwyg Style dropdown. Loaded on the site
  and inside CKEditor (see ckeditor5-stylesheets in the info file), so the
  editor shows what the page will.
*/

/*
  The 'H2 background' style. Uses the banner highlight's hand-drawn
  underline, sized to the heading text rather than the full column.
*/
h2.background {
  width: fit-content;
  padding-bottom: 0.3em;
  background-image: url("../../assets/pink-line.svg");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
}

/*
  Horizontal lines use the banner highlight's hand-drawn blue line.
  The second selector beats the grey line CKEditor adds in the editor.
*/
hr,
.ck-content .ck-horizontal-line hr {
  height: 0.75rem;
  margin-block: var(--spacing-larger, 2rem);
  border: 0;
  background: url("../../assets/blue-line.svg") center / 100% 100% no-repeat;
}

/* The 'Summary text' style. An intro paragraph, larger than body text. */
p.summary {
  font-size: var(--font-size-large);
}

/*
  The 'Eyebrow' style. A small pink tag to match the buttons, with dark text
  so it reads on every page section background.
*/
p.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #fa2cde;
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.alert {
  font-size: var(--font-size);
}