.new-width {
    width: 100%; /* Ancho completo para ser responsive */
    max-width: 268px; /* Máximo ancho igual al original */
    box-sizing: border-box; /* Para que padding no aumente ancho */
}

p br {
    display: none;
}

.btn-faq {
    margin-top: 20px;
    margin-bottom: 30px;
    display: inline-block;
}

.btn-primary {
    background-color: #6D2077 !important;
    border-color: #6D2077 !important;
    color: #fff !important;
    font-weight: bold; /* Negrita */
    padding-left: 25px;
    padding-right: 25px;
}


/* Quitar ícono automático de flecha (si lo había antes) */
.collapsible-question:after {
    content: none !important;
}

.mb-3, .my-3 {
    margin-bottom: 0rem !important;
}

/* Estilo del contenedor del botón */
.content-item-question.mb-3 {
    background-color: #F2F2F2;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 2px solid #005EBB; /* borde inferior azul */
    /*max-width: 95%;*/ /* limitar ancho máximo para pantallas grandes */
    margin: 0 auto; /* centrar en pantallas grandes */
}

/* Contenido colapsable (inicialmente oculto) */
.content-text-question {
    display: none;
    padding: 10px 15px;
    margin-top: 5px;
    background-color: #fff; /* fondo blanco */
    color: #212529; /* texto gris oscuro */
    border-radius: 4px;
    max-height: none;
    overflow: visible;
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
}

/* Estilo del botón */
.collapsible-question {
    background-color: #F2F2F2;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    text-align: left;
    outline: none;
    display: flex;
    align-items: center;
    color: #005EBB;
    font-size: 22px;
}

/* Ícono dentro del botón (círculo con + o -) */
.icon-circle {
    margin-left: auto; /* empuja a la derecha */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #005EBB;
    border-radius: 50%;
    font-weight: bold;
    font-size: 27px;
    user-select: none;
    transition: all 0.3s ease;
    color: #005EBB;
}

/* Botón al estar enfocado o activo */
.collapsible-question:focus,
.collapsible-question.active {
    background-color: #F2F2F2 !important;
    box-shadow: none;
}

/* Botón al hacer hover */
.collapsible-question.active,
.collapsible-question:hover {
    background-color: #F2F2F2 !important;
}

    /* Ícono cambia a color más oscuro cuando está activo */
    .collapsible-question.active .icon-circle {
        color: #0055A8;
        font-size: 24px;
        line-height: 1;
    }

.content-text-question img {
    max-width: 100%;
    border-radius: 4px;
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 768px) {
    .content-item-question.mb-3 {
        padding: 8px;
        max-width: 100%;
        border-bottom-width: 1.5px;
    }

    .collapsible-question {
        padding: 8px 10px;
        font-size: 16px;
    }

    .icon-circle {
        width: 25px;
        height: 25px;
        font-size: 22px;
    }

    .content-text-question {
        padding: 8px 10px;
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 540px) {
    .content-img-ceremonia {
        padding: 0 !important;
        text-align: center !important;
    }

    .pt-5, .py-5 {
         padding-top: 0rem !important; 
    }

    .mb-2, .my-2 {
        margin-bottom: .5rem !important;
        text-align: center;
    }

    .section-logo{
        display:none;
    }

    .section-conoce-mas .section-content h4 {
        font-size: 19px;
        font-weight: bold;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .section-conoce-mas {
        background: rgb(246, 246, 246);
        padding-top: 0px;
        padding-bottom: 20px!important;
    }
}

@media (max-width: 480px) {
    .collapsible-question {
        font-size: 14px;
    }

    .icon-circle {
        width: 22px;
        height: 22px;
        font-size: 18px;
    }

    .content-text-question {
        font-size: 13px;
    }
}

.custom-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* importante para que no interfiera con carrusel */
    z-index: 10;
}

.custom-carousel-controls button {
    /*background-color: #E4002B;*/
    color: white;
    border: none;
    padding: 0px 4px 5px 3px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all; /* permitir clics */
    z-index: 20;
    font-weight: bold;
    font-size: 27px;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.custom-carousel-controls button:hover {
    background-color: #E4002B;
}

.custom-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    margin-top: 1rem;
}

.custom-carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%; /* Asegura que el contenedor use todo el ancho disponible */
}

.carousel-item-custom {
    flex: 0 0 25%; /* 4 items visibles */
    padding: 0 10px; /* margen horizontal */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive: una imagen visible en móvil */
@media (max-width: 576px) {
    .carousel-item-custom {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 5px;
    }
}