/* Photora footer override inspired by the CACE SCIMPA mobile footer pattern. */
.site-footer {
  align-items: start !important;
  background:
    radial-gradient(circle at 16% -10%, rgba(47, 102, 219, 0.25), transparent 34%),
    linear-gradient(180deg, #09264f 0%, #061b39 55%, #03152d 100%) !important;
  border-top: 6px solid #f2b632 !important;
  color: #eaf3ff !important;
  display: grid !important;
  gap: 30px clamp(24px, 4vw, 70px) !important;
  grid-template-columns: minmax(280px, 1.25fr) repeat(2, minmax(170px, 0.6fr)) !important;
  padding: clamp(34px, 5vw, 68px) clamp(22px, 5vw, 78px) 34px !important;
  text-align: left !important;
}

.site-footer::before,
.site-footer .social-icon {
  display: none !important;
}

.site-footer .footer-brand {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(224, 237, 255, 0.15) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 14px !important;
  grid-row: span 2 !important;
  justify-items: start !important;
  padding: 18px !important;
}

.site-footer .footer-logo {
  align-items: center !important;
  display: inline-flex !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  width: auto !important;
}

.site-footer .footer-logo .brand-logo {
  height: 54px !important;
  width: 54px !important;
}

.site-footer .footer-logo .brand-text {
  color: #ffffff !important;
  font-size: 1.18rem !important;
  letter-spacing: 0.28em !important;
  opacity: 1 !important;
}

.site-footer .footer-brand > div {
  display: grid !important;
  gap: 12px !important;
  justify-items: start !important;
  max-width: 470px !important;
  text-align: left !important;
}

.site-footer .footer-brand > div span {
  color: #d9e7fb !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
}

.site-footer .footer-brand > div > a {
  color: #f5c95a !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.site-footer .footer-social-rail {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
  margin-top: 2px !important;
}

.site-footer .footer-social-rail a {
  align-items: center !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(224, 237, 255, 0.14) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  height: 38px !important;
  justify-content: center !important;
  letter-spacing: 0 !important;
  min-width: 38px !important;
  padding: 0 11px !important;
  text-transform: none !important;
}

.site-footer .footer-links,
.site-footer .footer-company {
  display: grid !important;
  gap: 10px !important;
  justify-items: start !important;
  margin: 0 !important;
  text-align: left !important;
}

.site-footer .footer-social {
  display: none !important;
}

.site-footer .footer-links > span,
.site-footer .footer-company > span {
  color: #ffffff !important;
  font-size: 1.02rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  margin: 0 0 2px !important;
  opacity: 1 !important;
  text-transform: none !important;
}

html body footer.site-footer .footer-links > span,
html body footer.site-footer .footer-company > span {
  color: #f5c95a !important;
}

.site-footer .footer-links a,
.site-footer .footer-company a {
  color: #c8d6ed !important;
  font-size: 0.95rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  padding: 0 !important;
  text-align: left !important;
}

.site-footer .footer-links a:hover,
.site-footer .footer-company a:hover,
.site-footer .footer-brand a:hover,
.site-footer .footer-social-rail a:hover {
  color: #f5c95a !important;
}

.site-footer .footer-copy {
  border-top: 1px solid rgba(224, 237, 255, 0.14) !important;
  color: #aebddb !important;
  font-size: 0.92rem !important;
  grid-column: 1 / -1 !important;
  margin: 6px 0 0 !important;
  padding-top: 20px !important;
  text-align: left !important;
}

@media (max-width: 760px) {
  body .site-footer {
    gap: 24px !important;
    grid-template-columns: 1fr !important;
    padding: 24px 16px 96px !important;
  }

  body .site-footer .footer-brand {
    border-radius: 22px !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    padding: 18px !important;
  }

  body .site-footer .footer-logo .brand-logo {
    height: 50px !important;
    width: 50px !important;
  }

  body .site-footer .footer-logo .brand-text {
    font-size: 1.08rem !important;
    letter-spacing: 0.22em !important;
  }

  body .site-footer .footer-brand > div span {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
  }

  body .site-footer .footer-social-rail {
    gap: 8px !important;
  }

  body .site-footer .footer-social-rail a {
    border-radius: 11px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 10px !important;
  }

  body .site-footer .footer-links,
  body .site-footer .footer-company {
    gap: 8px !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }

  body .site-footer .footer-links > span,
  body .site-footer .footer-company > span {
    font-size: 1rem !important;
  }

  body .site-footer .footer-links a,
  body .site-footer .footer-company a {
    font-size: 0.95rem !important;
  }

  body .site-footer .footer-copy {
    font-size: 0.82rem !important;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    line-height: 1.45 !important;
    padding-top: 16px !important;
  }
}

@media (max-width: 760px) {
  html body footer.site-footer > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}
