/* 首页页脚样式：控制底部学院标识、联系方式、版权信息和页脚背景。 */
.site-footer {
  position: relative;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.92);
  background: var(--color-primary);
}

.site-footer::before {
  content: none;
}

.footer-inner,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(360px, 700px) 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0 1.6rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-brand img {
  width: min(100%, 520px);
  height: auto;
  display: block;
  flex: 0 1 auto;
}

.footer-contact p {
  margin: 0;
}

.footer-contact {
  display: grid;
  gap: 0.75rem;
  justify-items: end;
  text-align: right;
}

.footer-contact p {
  line-height: 1.8;
}

.footer-contact strong {
  margin-right: 0.35rem;
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #d9efff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    width: 100%;
    justify-content: center;
  }

  .footer-brand img {
    width: min(100%, 440px);
  }

  .footer-contact {
    justify-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .footer-inner {
    padding: 2rem 0 1.35rem;
  }

  .footer-brand {
    padding-inline: 0.5rem;
  }

  .footer-brand img {
    width: min(100%, 320px);
  }

  .footer-contact {
    gap: 0.55rem;
  }
}
