.newsTitle{
    width: 100%;
    max-width: 1200px;
    text-align: left;
    font-size: 38px;
    font-weight: 400;
    margin: 50px 0px 15px 0px;
}

.news-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.news-section-bigger{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.news-section-bigger .news-text h3{
    color: var(--Preto, #000);

    /* Desktop/Título - Padrão */
    font-family: Poppins;
    font-size: 51px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 61.2px */
    font-size: clamp(20px,30px,40px);
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #000000;
}

.news-section-bigger .news-text p{
    font-size: 16px;
    font-weight: 400;
    color: #49454F;
    line-height: 180%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Poppins, sans-serif;
}

.news-section-bigger .news-text{
    padding: 0 0 0 22px;
    flex: 1;
    min-width: 0;
}

.news-section-bigger-img-container {
    position: relative;
    width: 50%;
    height: 0;
    padding-top: 25%; /* 2:1 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
    flex-shrink: 0;
}

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

.news-section-bigger-img-container:hover img {
    transform: scale(1.03);
}

.news-section-bigger h3{
    font-weight: bold;
}

.newsContainer{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.AlternativeContainer{
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.news-small{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    flex: 1 0 100%;
    height: auto;
    margin-bottom: 20px;
    gap: 0;
    box-shadow: 0px 0px 1px 0px rgba(12, 26, 75, 0.24), 0px 3px 8px -1px rgba(50, 50, 71, 0.05);
    background-color: #fff;
}

.news-small img{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-small a{
    color: #49454F;
}

.news-small .news-text{
    color: var(--Cinza-default, #49454F);

    /* Desktop/Texto - Padrão */
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 28.8px */
    text-align: left;
    padding: 15px;
}

.news-small .news-text h3{
    color: var(--Preto, #000);

    /* Poppins/21px: SemiBold */
    font-family: Poppins;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #000000;
    margin-bottom: 8px;
}

.news-small .news-text p{
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    color: #49454F;
    line-height: 180%;
    font-family: Poppins, sans-serif;
}

.news-units{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.units-title{
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 21px;
    line-height: normal;
    text-transform: uppercase;
}

.card-units-bigger, 
.card-units-small{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card-bigger{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 720px;
    height: 100px;
    padding-left: 36px;
    background-color: #F47F29;
    color: #FFFFFF;
}

.card-small{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 470px;
    height: 100px;
    padding-left: 36px;
    background-color: #78767B;
    color: #FFFFFF;
}

.card-units-title{
    font-size: 19px;
    font-weight: 600;
    margin: 5px;
}

.card-units-subtitle{
    font-size: 14px;
    font-weight: 300;
    margin:5px;
}

.notUnderline{
    text-decoration: none;
}

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

.cardSmallAconteceNoVera{
    box-shadow: 0px 0px 1px 0px rgba(12, 26, 75, 0.24), 0px 3px 8px -1px rgba(50, 50, 71, 0.05);
    height: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.container-btn-vera-news{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0;
}

.btn-vera-news:hover {
    opacity: 0.8;
}

.btn-vera-news{
    display: flex;
    width: 100%;
    max-width: 327px;
    height: 48px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    background-color: #F47F29;
    font-weight: 600;
}

.filters{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
    width: 100%;
}

.filter-search{
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 200px;
}

.input-filters{
    padding: 8px 8px 8px 40px;
    border-radius: 11px;
    border: none;
    width: 100%;
    height: 40px;
    background-color: rgba(245, 245, 245, 1);
}

.filter-icon{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: #49454F;
}

.icon-date{
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EDEDED;
    border: none;
}

.filter-news{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 32px;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    border: 1px solid #EDEDED;
    background-color: #FFFFFF;
    white-space: nowrap;
}


.calendar-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
}

.calendar-day:hover {
    background-color: #f0f0f0;
}

.calendar-day.selected {
    background-color: #F47F29;
    color: white;
}

.calendar-day.range {
    background-color: #ffe0cc;
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
}

.date-picker-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.primary-background-btn {
    background-color: #F47F29;
    color: white;
    border: none;
}

.showNew{
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.titleShowNew{
    font-size: 51px;
    font-weight: 700;
}

.showNew p{
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}

.showNewContainer{
    overflow: hidden;
}

.imageNew{
    width: 100%;
    height: auto;
    margin: 0 0 23px 0;
    float: none;
}

@media (max-width: 1000px) {
    .imageNew {
        width: 50%;
        height: auto;
        float: left;
        margin: 0 38px 23px 0;
    }
}

@media (max-width: 767px) {
    .imageNew {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
}

.textNew{
    text-align: left;
    margin-bottom: 15px;
}

.galleryImages{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.galleryContainer{
    display: flex;
    gap: 10px;
}

.galleryItem{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.galleryItem img{
    width: 415px;
    height: 100%;
    object-position: center top;
    cursor:pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.galleryItem:hover img {
    transform: scale(1.05);
}

.imageGallery.hidden{
    display: none;
}

.lightbox-nav{
    position: absolute;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10000;

}

.lightbox-prev{
    border: 5px;
    color: #FFFFFF;
    left: 30px;
}

.lightbox-next{
    border: 5px;
    color: #FFFFFF;
    right: 30px;
}

.lightbox-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(182, 182, 182);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-image{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 36px;
    max-height: 75%;
}

.lightbox-controls{
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    gap: 4px;
    bottom: 30px;
}

.lightbox-info{
    display: flex;
    width: 265px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lightbox-label{
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
}

#lightboxIndex{
    font-size:18px;
    color: #FFFFFF;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

.lightbox-close{
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}

.hidden{
    display:none;
}

@media (max-width: 575px) {
    
    .news-small {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
    
    .news-small img {
        height: 180px;
    }
    
    .cardAconteceNoVera {
        width: 100%;
        max-width: 100%;
    }

    .cardAconteceNoVera img{
        width: 100%;
        height: 238px;
        object-fit: cover;
    }

    .cardAconteceNoVera a{
        color: #49454F;
    }

    .cardAconteceNoVera .news-text{
        text-align: left;
        padding: 15px;
    }

    .cardAconteceNoVera .news-text h3{
        font-size: 21px;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #000000;
    }

    .cardAconteceNoVera .news-text p{
        font-size: 16px;
        font-weight: 400;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #49454F;
    }
    
    .filter-search {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .filters {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-news {
        margin-top: 5px;
    }
    
    .newsTitle {
        font-size: 24px;
        margin: 30px 0px 10px 0px;
    }
}

@media (min-width: 576px) {
    .news-small {
        flex: 0 0 calc(50% - 10px);
    }
    
    .cardAconteceNoVera {
        width: 50%;
        max-width: 50%;
    }

    .cardAconteceNoVera img{
        width: 100%;
        height: 238px;
        object-fit: cover;
    }

    .cardAconteceNoVera a{
        color: #49454F;
    }

    .cardAconteceNoVera .news-text{
        text-align: left;
        padding: 15px;
    }

    .cardAconteceNoVera .news-text h3{
        font-size: 21px;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #000000;
    }

    .cardAconteceNoVera .news-text p{
        font-size: 16px;
        font-weight: 400;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #49454F;
    }
}

@media (min-width: 992px) {
    .news-small {
        flex: 0 0 calc(33.33% - 14px);
    }
    
    .cardAconteceNoVera {
        width: 33.33%;
        max-width: 33.33%;
    }

    .cardAconteceNoVera img{
        width: 100%;
        height: 238px;
        object-fit: cover;
    }

    .cardAconteceNoVera a{
        color: #49454F;
    }

    .cardAconteceNoVera .news-text{
        text-align: left;
        padding: 15px;
    }

    .cardAconteceNoVera .news-text h3{
        font-size: 21px;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #000000;
    }

    .cardAconteceNoVera .news-text p{
        font-size: 16px;
        font-weight: 400;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #49454F;
    }
}

@media (min-width: 1200px) {
    .news-small {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (min-width: 1700px) {
    .cardAconteceNoVera {
        width: 25%;
    }
}

@media (min-width:1880px){
    .news-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 0 auto;
    }

    .news-section-bigger{
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 50px;
        padding: 0;
    }

    .news-section-bigger .news-text{
        padding: 10px;
        padding-left: 22px;
    }

    .newsContainer {
        width: 100%;
        gap: 20px;
    }

    .news-small{
        width: 350px;
        margin-bottom: 42px;
    }

    .news-small img{
        width: 100%;
        height: 208px;
    }

    .imageCardSmall{
        width: 350px;
        height: 208px;
        object-fit: cover;
    }

    .imageNew img{
        width: 100%;
        height: auto;
    }

    .news-small .news-text{
        padding: 24px;
    }

    .units-title{
        width: 100%;
        text-align: left;
    }

    .news-units{
        width: 100%;
        align-items: center;
    }

    .filters{
        margin: 0px 0px 20px 0px;
        gap: 15px;
        max-width: 1600px;
        padding-right: 50px;
    }
}

@media (max-width:990px) {
    .news-section-bigger{
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .news-section-bigger .news-text p {
        -webkit-line-clamp: 5;
    }

    .news-section-bigger-img-container {
        width: 100%;
        padding-top: 50%; /* 2:1 aspect ratio for mobile */
    }

    .news-section-bigger .news-text{
        padding: 15px 15px;
        width: 100%;
    }

    .news-section-bigger .news-text h3{
        margin: 10px 0px;
        font-size: 30px;
    }
}

@media (max-width:1190px){
  

    .imageNew img{
        width: 100%;
        height: auto;
    }

    .showNew{
        max-width: 1000px;
    }

    .showNew p{
        font-size: 16px;
        font-weight: 400;
        text-align: left;
    }

    .galleryContainer{
        display: flex;
    }
}

@media (max-width:768px){

    .news-section-bigger{
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0 0 30px 0;
        width: 100%;
    }

    .news-section-bigger .news-text h3{
        font-size: 24px;
    }

    .newContent{
        grid-template-columns: 1fr;
    }

    .galleryContainer{
        display: flex;
        gap: 10px;
    }
    
    .filter-search {
        max-width: 100%;
    }
    
    .filters {
        padding: 10px 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .filter-news {
        margin-top: 5px;
    }

    .news-section-bigger-img-container {
        padding-top: 56.25%; /* 16:9 aspect ratio for small screens */
    }
}

@media (max-width:600px){
    .newsTitle{
        font-size: 24px;
        margin: 30px 0px 10px 15px;
    }

    .imageNew img{
        width: 100%;
    }

    .titleShowNew{
        font-size: 26px;
    }

    .news-section-bigger .news-text {
        text-align: left;
        width: 100%;
    }

    .news-section-bigger .news-text h3 {
        font-size: 18px;
    }

    .news-units{
        width: 100%;
    }

    .units-title{
        font-size: 21px;
        text-align: left;
        margin-left: 15px;
    }

    .card-units-bigger, 
    .card-units-small{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .card-bigger{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100px;
    }

    .card-small{
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 327px;
        height: 100px;
    }

    .galleryContainer{
        display: flex;
    }

    .galleryItem img{
        width: 100%;
        height: auto;
    }
    
    .btn-vera-news {
        width: 90%;
        max-width: 300px;
        margin: 15px auto;
    }

    .news-section-bigger-img-container {
        padding-top: 60%; /* More height for very small screens */
    }
}

/* Add card image container with aspect ratio like in aconteceNaUnidade */
.news-img-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.news-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;
}

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