img { max-width: 100%; height: auto; }
.wow { visibility: visible !important; animation: none !important; }
.parallax { background-position: center; background-size: cover; }
.parallax[data-site-background="unavailable"] { background-color: #85213b; color: #fff; }
.parallax[data-site-background="unavailable"] a { color: inherit; text-decoration: underline; }
.parallax[data-site-background="unavailable"] .list-group-item { color: #333; }
@media (max-width: 767px) {
  body, .page { min-width: 0; }
  body { padding-top: 0; }
  .table-responsive { overflow-x: auto; }
}

#financial-calculator {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 22px;
  border: 1px solid #85213b;
  border-radius: 6px;
  color: #222;
}
#financial-calculator::backdrop { background: rgb(0 0 0 / 55%); }
#financial-calculator h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.2; }
#financial-calculator label { display: block; margin-bottom: 10px; }
#financial-calculator label[hidden] { display: none; }
#financial-calculator input { display: block; width: 100%; padding: 5px 7px; border: 1px solid #777; }
#financial-calculator output { display: block; font-weight: bold; }

.reference-header {
  position: relative;
  z-index: 8;
  background: #fff;
}
.reference-header-inner {
  min-height: 106px;
  padding: 19px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.reference-brand {
  display: block;
  width: min(100%, 438px);
  min-width: 0;
}
.reference-brand img { display: block; width: 100%; }
.reference-header nav { background: #383838; }
.reference-header ul { list-style: none; margin: 0; padding: 0; }
.reference-header #site-navigation { display: flex; align-items: stretch; }
.reference-header nav a {
  display: block;
  padding: 20px clamp(13px, 2vw, 29px);
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.reference-header nav a:hover, .reference-header nav a[aria-current="page"] { background: #951e33; color: #fff; }
.reference-header a:focus-visible, .reference-menu:focus-visible, .reference-content a:focus-visible,
.reference-footer a:focus-visible { outline: 2px solid #c78300; outline-offset: -2px; }
.reference-header .reference-nav-group { position: relative; }
.reference-header .reference-nav-group > ul {
  display: none;
  position: absolute;
  z-index: 1;
  inset: 100% auto auto 0;
  min-width: 190px;
  background: #383838;
  box-shadow: 0 7px 15px #0003;
}
.reference-header .reference-nav-group > ul a { padding: 10px 16px; font-size: 14px; }
.reference-header .reference-nav-group:is(:hover, :focus-within) > ul { display: block; }
.reference-menu { display: none; }
.reference-content > :is(h1, p) {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}
.reference-content > h1 { padding-top: 36px; margin-block: 0 16px; }
.reference-content > p { margin-block: 0 14px; }
.reference-content > p:last-child { margin-bottom: 44px; }
.history-notice { background: #f7f7f7; border-bottom: 1px solid #e4e4e4; }
.history-notice-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 16px 16px;
  border-left: 4px solid #951e33;
}
.history-notice h2 { margin: 0 0 6px; color: #373737; font-size: 21px; line-height: 1.25; text-transform: none; }
.history-notice p { margin: 0 0 5px; color: #383838; font-size: 15px; line-height: 1.45; }
.history-notice p:last-child { margin-bottom: 0; }
.reference-content a { color: #871b30; text-underline-offset: 2px; }
.reference-content .history-official { font-weight: 650; }
.merger-banner { background: #101c39; }
.merger-banner a, .merger-banner picture, .merger-banner img { display: block; width: 100%; }
.reference-links { background: #efefef; }
.reference-tiles {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.reference-tiles > :is(a, div) {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  color: #386d73;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}
.reference-tiles a:hover strong { text-decoration: underline; }
.reference-tiles img { width: min(100%, 160px); }
.reference-page-context {
  width: min(1130px, calc(100% - 32px));
  margin: 12px auto;
  color: #58484e;
  font-size: 14px;
}
.reference-footer { background: #383838; color: #fff; padding: 27px 0; }
.reference-footer-inner { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.reference-footer h2 { margin: 0 0 10px; color: #fff; font-size: 18px; line-height: 1.25; text-transform: none; }
.reference-footer p { max-width: 90ch; margin: 0 0 10px; color: #f2f2f2; font-size: 14px; line-height: 1.55; }
.reference-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.reference-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; }
@media (max-width: 850px) {
  .reference-header-inner { min-height: 74px; padding: 12px 16px; }
  .reference-menu {
    display: block;
    padding: 7px 12px;
    border: 1px solid #951e33;
    border-radius: 3px;
    background: #fff;
    color: #951e33;
    font-weight: 650;
  }
  .reference-header #site-navigation { display: none; padding: 6px 0; }
  .reference-header #site-navigation[data-open] { display: block; }
  .reference-header nav a { white-space: normal; padding: 8px 16px; }
  .reference-header .reference-nav-group > ul { display: block; position: static; padding: 0 0 0 15px; box-shadow: none; }
  .reference-header .reference-nav-group > ul a { padding: 7px 16px; }
}
@media (max-width: 560px) {
  .reference-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-tiles img { width: min(100%, 115px); }
}

.reference-original-contact {
  color: #393939;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.reference-original-contact > span { font-weight: 650; }
.reference-original-contact .phonenumbers { margin: 2px 0 0; color: inherit; }
@media (max-width: 850px) {
  .reference-header-inner:has(.reference-original-contact) { flex-wrap: wrap; }
  .reference-header-inner:has(.reference-original-contact) .reference-brand { width: min(100% - 90px, 438px); }
  .reference-original-contact { order: 1; flex-basis: 100%; text-align: left; }
}
.home-resources img { max-width: min(140px, 45%); }
.former-site-footer-label { margin: 0; padding: 12px 20px; text-align: center; background: #f7f7f7; }
.former-site-footer .copyright { padding: 20px 16px; text-align: center; }
.former-site-footer .inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.former-site-footer .inline img { max-width: 110px; max-height: 65px; object-fit: contain; }

.site-title,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: #383838;
  background: #fff;
}
.reference-footer nav + p { margin-top: 16px; }
