.notice {
  --notice-background-color: white;
  --notice-title-color: #173f6c;
  --notice-text-color: black;
  --notice-link-background-color: white;

  background-color: var(--notice-background-color, white);
  padding: calc(30 / 16 * 1rem) calc(40 / 16 * 1rem) calc(35 / 16 * 1rem)
    calc(30 / 16 * 1rem);
  border-radius: calc(15 / 16 * 1rem);
  margin-bottom: calc(39 / 16 * 1rem);

  @media (min-width: calc(992/16 * 1rem)) {
    border-radius: calc(40 / 16 * 1rem);
    padding: calc(52 / 16 * 1rem) calc(80 / 16 * 1rem) calc(56 / 16 * 1rem)
      calc(50 / 16 * 1rem);
  }
}

.notice__title {
  color: var(--notice-title-color, #173f6c);
  font-family: 'Avenir', 'Mulish', 'Helvetica', sans-serif;
  font-size: calc(23 / 16 * 1rem);
  text-transform: capitalize;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2rem;
}

.notice__blurb {
  color: var(--notice-text-color, black);
  font-family: 'Avenir', 'Mulish', 'Helvetica', sans-serif;
  font-size: calc(19.2 / 16 * 1rem);
  letter-spacing: 0;
  line-height: calc(30 / 16 * 1rem);

  ul {
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
  }

  ol {
    list-style-type: decimal;
  }


  p:first-child {
    margin-top: 0;
  }

  p:last-child {
    margin-bottom: 0;
  }

  a {
    background-color: var(--notice-background-color);
    background-image: linear-gradient(
      90deg,
      currentcolor 0%,
      currentcolor 100%
    );
    background-position: bottom center;
    background-repeat: repeat-x;
    background-size: 100% 2px;
    color: inherit;
    display: inline;
    /* padding-inline: 2px; */
    padding: 2px 3px 1px;
    box-decoration-break: clone;
    transition: background-color 0.2s ease-in-out;

    &:link {
      background-color: var(--notice-background-color);
    }

    &:hover,
    &:focus,
    &:active {
      background-color: var(--notice-link-background-color);
    }

    &:focus,
    &:active {
      background-image: linear-gradient(
          90deg,
          currentcolor 0%,
          currentcolor 100%
        ),
        linear-gradient(90deg, currentcolor 0%, currentcolor 100%);
      background-position: bottom center, top center;
    }
  }
}

.notice--style--white {
  --notice-background-color: white;
  --notice-link-background-color: var(--accent-purple-25);
}

.notice--style--green {
  --notice-background-color: #e2f1df;
}

.notice--style--blue {
  --notice-background-color: #c9cfe8;
}

.notice--style--red {
  --notice-background-color: #e31a4c;
  --notice-title-color: white;
  --notice-text-color: white;
  --notice-link-background-color: #b31257;
}
