/**
 * NEB — piel global (tipografia, logo, retoques de cabecera/pie).
 * Los colores base salen de generate_settings (global_colors); aqui solo
 * lo que GP no cubre por ajuste.
 */

:root {
  --neb-black: #0D0D0D;
  --neb-panel: #141414;
  --neb-off: #F2F0EB;
  --neb-acid: #C8FF00;
  --neb-alert: #FF4D1A;
  --neb-border: #2A2A2A;
  --neb-muted: #7A7A74;
}

/* ---------- Tipografia ---------- */
body,
input, select, textarea,
.entry-content {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.main-title,
.site-title,
.entry-title,
.widget-title,
.main-navigation a,
.menu a,
button, .button,
input[type="submit"],
.wp-block-button__link {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.main-title, .entry-title { font-weight: 900; letter-spacing: -0.01em; }

.main-navigation a,
.menu a,
button, .button,
input[type="submit"],
.wp-block-button__link {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.entry-meta, .post-meta, .comment-meta,
figcaption, .wp-element-caption,
.pll-switcher-dropdown, small {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.02em;
}

/* ---------- Logo (badge enmascarado, hereda currentColor) ---------- */
.site-branding { display: flex; align-items: center; gap: 0.65rem; }

.main-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.main-title a::before {
  content: "";
  flex: 0 0 auto;
  /* mismo tamano que el badge de NEC (150x150, sin encoger en movil) */
  width: 150px;
  height: 150px;
  background-color: currentColor;
  -webkit-mask: url("../neb-logo.svg") center / contain no-repeat;
  mask: url("../neb-logo.svg") center / contain no-repeat;
}
.main-navigation.sticky-navigation-transition .main-title a::before,
.site-header .main-title a::before { color: var(--neb-off); }
.main-title a:hover::before { color: var(--neb-acid); }

/* ---------- Cabecera / navegacion ---------- */
.site-header { border-bottom: 1px solid var(--neb-border); }

.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li[class*="current-menu"] > a { color: var(--neb-acid); }

.sticky-navigation-transition,
.main-navigation.navigation-stick { background-color: var(--neb-black) !important; }

.navigation-search input[type="search"] {
  background: var(--neb-black);
  color: var(--neb-off);
  border: 1px solid var(--neb-border);
}

/* selector de idioma en el menu */
.main-navigation .menu-item-language img.country-flag { vertical-align: middle; margin-right: 0.4rem; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--neb-border); }

.footer-bar .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-bar .menu a {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neb-off);
  text-decoration: none;
}
.footer-bar .menu a:hover,
.footer-bar .menu .current-menu-item > a { color: var(--neb-acid); }

.site-info { color: var(--neb-muted); }
.site-info a { color: var(--neb-muted); }
.site-info a:hover { color: var(--neb-acid); }

@media (max-width: 768px) {
  .footer-bar .menu { justify-content: center; }
}

/* ---------- Foco accesible ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--neb-acid);
  outline-offset: 2px;
}

/* ---------- Marcador de contenido pendiente ---------- */
.entry-content > p:only-child { color: var(--neb-muted); }
