

/*
 * Instagram
 * --------------------------------------------------
 */
.instagram-media {
  min-width: 230px !important;
  width: 100% !important;
}

/*
 * Carousel slider
 * --------------------------------------------------
 */
/* --------------------- */
/* ESTILOS SLIDER PREMIUM */
/* --------------------- */

#featured {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

/* Contenedor principal del carrusel */
.carousel {
  position: relative;
}

/* Transiciones suaves */
.carousel-item {
  transition: transform 0.7s ease-in-out, opacity 0.7s ease;
  overflow: hidden;
}

/* Efecto Ken Burns - Zoom suave */
.carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  transition: transform 8s ease-in-out !important;
}

.carousel-item.active img {
  transform: scale(1.1);
}

/* Texto sobre las imágenes */
.slider-caption {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  width: 100%;
  padding: 2rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.slider-caption h2 a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 2.2rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.slider-caption h2 a:hover {
  color: #f8f9fa;
  text-decoration: underline;
}

.caption-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.caption-meta a {
  color: #f8f9fa;
  text-decoration: none;
}

/* --------------------- */
/* INDICADORES (PUNTOS) */
/* --------------------- */
.carousel-indicators.top-indicator {
  margin-bottom: 0;
  top: 20px;
  bottom: auto;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid white;
  background: transparent;
  opacity: 1;
  transition: all 0.3s ease;
  box-sizing: content-box;
  flex: 0 1 auto;
}

.carousel-indicators .active {
  background: white;
  transform: scale(1.2);
}

/* --------------------- */
/* BOTONES DE NAVEGACIÓN */
/* --------------------- */
.slider-button {
  width: 44px;
  height: 44px;
  background-color: transparent;
  border-radius: 50%;
  border: 2px solid white;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  cursor: pointer;
  padding: 0;
}

.slider-button i {
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

/* Botón "anterior" */
.carousel-control-prev.slider-button {
  left: 20px;
}

/* Botón "siguiente" */
.carousel-control-next.slider-button {
  right: 20px;
}

/* Mostrar botones al hacer hover */
#featured:hover .slider-button {
  opacity: 1;
}

/* Efecto hover */
.slider-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

/* Efecto "active" al hacer clic */
.slider-button:active,
.slider-button.active-style {
  background-color: white;
}

.slider-button:active i,
.slider-button.active-style i {
  color: #333;
}

/* --------------------- */
/* EFECTOS ADICIONALES */
/* --------------------- */
/* Sombra para mejor contraste */
.slider-button {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
  .slider-caption h2 a {
      font-size: 1.5rem;
  }
  
  .slider-button {
      width: 36px;
      height: 36px;
  }
  
  .slider-button i {
      font-size: 1rem;
  }
  
  .carousel-item img {
      height: 400px;
  }
}

/*
 * Paginacion
 * --------------------------------------------------
*/
.pagination>li>a {
  border-radius: 500% !important;
  -webkit-border-radius: 500% !important;
  margin: 0 10px;
  font-weight: 300;
}

.pagination .page-item.active .page-link {
  border-width: 2px;
  background-color: #333333;
  border-color: #333333;
  border-radius: 500% !important;
  -webkit-border-radius: 500% !important;
  margin: 0 10px 0 0;
  line-height: 1.3rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
  display: inline-block;
  text-shadow: var(--text-shadow-black);
  color: var(--white-color);;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.pagination .page-item a {
  color: var(--white-color);
  background-color: var(--black-color);
  border-color: var(--black-color);
  border-width: 2px;
  line-height: 1.3rem;
  display: inline-block;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
  width: 2rem;
  height: 2rem;
  text-align: center;
}

.pagination .page-item a:hover {
  color: #ffffff !important;
  background-color: var(--main-color);
  border-color: var(--main-color);
  text-shadow: var(--text-shadow-black)
}
.pagination .page-item a:focus {
  outline: none;
  box-shadow: none;
}
/*
 * Categorias
 * --------------------------------------------------
*/
.categorias a {
  display: inline-block;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 7px 15px;
  text-decoration: none;
  font-size: 1rem!important;
  
  color: var(--white-color);
  background: var(--main-color);
  text-shadow: var(--text-shadow-black);
}

.categorias a:hover {
  opacity: .7;
}

.categorias a::after {
  overflow: hidden;
  position: absolute;
  z-index: 10;
  top: -50px;
  left: -75px;
  width: 50px;
  height: 155px;
  background: var(--white-color);
  opacity: .5;
  content: '';
  transition: all 550ms cubic-bezier(.19, 1, .22, 1);
  transform: rotate(35deg);
}

.categorias a:hover::after {
  left: 120%;
  transition: all 550ms cubic-bezier(.19, 1, .22, 1);
}


/*
 * Section titles
 * --------------------------------------------------
*/
.section-title {
  font-family: var(--heading-font-family);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white-color);
  text-transform: capitalize;
  margin: 0;
  border-bottom: 1px solid rgba(119, 117, 117, 0.5);
  padding: 8px 0;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

.section-title strong {
  display: inline-block;
  border-bottom: 6px solid var(--main-color);
  margin-bottom: -11px;
  padding-bottom: 12px;
}

/* .section-title span {
  font-weight: 300;
  color: var(--white-color);
} */


/*
 * Leer más
 * --------------------------------------------------
*/
.btn-read-more span {
  position: relative;
  color: var(--white-color);
  display: inline-block;
  line-height: 35px;
  transition: 0.3s;
  text-shadow: var(--text-shadow-black);
}

.btn-read-more span::after {
  content: '';
  position: absolute;
  left: 0;
  height: 2px;
  background-color: transparent;
  transition: 0.3s;
  width: 100%;
  bottom: 2px;
}

.btn-read-more span::before {
  position: absolute;
  content: "";
  left: auto;
  bottom: 2px;
  background-color: var(--main-color);
  width: 0;
  height: 2px;
  transition: 0.3s;
  right: 0;
  z-index: 1;
}

.btn-read-more:hover span {
  color: var(--main-color);
}

.btn-read-more:hover span::before {
  width: 100%;
  left: 0;
  right: auto;
}