/* .page-template-news {
    background-image: url(/wp-content/uploads/2021/10/offers-1.svg), url(/wp-content/uploads/2021/10/blog-2.svg), url(/wp-content/uploads/2021/10/blog-1.svg);
    background-size: 350px 105px, 230px 230px, 1315px 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-position: -140px 600px, 65% -140px, 110% -150px;
} */

.single-post {
    background-image: url(../../../uploads/2021/10/blog-2.svg), url(../../../uploads/2021/10/blog-1.svg);
    background-size: 230px 230px, 1315px 600px;
    background-position: center;
    background-repeat: no-repeat;
    background-position: 65% -140px, 110% -150px;
}

@media screen and (max-width: 767px) {
    .page-template-news,
    .single-post {
        background-image: url(../../../uploads/2021/10/blog-1.svg);
        background-size: 1315px 600px;
        background-position: 65% -140px;
    }
}

@media screen and (max-width: 480px) {
    .page-template-news,
    .single-post {
        background-image: unset;
    }
}


/* Baner */

.page-template-news .banner,
.single-post .banner {
    padding-bottom: 0;
    margin-bottom: 0;
}

.page-template-news h1,
.single-post h1 {
    font-size: 3.25rem;
    font-weight: 400;
}

.page-template-news h1:after,
.single-post h1:after {
    content: none;
}

.single-post h1:after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: #F5BD80;
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Post loop */

.posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 25px;
    row-gap: 65px;
}

.post {
    font-family: 'Helvetica', sans-serif;
    border-radius: 13px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.2s ease-in-out;
}

.post a:hover {
    color: inherit;
}

.post:hover .post-content {
    background-color: #2C2F51;
    color: #FFF;
}

.post-thumbnail {
    display: block;
    position: relative;
    background-color: grey;
    background-image: repeating-linear-gradient( 45deg, #eee, #eee 10px, #ddd 10px, #ddd 20px);
    position: relative;
}

.post-thumbnail::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='449' height='315' viewBox='0 0 449 315'%3E%3Cdefs%3E%3ClinearGradient id='linear-gradient' x1='0.17' y1='-0.188' x2='0.212' y2='0.906' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23ffcb92' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%232c2f51'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect id='AdobeStock_314462398' width='449' height='315' fill='url(%23linear-gradient)'/%3E%3C/svg%3E%0A");
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.post:hover .post-thumbnail::after {
    opacity: 1;
}

.post-image-fixed-ratio {
    padding-bottom: 75%;
    background-size: cover;
    background-position: center center;
}

.post-content {
    background-color: #DFDFDF;
    padding: 15px 35px 0 35px;
    display: flex;
    flex-direction: column;
    color: #3b4066;
    border-radius: 0 0 13px 13px;
    height: 100%;
}

.post-date {
    color: #FFCB92;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 11px;
}

.post-date::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    margin-right: 15px;
    background-repeat: no-repeat;
    background-image:  url(../../../uploads/2022/11/data.svg);
    background-size: contain;
    background-position: center;
    position: relative;
    top: -2px;
}

.post-title {
    font-weight: bold;
    font-size: 20px;
    line-height: 35px;
    margin-bottom: 25px;
    color: inherit;
}

.post-excerpt {
    font-size: 16px;
    line-height: 35px;
    margin-bottom: 25px;
}

.post-footer {
    margin-top: auto;
}

.read-more {
    font-weight: bold;
    font-size: 16px;
    line-height: 35px;
    display: inline-flex;
    align-items: center;
    position: relative;
    color: inherit;
    padding-bottom: 25px;
    line-height: 1;
}

.read-more::before {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-color: #FFCB92;
}

.read-more::after {
    content: '';
    display: block;
    width: 8px;
    height: 16px;
    position: absolute;
    right: -30px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.454' height='17.096' viewBox='0 0 9.454 17.096'%3E%3Cg id='right-arrow' transform='translate(-116.772 0.547)'%3E%3Cpath id='Path_63' data-name='Path 63' d='M117.923.231a.348.348,0,0,0-.492.492l7.4,7.4-7.4,7.4a.348.348,0,0,0,.483.5l.009-.009,7.649-7.649a.348.348,0,0,0,0-.492Z' transform='translate(0 -0.13)' fill='%23ffcb92' stroke='%23ffcb92' stroke-width='1'/%3E%3Cpath id='Path_64' data-name='Path 64' d='M117.8,15.994a.348.348,0,0,1-.246-.594l7.4-7.4-7.4-7.4A.348.348,0,0,1,118.041.1l7.649,7.649a.348.348,0,0,1,0,.492l-7.649,7.649A.348.348,0,0,1,117.8,15.994Z' transform='translate(-0.118 0)' fill='%23ffcb92' stroke='%23ffcb92' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-size: contain;
    background-position: center;
}

@media screen and (max-width: 992px) {
    .posts {
        grid-template-columns: 1fr 1fr;
        row-gap: 25px;
    }
}

@media screen and (max-width: 767px) {
    .posts {
        grid-template-columns: 1fr;
    }
}


/* Pagination */

.pagination {
    margin-top: 75px;
    margin-bottom: 70px;
    justify-content: center;
}

.pagination .page-numbers {
    width: 68px;
    height: 68px;
    border-radius: 15px;
    display: -webkit-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2C2F51;
    font-size: 16px;
    font-weight: 700;
    background-color: #F8F8F8;
}

.pagination .page-numbers+.page-numbers {
    margin-left: 14px;
}

.pagination .prev,
.pagination .next {
    font-size: 0;
    background-size: 12px;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9.454' height='17.096' viewBox='0 0 9.454 17.096'%3E%3Cg id='right-arrow' transform='translate(-116.772 0.547)'%3E%3Cpath id='Path_63' data-name='Path 63' d='M117.923.231a.348.348,0,0,0-.492.492l7.4,7.4-7.4,7.4a.348.348,0,0,0,.483.5l.009-.009,7.649-7.649a.348.348,0,0,0,0-.492Z' transform='translate(0 -0.13)' fill='%23ffcb92' stroke='%23ffcb92' stroke-width='1'/%3E%3Cpath id='Path_64' data-name='Path 64' d='M117.8,15.994a.348.348,0,0,1-.246-.594l7.4-7.4-7.4-7.4A.348.348,0,0,1,118.041.1l7.649,7.649a.348.348,0,0,1,0,.492l-7.649,7.649A.348.348,0,0,1,117.8,15.994Z' transform='translate(-0.118 0)' fill='%23ffcb92' stroke='%23ffcb92' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E%0A");
}

.pagination .prev {
    transform: rotate(180deg);
}

.pagination .page-numbers.current {
    background-color: #2C2F51;
    color: #FFCB92;
}

@media screen and (max-width: 480px) {
    .pagination .page-numbers {
        width: 48px;
        height: 48px;
    }
    .pagination .page-numbers+.page-numbers {
        margin-left: 7px;
    }
}


/* Section Quote */

.quote {
    background-color: #2C2F51;
}

.quote .container {
    position: relative;
}

.quote:after {
    content: '';
    display: block;
    width: 254px;
    height: 179px;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-image: url(../../../uploads/2021/10/line-cta.svg);
    background-size: contain;
    background-position: center;
    transform: translate(0, -50%);
}

.quote-wrapper {
    max-width: 910px;
    padding-top: 70px;
    padding-bottom: 60px;
    margin: 0 auto;
}

.quote p {
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 35px;
    color: #FFF;
    font-weight: 700;
    text-align: center;
    z-index: 1;
    position: relative;
}

.quote p span {
    color: #ffcb92;
}


/* SINGLE POST */

.banner-footer {
    align-items: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

@media(min-width: 992px){
    .banner-footer {
        margin-top: 30px;
        margin-bottom: 70px;
    }
}

@media screen and (min-width: 993px) {
    .banner .post-date {
        margin-bottom: 0;
    }
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.tags * {
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #2c2f51;
    min-width: 150px;
    min-height: 53px;
    border-radius: 13px;
    background: #f8f8f8;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    /* margin-bottom: 18px; */
    /* margin-right: 18px; */
}

.tags *:last-of-type {
    margin-right: 0;
}

.tags a {
    pointer-events: none;
}

.single-post-img {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* margin-bottom: 100px; */
}

.single-post-img::before,
.single-post-img::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1807' height='422' viewBox='0 0 1807 422'%3E%3Cdefs%3E%3ClinearGradient id='linear-gradient' x1='0.17' y1='-0.188' x2='0.967' y2='0.473' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23ffcb92' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23ffcb92'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect id='AdobeStock_235333959' width='1807' height='422' rx='13' fill='url(%23linear-gradient)'/%3E%3C/svg%3E%0A");
    background-size: cover;
    background-position: center;
}


    /* background-image: url(/wp-content/uploads/2021/10/offers-1.svg), url(/wp-content/uploads/2021/10/circle-1.svg);
    background-size: 350px 105px, 450px 450px;
    background-position: -170px 50px, 90% calc(100% - -220px); */
    @media(min-width: 992px){
        .single-post-img::after {
        background-image: url(../inc/assets/images/Frame-1.svg);
        width: 1116px;
        left: unset;
        right: 0;
        top: -133px;
        height: 662px;
    }
} 

@media screen and (max-width: 992px) {
    .single-post-img::after {
        background-image: none;
    }
}


/* Single post content */

.single-post-content {
    color: #3B4066;
}

.single-post-content .container {
    /* max-width: 900px; */
}

.single-post-content h2 {
    font-size: 30px;
    line-height: 35px;
    color: inherit;
    margin-top: 1.4em;
    margin-bottom: 1.2em;
}

.single-post-content p {
    font-size: 18px;
    line-height: 35px;
}


/* Related posts */

.related-posts {
    margin-top: 80px;
    border-top: 1px solid rgba(44 47 81 / .23);
    padding-top: 60px;
    margin-bottom: 40px;
}

.related-posts h2 {
    font-family: 'Helvetica', sans-serif;
    font-weight: normal;
    font-size: 40px;
    font-weight: 700;
    line-height: 65px;
    color: #2c2f51;
    text-align: center;
    margin-bottom: 2rem;;
}
.related-posts h2:before {
    content: "";
    background: url(../../../uploads/2021/10/element-heading.svg);
    width: 34px;
    height: 33px;
    display: block;
    margin:0 auto 0.5rem;
}

.related-posts .posts {
    column-gap: 100px;
}

.related-posts .post-content {
    /* background: none; */
}

@media screen and (max-width: 992px) {
    .related-posts .posts {
        column-gap: 20px;
    }
}

section.single-post-content a {
    color: #3B4066;
    text-decoration: underline;
    font-weight: 600;
}

section.single-post-content ul li,
section.single-post-content ol li {
    margin-bottom: 1px;
    font-size: 18px;
    line-height: 35px;
}