/* Editorial light footer — shared across the site. */
.site-footer.site-footer--editorial {
  --footer-ink: #0c1734;
  --footer-muted: #586174;
  --footer-line: #cbd0d6;
  position: relative;
  overflow: hidden;
  background: #f7f6f0;
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  font-family: var(--font-secondary, Inter, Arial, sans-serif);
}

.site-footer--editorial .footer-editorial-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  border-left: 1px solid var(--footer-line);
  border-right: 1px solid var(--footer-line);
}

.site-footer--editorial .footer-editorial-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(4, minmax(140px, 1fr));
  min-height: 386px;
  border-bottom: 1px solid var(--footer-line);
}

.site-footer--editorial .footer-brand-panel,
.site-footer--editorial .footer-link-column {
  min-width: 0;
  padding: 30px 28px 24px;
}

.site-footer--editorial .footer-link-column {
  border-left: 1px solid var(--footer-line);
}

.site-footer--editorial .footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.site-footer--editorial .footer-logo-img {
  width: min(190px, 100%);
  height: auto;
  display: block;
}

.site-footer--editorial .footer-brand-tagline {
  max-width: 280px;
  margin: 0 0 10px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.58;
}

.site-footer--editorial .footer-mail-link,
.site-footer--editorial .footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--footer-ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-footer--editorial .footer-mail-link:hover,
.site-footer--editorial .footer-phone-link:hover,
.site-footer--editorial .footer-link-column a:hover {
  color: #366cc7;
}

.site-footer--editorial .footer-mail-link i {
  font-size: 14px;
}

.site-footer--editorial .footer-address {
  display: block;
  margin: 12px 0 4px;
  color: var(--footer-muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.6;
}

.site-footer--editorial .footer-address strong {
  display: block;
  margin-bottom: 3px;
  color: var(--footer-ink);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer--editorial .footer-link-column h2 {
  margin: 0 0 22px;
  color: var(--footer-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer--editorial .footer-link-column a {
  display: block;
  width: fit-content;
  margin: 0 0 13px;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.25;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-footer--editorial .footer-link-column a:hover {
  transform: translateX(3px);
}

.site-footer--editorial .footer-editorial-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: max-content max-content max-content;
  justify-content: center;
  column-gap: 78px;
  align-items: center;
  min-height: 104px;
  border-bottom: 1px solid var(--footer-line);
}

.site-footer--editorial .footer-trust-copy,
.site-footer--editorial .footer-copyright-text {
  margin: 0;
  padding: 0;
  color: var(--footer-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.site-footer--editorial .footer-trust-copy span {
  display: block;
  margin-bottom: 3px;
  color: var(--footer-ink);
  font-weight: 700;
}

.site-footer--editorial .footer-copyright-text {
  border-left: 0;
}

.site-footer--editorial .footer-social-pill {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--footer-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.site-footer--editorial .footer-social-pill::before,
.site-footer--editorial .footer-social-pill::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 28px;
  background: var(--footer-line);
  transform: translateY(-50%);
}

.site-footer--editorial .footer-social-pill::before {
  left: -40px;
}
.site-footer--editorial .footer-social-pill::after {
  right: -40px;
}

.site-footer--editorial .footer-social-pill a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #fff;
  background: var(--footer-ink);
  border-radius: 50%;
  font-size: 13px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.site-footer--editorial .footer-social-pill a:hover {
  background: #366cc7;
  color: #fff;
  transform: translateY(-2px);
}

.site-footer--editorial .footer-wordmark {
  position: relative;
  z-index: 0;
  margin: 0 -5px -20px;
  color: rgba(12, 23, 52, 0.045);
  /* Sized from the footer width so the wordmark fills the full bottom band. */
  font-size: clamp(96px, 22vw, 300px);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 1050px) {
  .site-footer--editorial .footer-editorial-grid {
    grid-template-columns: minmax(220px, 1.3fr) repeat(3, 1fr);
  }
  .site-footer--editorial .footer-link-column--last {
    border-top: 1px solid var(--footer-line);
  }
  .site-footer--editorial .footer-editorial-grid > :nth-child(4) {
    border-top: 1px solid var(--footer-line);
  }
}

@media (max-width: 700px) {
  .site-footer--editorial .footer-editorial-inner {
    width: calc(100% - 28px);
  }
  .site-footer--editorial .footer-editorial-grid {
    display: block;
  }
  .site-footer--editorial .footer-brand-panel,
  .site-footer--editorial .footer-link-column {
    padding: 30px 23px;
    border-left: 0;
  }
  .site-footer--editorial .footer-link-column {
    border-top: 1px solid var(--footer-line);
  }
  .site-footer--editorial .footer-editorial-bottom {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 27px 0;
  }
  .site-footer--editorial .footer-trust-copy,
  .site-footer--editorial .footer-copyright-text {
    padding: 0 23px;
    text-align: left;
    border-left: 0;
  }
  .site-footer--editorial .footer-social-pill {
    justify-self: start;
    margin-left: 23px;
  }
  .site-footer--editorial .footer-social-pill::before,
  .site-footer--editorial .footer-social-pill::after {
    display: none;
  }
  .site-footer--editorial .footer-wordmark {
    font-size: 21vw;
    margin-bottom: -10px;
  }
}

/* ── Legal links bar ─────────────────────────────────────────
   Privacy / Terms / Refund / Disclaimer sit with the copyright
   line rather than in a content column — they are compliance
   links, not navigation. Colours match .footer-copyright-text
   (the footer renders on a light ground, #f7f6f0). */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  /* .footer-editorial-bottom is a grid, so width:100% would only fill the
       first column — span every track instead. Harmless if it becomes flex. */
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 23, 52, 0.1);
}

.footer-legal-links a {
  color: #586174;
  font-size: 11px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #0c1734;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-legal-links {
    gap: 5px 12px;
  }
}
