/*
 * TOP-only fixes.
 * Loaded from wp_head at PHP_INT_MAX so AFFINGER and migrated Additional CSS
 * cannot enlarge or recolor the campaign card after these declarations.
 */

html body .anlp .anlp-october-notice {
  display: block !important;
  box-sizing: border-box !important;
  width: calc(100% - 40px) !important;
  max-width: 640px !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 18px auto 24px !important;
  padding: 26px 28px 22px !important;
  border: 3px solid #ff9900 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #16202a !important;
  text-align: center !important;
  align-content: normal !important;
  align-items: normal !important;
  justify-content: normal !important;
  gap: 0 !important;
}

html body .anlp .anlp-october-notice__badge {
  display: inline-block !important;
  margin: 0 0 14px !important;
  padding: 8px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ed7600 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

html body .anlp p.anlp-october-notice__lead {
  margin: 0 0 7px !important;
  padding: 0 !important;
  color: #64707d !important;
  -webkit-text-fill-color: #64707d !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/*
 * WordPress wpautop wraps the amount/action pair in a paragraph and inserts
 * two direct-child BR elements. Those BRs create two unwanted line boxes,
 * making this card much taller than the same campaign card on the income page.
 * Keep the intentional BR inside the amount itself, but suppress only the
 * wrapper paragraph's generated spacing and BRs.
 */
html body .anlp .anlp-october-notice > p:not(.anlp-october-notice__lead) {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

html body .anlp .anlp-october-notice > p:not(.anlp-october-notice__lead) > br {
  display: none !important;
}

html body .anlp strong.anlp-october-notice__amount {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #16202a !important;
  -webkit-text-fill-color: #16202a !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em !important;
}

html body .anlp .anlp-october-notice__amount > span {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font: inherit !important;
  white-space: nowrap !important;
}

html body .anlp a.anlp-october-notice__action {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 16px 0 0 !important;
  padding: 14px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #ead5b0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #d96800 !important;
  -webkit-text-fill-color: #d96800 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

html body .anlp .anlp-h1-mobile-line {
  display: inline !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font: inherit !important;
}

@media (max-width: 600px) {
  html body .anlp .anlp-october-notice {
    width: calc(100% - 32px) !important;
    margin: 16px auto 24px !important;
    padding: 16px 16px 14px !important;
  }

  html body .anlp .anlp-october-notice__badge {
    margin-bottom: 10px !important;
    padding: 7px 16px !important;
    font-size: 14px !important;
  }

  html body .anlp p.anlp-october-notice__lead {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  html body .anlp strong.anlp-october-notice__amount {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  html body .anlp a.anlp-october-notice__action {
    margin-top: 10px !important;
    padding-top: 9px !important;
    font-size: 14px !important;
  }

  html body .anlp .anlp-hero__copy h1 {
    font-size: 27px !important;
    line-height: 1.28 !important;
    letter-spacing: -.035em !important;
  }

  html body .anlp .anlp-hero__copy h1 .anlp-heading-accent {
    display: block !important;
    margin-top: 4px !important;
    font-size: inherit !important;
  }

  html body .anlp .anlp-h1-mobile-line {
    display: block !important;
    font-size: inherit !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 360px) {
  html body .anlp .anlp-hero__copy h1 {
    font-size: 25px !important;
  }
}
