/* CSS para IG Carrousel */

/* Contenedor del carrusel */
.ig-carrousel-post-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 20px 8% 20px 5%;
}

/* Pista (track) */
.ig-carrousel-post-carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 24px;
  padding: 0 10px;
}

/* Cada slide */
.ig-carrousel-carousel-slide {
  flex: 0 0 calc(100% / 2);
  box-sizing: border-box;
}

/* Navegación */
.ig-carrousel-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #333;
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  border-radius: 6px;
  transition: background 0.2s ease;
}
.ig-carrousel-carousel-nav:hover {
  background: #f0f0f0;
}
.ig-carrousel-prev {
  left: 8px;
}
.ig-carrousel-next {
  right: 8px;
}

/* Adaptativo */
@media (max-width: 1024px) {
  .ig-carrousel-carousel-slide {
    flex: 0 0 calc(100% / 2);
  }
}
@media (max-width: 640px) {
  .ig-carrousel-carousel-slide {
    flex: 0 0 100%;
  }
}

/* Estilos de cada tarjeta (post-card) */
.ig-carrousel-post-card {
  background: #fef9f5;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.ig-carrousel-post-card:hover {
  transform: translateY(-4px);
}
.ig-carrousel-post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

/* Contenido interno */
.ig-carrousel-post-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Título */
.ig-carrousel-post-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003b5c;
  margin-bottom: 8px;
}

/* Línea debajo del título */
.ig-carrousel-post-card-line {
  border: none;
  height: 2px;
  background-color: #a48000;
  width: 50px;
  margin-bottom: 12px;
  float: left;
}

/* Meta (tiempo + icono) */
.ig-carrousel-post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  width: 100%;
}
.ig-carrousel-post-card-time {
  flex: 1;
  text-align: left;
}
.ig-carrousel-post-card-icon {
  font-size: 1.3rem;
  text-align: right;
}