/* GLOBALS */
.b-page { background: #F6F6FB; }

.paper {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background: #FFFFFF;
    box-sizing: border-box;
    box-shadow: 0px 5px 15px 0px #00000012;
}
article.paper {
    padding: 0;
    flex: 1 0 276px;
    flex-wrap: nowrap;
}


/* Single post/article */
.post {
    height: 100%;
    flex-direction: column;   
}

.post .media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    background-color: #eee;
}

.post .content {
    flex: 1 1 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: Montserrat;
    display: flex;
    flex-direction: column;
}

.post .content > *:last-child { margin-bottom: 0; }


.post .content .category,
.post .content .read-time {
    color: #09101880;
    font-size: 14px;
    font-style: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.post .content .read-time {
    font-weight: 500;
    line-height: 16px;
    margin-top: auto;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.post .content h3 {
    margin-top: 0;
    overflow: hidden;
    color: #091018;
    text-overflow: ellipsis;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 30px;
}

.post .content h3 a::before {
    content: '';
    inset: 0;
    position: absolute;
}

.post .content h3 a .arrow {
    display: inline-flex;
    font-size: inherit;
    line-height: 26px;
    margin-top: -3px;
    gap: 12px;
}








/*  FEATURED POSTS */
.FEATURED .post { padding: 0; }

.FEATURED .post .media .b-img { width: 100%; }

.FEATURED .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.FEATURED .inner .label {
    width: fit-content;
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    padding: 0 20px;
    height: 30px;
    display: inline-block;
    box-sizing: border-box;
    background: rgba(0, 27, 71, 0.50);
}

.FEATURED .other-posts {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.FEATURED .other-posts .post {
    flex: 1 1 calc(100% / 3);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.FEATURED .other-posts .post .content { padding: 0; justify-content: flex-start; }

.FEATURED .other-posts .post .content h6 { margin-top: 0; margin-bottom: 15px; }

.FEATURED .other-posts .post:not(:last-child) { border-bottom: 1px solid #97979780; }

@media screen and (max-width: 900px)  {
    .FEATURED .post {
        margin: 0 -20px;
        border-radius: 0;
        box-shadow: none;
    }
    .FEATURED:not(.alt-static-style) .b-column:nth-child(3) { display: none; }
    .FEATURED.alt-static-style .b-column:nth-child(2) { order: 3; }
    .FEATURED.alt-static-style .b-column:nth-child(3) { order: 2; }
}





/* NEWSLETTER BANNER */
.NEWSLETTER {
    background: #001B47;
    color: #fff;
}







/* RESULTS POST LIST */
.RESULTS {}
.RESULTS.alt-collapse-top .b-frame {padding-top: 0;}





/* results - filter */
.RESULTS .b-columns { margin: -15px; }
.RESULTS .b-column > .b-columns .b-column { padding: 10px; }

@media screen and (max-width: 1200px) and (min-width: 901px) {
    .RESULTS .b-frame > .b-columns { position: relative; }
    .RESULTS .b-frame > .b-columns > .b-columns{ width: 100%; z-index: 1; }
    .RESULTS .b-frame > .b-columns > .b-column[data-width="1/4"],
    .RESULTS .b-frame > .b-columns > .b-column[data-width="3/4"] { width: 100%; }
}

.RESULTS .filters { flex-direction: column; }
.RESULTS .filters > *:not(:last-child) {
    margin-bottom: 20px;
}

.RESULTS .filters > .b-button {
    padding: 14px 56px 12px;
    height: 48px;
    line-height: 17px;
}

.RESULTS .filters > :where(input, select) {
    background: #F6F6FB;
    border: none;
}

.RESULTS .filters select  {
    color: #8f8e8e;
}



/* results - pagination */
.RESULTS .screen-reader-text { display: none; } 

.RESULTS .pagination {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.RESULTS .pagination .navigation .nav-links {
    gap: 15px;
    display: flex;
    align-items: center;
}

.RESULTS .pagination .page-numbers {
    width: 45px;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.07);
}

.RESULTS .pagination .page-numbers:where(.current, :hover) {
    color: #fff;
    background: #1C6BFF;
}





.RESULTS .filters input[name="_search"] {
    width: 100%;
    height: 58px;
    flex: 1 0 100%;
    font-size: 15px;
    line-height: 58px;
    background-image: url('./../../img/ui-search.svg');
    background-position: calc(100% - 20px) 50%;
    background-repeat: no-repeat;
    background-size: 17px 17px;
}



.RESULTS .filters .custom-select {
    width: 100%;
    flex: 1 0 100%;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 0 2px #F6F6FB;
}

.RESULTS .filters .custom-select button {
    appearance: none;
    border: none;
    width: 100%;
    height: 48px;
    font-size: 15px;
    color: #8f8e8e;
    line-height: 48px;
    background: #F6F6FB;
    box-sizing: border-box;
    text-align: left;
    padding: 0 20px;
    border-radius: 5px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Montserrat', sans-serif;
}

.RESULTS .custom-select button span {
    display: block;
    flex: 1 1 auto;
}

.RESULTS .custom-select button svg {
    position: relative;
    transform: rotate(180deg);
    transition: 0.25s;
}

.RESULTS .custom-select.active button svg {
    position: relative;
    transform: rotate(0);
}

.RESULTS .custom-select .options {
    width: 100%;
    max-height: 0;
    margin: 0;
    position: relative;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: 0.25s;
    overflow: hidden;
}

.RESULTS .custom-select.active .options {
    margin: 10px 0;
    max-height: 100%;
}

.RESULTS .custom-select .options label {
    width: 100%;
    height: 100%;
    display: block;
    padding: 4px 8px;
    box-sizing: border-box;
    font-size: 15px;
    position: relative;
}

.RESULTS .custom-select .options label input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.RESULTS .custom-select .options label span {
    display: inline-block;
    margin: 0 0 0 23px;
    line-height: 23px;
}


.custom-select .options input { margin: 0; }

.RESULTS .content.alt-post-section-footer {
    text-align: center;
}


/* @media screen and (max-width: 1200px) and (min-width: 901px) {
    .RESULTS .filters {
        display: flex;
        flex-direction: row;
        overflow: visible;
        filter: drop-shadow(0px 5px 15px#00000012);
        box-shadow: none;
        z-index: 1;
    }
    
    .RESULTS .filters input[name="_search"],
    .RESULTS .filters .custom-select {
        flex: 0 0 auto;
        height: 48px;
        margin-bottom: 0;
        margin-right: 20px;
        width: min(240px, 100%);
    }

    .RESULTS .filters .custom-select > .options {
        position: absolute;
        z-index: 2;
        padding: 10px 0 0;
        margin: 0;
        max-height: 99999px;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 0 0 2px #F6F6FB;
    }

    .RESULTS .filters .custom-select.active > .options {
        opacity: 1;
        pointer-events: all;
    }

    .RESULTS .filters .b-button { margin-left: auto; }
} */

@media screen and (max-width: 1200px) and (min-width: 901px) {
    .RESULTS .filters button {
        width: fit-content;
        margin-left: auto;;
    }
}