.calendar-footer {
  width: min(calc(100% - 40px), 1180px);
  margin: 42px auto 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #858890;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
}

.calendar-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.calendar-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #ddd9d3;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.calendar-footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.calendar-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.calendar-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #858890;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.calendar-footer-link:hover {
  color: #f3f1ee;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.calendar-footer-link[aria-current="page"] {
  color: #e7e3dd;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.09);
}

.calendar-footer-copy {
  margin: 0;
  text-align: right;
  color: #858890;
}

@media (max-width: 760px) {
  .calendar-footer {
    width: min(calc(100% - 28px), 1180px);
    margin-top: 32px;
    padding: 22px 0 6px;
  }

  .calendar-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .calendar-footer-brand {
    justify-self: center;
  }

  .calendar-footer-nav {
    gap: 2px 4px;
  }

  .calendar-footer-link {
    min-height: 38px;
    padding-inline: 9px;
  }

  .calendar-footer-copy {
    text-align: center;
    line-height: 1.55;
  }
}

@media (max-width: 390px) {
  .calendar-footer-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-footer-link {
    width: 100%;
  }
}
