/* The public theme declares important brand colors in the "marca" cascade layer. */
@media screen {
  @layer marca {
    html body,
    html body :where(*),
    html body .cms-header,
    html body .cms-header * {
      color: #fff !important;
    }

    html body .cms-brand img {
      filter: brightness(0) invert(1) !important;
      opacity: 1 !important;
    }

    html body ::placeholder {
      color: #fff !important;
      opacity: 1;
    }

    html body ::selection {
      background-color: #fff !important;
      color: #111 !important;
      text-shadow: none !important;
    }

    html body :focus-visible {
      outline-color: #fff !important;
    }

    html body .project-viewer button,
    html body .editorial-original :is(span, div)[class*="bg-amber"]:not(:has(> svg)) {
      background-color: #171717 !important;
      color: #fff !important;
    }

    html body :is(button, .cms-cta, input[type="submit"]) {
      background-color: #171717 !important;
      border-color: #888 !important;
    }

    html body :is(button, .cms-cta, input[type="submit"]):is(:hover, :active, [aria-pressed="true"]) {
      background-color: #333 !important;
      border-color: #fff !important;
    }

    html body .c24-projects-modern .open,
    html body dialog.legal-dialog,
    html body dialog.legal-dialog button,
    html body .nosotros-contenido :is(section, .flow div, .gallery, .oficios, .stats) {
      border-color: #777 !important;
    }

    html body :is(.cms-header, .c24-projects-modern) nav a[aria-current] {
      border-color: #fff !important;
    }

    html body .c24-projects-modern .draft {
      background-color: #343434 !important;
    }
  }

  html body {
    --c24-neon: #fff;
    --design-ink: #fff;
    --design-muted: #fff;
    --foreground: #fff;
    --primary: #fff;
    accent-color: #fff;
  }
}
