.theme-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-switch i {
  font-size: 18px;
  color: #999;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Modo claro activo */
body:not(.dark) .fa-sun-o {
  color: white;
  text-shadow: 0 0 8px rgba(245, 197, 24, 0.6);
}

/* Modo oscuro activo */
body.dark .fa-moon-o {
  color: #66b2ff;
  text-shadow: 0 0 8px rgba(102, 178, 255, 0.6); 
}
body.dark #remark42{
  background: #262626;
}

/* Switch */
.form-switch .form-check-input {
  cursor: pointer;
}
body.dark {
  background-color: #262626;
  color: #e0e0e0;
}
body.dark #p2 .p2-default-style {
  background: #272727;
  color: #e0e0e0;
}
body.dark .p1-default-style {
  background: #272727;
  color: #e0e0e0;
}
body.dark .article--card{
    background-color:#272727 ;
}
body.dark h3 > a{
    color: white;
}
body.dark h2 > a{
    color: white!important;
}
body.dark h4 > a{
    color: white;
}
body.dark h6{
    color: white;
}
body.dark h4 {
    color: white!important;
}
body.dark h1{
    color: white;
}
body.dark .text-epigrafe{
    color: white !important;
}
body.dark .footer-above{
    background: #121212;
}