.blog_posts__filter {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.blog_posts__filter .select-container {
    position: relative;
    border: 1px solid #828282;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIj48cGF0aCBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9Ii44NSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNy4zOTggNy4yMDNhLjU2Mi41NjIgMCAwIDEtLjc5NiAwTC44NjcgMS40NjhhLjU2Mi41NjIgMCAwIDEgMC0uNzk1bC4yNjYtLjI2NmMuMjItLjIyLjU3NS0uMjIuNzk1IDBMNyA1LjQ4IDEyLjA3Mi40MDdjLjIyLS4yMi41NzYtLjIyLjc5NSAwbC4yNjYuMjY2Yy4yMi4yMi4yMi41NzUgMCAuNzk1TDcuMzk4IDcuMjAzWiIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
    background-position-y: 33px;
    background-position-x: 90%;
    background-repeat: no-repeat;
    cursor: default;
    width: 286px;
    z-index: 9;
}

.blog_posts__filter .select-container .selected,
.blog_posts__filter .select-container .options {
    display: block;
    width: 100%;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.blog_posts__filter .select-container .selected {
    color: rgba(0, 0, 0, 0.85);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    padding: 24px 24px 24px;
}

.blog_posts__filter .select-container .options {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.blog_posts__filter .select-container .option {
    padding: 12px 24px;
    transition: 0.15s linear;
}

.blog_posts__filter .select-container .option:hover {
    background: #f2f2f2;
}

.blog_posts__filter .select-container.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.blog_posts__filter .select-container.open .selected {
    border-bottom: 1px solid #828282;
}

.blog_posts__filter .select-container.open .options {
    display: block;
    position: absolute;
    background: #fff;
    border: 1px solid #828282;
    left: -1px;
    width: calc( 100% + 2px );
    top: calc( 100% - 1px );
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.blog_posts__search-container {
    position: relative;
    width: 548px;
}

#blog_posts__search {
    border: 1px solid #f2f2f2;
    color: rgba(0, 0, 0, 0.85);
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    padding: 24px 75px 24px 24px;
    -moz-border-radius: 12px;
    -webkit-border-radius: 12px;
    border-radius: 12px;
    background: rgba(242, 242, 242, 1);
    width: 100%;
}

#blog_posts__categories:focus-visible, #blog_posts__categories:focus, #blog_posts__categories:visited
#blog_posts__search:focus-visible, #blog_posts__search:focus, #blog_posts__search:visited {
    outline: none;
}

#blog_posts__search::placeholder {
    color: rgba(0, 0, 0, 0.45);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

#blog_posts__search:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.45);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

#blog_posts__search::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.45);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.blog_posts__feature-post {
    margin-top: 60px;
}

.blog_posts__feature-post > div {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 40px;
}

.feature-post__left {
    width: 550px;
    flex-grow: 1;
}

.feature-post__right {
    width: 552px;
    flex-grow: 1;
}

.feature-post__left .feature-post__image {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
    width: 100%;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
}
.feature-post__left .feature-post__image .post-image__overlay > div:first-child { bottom: 21px; }
.feature-post__left .feature-post__image .post-image__overlay { height: 21px; }
.feature-post__left .feature-post__image:hover .post-image__overlay > div:first-child > div { transform: translateY(21px); transition-delay: 0.7s; }
.feature-post__left .feature-post__image:hover .post-image__overlay > div:last-child > div { transform: translateY(-21px); }

.feature-post__left .feature-post__category,
.blog-category__category {
    margin-top: 24px;
}

.feature-post__category,
.blog-category__category {
    display: inline-flex;
    align-items: center;
}

.feature-post__category .name,
.blog-category__category .name{
    display: inline-block;
    color: rgba(0, 0, 0, 0.85);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    padding: 8px 12px;
    background-color: #F4F4F4;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.feature-post__category .read,
.blog-category__category .read {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-left: 16px;
}

.feature-post__left .feature-post__title,
.blog-category__title {
    margin: 16px 0 8px;
}

.feature-post__excerpt {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 26px;
}

.feature-post__right > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.feature-post__right > div:not(:first-child) {
    margin-top: 32px;
}

.feature-post__right > div > div {
    flex: 1;
}

.feature-post__right .feature-post__image {
    position: relative;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    min-height: 250px;
    min-width: 262px;
    align-self: start;
}

.feature-post__right .feature-post__image .post-image__overlay > div:first-child { bottom: 15px; }
.feature-post__right .feature-post__image .post-image__overlay { height: 15px; }
.feature-post__right .feature-post__image:hover .post-image__overlay > div:first-child > div { transform: translateY(15px); transition-delay: 0.7s; }
.feature-post__right .feature-post__image:hover .post-image__overlay > div:last-child > div { transform: translateY(-15px); }

.feature-post__right .feature-post__title {
    margin: 16px 0 18px;
}

.blog-categories {
    margin-top: 100px;
}

.blog-category__name-desc-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}

.blog-category__name-desc-container > div {
    display: inline-flex;
    flex-direction: column;
}

a.blog-category__view-all {
    align-self: end;
    color: #395797;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    padding: 13px 25px;
    border: 2px solid #395797;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

a.blog-category__view-all:hover {
    color: #fff;
    background-color: #395797;
}

.blog-category:not(:first-child) {
    margin-top: 160px;
}

.blog-category__description {
    display: block;
    color: rgba(0, 0, 0, 0.45);
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    margin-top: 24px;
}

.blog-category__posts {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 40px;
    overflow: hidden;
}

.blog-category__post-image {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    min-height: 300px;
    overflow: hidden;
}

.post-image__overlay {
    position: absolute;
    bottom: 0;
    height: 18px;
    width: 100%;
    background: #2b3552;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    overflow: hidden;
    transition: 0.3s linear;
    right: 0;
}

.post-image__overlay > div {
    width: 100%;
    height: 100%;
}

.post-image__overlay > div > div {
    float: right;
    height: 100%;
    width: 9.9%;
}

.post-image__overlay > div > div:nth-child(1) { background: #b97fb5; }
.post-image__overlay > div > div:nth-child(2) { background: #bd415b; }
.post-image__overlay > div > div:nth-child(3) { background: #56358e; }
.post-image__overlay > div > div:nth-child(4) { background: #35c2b1; }

.post-image__overlay > div:first-child { position: absolute; bottom: 18px; }
.post-image__overlay > div:last-child { position: absolute; bottom: 0px; }

.post-image__overlay > div:first-child > div:nth-child(1) { transition: 0.1s linear; }
.post-image__overlay > div:first-child > div:nth-child(2) { transition: 0.3s linear; }
.post-image__overlay > div:first-child > div:nth-child(3) { transition: 0.5s linear; }
.post-image__overlay > div:first-child > div:nth-child(4) { transition: 0.7s linear; }

.post-image__overlay > div:last-child > div:nth-child(1) { transition: 0.1s linear; }
.post-image__overlay > div:last-child > div:nth-child(2) { transition: 0.3s linear; }
.post-image__overlay > div:last-child > div:nth-child(3) { transition: 0.5s linear; }
.post-image__overlay > div:last-child > div:nth-child(4) { transition: 0.7s linear; }

.blog-category__post-url:hover ~ .blog-category__post-image .post-image__overlay > div:first-child > div { transform: translateY(18px); transition-delay: 0.7s; }
.blog-category__post-url:hover ~ .blog-category__post-image .post-image__overlay > div:last-child > div { transform: translateY(-18px); }

.blog-category__post {
    position: relative;
    flex-grow: 1;
    max-width: 354px;
    overflow: hidden;
}

.blog-category__post-url {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.blog-category__post-url:hover ~ .blog-category__title {
    color: #29c8b4;
}

.blog-category__title {
    transition: 0.2s;
}

.blog-category__excerpt {
    /*visibility: hidden;*/
    /*opacity: 0;*/
    transition: 0.15s linear;
}

.blog-category__excerpt.loaded {
    visibility: visible;
    opacity: 1;
}

.blog-category__excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.blog_posts__search-results {
    display: none;
}

.blog_posts__search-results .blog-category__posts {
    margin-top: 60px;
}

.blog_posts__search-results .blog-category__post {
    display: none;
}

.blog_posts__search-results .blog-category__post,
#blog_posts[listing-type="category_listing"] .blog-category__post  {
    margin-bottom: 60px;
}

.blog_posts__search-results .blog-category__excerpt,
#blog_posts[listing-type="category_listing"] .blog-category__excerpt {
    visibility: visible;
    opacity: 1;
}

.blog_posts__search-results .empty {
    display: none;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
}

@media screen and ( max-width: 901px ) {
    .blog_posts__filter .blog_posts__search-container,
    .blog_posts__filter .select-container {
        flex-grow: 1;
    }
}

@media screen and ( max-width: 795px ) {
    .blog-category__post {
        max-width: none;
    }
}

/*
 * ====================================
 * Search Spinner
 * ====================================
 */
.nx-search-spinner {
    color: #ccc;
    display: inline-block;
    position: absolute;
    right: 0;
    top: -3px;
    width: 76px;
    height: 80px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s linear;
}

.nx-search-spinner.nx-visible {
    opacity: 1;
    visibility: visible;
}

.nx-search-spinner div {
    transform-origin: 40px 40px;
    animation: nx-search-spinner 1.2s linear infinite;
}

.nx-search-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 27px;
    left: 37px;
    width: 3px;
    height: 8px;
    border-radius: 20%;
    background: rgba(0, 0, 0, 0.45);
}

.nx-search-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.nx-search-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.nx-search-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.nx-search-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.nx-search-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.nx-search-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.nx-search-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.nx-search-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.nx-search-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.nx-search-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.nx-search-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.nx-search-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes nx-search-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/*
 * ======================================
 * Blogs - Category Listing Type
 * ======================================
 */
#blog_posts[listing-type="category_listing"] .blog_posts__filter {
    justify-content: end;
}

#blog_posts[listing-type="category_listing"] .blog-categories .blog-category__post:not(.loaded) {
    display: none;
}

#blog_posts[listing-type="category_listing"] .blog_posts__search-results .blog-category__post.loaded {
    display: block;
}

#blog_posts #load-more {
    display: flex;
    justify-content: center;
}

#blog_posts #load-more span {
    cursor: pointer;
    font-weight: 500;
    color: #395797;
    transition: .15s linear;
}

#blog_posts #load-more span:hover {
    transform: scale(1.08);
}

/*
 * ======================================
 * Blogs - Blog Listing Type
 * ======================================
 */
#blog_posts[listing-type="blogs_listing"] .blog-category__posts.nx-animate .blog-category__post {
    transition: 0.5s linear;
}

#blog_posts[listing-type="blogs_listing"] .blog_posts__search-results .blog-category__post.loaded {
    display: block;
}

#blog_posts[listing-type="blogs_listing"] .blog-category__posts.nx-animate .blog-category__post:not(.loaded) {
    opacity: 0;
    visibility: hidden;
    -ms-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
}

/*
 * ======================================
 * Blogs - Case Study Listing Type
 * ======================================
 */
#blog_posts[listing-type="case_study_listing"] .blog-category__posts {
    gap: unset;
    margin-top: unset;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post {
    display: none;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post.loaded {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    max-width: initial;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__posts .blog-category__post.loaded:nth-child(odd) {
    flex-direction: row;
}

#blog_posts[listing-type="case_study_listing"] .blog_posts__search-results .blog-category__post {
    margin-bottom: 0;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__desc-container {
    flex: 1;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post-image {
    flex: 1;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__desc-container > * {
    transition: 0.5s linear;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__posts .blog-category__post:nth-child(odd) .blog-category__desc-container > * {
    padding-left: 40px;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__posts .blog-category__post:nth-child(even) .blog-category__desc-container > * {
    padding-right: 40px;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post-image {
    width: 100%;
    border-radius: unset;
}

#blog_posts[listing-type="case_study_listing"] .post-image__overlay > div:first-child {
    bottom: 24px;
}

#blog_posts[listing-type="case_study_listing"] .post-image__overlay {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
    height: 24px;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__desc-container {
    background: #fff;
    padding: 80px 0;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__category {
    margin-top: 0;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__excerpt {
    margin-bottom: 40px;
}

#blog_posts[listing-type="case_study_listing"] #load-more {
    margin-top: 80px;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post:hover .blog-category__title {
    color: #29c8b4;
    transition: 0.2s linear;
}

#blog_posts[listing-type="case_study_listing"] .blog_posts__search-results .blog-category__posts {
    margin-top: 100px;
}

#blog_posts[listing-type="case_study_listing"] .blog-category__post:hover > .blog-category__post-image .post-image__overlay > div:first-child > div { transform: translateY(24px); transition-delay: 0.7s; }
#blog_posts[listing-type="case_study_listing"] .blog-category__post:hover > .blog-category__post-image .post-image__overlay > div:last-child > div { transform: translateY(-24px); }

@media screen and ( max-width: 901px ) {

    #blog_posts[listing-type="case_study_listing"] .blog-category__desc-container {
        padding: 40px 0 80px;
    }

    #blog_posts[listing-type="case_study_listing"] .blog-category__posts .blog-category__post.loaded:nth-child(odd) .blog-category__desc-container > *,
    #blog_posts[listing-type="case_study_listing"] .blog-category__posts .blog-category__post.loaded:nth-child(even) .blog-category__desc-container > * {
        padding: 0 40px;
    }
}

@media screen and ( max-width: 610px ) {
    #blog_posts[listing-type="case_study_listing"] .blog-category__post {
        flex-direction: column !important;
    }

    #blog_posts[listing-type="case_study_listing"] .blog-category__desc-container > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and ( min-width: 611px ) {
    #blog_posts[listing-type="case_study_listing"] .blog_posts__filter { flex-wrap: nowrap; }
}

/*
 * ======================================
 * Blogs - Case Study Listing Template 2 Type
 * ======================================
 */
#blog_posts[listing-type="case_study_listing_2"] .blog-category__post {
    display: none;
}

#blog_posts[listing-type="case_study_listing_2"] .blog-category__post.loaded {
    display: block;
}

#blog_posts[listing-type="case_study_listing_2"] #load-more {
    margin-top: 80px;
}
