/*------------------------------------*\
    
    Posts CSS
 
    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

\*------------------------------------*/

.row.blog-listing,
.row.post-listing {
    row-gap: 32px;
}

.blog-post__item {
    height: 100%;
    box-shadow: 0 10px 40px rgba(98, 98, 98, .22);
}

.blog-post__img {
    width: 100%;
    height: 175px;
    -o-object-fit: cover;
    object-fit: cover;
    transition: all 400ms ease;
}

.blog-post__item:hover .blog-post__img-container {
    background-color: #051632;
}

.blog-post__item:hover .blog-post__img {
    opacity: 0.25;
}

.blog-post__meta {
    padding: 35px;
}

.blog-post__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 10px;
}

.blog-post__tag {
    padding: 2px 5px 2px;
    font-size: 12px;
    background-color: #d5f0f4;
}

.blog-post__date {
    font-size: 13px;
    color: #6A6C6F;
}

.blog-post__item .blog-post__title {
    padding-bottom: 5px;
}

.blog-post__title__link {
    color: #001428;
}

.blog-post__link {
    font-size: 18px;
}


/**
 * Sidebar
 */

/* Blog Sidebar */

.blog-listing-container>.container>.row,
.blog-single-container>.container>.row,
.post-listing-container>.container>.row {
    row-gap: 50px;
}

.page-sidebar {
    padding: 50px;
    background-color: #FAFAFA;
}

.page-sidebar .container {
    padding-left: 0;
    padding-right: 0;
}

.page-sidebar h2,
.page-sidebar .h2 {
    font-size: 26px;
    line-height: 1.4em;
    padding-bottom: 20px;
}

@media (min-width: 768px) {

    .page-sidebar h2,
    .page-sidebar .h2 {
        font-size: 34px;
    }

}

.page-sidebar ul {
    padding-bottom: 0;
    padding-left: 0;
}

.page-sidebar li:last-child {
    padding-bottom: 0;
}

.page-sidebar>.widget:not(:last-of-type) {
    margin-bottom: 50px;
}

.page-sidebar .wp-block-search__input {
    border-right: none;
    background-color: #fff;
    border-color: #dadada;
}

.page-sidebar .wp-block-search__input::-webkit-input-placeholder {
    color: #323232;
    opacity: 1;
}

.page-sidebar .wp-block-search__input::-moz-placeholder {
    color: #323232;
    opacity: 1;
}

.page-sidebar .wp-block-search__input:-ms-input-placeholder {
    color: #323232;
    opacity: 1;
}

.page-sidebar .wp-block-search__input::-ms-input-placeholder {
    color: #323232;
    opacity: 1;
}

.page-sidebar .wp-block-search__input::placeholder {
    color: #323232;
    opacity: 1;
}

.page-sidebar .wp-block-search__button {
    border: none;
    display: inline-block;
    background: #051632;
    color: #F8F8F8;
    font-size: 18px;
    margin-left: 0;
}

.page-sidebar .wp-block-search__button:hover {
    background: #000102;
}

.page-sidebar select {
    width: 100%;
    height: 48px;
    padding: 8px;
    line-height: 24px;
    color: #323232;
    border-radius: 0;
    border-color: #dadada;
}

.page-sidebar .choices {
    margin-bottom: 0;
}

.page-sidebar .choices__inner {
    background-color: #fff;
    border-radius: 0;
}

.page-sidebar .choices__list--dropdown {
    border-radius: 0;
}


/**
* FX Load More
*/

.blog-listing__pagination,
.post-listing__pagination {
    margin-top: 75px;
}

.load-more {
    text-align: center;
}

/* Load More Progress Bar */
.load-more__progress {
    margin-top: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 10px;
    border: 0;
    border-radius: 0;
    min-width: 250px;
}

progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    height: 10px;
    border: 0;
    border-radius: 0;
}

progress::-webkit-progress-bar {
    background-color: #ddd;
}

progress::-webkit-progress-value {
    background-color: #108DA0;
}

/* Loading Indicator */
.is-loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-color: #E3E3E3 #E3E3E3 transparent;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: simpleSpin 1.5s linear infinite;
    animation: simpleSpin 1.5s linear infinite;
}

/* Load More Button */
.load-more__btn {
    border: 0;
    display: block;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.load-more__btn.is-loading {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more__btn.is-loading:before {
    width: 20px;
    height: 20px;
}

.load-more__btn.is-disabled {
    display: none;
}

/* Placeholder Space */
.placeholder-block {
    position: relative;
    display: flex;
}

.placeholder-block__inner {
    flex-grow: 1;
    background-color: #fafafa;
}

.placeholder-block.is-loading:before {
    width: 50px;
    height: 50px;
}

@-webkit-keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes simpleSpin {
    0% {
        -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        -webkit-transform: translate(-50%, -50%) rotateZ(360deg);
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

/* Single Post Heading Styles */
h2,
.h2 {
    font-size: 36px;
    line-height: 1.33em;
}

h3,
.h3 {
    font-size: 30px;
    line-height: 1.4em;
    padding-bottom: 20px;
}

h4,
.h4 {
    font-size: 26px;
    line-height: 1.4em;
    padding-bottom: 20px;
}

h5,
.h5 {
    font-size: 20px;
    line-height: 1.4em;
    padding-bottom: 15px;
}



@media (min-width: 768px) {

    h2,
    .h2 {
        font-size: 46px;
    }

    h3,
    .h3 {
        font-size: 40px;
    }

    h4,
    .h4 {
        font-size: 34px;
    }

    h5,
    .h5 {
        font-size: 25px;
    }

}

@media (min-width: 1200px) {

    h2,
    .h2 {
        font-size: 56px;
    }

}

/* Single Post Pagination */
.post-pagination {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.btn-post-pagination {
    background: #FAFAFA;
    font-size: 15px;
    padding: 10px 20px;
    color: #747474;
    position: relative;
}

.post-pagination-text {
    display: none;
}

.btn-post-pagination:hover {
    background: #f1f1f1;
    color: #001428;
}

.btn-post-pagination strong {
    display: block;
    font-size: 12px;
}

.btn-previous-post,
.btn-next-post {
    max-width: 48%;
    flex: 0 0 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.btn-previous-post {
    padding-left: 40px;
}

.btn-next-post {
    padding-right: 40px;
}

.mobile-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #747474;
}

.mobile-arrow {
    position: absolute;
}

.btn-previous-post .mobile-arrow {
    left: 19px;
}

.btn-next-post .mobile-arrow {
    right: 19px;
}

.btn-previous-post .mobile-arrow:after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .post-pagination-text {
        display: block;
    }

    .btn-previous-post,
    .btn-next-post {
        text-align: inherit;
    }
}


/* Search Results */
.search-result {
    text-decoration: none;
}

.search-result__title {
    margin-bottom: 16px;
}

.search-result__excerpt {
    margin-bottom: 20px;
}

/* Print Media Styles */
@media print {

    .page-header {
        position: static;
    }

    .site-logo img.logo {
        display: block;
        height: auto;
    }

    .masthead {
        margin-top: 10px;
    }

    .blog-single-container {
        margin-top: 10px;
        margin-bottom: 0;
    }

    .blog-listing-container>.container>.row,
    .blog-single-container>.container>.row {
        row-gap: 0;
    }

    p {
        font-size: 12px;
    }

    a {
        text-decoration: underline;
    }

    a[href^=http]:not(.site-logo-wrapper)::after {
        content: " < " attr(href) "> ";
    }

    .footer-bottom {
        padding-top: 0;
        padding-bottom: 0;
    }

    .footer-bottom-link li:last-child {
        font-size: 10px;
        line-height: 10px;
    }

    .top-header,
    .right-header,
    .breadcrumbs,
    .post-pagination,
    .social-share-row,
    .page-sidebar,
    .footer-top,
    .footer-bottom-link li:not(:last-child) {
        display: none;
    }
}

/* Single Testimonials */
.single-testimonial .testimonial__author {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    line-height: 1.5em;
    padding-bottom: 0;
    font-weight: 500;
}

@media (min-width: 768px) {
    .single-testimonial .testimonial__author {
        font-size: 22px;
    }
}

/**
* Global Search Result Styles
*/
.search .js-tab-accordion--inner .tab-accordion__panel__content {
    padding: 40px 65px;
}

.search-results-listing-column {
    margin-bottom: 25px;
    padding-bottom: 0px;
    border-bottom: 1px solid #cecece;
}

.search-results-listing-column .sl-no {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: #051632;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 24px;
    margin-bottom: 6px;
    margin-right: 6px;
}

.search-results-listing-column p {
    padding-bottom: 20px;
}

.tab-accordion .search-result__link {
    margin-bottom: 30px;
}