figure {
    position: relative !important;
    overflow: hidden !important;
    max-height: 230px !important;
}

figure img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

.image {
    /* background-color: #900 !important; */
    /* opacity: .7; */
    overflow: hidden;
    text-align: center;

}

.upcoming-events__item {
    max-width: 350px;
}

.upcoming-events__item .popular {
    position: absolute;
    width: 120px;
    margin-top: 50px !important;
    margin-left: -32px;
    color: #fff;
    padding: 5px 10px;
    transform: rotate(-45deg);
    transform-origin: left top;
    font-weight: bold;
    /* z-index: 10; */
    opacity: .9;
}

.opc-7 {
    opacity: .7 !important;
}

.opc-8 {
    opacity: .8 !important;
}

.timing {
    bottom: 0 !important;
    margin-bottom: 1px !important;
}

.carousel-inner img {
    border-radius: 14px;
    /* Bordas arredondadas */
}

@media (max-width: 1400px) {
    .upcoming-events__item .image {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .upcoming-events__item__info .title h4 {
        font-size: 1.2rem;

    }

    .row.col-12 {

        font-size: 0.9rem;
    }

}

@media (max-width: 1200px) {
    .upcoming-events__item .image {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .upcoming-events__item__info .title h4 {
        font-size: 1.1rem;
    }

    .row.col-12 {
        font-size: 0.7rem;
    }

    .d-flex.align-items-center {
        font-size: 0.8rem;
        gap: 0.5rem;
        /* Ajusta o espaçamento */
    }
}

@media (max-width: 767px) {
    .upcoming-events__item__info .title h4 {
        font-size: 1.3rem;
    }

    .row.col-12 {
        font-size: 1rem;
    }

    .d-flex.align-items-center {
        font-size: 1rem;
        gap: 0.7rem;
        /* Ajusta o espaçamento */
    }

    .carousel-inner img {
        border-radius: 0px;
        /* Bordas arredondadas */
    }

    .prev-arrow,
    .next-arrow {
        display: none !important;
    }


}

.center-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: #f5f5f5;

}

.prev-arrow,
.next-arrow {
    background-color: #ddd !important;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: rgb(185, 86, 5);
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px !important;
    color: black;
}

.carousel-control-next-icon {
    transform: rotate(-45deg);

}

.box-cat {
    width: 100%;
    display: flex;
    padding: 12px !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: #555 1px solid;
    border-radius: 50%;
    gap: 2px;
    font-size: 12px !important;
    flex-direction: column;
    height: 60px;
    width: 60px;
    margin-bottom: 4px;
    word-wrap: normal;
    margin-bottom: 5px;
    /* Espaço entre o ícone e o texto */
}

.box-cat i {
    font-size: 22px;
    color: #555 !important;
}

.ali-1 {
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente os itens */
    align-items: flex-start;
    /* Garante que estejam alinhados no topo */
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px;

}

.span-cat {
    font-size: 12px;
    display: inline-block;
    text-align: center;
    width: 100%;
    line-height: 1.2;
    white-space: normal;

}

.col-3,
.col-sm-1,
.col-lg-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Garante alinhamento ao topo */
    align-items: center;
    cursor: pointer;
    margin-top: 0px;
    /* Remova qualquer deslocamento vertical */
}

.active-1 {
    background-color: rgb(219, 219, 219);

    border-color: #333;
    /* Alteração opcional na borda */
}

i .fas {
    color: #fff !important;
}
.advertising_only{

    background-color: #f67308;
    border-radius: 6px;
    padding: 2px;
    color: #f5f5f5;
    font-weight: 600;
}