.tr-info-bar {
  display: block;
  width: 100vw;
  max-height: 20rem;
  max-width: none;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  color: var(--tr-info-bar-color, #00519e);
  background: var(--tr-info-bar-bg, #d9ecfb);
  opacity: 1;
  transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease, margin 240ms ease;
}

.tr-info-bar.is-dismissing {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
}

.tr-info-bar,
.tr-info-bar * {
  box-sizing: border-box;
}

.tr-info-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: calc(100% - 3rem);
  max-width: 90rem;
  min-height: 2.5rem;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.tr-info-bar__icon,
.tr-info-bar__link-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.tr-info-bar__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.tr-info-bar__icon-svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.tr-info-bar__text {
  color: inherit;
}

.tr-info-bar__text p {
  margin: 0;
}

.tr-info-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: inherit;
  font: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  transition: color 160ms ease;
}

.tr-info-bar__link:hover,
.tr-info-bar__link:focus-visible {
  color: #00315f;
}

.tr-info-bar__link-svg {
  display: block;
  width: 1.25rem;
  height: 1.5rem;
}

.tr-info-bar__close {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transform: translateY(-50%);
}

.tr-info-bar__close:hover,
.tr-info-bar__close:focus-visible {
  background: transparent;
  color: #000000;
}

.tr-info-bar__close:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.125rem;
}

.tr-info-bar__close-svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 47.9375rem) {
  .tr-info-bar__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    justify-content: start;
    width: calc(100% - 3rem);
    padding: 0.75rem 0;
    text-align: left;
  }

  .tr-info-bar__text {
    text-align: left;
  }

  .tr-info-bar__link {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .tr-info-bar__close {
    position: static;
    grid-column: 3;
    grid-row: 1;
    transform: none;
  }
}
