.featured-posts .container{
    display: flex;
    flex-wrap: wrap;
}
.featured-posts .container.reverse{
    flex-direction: row-reverse;
}
.featured-posts .container.reverse .right-side{
    padding-left: 0;
    padding-right: 2rem;
}
.featured-posts .itemtext p {
font-family: 'Montserrat';
    font-size: calc(var(--fontsize_s) * var(--text-scaler));
    line-height: calc(var(--lineh_p) * var(--text-scaler));
}
.featured-posts .itemtext h3 {
    font-family: "Times New Roman", Times, serif;
    text-transform: uppercase;
}

.featured-posts .left-side{
    width: 66%;
    padding-right: 0rem;
}

.featured-posts .right-side{
    width: 34%;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding-left: 2rem;
}

.featured-posts .post .media,
.search-results .media-container{
    margin-bottom: 1.5rem;
}

.featured-posts .post {
    cursor: pointer;
    border: 1.5px solid #fff;
    padding: 5rem 4rem 4rem 4rem;
    height: auto;
}

.featured-posts .post .item-read-more {
    color: var(--textclr4);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 2rem;
    font-weight: 700;
}

.featured-posts .post .item {
    overflow: unset;
    height: 100%;
}

.featured-posts .post .item .itemtext {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.featured-posts .post .item-read-more::before{
    content: '';
    position: absolute;
    /* width: 100%; */
    width: calc(100% - 3.3rem);
    height: 1px;
    background: var(--textclr4);
    /* top: 100%; */
    top: calc(100% + 0.4rem);
    left: 0;
    pointer-events: none;
    transform-origin: 100% 50%;
    transform: scale3d(0, 1, 1);
    transition: transform 0.3s;
}

.featured-posts .post .item-read-more:hover::before {
    transform-origin: 0% 50%;
    transform: scale3d(1, 1, 1);
}

.featured-posts .post .item-read-more svg{
    width: 3.3rem;
    height: auto;
    transition: var(--animtime1);
}

.featured-posts .post .item-read-more svg path{
    fill: var(--textclr4);
}

.featured-posts .post .item-read-more:hover svg {
    transform: translateX(0.4rem);
}

.featured-posts .post h3,
.featured-posts .post h3 a,
.featured-posts .post p{
    color: var(--textclr4);
    text-decoration: none;
}

.featured-posts .post p{
    margin-bottom: 0;
}

.featured-posts .swiper-wrapper{
    height: auto;
}

.featured-posts .post h3,
.search-results .itemtext h3{
    margin-top: 0.2rem;
}

.featured-posts .post h3 a{
    text-decoration: none;
}

.featured-posts .post h3 span,
.search-results .itemtext h3 span:not(.highlighted){
    font-weight: 700;
}

.categories-line  .category{
    background: transparent;
    padding: 0 !important;
    color: var(--textclr4);
    text-align: left;
    margin-bottom: -0.5rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.featured-posts .left-side .post h3{
    font-size: 3.5rem;
    line-height: normal;
}

.featured-posts .container.top .right-side{
    width: 100%;
    padding-left: 0;
    order: 1;
    padding-right: 0;
    display: grid;
    column-gap: 2rem;
    grid-template-columns: 1fr 1fr;
}

.featured-posts .container.top .left-side{
    order: 2;
    width: 100%;
}

.featured-posts .container .right-side + .posts-slider {
    margin-top: 4rem;
}
.featured-posts .container .posts-slider {
    width: 100%;
    /*overflow: hidden;*/
}
.featured-posts .container .posts-slider .top-line .btn {
    color: currentColor;
    border-color: currentColor !important;
}
body.archive .featured-posts .container .posts-slider {
    overflow: unset;
}

.featured-posts .container .posts-slider .swiper-slide .media{
    height: 22.1rem;
    width: 100%;
    position: relative;
}

.featured-posts .container .posts-slider .swiper-slide .media figure{
    height: 100%;
    width: 100%;
    position: relative;
}

.featured-posts .container .posts-slider .swiper-slide .media figure img,
.featured-posts .container .posts-slider .swiper-slide .media figure video{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.featured-posts .container.top{
    flex-direction: column;
    row-gap: 4rem;
}

.featured-posts .container.top .left-side .media{
    height: 44rem;
    width: 100%;
    position: relative;
}

.featured-posts .container.top .left-side .media figure{
    position: relative;
    width: 100%;
    height: 100%;
}

.featured-posts .container.top .left-side .media figure img,
.featured-posts .container.top .left-side .media figure video{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.featured-posts .container.top.reverse{
    flex-direction: column-reverse;
}

.swiper-pagination {
    position: relative!important;
    bottom: unset!important;
    width: auto!important;
}

.posts-slider .top-line {
    margin-bottom: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 84rem;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    color: white;
}

.posts-slider .top-line h2{
    margin: 0 0 2rem;
    color: var(--textclr4);
}

.swiper-pagination-bullet-active{
    background: var(--clr1)!important;
}

h2.module-title{
    margin-top: 0;
    font-weight: bold;
}

.posts-list .container.grid .swiper-wrapper{
    display: grid;
    column-gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 4rem;
}

.posts-list .container.grid{
    flex-direction: column;
}

.categories-line{
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5rem;
}

.load-more-container.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

@media screen and (max-width: 776px) {
    .featured-posts .right-side {
        width: 100%;
        display: grid;
        flex-direction: column;
        row-gap: 2rem;
        padding-left: 0;
        margin-top: 3rem;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .featured-posts .left-side {
        width: 100%;
        padding-right: 0rem;
    }
    .featured-posts .right-side .media{
        height: 22.1rem;
        width: 100%;
        position: relative;
    }

    .featured-posts .right-side .media figure{
        width: 100%;
        height: 100%;
        position: relative;
    }
    .featured-posts .right-side .media figure img,
    .featured-posts .right-side .media figure video{
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        object-fit: cover;
        object-position: center;
    }
    .posts-list .container.grid .swiper-wrapper {
        display: grid;
        column-gap: 2rem;
        grid-template-columns: 1fr 1fr;
        row-gap: 3rem;
    }
}

@media screen and (max-width: 650px) {
    .featured-posts .right-side {
        grid-template-columns: 1fr!important;
        gap: 3rem;
    }
    .featured-posts .right-side .media figure img, .featured-posts .right-side .media figure video, .featured-posts .container .posts-slider .swiper-slide .media figure img, .featured-posts .container .posts-slider .swiper-slide .media figure video,
    .featured-posts .container.top .left-side .media figure img, .featured-posts .container.top .left-side .media figure video{
        position: relative;
        width: 100%;
        height: auto;
        z-index: 1;
        object-fit: unset;
        object-position: unset;
    }
    .featured-posts .right-side .media, .featured-posts .container .posts-slider .swiper-slide .media, .featured-posts .container.top .left-side .media {
        height: auto;
    }
    .featured-posts .left-side .post h3 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }
    .posts-list .container.grid .swiper-wrapper {
        grid-template-columns: 1fr;
    }
    .featured-posts .post {
        padding: 3rem 2rem 3rem 2rem;
    }
    .items-list, .swiper-wrapper, div.swiper-free-mode>.swiper-wrapper, .results-wrapper .woocommerce {
        margin-top: 1.5rem;
    }
}