.g-footerlegal {
  --footerlegal-line: rgba(255, 255, 255, 0.14);
  --footerlegal-text: rgba(255, 255, 255, 0.82);
  --footerlegal-muted: rgba(255, 255, 255, 0.62);
  box-sizing: border-box;
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
}

.g-footerlegal__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
}

.g-footerlegal--separator .g-footerlegal__inner {
  border-top: 1px solid var(--footerlegal-line);
}

.g-footerlegal p {
  margin: 0;
  font-size: clamp(0.76rem, 1vw, 0.86rem);
  line-height: 1.65;
}

.g-footerlegal__copyright {
  color: var(--footerlegal-text);
  font-weight: 600;
}

.g-footerlegal__operator {
  color: var(--footerlegal-muted);
  font-weight: 400;
}

html[data-theme="light"] #g-footer .g-footerlegal,
body.theme-light #g-footer .g-footerlegal {
  --footerlegal-line: rgba(15, 32, 56, 0.14);
  --footerlegal-text: rgba(15, 32, 56, 0.84);
  --footerlegal-muted: rgba(15, 32, 56, 0.65);
}

/* The global footer typography is loaded after particle assets. Keep the
   legal copy readable when the light footer palette is active. */
html[data-theme="light"] #g-footer .g-footerlegal__copyright,
body.theme-light #g-footer .g-footerlegal__copyright {
  color: rgba(15, 32, 56, 0.88) !important;
}

html[data-theme="light"] #g-footer .g-footerlegal__operator,
body.theme-light #g-footer .g-footerlegal__operator {
  color: rgba(15, 32, 56, 0.68) !important;
}

html[data-theme="light"] #g-footer .g-footerlegal--separator .g-footerlegal__inner,
body.theme-light #g-footer .g-footerlegal--separator .g-footerlegal__inner {
  border-top-color: rgba(15, 32, 56, 0.14) !important;
}

html[data-theme="dark"] #g-footer .g-footerlegal,
body.theme-dark #g-footer .g-footerlegal {
  --footerlegal-line: rgba(255, 255, 255, 0.14);
  --footerlegal-text: rgba(255, 255, 255, 0.82);
  --footerlegal-muted: rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] #g-footer .g-footerlegal__copyright,
body.theme-dark #g-footer .g-footerlegal__copyright {
  color: rgba(255, 255, 255, 0.82) !important;
}

html[data-theme="dark"] #g-footer .g-footerlegal__operator,
body.theme-dark #g-footer .g-footerlegal__operator {
  color: rgba(255, 255, 255, 0.62) !important;
}

@media (max-width: 47.99rem) {
  .g-footerlegal {
    padding-inline: 1rem;
  }

  .g-footerlegal__inner {
    text-align: left;
  }

  .g-footerlegal__operator {
    margin-top: 0.3rem;
  }
}
