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

    Posts CSS

    Posts.................Post content for loop on blog homepage, category, search page, archives, etc.
    Sidebar...............Sidebar elements.

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

.post-item {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 30px;
}

.post-item:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

.post-item__heading a {
    text-decoration: none;
}

.post-item .btn,
.post-item .btn-primary {
    margin-top: 30px;
}

.post-item__meta {
    font-size: .8em;
}

.wp-block-image img {
    height: auto;
}

.single-post__title {
    padding-bottom: 1rem;
    color: #24364d;
}

.single-post__meta {
    margin-bottom: 20px;
}

.single-post__tags {
    margin: 70px 0 20px;
}

.single-post__tags a {
    color: var(--dark-blue);
    text-transform: uppercase;
}


@media (min-width: 1025px) {

    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }

}

@media (min-width: 1200px) {

    .post-item {
        padding-top: 50px;
        margin-top: 50px;
    }

    .single-post__tags a:hover {
        color: var(--red);
    }

}





/**
 * Blog
 **/

.blog-post__wrapper {
    margin-bottom: 40px;
}

.blog-post__item {
    position: relative;
    height: 100%;
    padding-bottom: 45px;
    transition: -webkit-transform .2s linear;
    transition: transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
    box-shadow: 5px 7px 35px rgb(0 0 0 / 4%);
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 1025px) {
    .blog-post__item:hover {
        -webkit-transform: scale(1.05);
                transform: scale(1.05);
    }

}

.blog-post__item a {
    color: var(--dark-blue);
}

.blog-post__img-container {
    height: 200px;
    background-color: rgba(11,31,57,0.4);
    overflow: hidden;
}

.blog-post__img-container img {
    width: 100%;
    height: 100%;
	object-position: left;
    -o-object-fit: cover;
       object-fit: cover;
}

.blog-post__title {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 23px;
}

.blog-post__content {
    padding: 20px 15px 10px;
}

.blog-post__item .blog-post__link {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 15px 10px;
    color: var(--white);
    background-color: var(--dark-blue);
    text-align: center;
}

.blog-post__item .blog-post__link::hover {
    color: var(--white);
}

.blog-post__link span {
    display: inline-block;
    padding-left: 10px;
}

.blog-post__link span::before {
    font-size: 12px;
}

.post-listing-container h2,
.post-listing-container h3,
.post-listing-container h4,
.post-listing-container h5 {
    color: var(--dark-blue);
}

@media (min-width: 1200px) {
    .blog-post__item a:hover {
        color: #77818E;
    }
}





/**
 * Sidebar
 */

/* Blog Sidebar */

.widget {
    margin-top: 20px;
}

.widget h2,
.widget h3 {
    padding-bottom: 10px;
    color: var(--dark-blue);
    font-size: 23px;
}

.widget .wp-block-search__label {
    margin-bottom: 10px;
}

.blog .page-sidebar .widget {
    margin-bottom: 50px;
}

.widget_search form {
    position: relative;
}

.widget_search .wp-block-search__input {
    width: 100%;
}

.widget_search .wp-block-search__button {
    position: absolute;
    right: 30px;
    bottom: 14px;
    font-size: 0;
    border: 0;
    background-color: transparent;
}

.widget_search .wp-block-search__button::before {
    content: "\e914";
    font-family: "icomoon";
    font-size: 21px;
}

@media (min-width: 1025px) {
    .widget {
        margin-top: 0;
    }

    .widget + .widget {
        margin-top: 20px;
    }

    .widget_search .wp-block-search__button {
        bottom: 18px;
    }
}





/**
* FX Load More
*/

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

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

progress::-webkit-progress-bar {
    background-color: var(--light-blue);
}

progress::-webkit-progress-value {
    background-color: #C8D5E0;
}

.load-more__btn {
    margin: 20px auto 0;
    text-align: center;
}





/* 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;
}

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

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





/* 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);
    }
}





/* Search Results */

ul.search-results {
    padding-left: 0;
}

ul.search-results li {
    position: relative;
    padding-left: 0;
    padding-bottom: 35px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(200, 213, 224, .8);
}

.search-results li::before {
    display: none;
}

.search-result {
    text-decoration: none;
}

.search-result__title {
    position: relative;
    margin-left: 55px;
    color: var(--dark-blue);
}

.search-num {
    position: absolute;
    top: -5px;
    left: -55px;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 9px;
    background-color: var(--light-blue);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    line-height: 2.5em;
}

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

.search-result__excerpt p {
    color: var(--dark-blue);
    line-height: 1.5;
}

.search-result__link {
    text-transform: uppercase;
    font-weight: 600;
}

.search-result__link span {
    display: inline-block;
    padding-left: 9px;
    font-size: 12px;
}





/**
 * Single Project Page
 **/

.single-project h2 {
    padding-bottom: 15px;
    color: var(--dark-blue);
}

.location-text {
    color: var(--dark-blue);
    text-transform: uppercase;
    font-weight: 700;
}

.single-project-slider {
    margin-top: -20px;
    margin-bottom: -20px;
}

.single-project-slider .slick-arrow {
    background: var(--red);
    right: 20px;
    left: auto;
    transition: .3s all;
}

.single-project-slider .slick-prev {
    top: 50%;
    -webkit-transform: translateY(calc(-50% - 35px));
            transform: translateY(calc(-50% - 35px));
    padding: 11px 12px 13px;
}

.single-project-slider .slick-prev::before {
    content: "\e904";
    font-weight: 300;
}

.single-project-slider .slick-next {
    top: 50%;
    -webkit-transform: translateY(calc(-50% + 30px));
            transform: translateY(calc(-50% + 30px));
}

.single-project-slider .slick-next::before {
    content: "\e901";
    font-weight: 700;
}

.single-project-slider__item {
    height: 460px;
}

.single-project-slider__item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 10px;
}

.testimonial-highlight {
    max-width: 872px;
    padding: 45px 25px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 1);
    color: var(--dark-blue);
    text-align: center;
    border: 1px solid #D3D8E5;
}

.testimonial-highlight__heading {
    margin-top: 0;
    margin-bottom: 0;
}

.testimonial-highlight__content p {
    font-size: 18px;
    line-height: 1.333em;
    font-family: 'DM Sans', sans-serif;
}

.testimonial-highlight__author {
    font-size: 16px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    font-style: italic;
    padding-top: 20px;
    letter-spacing: 0.05em;
}

.testimonial-highlight__btn {
    padding-top: 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .testimonial-highlight__heading {
        font-size: 32px;
    }
}

@media (min-width: 1025px) {
    .single-project-slider__item {
        padding: 20px 0;
    }

    .single-project-slider .slick-arrow {
        opacity: 0;
    }

    .single-project-slider:hover .slick-arrow {
        opacity: 1;
    }

    .testimonial-highlight__heading {
        font-size: 49px;
    }

    .testimonial-highlight__content p {
        font-size: 23px;
    }

    .testimonial-highlight__btn {
        padding-top: 60px;
    }
}
