.portal-footer {
  margin-top: 26px;
  background: #0c2f57;
  color: #d9e6f4;
  max-width: calc(1320px - 28px);
  margin-left: auto;
  margin-right: auto;
}

.portal-footer-inner {
  max-width: none;
  margin: 0;
  padding: 16px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portal-footer h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 0.95rem;
}

.portal-footer p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.portal-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-footer-links li {
  margin: 0 0 6px;
}

.portal-footer-qr {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.portal-footer-qrcode {
  display: block;
  width: 120px;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px;
}

.portal-footer-bottom {
  max-width: none;
  margin: 0;
  padding: 10px 14px 14px;
  color: #b8cfe6;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .portal-footer-inner {
    grid-template-columns: 1fr;
  }

  .portal-footer-qr {
    justify-content: flex-start;
  }
}
