body {
  margin: 0;
  padding: 0;
  background-color: #000;
}

.blog-article {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #111;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.blog-article h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #00d4ff;
  text-align: center;
}

.blog-article p {
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
}

.blog-article a {
  color: #00d4ff;
  text-decoration: underline;
}

/* Azul especial para palabras clave */
.highlight {
  color: #00d4ff;
  font-weight: bold;
}

/* Enlace YouTube visual */
.video-link {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin: 2rem 0;
  border-radius: 10px;
}

.video-link iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Botón volver */
.back-button-container {
  margin-top: 3rem;
  text-align: center;
}

.btn-back {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background-color: #00d4ff;
  color: white !important; /* 👈 Esto es lo que faltaba */
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-back:hover {
  transform: scale(1.05);
  background-color: #00b8e6;
}


/* Footer ya incluido previamente */
.site-footer {
  background-color: #0a0a0a;
  color: white;
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-content h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00d4ff;
}

.footer-social a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #00d4ff;
  transform: rotate(10deg) scale(1.2);
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .blog-article {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }

  .blog-article h1 {
    font-size: 1.6rem;
  }

  .blog-article p {
    font-size: 1rem;
  }

  .video-link a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-back {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.6rem;
  }
}
