.menu-pesquisa-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.45);
}

.menu-pesquisa-backdrop.is-hidden {
    display: none;
}

.menu-pesquisa-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    min-height: 800px;
    height: auto;
    max-height: none;
    overflow-y: visible;
    overflow-x: visible;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.menu-pesquisa-modal .row {
    margin-left: 0;
    margin-right: 0;
}

.menu-pesquisa-modal.is-hidden {
    display: none;
}

.menu-pesquisa-modal-view {
    min-height: 550px;
}

body.menu-pesquisa-scroll-lock {
    overflow: hidden;
}

.menu-pesquisa-modal-view.is-hidden-view {
    display: none;
}

.menu-pesquisa-modal-close-wrapper {
    position: absolute;
    top: 1rem;
    right: 2rem;
    width: auto;
    padding: 0;
    z-index: 1051;
}

.menu-pesquisa-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 0;
    background: #2f2a2a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-pesquisa-modal-close:hover,
.menu-pesquisa-modal-close:focus-visible {
    background: #1f1a1a;
    outline: none;
}

.big-search-bar{
    flex-grow: 1;
    height: 90px;
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 1.25rem;
    outline: none;
    border-radius: 0;
    border: solid 1px var(--pmw-color-blue);
}

.big-search-bar::placeholder {
    font-size: 2rem;
    color: #b8b8b8;
}

.search-button{
    background-color: var(--pmw-color-blue);
    height: 90px;
    width: 90px;
    border: none;
    border-radius: 0;
}

.search-button i {
    color: white;
    width: 100%;
    text-align: center;
    font-size: 3rem;
}

.list-title{
    color: #244890;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1rem;
}


.item-serviço {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    margin-bottom: 1.1rem !important;
}

.item-serviço .menu-text {
    color: var(--pmw-color-stronggray, #323232);
    font-size: 1.08rem;
    line-height: 1.35;
}

.item-serviço i {
    color: var(--pmw-color-stronggray, #323232);
    font-size: 1.1rem;
}

a.item-serviço:hover,
a.item-serviço:focus,
a.item-serviço:active,
a.item-serviço:visited {
    text-decoration: none;
    color: var(--pmw-color-stronggray, #323232);
    outline: none;
    box-shadow: none;
    background-color: transparent !important;
    background: transparent !important;
}

a.item-serviço:hover .menu-text,
a.item-serviço:focus .menu-text,
a.item-serviço:active .menu-text,
a.item-serviço:visited .menu-text,
a.item-serviço:hover i,
a.item-serviço:focus i,
a.item-serviço:active i,
a.item-serviço:visited i {
    color: var(--pmw-color-stronggray, #323232);
}

.big-search-bar:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--pmw-color-blue);
}

.searchModal-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem 1.05rem;
    overflow: visible;
    height: 80%;
}

.searchModal-news-card {
    display: flex;
    flex-direction: column;
}

.searchModal-news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.searchModal-news-tag {
    color: #065EFF;
    font-weight: bold;
    padding: 0 2px 0 2px;
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
    padding-bottom: 0;
    margin: 0.3rem auto 0;
    position: relative;
    transition: color 0.3s ease;
    z-index: 1;
    text-align: center;
    width: fit-content;
}

.searchModal-news-tag::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0.15em;
    width: 100%;
    height: 3px;
    background-color: #FFBF00;
    transition: width 0.3s ease;
    z-index: -1;
}

.searchModal-news-tag:hover {
    color: #FFBF00;
    background-color: var(--pmw-color-blue);
    cursor: pointer;
}

.searchModal-news-tag:hover::after {
    width: 0;
}

.searchModal-news-title {
    margin-top: 0.2rem;
    color: #1a1f33;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.searchModal-news-title:hover,
.searchModal-news-title:focus-visible {
    color: var(--pmw-color-blue);
}

.searchModal-results-wrap {
    min-height: 430px;
}

.searchModal-results-block {
    margin-bottom: 1rem;
}

.searchModal-results-block + .searchModal-results-block {
    border-top: 1px solid #d5d5d5;
    padding-top: 1rem;
}

.searchModal-results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.searchModal-results-link {
    background: var(--pmw-color-blue);
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.32rem 0.75rem;
    border-radius: 3px;
}

.searchModal-results-link:hover,
.searchModal-results-link:focus-visible {
    color: #fff;
    text-decoration: none;
}

.searchModal-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    overflow: visible;
}

.searchModal-carousel-wrapper {
    position: relative;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
    min-height: 13.2rem;
}

.searchModal-carousel-prev,
.searchModal-carousel-next {
    position: absolute;
    width: 2rem;
    height: 80%;
    top: 50%;
    bottom: auto;
    transform: translateY(-60%);
    border-radius: 3px;
    background: #d7d7d7;
    opacity: 1;
}

.searchModal-carousel-prev {
    left: 0;
    right: auto;
}

.searchModal-carousel-next {
    right: 0;
    left: auto;
}

.searchModal-carousel-prev .carousel-control-prev-icon,
.searchModal-carousel-next .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

#searchModalServicosCarousel .carousel-item,
#searchModalNoticiasCarousel .carousel-item {
    transition: transform 0.22s ease-in-out;
}

.searchModal-results-grid-services .searchModal-empty,
.searchModal-results-grid-news .searchModal-empty {
    grid-column: 1 / -1;
}

.searchModal-result-card {
    min-width: 0;
}

.searchModal-result-card-service {
    border-right: 1px solid #d5d5d5;
    padding-right: 0.85rem;
}

.searchModal-result-card-service:last-child {
    border-right: 0;
}

.searchModal-result-title {
    margin: 0 0 0.35rem;
    color: #1a2b4f;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.searchModal-result-description {
    margin: 0 0 0.6rem;
    color: var(--pmw-color-gray, #6c6c6c);
    font-size: 0.94rem;
    line-height: 1.35;
}

.searchModal-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.searchModal-action-primary {
    border: 1px solid var(--pmw-color-blue);
    color: var(--pmw-color-blue);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.22rem 0.45rem;
}

.searchModal-action-secondary {
    color: var(--pmw-color-blue);
    text-decoration: none;
    font-size: 0.95rem;
}

.searchModal-result-card-news {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.85rem;
    align-items: start;
    max-height: 200px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.searchModal-result-card-news:hover,
.searchModal-result-card-news:focus,
.searchModal-result-card-news:focus-visible,
.searchModal-result-card-news:active,
.searchModal-result-card-news:visited {
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.searchModal-result-news-image-wrap {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.searchModal-result-news-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.searchModal-result-news-image--empty {
    background: #e8e8e8;
}

.searchModal-result-news-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    overflow: hidden;
}

.searchModal-result-news-retranca {
    margin: 0;
    color: var(--pmw-color-blue, #244890);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.searchModal-result-news-title {
    color: #1a2b4f;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.searchModal-empty {
    color: var(--pmw-color-gray, #6c6c6c);
    margin: 0;
}

.limitar-linhas-6 {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-height: 899px) {
    .menu-pesquisa-modal {
        height: 80%;
        bottom: 0;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .menu-pesquisa-modal-view,
    .searchModal-results-wrap {
        min-height: auto;
    }
}

@media (max-width: 1600px) {
    .big-search-bar{
        height: 75px;
    }

    .search-button{
        height: 75px;
        width: 75px;
    }

    .menu-pesquisa-modal {
        max-height: 80vh;
        overflow-y: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .searchModal-searchfield {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .searchModal-news-section {
        width: 40% !important;
    }

    .item-serviço .menu-text {
        font-size: 0.95rem;
    }

    .searchModal-result-description {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .searchModal-result-news-title{
        font-size: 0.9rem;
    }

    #menu-pesquisa-view-com-input .searchModal-carousel-wrapper {
        min-height: 8rem;
    }

}

@media (min-width: 1600px) {
    .menu-pesquisa-modal {
        padding-top: 30px;
    }
}

.menu-pesquisa-modal.menu-pesquisa-modal-two-per-page .searchModal-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.searchModal-news-section {
    width: 50%;
}

@media (min-width: 1366){
    .searchModal-result-news-title {
        font-size: 0.7rem;
    }
}