/* ===============================
   BASE
================================ */

.contenido {
  max-width: 1300px;
  margin: 0 auto;
}

/* ===============================
   BOTÓN VOLVER
================================ */

.contenido a.btn-outline-secondary {
  border-radius: 6px;
  font-weight: 500;
}

.contenido a.btn-outline-secondary:hover {
  background-color: #eaeaea;
}

/* ===============================
   TÍTULOS
================================ */

.contenido h2 {
  font-weight: bold;
  color: #b30000;
}

.carousel-container h4 {
  font-weight: bold;
  color: #b30000;
}

/* ===============================
   BUSCADOR
================================ */

.form-control-lg {
  border: 2px solid #b30000;
  border-radius: 10px;
}

.form-control-lg::placeholder {
  color: #999;
}

.form-control-lg:focus {
  border-color: #8f0000;
  box-shadow: 0 0 0 0.25rem rgba(179, 0, 0, 0.25);
}

/* ===============================
   CARRUSEL
================================ */

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
}

.carousel {
  border-radius: 12px;
  overflow: hidden;
}

.carousel img {
  height: 420px;
  object-fit: contain;
}

/* ===============================
   CAPTION
================================ */

.carousel-caption {
  bottom: 20px;
}

.carousel-caption h5 {
  font-weight: bold;
  color: #ffffff;
}

.carousel-caption p {
  font-size: 14px;
  margin-bottom: 0;
  color: #f1f1f1;
}

/* ===============================
   CONTROLES
================================ */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .carousel img {
    height: 280px;
  }

  .carousel-caption h5 {
    font-size: 16px;
  }

  .carousel-caption p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .carousel img {
    height: 220px;
  }
}
