.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.custom-modal-content {
    background: none; /* sin fondo blanco */
    padding: 0; /* sin padding */
    border-radius: 0;
    max-width: 600px;
    position: relative;
    text-align: center;
}
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    color: white;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.aviso-img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
.avisosSwiper {
    width: 100%;
    position: relative;
}
/* Flechas sobre la imagen */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.swiper-button-next.aviso {
    right: 10px;
}
.swiper-button-prev.aviso {
    left: 10px;
}
/* Fondo oscuro */
.modal-sede {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
  /* Caja blanca */
.modal-sede-content {
    background: #fff;
    border-radius: 12px;
    max-width: 90%;
    width: 100%;
    max-height: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: sede-fade-in 0.3s ease;
}
  /* Cerrar */
.modal-sede-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}
.modal-sede-body iframe {
    width: 100%;
    height: 800px;
    border: 0;
}
  /* Animación */
@keyframes sede-fade-in {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
@media (max-width: 768px) {
    .custom-modal-content{
        width: 80%;
    }
}