    body {
      font-family: 'Roboto Condensed', sans-serif;
    }
    header a:hover {
      color: #ff4444 !important;
      text-decoration: none;
      transition: color 0.3s ease;
    }
    .hover-fondo-sup:hover {
      background: rgba(255, 68, 68, 0.1);
      border-radius: 4px;
      transition: background 0.3s ease;
    }
    /* Carousel caption style */
    .carousel-caption {
      background: rgba(0, 0, 0, 0.6);
      border-radius: 8px;
      padding: 1rem;
      max-width: 80%;
      left: 10%;
      right: 10%;
      bottom: 20px;
    }
    /* Cards animation on hover */
    .content-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(255, 68, 68, 0.3);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    .txt-blanco a {
      color: #ff4444;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    .txt-blanco a:hover {
      color: #ff6666;
      text-decoration: underline;
    }
    /* Carousel controls bigger and more visible */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: drop-shadow(0 0 2px black);
      width: 50px;
      height: 50px;
    }
    /* Scrollbar for text areas if needed */
    .scrollable-text {
      max-height: 6.5rem;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: #ff4444 #222;
    }
	/* Mejoras al hover */
.navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* Espaciado mayor y moderno */
.navbar-nav .nav-link {
  padding: 0.6rem 1rem;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Hover fondo en navegación */
.hover-fondo-sup:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
}

/* Ajustes en móviles para que todo quede centrado */
@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .navbar-nav .nav-link {
    padding-left: 0;
  }

  form[role="search"] {
    margin-top: 1rem;
  }
}
	  .fondo-rsfm {
		    background-image: url(../img/fondo_rsfm_emision_online.png);
            height: 100px;
            background-position: center;
			background-repeat: no-repeat;
            background-size: cover;
			border: 1px #fff solid;
	  }
	  .fondo-libro-rsfm {
		    background-image: url(../img/rsfm_libro.png) ;
            height: auto;
            background-position: right;
			background-repeat: no-repeat;
	  }
	  .a { text-decoration:none; }
	  .link-pie {
  transition: color 0.3s ease;
}

.link-pie:hover {
  color: maroon !important;
}
#caja_buscar::placeholder {
  color: #ccc !important; /* gris claro */
  opacity: 1; /* asegúrate de que es visible en todos los navegadores */
}

/** paginación **/
.pagination .page-item.active .page-link {
  background-color: #b30000;
  border-color: #b30000;
}

.pagination .page-link {
  color: #b30000;
}