/* =====================================
   ESTILOS GENERALES Y LANZAMIENTOS (CARRUSEL)
===================================== */

/* ELIMINAMOS REGLAS DE FLEXBOX QUE INTERFIEREN CON SWIPER */
/* La clase .cmm-swiper-container (que es el .swiper) obtiene sus estilos de Swiper CDN */

.cmm-launch-card {
    text-align: center;
    padding: 15px;
    background-color: #1a1a1a; 
    color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    /* Importante: Swiper maneja el ancho del .swiper-slide, no la tarjeta */
}

.cmm-launch-image {
    width: 100%;
    max-width: 250px; 
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
}

.cmm-launch-title {
    font-size: 1.3em;
    font-weight: 700;
    margin: 5px 0 2px 0;
    line-height: 1.2;
    color:#ffffff;
}

.cmm-launch-artist {
    font-size: 0.9em;
    color: #aaaaaa;
    margin-bottom: -5px !important;
}

/* --- ESTILO DE ICONOS DE ENLACES --- */
.cmm-icons {
    display: flex;
    justify-content: center; 
    gap: 15px; 
    margin-top: 15px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Forzar color blanco en todos los icon links (restaura tu estilo original) */
.cmm-icon-link {
    color: #ffffff !important;
    font-size: 1.6em;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

/* Hover conserva comportamiento (si querés otro color, lo cambias acá) */
.cmm-icon-link:hover {
    color: #ffffff !important;
}

/* Asegurar que las imágenes personalizadas mantengan tamaño y no pierdan contraste */
.cmm-custom-icon {
    width: 30px; 
    height: 30px;
    vertical-align: sub;
    display: inline-block;
    object-fit: contain;
    filter: none !important;
}
c
/* =====================================
  ESTILOS PARA EVENTOS (GRID)
===================================== */

.cmm-grid-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 20px;
}

.cmm-event-card {
    background-color: #222222;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.cmm-event-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cmm-event-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1; 
}

.cmm-event-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 5px;
    color: #ffffff;
}

.cmm-event-datetime {
    font-size: 1em;
    color: #999999;
    margin-bottom: 20px;
}

.cmm-event-datetime i {
    margin-right: 5px;
}

.cmm-buy-button {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #ff0050; 
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.cmm-buy-button:hover {
    background-color: #cc0040;
}

/* =====================================
  ESTILOS DE SWIPER (NAVEGACIÓN Y PAGINACIÓN)
===================================== */

/* Asegurar que los botones de navegación de Swiper sean visibles y blancos.
   Restauramos y reforzamos la apariencia esperada sin tocar su posicionamiento. */

.cmm-swiper-container .swiper-button-next,
.cmm-swiper-container .swiper-button-prev,
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important;
    opacity: 0.95 !important;
    transition: all 0.3s ease;
    --swiper-navigation-size: 30px;
    display: block !important;
    z-index: 20;
}

/* Hover */
.cmm-swiper-container .swiper-button-next:hover,
.cmm-swiper-container .swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Ajustes opcionales para asegurar que no queden ocultas por overflow */
.cmm-swiper-container .swiper-button-prev {
    left: 10px;
}

.cmm-swiper-container .swiper-button-next {
    right: 10px;
}

/* En pantallas muy pequeñas aún puedes ocultarlas si obstaculizan la vista,
   pero por defecto las dejamos visibles (la regla @media la comentamos para mantener consistencia) */
@media (max-width: 500px) {
    /* Si preferís ocultarlas en móviles, descomentá la siguiente línea */
    /* .cmm-swiper-container .swiper-button-next, .cmm-swiper-container .swiper-button-prev { display: none; } */
}

/* --- PAGINACIÓN (PUNTOS) --- */
.cmm-swiper-container .swiper-pagination {
    bottom: -20px !important;
    position: initial;
}

.cmm-swiper-container .swiper-pagination-bullet {
    background: #555555;
    opacity: 0.8;
    width: 10px;
    height: 10px;
}

.cmm-swiper-container .swiper-pagination-bullet-active {
    background: #ffffff;
    opacity: 1;
}

/* =====================================
  MODAL PREVIEW YOUTUBE (mantener simple y no interferir con estilos globales)
===================================== */
.cmm-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.cmm-modal-content {
  margin: auto;
  background: transparent;
  width: 90%;
  max-width: 920px;
  position: relative;
}

.cmm-modal-content iframe {
  width: 100%;
  height: calc(56.25vw); /* responsive 16:9 */
  max-height: 600px;
  border-radius: 8px;
  background: #000;
}

.cmm-close {
  position: absolute;
  top: -36px;
  right: 0;
  color: #fff;
  font-size: 34px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
