/* ===========================================================================
   GLORY MEDALS — MOBILE CONTACT BAR COMPONENT
   ---------------------------------------------------------------------------
   The fixed bottom contact bar is rendered only below the mobile navigation
   breakpoint. Its responsive spacing belongs with this component.
   =========================================================================== */

.footer_phone_show {
  display: none;
}

.footer_phone {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--gm-light-card);
  box-shadow: 0 -6px 18px rgba(15, 17, 20, .08);
}

.footer_phone li {
  width: 33.333%;
  border-top: 1px solid var(--gm-light-border);
  border-right: 1px solid var(--gm-light-border);
}

.footer_phone li:nth-child(3) {
  border-right: 0;
}

.footer_phone a {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--gm-light-heading);
  font-family: var(--gm-font-heading);
  font-weight: var(--gm-weight-heading);
  text-decoration: none;
}

.footer_phone iconify-icon {
  color: var(--gm-gold);
  font-size: 20px;
}

.footer_phone p {
  margin: 0 0 0 8px;
  color: var(--gm-light-heading);
  font-family: var(--gm-font-heading);
  font-size: 13px;
  font-weight: var(--gm-weight-heading);
  line-height: 18px;
}

.footer_phone a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--gm-gold);
  outline-offset: -3px;
}

@media screen and (max-width: 959px) {
  .footer_phone_show {
    display: block;
  }

  footer {
    margin-bottom: calc(52px + env(safe-area-inset-bottom));
  }

  .footer_phone {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
