/* modern-styles.css */

/* Fuente general */
body {
  font-family: 'Poppins', sans-serif;
}

/* Títulos */
h6, h5, h4 {
  font-weight: 600;
}

/* Tarjetas modernas */
.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Imágenes */
.card-img {
  object-fit: cover;
  width: 100%;
  height: 300px;
}

/* Overlay con degradado para legibilidad */
.card-img-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

/* Tags estilo pill */
.bg-info, .bg-primary, .bg-success, .bg-danger, .bg-warning {
  border-radius: 20px;
  opacity: 0.9;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Videos responsivos */
.responsive-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 250px;
}
.responsive-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Ítems tipo tarjetas en lista */
.unit-card {
  border: none;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}
.unit-card:hover {
  background-color: #f8f9fa;
  transform: scale(1.01);
  cursor: pointer;
}

/* Contador de visitas centrado y destacado */
.visits-counter {
  font-weight: 600;
  font-size: 1rem;
}


/* Scroll para targets */
.scroll-container {
    max-height: 250px; /* Ajusta según necesites */
    overflow-y: auto;
    padding-right: 10px; /* espacio para que no corte el contenido */
}

/* Opcional: estiliza la barra */
.scroll-container::-webkit-scrollbar {
    width: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}
