/* The one site footer. Markup lives in src/components/site-footer.html and is
   rendered on every page — the homepage splices it in through index.astro, the
   internal pages through SiteFooter.astro — so this file is the only place the
   footer's rendering is maintained.

   The values are the homepage footer as it actually rendered (the captured
   acf_footer block plus the replica-override rules that reshaped it at
   desktop), so extracting it moved nothing. Self-contained on purpose: the
   internal pages don't load the theme stylesheet, so nothing here may lean on
   theme utilities or theme variables. */

/* MinionPro-It is an italic face. The theme registers it with font-style
   normal and uses it without the italic flag; PageLayout registers it italic.
   A private alias registered normal renders identically on both, with no
   synthetic oblique on top of the already-italic glyphs. */
@font-face {
  font-family: EFFootSerif;
  src: url('/wp-content/themes/dilate-wp-theme/assets/fonts/MinionPro-It.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

.ef-foot {
  position: relative;
  z-index: 0;
  background: #151313;
  color: #fff;
  font-family: InterRegular, Tahoma, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.ef-foot *, .ef-foot *::before, .ef-foot *::after { box-sizing: border-box; }

.ef-foot-grid {
  width: calc(100% - 60px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 68px 0 64px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-wrap: wrap;
}

.ef-foot-brand { width: 38%; }
.ef-foot-logo { display: block; }
.ef-foot-logo img { display: block; max-width: 100%; height: auto; }
.ef-foot-tagline {
  font-family: EFFootSerif, Garamond, serif;
  font-size: 29px;
  line-height: 1;
  color: #fff;
  margin-top: 24px;
}

/* Legal row: inline under the wordmark at desktop, centred bar below 1024 */
.ef-foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: InterMedium, Tahoma, Verdana, sans-serif;
  font-size: 12px;
  letter-spacing: .24px;
  color: #fff;
}
.ef-foot-legal p { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.ef-foot-legal a { color: inherit; text-decoration: none; }
.ef-foot-legal a:hover { text-decoration: underline; }
.ef-foot-pipe { width: 1px; height: 15px; background: #fff; margin: 0 8px; }
.ef-foot-legal-desktop { margin-top: 63px; }
.ef-foot-legal-bar { display: none; }

.ef-foot-explore {
  width: 20%;
  margin-left: auto;
  margin-right: 4%;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.ef-foot-explore ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ef-foot-explore a {
  font-family: BebasNeue, Impact, 'Arial Black', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c2c2c2;
  text-decoration: none;
  transition: color .3s;
}
.ef-foot-explore a:hover { color: #fff; text-decoration: underline; }

.ef-foot-info { width: 31%; display: flex; flex-direction: column; row-gap: 47px; }
.ef-foot-contact { display: flex; flex-direction: column; row-gap: 17px; }
.ef-foot-serif {
  font-family: EFFootSerif, Garamond, serif;
  font-size: 29px;
  color: #fff;
}
.ef-foot-serif a { color: inherit; text-decoration: none; }
.ef-foot-serif a:hover { text-decoration: underline; }

.ef-foot-ack { display: flex; flex-direction: column; row-gap: 18px; }
.ef-foot-ack svg { display: block; }
.ef-foot-ack-label {
  display: block;
  font-family: InterBold, Tahoma, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .2px;
  color: #fff;
}
.ef-foot-ack-copy {
  font-size: 12px;
  letter-spacing: .26px;
  line-height: 1.5;
  color: #c2c2c2;
  margin: 0;
}

@media (max-width: 1400px) {
  .ef-foot-tagline { font-size: 25px; }
}

@media (max-width: 1024px) {
  .ef-foot-grid { justify-content: space-between; }
  .ef-foot-brand { width: calc(45% - 30px); }
  .ef-foot-logo { display: flex; width: 100%; }
  .ef-foot-logo img { width: 100%; }
  .ef-foot-tagline { width: 100%; margin-top: 20px; }
  .ef-foot-info { width: calc(55% - 30px); }
  .ef-foot-explore { width: 100%; order: 5; margin: 40px 0 0; }
  .ef-foot-explore ul { flex-direction: row; flex-wrap: wrap; gap: 12px 30px; }
  .ef-foot-legal-desktop { display: none; }
  .ef-foot-legal-bar {
    display: flex;
    justify-content: center;
    width: calc(100% - 60px);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding: 30px 0 50px;
  }
}

@media (max-width: 767px) {
  .ef-foot-info { row-gap: 30px; }
  .ef-foot-contact { row-gap: 10px; }
  .ef-foot-serif { font-size: 24px; line-height: 1.2; }
}

@media (max-width: 600px) {
  .ef-foot-grid { padding-bottom: 30px; }
  .ef-foot-brand { width: 100%; }
  .ef-foot-logo { max-width: 400px; }
  .ef-foot-info { width: 100%; margin-top: 50px; }
  .ef-foot-legal-bar { row-gap: 5px; align-items: center; }
  .ef-foot-pipe { height: 10px; }
}

@media (max-width: 480px) {
  .ef-foot-grid { width: calc(100% - 40px); padding-top: 40px; }
  .ef-foot-logo { max-width: 320px; }
  .ef-foot-tagline { font-size: 20px; }
  .ef-foot-serif { font-size: 20px; }
  .ef-foot-legal-bar { width: calc(100% - 40px); }
}
