/* ============================================================
   PART — Site Footer  (ported from the Fanorate design system)
   Navy 4-column block (brand + 3 link columns) above a thin
   legal strip. Inter throughout to match the design's chrome.

   Chrome-only shades (#cdd6e6, #7c8db0, #22365a, #0d1a2e) come
   straight from the design and have no semantic token.
   ============================================================ */
.wp-block-template-part{
  background: var(--color-accent);
}

.page-footer { width: 100%; }

.ed-footer {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-accent);
  color: #fff;
  padding: 40px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

/* ---------- Brand block ---------- */
.ed-footer .brand-block .wm {
  display: inline-block;
  height: 32px;
  aspect-ratio: 1500 / 213;
  background: url("../../img/Fanorate-white.svg") no-repeat left center / contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

/* Custom logo uploaded in Appearance → Footer: show the <img>, drop the SVG. */
.ed-footer .brand-block .wm--img {
  background: none;
  text-indent: 0;
  overflow: visible;
  width: auto;
  aspect-ratio: auto;
}
.ed-footer .brand-block .wm--img img {
  height: 100%;
  width: auto;
  display: block;
}
.ed-footer .brand-block p {
  font: 400 12px/1.55 var(--font-ui);
  color: #cdd6e6;
  margin: 10px 0 0;
  max-width: 280px;
}

/* ---------- Link columns ---------- */
.ed-footer h5 {
  font: 700 10px/1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7c8db0;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #22365a;
}
.ed-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font: 400 12px/1.9 var(--font-ui);
}
.ed-footer ul li a { color: #cdd6e6; text-decoration: none; }
.ed-footer ul li a:hover { color: var(--color-primary); }

/* ---------- Legal strip ---------- */
.ed-footer__law {

  background: #0d1a2e;
  
}
.ed-footer__law_inner{
  max-width: 1200px;
  margin: 0 auto;
color: #7c8db0;
  font: 400 11px/1.4 var(--font-ui);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
    padding: 10px 28px;
}
/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .ed-footer { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ed-footer .brand-block { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ed-footer { grid-template-columns: 1fr; gap: 24px; }
  .ed-footer__law { flex-direction: column; align-items: flex-start; gap: 6px; }
}
