.container{
    max-width: 1248px!important;
    padding: 0 24px!important;
}


.search-posts-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 886px;
    width: 100%;
}

.content-type-list-container:hover a.nota svg path {
    fill: #009edb;
}

.content-type-list-container:hover a.video svg path {
    stroke: #009edb;
}


body.archive.category a.active {
    color: #00aeef!important;
    border-color: #00aeef;
}

.caeme-search-container{
    padding: 80px 24px;
    background: linear-gradient(268deg, rgba(226, 231, 237, 0.48) 0%, rgba(249, 249, 249, 0.48) 80%, rgba(255, 255, 255, 0.48) 100%), url("../img/search-bg.png") lightgray 50% / cover no-repeat;
}

.caeme-search-bar{
    max-width: 784px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
    padding: 0 24px;
}

#caeme-search-input{
    width: 100%;
    border: none!important;
    padding: 0!important;
}

.caeme-search-bar h1{
    color: #111827;
    font-weight: 600;
}

.caeme-search-bar form{
    margin: 0 auto;
    max-width: 784px;
    width: 100%;
    display: flex;
    border: 1px solid #8f939f;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
.found-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
}

.search-title{
    font-size: 32px;
    font-weight: 600;
    color: #111827;
}
.shown-results{
    font-size: 16px;
    font-weight: 600;
    color: #8f939f;
}

.caeme-search-bar form > div{
    padding: 0;
}

.search-container{
    display: flex;
    gap: 24px;
    padding-top: 40px;
    justify-content: space-between;
}

.caeme-container-search{
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid #efefef;
    position: relative;
}

.caeme-search-content{
    display: flex;
    align-items: center;
}

.caeme-search-title a,
.caeme-search-title a:visited{
    color: #111827;
    font-size: 18px;
    font-weight: 500;
}

.note-type,
.term-name{
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #00aeef;
}

.post-term{
    display: flex;
    gap: 8px;
    align-items: center;
}

.content-type-list-container a{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    border: 1px solid #E2E7ED;
    border-radius: 8px;
    color: #7e8082;
    align-items: center;
}

.content-type-list-container a:visited{
    color: #7e8082;
}

.content-type-list-container:hover a{
    color: #009edb;
}

span.content-type-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.caeme-search-image{
    width: 50%;
}

.caeme-search-image img{
    width: 100%;
    object-fit: cover;
    max-height: max-content;
}

.caeme-info-details{
    display: flex;
    gap: 8px;
    align-items: start;
    flex-direction: column;
}

.caeme-search-details{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
}

.caeme-search-details i{
    font-size: 8px;
}

.caeme-search-details .post-date{
    font-size: 14px;
    color: #1e1e1f;
    font-weight: 500;
}

.caeme-post-category-wrapper ul{
    margin: 0;
}

.caeme-search-details .post-read-more a,
.caeme-search-details .post-read-more a:visited{
    color: #00aeef;
}

.caeme-search-details .post-read-more{
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}
.caeme-search-details .post-read-more:hover a{
    color: #0069af;
}

.caeme-search-details .post-read-more:hover svg path{
    stroke: #0069af;
}

.search-sidebar {
    max-width: 281px;
    width: 100%;
}

.sidebar-search {
    display: flex;
    gap: 24px;
    flex-direction: column;
    padding: 32px 0;
    border-top: 1px solid #CCD4DF;
    border-bottom: 1px solid #CCD4DF;
}
.search-sidebar .sidebar-cat-container,
ul#menu-categorias{
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 32px!important;
    border-top: 1px solid #CCD4DF;
}
body.term-nota .content-type-list-container a.taxonomy-filter.nota svg path{
    fill: #009edb;
}

body.term-video .content-type-list-container a.taxonomy-filter.video svg path{
    stroke: #009edb;
}

body.term-nota .content-type-list-container a.taxonomy-filter.nota,
body.term-video .content-type-list-container a.taxonomy-filter.video{
    border-color: #009edb;
    color: #009edb;
}
ul#menu-categorias li{
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    color: #1e1e1f;
    border-bottom: 1px solid #CCD4DF;
    padding-bottom: 8px;
}
ul#menu-categorias li{
    list-style: none;
}

.search-sidebar form{
    display: flex;
    border: 1px solid #8f939f;
    border-radius: 8px;
    padding: 10px;
    justify-content: space-between;
}

input.sidebar-search-input::placeholder {
    line-height: 150%;
    text-transform: none;
    font-size: 16px;
    color: #8f939f;
}

input.sidebar-search-input{
    border: none;
    color: #8f939f;
    padding: 0 !important;
    margin: 0 !important;
    width: 85%;
}

button.sidebar-btn{
    background-color: #00AEEF;
    border-radius: 50%;
    display: flex;
    border: none;
    padding: 8px;
}

h5.sidebar-title,
.sidebar-search-title{
    font-size: 18px;
    font-weight: 500;
    line-height: 130%;
    color: #0c0c0c;
}

.year-container,
.category-container{
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid #CCD4DF;
}

.year-container h5,
.category-container h5{
    color: #0C0C0C;
    font-size: 18px;
    font-weight: 500;
}

.year-container-list,
.search-results-categories{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.year-container-list > a,
.search-results-categories > a{
    border: 1px solid #e2e7ed;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #1e1e1f !important;
}

.year-container-list span{
    font-size: 12px;
    color: #1e1e1f;
}

#menu-categorias  li a{
    color: #1e1e1f;
}

ul#menu-categorias li:hover {
    border-color: #009edb;
}

ul#menu-categorias li a:hover{
    color: #009edb;
}

.pagination-custom{
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.pagination-custom a.page-numbers{
    border: none;
    color: #1e1e1f;
    font-size: 16px;
}
span.page-numbers.current {
    background: transparent;
    color: #00aeef;
    font-weight: 400;
    border: none;
    border-radius: unset;
    border-bottom: 1px solid #00aeef;
    font-size: 16px;
}

a.page-numbers:nth-last-child(2) {
    display: none;
}

span.page-numbers.dots {
    border: none;
}

a.next, a.prev {
    border: 1px solid #1e1e1f!important;
    display: flex;
    align-items: center;
    border-radius: 50%;
}

a.next span, a.prev span {
    display: flex;
}

body:has(.post-term.nota):has(.post-term.video) .content-type-list-container a {
    border-color: #e2e7ed!important;
    color: #7e8082!important;
}

body:has(.post-term.nota) .content-type-list-container a.nota,
body:has(.post-term.video) .content-type-list-container a.video{
    border-color: #009edf!important;
    color: #009edf!important;
}

body:has(.post-term.nota) .content-type-list-container a.nota svg path,
body:has(.post-term.video) .content-type-list-container a.video svg path{
    fill: #009edf;
}

/* NO RESULTS PAGE */

.no-results-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.no-results-title{
    color: #111827;
    font-size: 32px;
    line-height: 130%;
    font-weight: 600;
}

.no-results-query{
    color: #8f939f;
    font-size: 16px;
    font-weight: 600;
    line-height: 110%;
}

.no-search-results-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 0;
}

article.no-search-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: #f8f9f9;
    border-radius: 8px;
}

article.no-search-content h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 130%;
    color: #8f939f;
}

article.no-search-content h3 {
    color: #8F939F;
    font-size: 18px;
    line-height: 150%;
    font-weight: 400;
}

/* END NO RESULTS PAGE */
@media(max-width: 1024px){
    .found-results{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .search-container,
    .caeme-search-content{
        flex-direction: column;
    }
    .caeme-search-image,
    .caeme-search-details{
        width: 100%;
    }
    .caeme-search-details{
        padding: 16px;
    }
    .search-sidebar{
        max-width: unset;
    }
    .caeme-search-bar{
        padding: 0;
        margin: 24px 0 0 0;
    }
    .caeme-search-bar span{
        text-align: left!important;
    }

    .container{
        padding: 0 16px!important;
    }
    .no-results-container{
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    article.no-search-content{
        padding: 16px;
    }
}
