/* LEAP footer — light corporate layout (sitewide via base.html) */

.further-reading {
  background: #f6f6fa !important;
  border-top: 1px solid #e6e7ee !important;
  border-bottom: 1px solid #e6e7ee !important;
  padding: 72px 32px !important;
  font-family: Inter, system-ui, sans-serif;
}
.further-reading::before {
  content: "Further reading";
  display: block;
  max-width: 1240px;
  margin: 0 auto 24px;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0b1020;
}
.further-reading__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e6e7ee;
}
.further-reading__grid > * {
  padding: 26px 28px 0 0;
  min-width: 0;
}
.further-reading__grid > * + * {
  padding-left: 28px;
  border-left: 1px solid #e6e7ee;
}
.further-reading__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4081d1;
  margin-bottom: 16px;
  text-decoration: none;
}
.further-reading__heading::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #4081d1;
  flex: none;
}
a.further-reading__heading:hover {
  color: #2f6bb8;
}
.further-reading__link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #1a1f33;
  text-decoration: none;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #e6e7ee;
  transition: color 0.15s;
}
.further-reading__link:hover {
  color: #4081d1;
}
.further-reading__empty {
  font-size: 0.9rem;
  color: #6b7085;
}

/* ── Footer shell ── */
footer.footer {
  background: #f3f4f6 !important;
  background-image: none !important;
  border-top: 1px solid #e0e2ea !important;
  padding: 0 32px 32px !important;
  color: #3d4257;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  isolation: auto;
}
footer.footer::before,
footer.footer::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
footer.footer a {
  color: #1a1f33;
  text-decoration: none;
  transition: color 0.15s;
}
footer.footer a:hover {
  color: #4081d1;
}

footer.footer .footerInner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Main 4-column grid ── */
footer.footer .footerGrid {
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr 1.05fr !important;
  gap: 40px 48px !important;
  padding: 56px 0 48px !important;
  border-bottom: 1px solid #e0e2ea;
}

footer.footer .footerLogo img {
  height: 42px !important;
  width: auto;
  display: block;
}
footer.footer .footerWordmark {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0b1020;
  line-height: 1;
}

footer.footer .footerAbout {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #3d4257 !important;
  margin: 18px 0 20px !important;
  max-width: 320px;
}

footer.footer .footerCol h4,
footer.footer .footerLocCol h4 {
  display: block !important;
  color: #0b1020 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
}

footer.footer .footerLinks {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.footer .footerLinks li {
  padding: 5px 0 !important;
  margin: 0 !important;
}
footer.footer .footerLinks a {
  font-size: 0.9rem;
  color: #1a1f33;
  font-weight: 400;
}
footer.footer .footerLinks a:hover {
  color: #4081d1;
}
footer.footer .footerBrowseAll {
  color: #4081d1 !important;
  font-weight: 600 !important;
  margin-top: 4px;
  display: inline-block;
}
footer.footer .footerBrowseAll:hover {
  color: #2f6bb8 !important;
}

/* Social icons — brand column */
footer.footer .footerFollow {
  margin: 0;
}
footer.footer .footerSocials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 !important;
}
footer.footer .footerSocialLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #fff !important;
  border: 1px solid #d8dbe6 !important;
  color: #0b1020 !important;
  box-shadow: none !important;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
footer.footer .footerSocialLink svg {
  width: 17px;
  height: 17px;
  display: block;
}
footer.footer .footerSocialLink:hover {
  color: #4081d1 !important;
  border-color: #4081d1 !important;
  transform: translateY(-1px);
  background: #fff !important;
}
footer.footer .footerSocialLink.social-yt {
  display: none;
}

/* Partner card */
footer.footer .footerPartnerCol {
  align-self: start;
}
footer.footer .footerPartnerCard {
  background: #fff;
  border: 1px solid #e0e2ea;
  border-radius: 8px;
  padding: 22px 22px 24px;
  border-top: 3px solid #4081d1;
  box-shadow: 0 1px 3px rgba(11, 16, 32, 0.04);
}
footer.footer .footerPartnerCard h4 {
  margin-bottom: 12px !important;
}
footer.footer .footerPartnerText {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #3d4257 !important;
  margin: 0 0 18px !important;
}
footer.footer .footerPartnerBtn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px !important;
  border-radius: 4px !important;
  border: 0 !important;
  background: #0b1020 !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-align: center;
  transition: background 0.2s;
}
footer.footer .footerPartnerBtn:hover {
  background: #1a1f33 !important;
  color: #fff !important;
}

/* ── Contact & locations row ── */
footer.footer .footerLocations {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 32px 40px;
  padding: 40px 0 44px;
  border-bottom: 1px solid #e0e2ea;
}
footer.footer .footerLocCol p,
footer.footer .footerContactList li {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #3d4257;
  margin: 0;
}
footer.footer .footerContactList {
  list-style: none;
  margin: 0;
  padding: 0;
}
footer.footer .footerContactList li + li {
  margin-top: 8px;
}
footer.footer .footerLocLines p + p {
  margin-top: 2px;
}

/* ── Bottom bar ── */
footer.footer .footerBottom {
  max-width: none;
  padding: 22px 0 0 !important;
  border-top: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 0.78rem;
  color: #6b7085;
}
footer.footer .footerBottomLegal {
  flex: 1 1 280px;
  min-width: 0;
}
footer.footer .footerBottomLegal p {
  margin: 0 !important;
  color: #6b7085 !important;
  font-size: 0.78rem !important;
  line-height: 1.55;
}
footer.footer .footerBottomLegal p + p {
  margin-top: 4px !important;
}
footer.footer .footerBottomLinks {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: flex-end;
}
footer.footer .footerBottomLinks a {
  font-size: 0.78rem;
  color: #3d4257;
  white-space: nowrap;
}
footer.footer .footerBottomLinks a:hover {
  color: #4081d1;
}

/* Hidden newsletter (optional re-enable) */
footer.footer .footerNewsletter {
  display: none !important;
}

@media (max-width: 1060px) {
  .further-reading__grid {
    grid-template-columns: 1fr 1fr;
  }
  .further-reading__grid > *:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  footer.footer .footerGrid {
    grid-template-columns: 1fr 1fr !important;
  }
  footer.footer .footerLocations {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .further-reading {
    padding: 48px 16px !important;
  }
  .further-reading::before {
    font-size: 1.5rem;
  }
  .further-reading__grid {
    grid-template-columns: 1fr;
  }
  .further-reading__grid > *,
  .further-reading__grid > * + * {
    padding: 24px 0 0;
    border-left: 0;
  }
  footer.footer {
    padding: 0 16px 24px !important;
  }
  footer.footer .footerGrid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 40px 0 32px !important;
  }
  footer.footer .footerLocations {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0;
  }
  footer.footer .footerBottomLinks {
    margin-left: 0;
    justify-content: flex-start;
  }
}
