
.segment-filter-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    background-color: transparent;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--Cinza-0, #EDEDED);
    color: var(--Cinza-default, #49454F);
    text-align: center;
    font-family: Poppins;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.segment-filter-btn.active {
    background-color: #F47F29;
    color: white;
    border-color: #F47F29;

}

.segment-filter-btn.active:hover {
    opacity: 0.8;

}

.segment-filter-btn:hover:not(.active) {
    background-color: #e9ecef;
}

.circulares-todos-filter {
    color: var(--Cinza-default, #49454F);
    text-align: center;

    /* Desktop/Botão - Pequeno */
    font-family: Poppins;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.circulares-todos-filter i {
    font-size: 13px;
}

.segment-filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.search-terms-container {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.segment-filter-btn i {
    font-size: 13px;
}

.search-term-tag {
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    display: flex;
    height: 32px;
    background-color: #f5f5f5;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--Cinza-default, #49454F);
    text-align: center;

    /* Desktop/Botão - Pequeno */
    font-family: Poppins;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.date-filter-display{
    align-items: center;
    background-color: #f5f5f5;
    padding: 2px 12px;
    height: 32px;
    border-radius: 20px;
    gap: 1px;
    color: var(--Cinza-default, #49454F);
    text-align: center;

    /* Desktop/Botão - Pequeno */
    font-family: Poppins;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.search-term-tag button {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    margin-left: 5px;
}

.search-term-tag i {
    font-size: 0.875rem;
}

.search-icon-acontece {
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.search-icon-acontece:hover {
    opacity: 0.8;
}

.search-container-acontece {
    position: relative;
    max-width: 300px;
    min-width: 100px;
    width: 100%;
}

.acontece-title{
    font-weight: 400;
    font-size: 38px;
    line-height: 100%;
}

.acontece-sub-title{
  font-weight: 500;
    font-size: 21px;
    line-height: 100%;
}

.search-icon-acontece {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

.input-search-acontece {
    width: 100%;
    padding: 8px 10px 8px 38px;
    border-radius: 8px;
    border: none;
    background-color: #f5f5f5;
    height: 36px;
    font-size: 14px;
}

.custom-col-acontece {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
}

@media (min-width: 576px) {
    .custom-col-acontece {
        width: 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .custom-col-acontece {
        width: 33.33%;
        max-width: 33.33%;
    }
}

@media (min-width: 1600px) {
    .custom-col-acontece {
        width: 25%;
    }
}


@media (max-width: 768px) {
    .search-container-acontece {
        flex: 1;
    }
    
    
    /* Create a container for the search and filter elements that can wrap */
    .filter-container {
        flex-wrap: wrap;
        gap: 0.5rem !important;
    }
}

.calendar-btn {
    background-color: #EDEDED;
    height: 40px;
}

.calendar-btn:hover {
    opacity: 0.7;
    background-color: #EDEDED;
}

.acontece-ver-mais-btn {
    border: none;
    border-radius: 10px;
    width: 200px;
    height: 40px;
} 
.orange-btn {
    background-color: #F47F29;
    color: white;
} 
.acontece-aplicar-btn{
    border: none;
    border-radius: 10px;
    font-size: 14px;
}

/* Card image container with aspect ratio */
.card-img-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 60%; /* 3:5 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}
.acontece-card-title{
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    color: var(--Preto, #000);
    font-family: Poppins;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.acontece-card-text{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    color: var(--Cinza-default, #49454F);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; 
}

.card-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-img-container:hover img {
    transform: scale(1.05);
}

/* Search and filter styles */
.search-container-acontece {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-icon-acontece {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
}

.input-search-acontece {
    padding: 10px 16px 10px 40px;
    border-radius: 13px;
    border: 1px solid #dee2e6;
    width: 100%;
}

.acontece-title {
    font-family: Poppins;
    font-weight: 400;
    font-size: 38px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    text-transform: uppercase;

}

.acontece-sub-title {
   font-family: Poppins;
    font-weight: 500;
    font-size: 21px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.card-acontece-na-unidade{
    border: solid 1px #EDEDED;
}
.acontece-ver-mais-btn {
    padding: 8px 24px;
    border-radius: 20px;
}

.acontece-aplicar-btn {
    border-radius: 20px;
    padding: 5px 15px;
}

 .no-results-message {
    padding: 3rem 2rem;
}

.no-results-message h4 {
    color: var(--Cinza-default, #49454F);
    text-align: center;
    font-family: Poppins;
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.no-results-message p {
    margin-bottom: 0;
    font-size: 1rem;
}