/*
 * CIMA Brand Footer 1.0.2
 * Keeps the Tax Branding Pro credit inside CIMA's native footer and also
 * carries the footer background through the mobile browser/nav spacer.
 */
.cima-tbp-credit {
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 9px;
  margin: 8px auto 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .035em;
  text-align: center;
  text-transform: none;
}

.cima-tbp-credit__powered,
.cima-tbp-credit__rights {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  opacity: .86;
}

.cima-tbp-credit__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 0;
  text-decoration: none !important;
  outline-offset: 3px;
}

.cima-tbp-credit__brand img {
  display: block;
  width: 142px;
  max-width: min(40vw, 142px);
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.cima-tbp-credit__brand:hover,
.cima-tbp-credit__brand:focus-visible {
  opacity: .84;
}

.cima-tbp-credit--on-dark {
  color: rgba(255,255,255,.90);
}

.cima-tbp-credit--on-light {
  color: rgba(16,49,43,.80);
}

/*
 * iPhone Safari can expose a reserved strip between the document footer and a
 * fixed bottom navigation dock when its bottom browser controls expand.
 * The page is not actually missing content; the body's background is showing.
 * Extend the real CIMA footer paint downward without adding layout height.
 */
@media (max-width: 782px) {
  .cima-tbp-footer-host {
    position: relative;
    overflow: visible !important;
    box-shadow: 0 180px 0 var(--cima-tbp-footer-bg, rgb(240, 248, 244)) !important;
  }

  .cima-tbp-credit {
    gap: 4px 7px;
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: .025em;
  }

  .cima-tbp-credit__brand img {
    width: 126px;
    max-width: 42vw;
  }
}
