.nombre {
    color: white;
    font-family: "Orbitron", serif;
    font-weight: bold;
    font-size: 5vw;
    font-optical-sizing: auto;
    display: flex;
    justify-content: center;
  }

 @media screen and (max-width: 600px){
     .nombre {
    color: white;
    font-family: "Orbitron", serif;
    font-weight: bold;
    font-size: 10vw;
    font-optical-sizing: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
  }
 }

main {
    background: linear-gradient(to bottom, rgba(10,14,48,0.9), rgba(0,0,0,0.8)), 
                url(https://www.kyunix.com/wp-content/uploads/2025/07/intro-bg__home.jpg);
    background-size: cover;
    padding-top: 20px;
    padding-bottom: 20px;
}
 
strong {
    color: #6ac7ff;
}
  
.fondopag {
        background: url(https://www.kyunix.com/wp-content/uploads/2025/01/johny-goerend-Oz2ZQ2j8We8-unsplash.jpg);
    background-size: cover;
    background-color: rgba(10,14,48,0.8);
    background-blend-mode: darken;
    padding-top: 20px;
    padding-bottom: 20px;
    
}
  
.test {
    gap: 10px;
    height: auto;
}

@media screen and (max-width: 600px) {
.test {
    flex-direction: column; /* Apilar los botones verticalmente */
    align-items: center;
    gap: 10px;
    height: auto;
}
}

.entryfooter {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #0a2747;
    margin-top: 10px;
    padding: 10px;
}

.index-entryfooter {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.barra {
  min-height: 50px;
  overflow: hidden;
  background-color: #042240;
  display: flex;
  align-items: center;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .barra {
    display: block;
}
}

.logos {
    margin-right: 5px;
  display: flex;
  gap: 5px
}

@media screen and (max-width: 600px){
.logos {
  display: none;
}
}

.content {
    text-align: justify;
    display: block;
    background-color: #091829;
    color: white;
    max-width: 900px;
    margin: auto;
    margin-top: 50px;
    margin-block: 50px;
    padding-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
    font-family: "Nunito", serif; 
}
  
@media screen and (max-width: 600px) {
    .content {
    text-align: justify;
    background-color: #091829;
    color: white;
    width: auto;
    margin-top: 15px;
    margin: auto;
    font-family: "Nunito", serif;  
    font-size: 15px;
    padding: 1%;
    }
  }
  
 .contenido {
     font-size: 20px;
 }
  
  @media screen and (max-width: 600px) {
   .contenido {
     font-size: 18px;
 }
 }
  
.content p {
    margin: 15px;
  }
 

.titulo {
   font-size: 30px;
   font-family: "Nunito", serif;
   font-weight: bold;
   text-align: center;
    
}
  
  .socialicon {
    padding: 20px;
  }
  
  .pagprincipal {
    color: white;
    font-size: 50px;
    font-family: "Poppins", serif; 
  }
  
@media screen and (max-width: 600px)  {
    .pagprincipal {
    color: white;
    font-size: 30px;
    font-family: "Poppins", serif; 
  }
}


  
  nav {
  background-color: #0a233d;
  height: 100%;
  font-family: "Poppins", serif;
  width: 100%;
}

@media screen and (max-width: 600px) {
 nav {
      width: 100%;
}
}
  
.topnav {
  min-height: 50px;
  overflow: hidden;
  background-color: #042240;
}
  
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
  
  .topnav .icon {
    display: none;
  }
  
  .dropdown {
    float: left;
    overflow: hidden;
  }
  
  .dropdown .dropbtn {
    font-size: 17px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #555555;
    color: white;
  }
  
  .dropdown-content a:hover {
    background-color: #dddddd;
    color: black;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  @media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }
  }
  
  .form-search {
  padding-right: 10px;
  display: flex;
  max-width: none;
  background-color: #091829;
  gap: 3px;
  color: white;
  border: none;
  height: 100%;
  }

.input-search {
  width: 100%;
  border-radius: 10px;
  background: #091829;
  color: white;
  border: none;
  height: 100%;
  }

.button-search {
  border-radius: 8px;
  background-color: #091829;
  font-family: "Poppins", serif; 
  color: white;
  font-weight: bold;
}


  input::placeholder {
    color: black;
  }
  
  .generalbutton {
    display: inline-block;
    padding: 7px;
    border-radius: 8px;
    background-color: #2eb0ff;
    font-family: "Poppins", serif; 
    color: white;
    font-weight: bold;
    margin: 10px;
    white-space: nowrap;
  }
  
  .generalbutton:hover {
    background-color: #001d70;
    color: white;
  }

@media screen and (max-width: 600px) {
  .generalbutton {
    padding: 7px;
    border-radius: 8px;
    background-color: #2eb0ff;
    font-family: "Poppins", serif; 
    color: white;
    font-weight: bold;
    margin: 10px;
  }
}

.columna {
    height: auto; 
    width: auto; 
    display: block;
    background-color: #042240;
    max-width: 900px;
    margin: auto;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
    font-family: "Poppins", serif;
}

@media screen and (max-width: 600px) {
    .columna {
    padding: 0px;
    }
  }


.tarjeta {
    height: auto; 
    width: auto; 
    background-color: #091829;
    display: flex;
    max-width: 820px;
    max-height: 370px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 8px
}

@media screen and (max-width: 600px) {
    .tarjeta {
    display: flex;
    flex-direction: column-reverse;
    height: auto; 
    width: auto;
    max-width: 820px;
    max-height: 900px;
    
    }
  }

.card-block {
    height: auto; 
    width: auto; 
    max-height: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 600px) {
.card-block {
    max-height: 550px;
}
}
    
.card-title {
    color: white;
    font-family: "Roboto", serif;
    font-weight: bold;
    font-size: 25px;
    max-height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-img {
    height: auto; 
    width: 42%; 
    max-height: 350px; 
    max-width: 350px; 
    padding: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img img {
    height: auto; 
    width: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 370px; 
    max-width: 350px; 
    object-fit: contain;
}

@media screen and (max-width: 600px) {
    .card-img {
    height: 50%; 
    width: auto; 
    }
  }
  
.media {
    padding: 10px;
    background-color: #424242;
    margin: 10px;
    border-radius: 8px;
    
}

.children {
    background-color: #424242;
    
}

.media-body h5 {
    color: #3c70ca;
    font-weight: bold;
    font-family: "Poppins", serif; 
    font-size: 20px;
    
}

.media-body p {
    color: #dedbe6;
    font-family: "Poppins", serif; 
    font-size: 18px;
    border: 2px solid #9e9e9e;
    border-radius: 8px;
    padding: 5px;
}

.children {
    margin: 5px;
    margin-left: 30px;
    background-color: #091829;
    border-radius: 8px;
}

/* Estilos footer */
.footercontainer {
  height: 100%;
  padding: 10px;
  display:flex;
  flex-direction: column;
  padding-top: 20px;
  min-height: 300px;
  background: #091829;
}

.logos-footer {
  display: flex;
  justify-content: center;
  gap: 5px
}

.footer-links {
  margin-top: 20px;
  text-align: center;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/*Botones de siguiente entrada y entrada anterior */

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.post-navigation .prev-post a,
.post-navigation .next-post a {
    background-color: #0073aa;
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

.post-navigation .prev-post a:hover,
.post-navigation .next-post a:hover {
    background-color: #005a87;
}

/*Botones animado */

/* Estilos generales del botón */
.video-switcher {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1e1e1e; /* Fondo oscuro */
    color: #c4c4c4; /* Texto gris claro */
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
}

/* Líneas animadas en los bordes */
.video-switcher .animate-item {
    position: absolute;
    background: linear-gradient(90deg, #3855FC, #FF00EB, #00ffee, #3855FC); /* Colores vivos */
    background-size: 400%;
    animation: animateBorder 3s linear infinite;
}

/* Configuración de cada línea (borde animado) */
.video-switcher .animate-item:nth-child(1) { /* Línea superior */
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.video-switcher .animate-item:nth-child(2) { /* Línea derecha */
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
}

.video-switcher .animate-item:nth-child(3) { /* Línea inferior */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.video-switcher .animate-item:nth-child(4) { /* Línea izquierda */
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

/* 🎨 Animación de los colores del borde */
@keyframes animateBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Efecto hover */
.video-switcher:hover {
    color: white;
    transition: color 0.3s ease-in-out;
}

/* 🔹 Estilos para información de entradas */
.post-meta {
    font-size: 20px;
    color: white;
    margin: 15px 0;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* 🔹 Estilos para los enlaces del autor y categorías */
.post-meta a {
    color: #2eb0ff; /* Azul vibrante */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 🔹 Cambia de color al pasar el mouse */
.post-meta a:hover {
    color: #ff5733; /* Naranja al pasar el mouse */
    text-decoration: underline;
}

/* 🔹 Título del perfil */
.perfil-usuario h1 {
    font-family: "Orbitron", serif;
    font-weight: bold;
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
}

/* 🔹 Estilo para "Entradas enviadas" */
.perfil-usuario h2 {
    font-family: "Nunito", serif;
    font-size: 22px;
    font-weight: bold;
    color: white; /* Azul vibrante */
    text-align: left;
    margin-top: 20px;
    padding-bottom: 10px;
    display: inline-block;
}

/* 🔹 Sección de entradas del usuario */
.entradas-usuario {
    height: auto; 
    width: auto; 
    display: block;
    max-width: 900px;
    margin: auto;
    font-family: "Poppins", serif;
}

.bloque {
    display:block;
}

.botonesinicio {
    
    display: flex;
    gap: 10px;
    padding-bottom: 30px;
    max-width: 900px;
    flex-wrap: wrap;
    align-content: end;
}


 @media screen and (max-width: 600px){
.botonesinicio {
    flex-direction: column; /* Apilar los botones verticalmente */
    align-items: center;
    gap: 10px;
    padding-bottom: 30px;
    align-content: center;
}
 }

.content.error {
    color: red;
    font-weight: bold;
    text-align: center;
    background-color: #ffcccc;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 📌Botones para navegar entre capítulos */

.relatos-seriados-navegacion {
    margin-top: 20px;
    padding: 20px 10px;
    border-top: 1px solid #eee;
    text-align: center;
}

.relatos-seriados-navegacion a {
    display: inline-block;
    padding: 12px 25px;
    margin: 5px 10px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid #007bff; /* Borde con color azul */
    color: #007bff; /* Color del texto azul */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.relatos-seriados-navegacion a:hover {
    background-color: #007bff; /* Fondo azul al pasar el ratón */
    color: #fff; /* Texto blanco al pasar el ratón */
}


/* Perfil: Menu desplegable */

.profile-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    display: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Asegura que el menú esté encima de otros elementos */
}

.profile-menu.show {
    display: block;
}

.profile-menu a, .profile-menu button {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 3px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.profile-menu a:hover, .profile-menu button:hover {
    background-color: #f0f0f0;
}

.profile-menu button {
    color: #d9534f;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0088cc;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-family: "Nunito", serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.telegram-button:hover {
    background-color: #007ab8;
}

.telegram-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/*Botón DIRECTORIO ENLACES*/
  .modern-tech-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #00e6e6; /* Cian brillante */
    background: linear-gradient(45deg, #0a192f, #0f223f); /* Degradado oscuro */
    border: 2px solid #00e6e6; /* Borde cian */
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.5); /* Sombra brillante */
    position: relative;
    overflow: hidden;
  }

  .modern-tech-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 230, 230, 0.1); /* Brillo sutil */
    transform: skewX(-30deg);
    transition: all 0.7s ease;
  }

  .modern-tech-button:hover {
    color: #ffffff; /* Texto blanco al pasar el ratón */
    background: linear-gradient(45deg, #0f223f, #0a192f); /* Invertir degradado */
    box-shadow: 0 0 25px rgba(0, 230, 230, 0.8); /* Sombra más intensa */
    transform: translateY(-3px); /* Pequeño levantamiento */
  }

  .modern-tech-button:hover::before {
    left: 100%;
  }

  .modern-tech-button:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.4);
  }

.boton-enlaces {
    margin-top: 10px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #0a2747;
    padding: 10px;
}

.telegram-promocion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Centra los textos */
    padding: 10px 10px;
    border-radius: 10px;
    background-color: #0a2747;
}

.index-telegram-promocion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Centra los textos */
    padding: 10px 10px;
}

/*TITULO PAGINA DINAMICA FILTRO*/
.search-title {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #fff;
}
body {
      font-family: 'Poppins', sans-serif;
      background-color: #111;
      color: #fff;
    }
    .hero-title {
      font-size: 3rem;
      font-weight: 700;
    }
    .hero-content .lead {
      font-size: 1.25rem;
      margin-bottom: 30px;
    }
    .hero-stats {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }
    .stat-item {
      text-align: center;
    }
    .stat-item span {
      display: block;
    }
    .stat-item .purecounter {
      font-size: 2rem;
      font-weight: bold;
      color: #e91e63;
    }
    .hero-actions .btn {
      margin-right: 10px;
      border-radius: 30px;
    }
    .btn-outline {
      background: transparent;
      border: 2px solid #fff;
      color: #fff;
    }
    .social-links a {
      font-size: 1.2rem;
      color: #fff;
      margin-right: 15px;
      transition: color 0.3s;
    }
    .social-links a:hover {
      color: #e91e63;
    }
    .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
    .image-container {
      position: relative;
    }
    .hero-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  max-height: 500px; /* Controla aquí el alto máximo */
  width: 100%;
}
    .floating-elements {
      position: absolute;
      top: 10%;
      left: 10%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .floating-card {
      background-color: #1f1f1f;
      padding: 12px 16px;
      border-radius: 10px;
      color: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      gap: 10px;
    }
/* Asegúrate que el overlay no cubra el título si está fuera de él, o que sea transparente donde el título se muestra */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Esto cubre toda la imagen, si el título está fuera del overlay, estará visible */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); /* Degradado para que el título contraste */
    border-radius: 10px;
    z-index: 1;
}
/* Estilos para el título del relato, si necesitas más control que las clases de Bootstrap */
.relato-title {
    position: relative; /* Opcional: si el título se superpone a la imagen, relative o absolute es útil */
    z-index: 2; /* Para asegurar que esté por encima del overlay si se superpone */
    font-size: 1.5rem; /* Ajusta el tamaño de la fuente */
    font-weight: bold;
    /* Puedes añadir padding o margin si necesitas más espacio */
    padding-top: 10px; /* Ejemplo de espacio si se superpone ligeramente */
}
/* Estilos para la sección de relatos destacados */
.hero-image {
    position: relative;
    padding: 20px; /* Ajusta según el espaciado deseado */
}

.image-container {
    text-align: center;
    position: relative;
    display: inline-block; /* O block con ancho fijo */
    overflow: hidden; /* Para que los elementos flotantes no se salgan si se mueven */
    border-radius: 10px; /* Opcional: bordes redondeados */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra para profundidad */
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px; /* Bordes de la imagen principal */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)); /* Degradado sutil */
    border-radius: 10px;
    z-index: 1; /* Asegura que la capa esté por encima de la imagen */
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permite hacer clic a través de este contenedor */
    z-index: 2; /* Asegura que los cards estén encima del overlay */
}

.floating-card {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo semitransparente para los cards */
    color: #333;
    padding: 10px 15px;
    border-radius: 50px; /* Para forma de píldora */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el icono y el texto */
    font-weight: bold;
    font-size: 0.9em;
    pointer-events: auto; /* Permite interacción con los cards */
    transition: transform 0.3s ease-out; /* Animación de movimiento */
}

.floating-card:hover {
    transform: translateY(-5px); /* Pequeño efecto al pasar el ratón */
}

.floating-card i {
    font-size: 1.2em; /* Tamaño de los iconos */
}

/* Posiciones específicas para cada tarjeta flotante */
.card-1 {
    top: 15%;
    left: -20px; /* Ajusta para que sobresalga un poco */
    background-color: #ffda01; /* Color para el primer card */
    color: #333;
}

.card-2 {
    bottom: 20%;
    right: -20px; /* Ajusta para que sobresalga un poco */
    background-color: #28a745; /* Color para el segundo card */
    color: white;
}

.card-3 {
    top: 50%;
    left: 30%;
    transform: translateY(-50%); /* Centrar verticalmente */
    background-color: #17a2b8; /* Color para el tercer card */
    color: white;
}

/* Adaptaciones para Bootstrap Icons (si los usas) */
.bi {
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Media Queries para responsividad, ajusta según necesites */
@media (max-width: 768px) {
    .floating-card {
        padding: 8px 12px;
        font-size: 0.8em;
    }
    .card-1 { top: 10%; left: 10px; }
    .card-2 { bottom: 10%; right: 10px; }
    .card-3 { top: 30%; left: 10px; }
}

.bg-kyunix-dark {
  background-color: rgb(7, 12, 28) !important;
}
/* Asegura que el título esté siempre visible sobre la imagen */
.carousel-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 12px 20px;
  color: #fff;
  z-index: 10;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-align: left;
}

.carousel-caption-overlay h5 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}
/* Ajusta la altura máxima del carrusel sin forzar corte total */
#relatosCarousel .carousel-inner {
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

/* Ajuste para que la imagen se escale bien, pero no se corte tanto */
.img-cover-fix {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain; /* Cambio clave: muestra la imagen completa */
  object-position: center;
}


/* Evita que la altura del carrusel cambie con la transición */
#relatosCarousel .carousel-item {
  height: 100%;
}
/* Forzar altura mínima para que el título tenga espacio incluso si la imagen es pequeña */
.carousel-item {
  position: relative;
  min-height: 300px;
}
#form-filtro-relatos {
  background-color: rgb(24, 26, 35); /* o usa tu color base oscuro */
}

#form-filtro-relatos label {
  font-weight: 500;
}

#form-filtro-relatos select:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

#form-filtro-relatos option {
  background-color: #2a2d3a;
  color: #fff;
}

.main-home {
    background-color: #4AC6FF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.card-title {
    font-size: 1.8rem;
    font-family: "Roboto", sans-serif;
}

.card-text {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    text-align: justify;
}

.card-text p {
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    text-align: justify;
    font-size: 20px; /* Cambia este valor por el tamaño de letra que desees */
    line-height: 1.6; /* Opcional: ajusta el interlineado para mejor legibilidad */
}

.card.bg-dark {
    background-color: #0f447b !important;
}

.bg-home {
    background-image: url('https://www.kyunix.com/wp-content/uploads/2025/07/kyunix-home2-rotated.jpg'); /* Reemplaza con la URL de tu imagen */
    background-size: cover;
    background-position: center;
    position: relative; /* Importante para el overlay */
    z-index: 1; /* Para asegurar que el contenido esté por encima del overlay */
}

.bg-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Negro con 60% de opacidad */
    z-index: -1; /* Para que el overlay esté debajo del contenido pero encima de la imagen */
}

.bg-relato {
    background-color: rgb(7, 12, 28) !important; /* Color oscuro personalizado */
}

small a {
    color: #00cfff !important; /* Color celeste */
    text-decoration: underline; /* Opcional */
}

/* Mejora visual de los comentarios */
#comments li.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
    transition: box-shadow 0.3s ease;
}

#comments li.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Mejor contraste para texto */
#comments .text-body {
    color: #212529;
}

#comments h6 {
    color: #0d6efd;
}

/* Botón fijo de escribir comentario */
.btn-escribir-comentario {
    background-color: #0d6efd;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-weight: bold;
}
.btn-escribir-comentario:hover {
    background-color: #0b5ed7;
}

/* --- Estilos Generales para el Contenedor de Paginación --- */
.pagination-container {
    background-color: transparent !important;
    margin-top: 1.5rem; /* Ajusta el margen superior si es necesario */
    margin-bottom: 1.5rem; /* Agrega un margen inferior */
}

.pagination {
    --bs-pagination-color: var(--bs-secondary); /* Color del texto por defecto */
    --bs-pagination-bg: var(--bs-light); /* Fondo por defecto */
    --bs-pagination-border-color: var(--bs-gray-300); /* Color del borde por defecto */
    --bs-pagination-hover-color: var(--bs-primary); /* Color del texto al pasar el ratón */
    --bs-pagination-hover-bg: var(--bs-primary-rgb); /* Fondo al pasar el ratón */
    --bs-pagination-hover-border-color: var(--bs-primary); /* Borde al pasar el ratón */
    --bs-pagination-focus-color: var(--bs-primary); /* Color al enfocar */
    --bs-pagination-focus-bg: var(--bs-primary-rgb); /* Fondo al enfocar */
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25); /* Sombra al enfocar */
    --bs-pagination-active-color: var(--bs-white); /* Color del texto activo */
    --bs-pagination-active-bg: var(--bs-primary); /* Fondo activo */
    --bs-pagination-active-border-color: var(--bs-primary); /* Borde activo */
    --bs-pagination-disabled-color: var(--bs-gray-500); /* Color texto deshabilitado */
    --bs-pagination-disabled-bg: var(--bs-light); /* Fondo deshabilitado */
    --bs-pagination-disabled-border-color: var(--bs-gray-300); /* Borde deshabilitado */

    border-radius: var(--bs-border-radius); /* Hereda el radio de borde de Bootstrap */
}

.page-item {
    margin: 0 0.2rem; /* Espacio entre cada elemento de la paginación */
}

.page-link {
    padding: 0.75rem 1rem; /* Aumenta el padding para hacer los botones más clickeables */
    border-radius: var(--bs-border-radius); /* Hereda el radio de borde de Bootstrap */
    transition: all 0.2s ease-in-out; /* Transición suave para hover y focus */
    font-weight: 500; /* Hace el texto un poco más audaz */
    text-decoration: none; /* Asegura que no haya subrayado */
    display: flex; /* Para centrar el contenido (flechas, números) */
    align-items: center;
    justify-content: center;
    min-width: 2.5rem; /* Ancho mínimo para que los botones sean consistentes */
    height: 2.5rem; /* Altura mínima para que los botones sean consistentes */
}

/* --- Estados --- */

/* Hover & Focus */
.page-item:not(.active):not(.disabled) .page-link:hover,
.page-item:not(.active):not(.disabled) .page-link:focus {
    background-color: var(--bs-pagination-hover-bg);
    color: var(--bs-pagination-hover-color);
    border-color: var(--bs-pagination-hover-border-color);
    box-shadow: var(--bs-pagination-focus-box-shadow); /* Agrega la sombra al enfocar */
    transform: translateY(-2px); /* Pequeño efecto de elevación */
}

/* Activo */
.page-item.active .page-link {
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
    color: var(--bs-pagination-active-color);
    cursor: default; /* No cambia el cursor para la página activa */
    pointer-events: none; /* Deshabilita clics en la página activa */
}

/* Deshabilitado */
.page-item.disabled .page-link {
    color: var(--bs-pagination-disabled-color);
    background-color: var(--bs-pagination-disabled-bg);
    border-color: var(--bs-pagination-disabled-border-color);
    cursor: not-allowed; /* Cursor de "no permitido" */
    pointer-events: none; /* Deshabilita clics */
    opacity: 0.7; /* Ligeramente transparente */
}

/* Estilo para las flechas de siguiente/anterior */
.page-link span[aria-hidden="true"] {
    font-size: 1.1em; /* Ajusta el tamaño de las flechas */
}

/* Clases para accesibilidad (si usas la clase .sr-only en tu HTML) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rmp-rating-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
}

.card-text p {
    margin-bottom: 1em; /* Adjust this value as needed */
}