nav a[href='/stats/'] { display: none; }
nav a[href='/feeds/'] { display: none; }

/* Asegura que los badges no se expandan */
.footer-badge {
  width: 80px !important;
  height: 15px !important;
  max-width: none !important;
  display: inline-block;
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: top;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Evita que reglas globales tipo img { width:100% } sobrescriban */
p.footer-links img,
.site-footer img.footer-badge,
.footer img.footer-badge,
img.footer-badge {
  width: 80px !important;
  height: 15px !important;
  max-width: none !important;
}
.no-underline { text-decoration: none; }

/* Espaciado entre botones y © */
img.footer-badge {
  margin-top: 12px; /* o 8–10px si necesitas más espacio */
}

/* Menú del pie: mejor legibilidad sin crecer demasiado */
.footer-menu {
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: 0;
  font-weight: 400;
  text-align: center;
}

.footer-menu a {
  color: #666;   
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: #333;   
  text-decoration: underline;
}

/* Separadores */
.footer-menu .bar {
  margin: 0 0.35em;
  color: #8a8a8a;
}

.footer-menu .dot {
  margin: 0 0.25em;    /* margen lateral agregado */
  color: #8a8a8a;
}

/* Tema oscuro */
@media (prefers-color-scheme: dark) {
  .footer-menu a { color: #b8b8b8; }
  .footer-menu a:hover,
  .footer-menu a:focus-visible { color: #e6e6e6; }
  .footer-menu .bar,
  .footer-menu .dot { color: #9a9a9a; }
}

/* Evitar fundamenta.science solo en minúsculas */
p.footer-menu a[href*="fundamenta.science"] {
  text-transform: none !important;
}

/* Cuando el enlace del menú 'Estados' está activo, oculta título en la página */
body.pagina-estados .post-header .post-title {
  display: none;
}

/* Botón Ir arriba */
:root {
  --button-bg: #ccc;
  --button-color: #000;
  --progress-fill: #000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --button-bg: #444;
    --button-color: #eee;
    --progress-fill: #eee;
  }
}

#myBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background-color: var(--button-bg);
  color: var(--button-color);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 1000;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#myBtn:hover,
#myBtn:focus {
  background-color: var(--button-color);
  color: var(--button-bg);
  outline: none;
}

.scroll-btn__icon {
  position: absolute;
  pointer-events: none;
  user-select: none;
  font-weight: bold;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  z-index: 1;
}
.progress-ring__circle {
  transition: stroke-dashoffset 0.3s ease;
  transform-origin: 50% 50%;
  stroke-linecap: round;
}