/* footer.css
   Split from the previous shared stylesheet to match the PriLink Digital CSS structure. */

.site-footer {
  color: #dce9ef;
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 36px;
  padding: 54px 0;
}

.site-footer h3,
.site-footer h4 {
  color: white;
  margin: 0 0 14px;
}

.site-footer p,
.site-footer li {
  color: #b7c7cf;
  line-height: 1.7;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-pages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-hiring {
  grid-column: 1;
  justify-self: start;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: #a9bbc4;
  font-size: 0.88rem;
  text-align: center;
}

.footer-bottom a {
  color: white;
  font-weight: 800;
}

.footer-hiring a {
  display: inline;
  width: auto;
  min-height: 0;
  padding: 0;
  color: var(--gold);
  background: transparent;
  border-radius: 0;
  font-weight: inherit;
  white-space: nowrap;
}

.footer-separator {
  color: #718894;
}

@media (max-width: 900px) {
  .footer-inner {
    display: block;
  }

  .footer-inner > :first-child {
    display: none;
  }

  .footer-inner > div + div {
    margin-top: 0;
  }

  .footer-inner > :nth-child(3) {
    margin-top: 34px;
  }

  .footer-inner > div,
  .footer-inner ul {
    text-align: left;
  }

  .footer-inner ul {
    justify-items: start;
  }

  .footer-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 320px;
    margin: 0;
  }
}
