/* ============================================================
   COLOFÓN — editorial footer / pie de edición.
   Mirrors the masthead (nameplate + running index), not the old
   generic two-column footer. Bespoke tokens (ink / night / ember).
   Responsible-gaming notice as TEXT — no 18+ badge.
   ============================================================ */

.colofon {
  border-top: 2px solid var(--rule-strong);
  background: var(--night-2);
  padding-block: clamp(40px, 6vw, 72px);
}

.colofon__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.colofon__brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 52ch;
}
.colofon__note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* running index — same language as the masthead nav */
.colofon__index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.colofon__index a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.18s ease;
}
.colofon__index a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  border-bottom: 1.5px solid var(--ember);
  transition: right 0.22s ease;
}
.colofon__index a:hover { color: var(--ink); }
.colofon__index a:hover::after { right: 0; }

/* base line — copyright + legal text */
.colofon__base {
  margin-top: clamp(2rem, 4vw, 3.2rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem 2rem;
  flex-wrap: wrap;
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ===== mobile ===== */
@media (max-width: 720px) {
  .colofon__main { flex-direction: column; gap: 2rem; }
  .colofon__brand { max-width: none; }
}

/* ---- WP: wp_nav_menu envuelve en <ul class="colofon_menu"> — la fila flex pasa al <ul> ---- */
.colofon__index > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.8rem;
}
