.site-footer {
  padding: 34px 0 18px;
  color: rgba(236, 255, 253, 0.83);
  background: #00575d;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-bottom: 24px;
}

.site-footer .footer-brand {
  align-self: center;
}

.site-footer .footer-brand .brand {
  display: inline-flex;
  align-items: flex-start;
}

.site-footer .footer-brand .brand img {
  display: block;
  width: 92px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-footer .footer-col h3 {
  margin: 4px 0 13px;
  color: #f5c84c;
  font-size: 14px;
  line-height: 1.4;
}

.site-footer .footer-col a {
  display: block;
  margin: 7px 0;
  color: rgba(236, 255, 253, 0.76);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer-col a:hover,
.site-footer .footer-col a:focus-visible {
  color: #f5c84c;
}

.site-footer .footer {
  margin-top: 0;
}

@media (max-width: 767px) {
  .site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-bottom: 20px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
    align-self: start;
  }
}

.footer {
  margin-top: 18px;
  padding: 18px 16px 6px;
  border-top: 1px solid rgba(236, 255, 253, 0.2);
  color: rgba(236, 255, 253, 0.88);
  font-size: clamp(11px, 1vw, 12px);
  line-height: 1.9;
  text-align: center;
  overflow-wrap: anywhere;
}

.footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #f5c84c;
  text-decoration: underline;
}

.footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid #f5c84c;
  outline-offset: 3px;
}

.footer .brand_link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 4px;
  white-space: nowrap;
}

.footer .brand_link img {
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 18px;
}

.footer a[href*="recordcode"] {
  margin-left: 8px;
}

@media (max-width: 767px) {
  .footer {
    margin-top: 16px;
    padding: 16px 8px 2px;
    font-size: 10px;
    line-height: 2;
  }

  .footer a:not(.brand_link) {
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer a {
    transition: none;
  }
}
