/* Borderless Talent Hub - consistent footer styles
   Use this file as /assets/footer.css.
   Keep only one source of footer styling active to avoid page-to-page differences. */

.site-footer {
  width: calc(100% - 16px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 12% 78%, rgba(255,255,255,0.14) 0, rgba(255,255,255,0.14) 7%, rgba(255,255,255,0) 7.2%),
    radial-gradient(circle at 88% 20%, rgba(255,255,255,0.16) 0, rgba(255,255,255,0.16) 9%, rgba(255,255,255,0) 9.2%),
    linear-gradient(135deg, #0b2a57 0%, #123c78 34%, #0f4ea3 68%, #1b5fd6 100%);
  color: #ffffff;
  border-top: 0;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow:
    0 -1px 0 rgba(255,255,255,0.22) inset,
    0 -12px 32px rgba(11,42,87,0.10),
    0 0 18px rgba(15,78,163,0.14);
  padding: 3.25rem 0 2.35rem;
  box-sizing: border-box;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer .container {
  width: min(1450px, calc(100% - 88px));
  margin: 0 auto;
  padding: 0;
  max-width: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(620px, 1.2fr);
  gap: 2.2rem 6rem;
  align-items: end;
}

.footer-left,
.footer-right {
  min-width: 0;
}

.footer-brand {
  font-family: inherit;
  font-size: clamp(2.25rem, 2.55vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 .85rem;
  color: #ffffff;
}

.footer-tagline {
  margin: 0 0 2rem;
  font-family: inherit;
  font-size: clamp(1.05rem, 1.25vw, 1.45rem);
  font-weight: 400;
  line-height: 1.58;
  color: rgba(255,255,255,0.94);
  max-width: 760px;
}

.footer-copy {
  margin: 0;
  font-family: inherit;
  font-size: clamp(.95rem, 1vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.94);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: flex-end;
  align-self: end;
  width: 100%;
  padding-top: 0;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .22rem .55rem;
  line-height: 1.65;
  max-width: 100%;
  margin: 0;
}

.footer-links-row a,
.footer-links-row span {
  font-family: inherit;
  font-size: clamp(.92rem, .92vw, 1.15rem);
  line-height: 1.65;
}

.footer-links-row a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s ease;
  white-space: normal;
}

.footer-links-row a:hover {
  opacity: .84;
  text-decoration: underline;
}

.footer-links-row .sep {
  color: rgba(255,255,255,.5);
  font-weight: 400;
}

.footer-contact-row .label {
  color: rgba(255,255,255,.95);
  font-weight: 800;
  margin-right: .2rem;
}

.footer-top-row,
.footer-legal-row {
  width: 100%;
  max-width: none;
}

@media (min-width: 1181px) {
  .footer-top-row,
  .footer-legal-row {
    flex-wrap: nowrap;
  }

  .footer-top-row a,
  .footer-legal-row a {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .site-footer .container {
    width: min(100% - 40px, 1180px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    align-items: start;
  }

  .footer-right {
    gap: 1.1rem;
    align-self: start;
  }
}

@media (max-width: 760px) {
  .site-footer {
    width: calc(100% - 10px);
    border-radius: 16px 16px 0 0;
    padding: 2.55rem 0 2rem;
  }

  .site-footer .container {
    width: min(100% - 24px, 1180px);
  }

  .footer-brand {
    font-size: 2rem;
  }

  .footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.45rem;
  }

  .footer-links-row a,
  .footer-links-row span,
  .footer-copy {
    font-size: .95rem;
  }
}
