
@mixin commoncss {
    img {
        display: block;
    }

    &__categories {
        margin-bottom: 1rem;
        position: absolute;
        top: 10px;
        left: 10px;

        &.position-right-top-corner {
            left: auto;
            right: 10px;
        }

        &.position-bottom-left-corner {
            top: auto;
            bottom: 10px;
            left: 10px;
            right: auto;
            margin-bottom: 0;
        }

        &.position-bottom-right-corner {
            top: auto;
            left: auto;
            bottom: 10px;
            right: 10px;
            margin-bottom: 0;
        }

        &.position-half-over-thumbnail {
            bottom: -15px;
            top: auto;
            margin-bottom: 0;
            left: 20px;
        }

        span.cat-links {
            a {
                background: #f16234;
                padding: 7px 20px;
                border-radius: 50px;
                color: #fff;
                line-height: 1.4;
                display: inline-block;
                word-break: break-word;
                margin: 0 .2rem .2rem 0;
                transition: .4s;

                .elementor-widget-container & {
                    text-decoration: none;
                }

                &:hover {
                    background-color: #000;
                    color: #fff;
                }
            }
        }
    }

    &__read-more {
        a {

            background: #f16234;
            color: #fff;
            padding: 10px 25px;
            border-radius: 50px;
            display: inline-block;
            margin-top: 1rem;
            transition: 0.4s;
            line-height: 1.5;
            &:visited{
                background: #f16234;
                color: #fff;
            }
            .elementor-widget-container & {
                text-decoration: none;
            }
            &:hover {
                background-color: #000;
                color: #fff;
            }
        }
    }

    &__title h2 {
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        padding-bottom: 0;
        line-height: normal;
        font-size: 1.7rem;

        a {
            color: #000000;
            transition: .4s;
            background: linear-gradient(to right, #000 0%, #000 100%);
            background-repeat: no-repeat;
            background-position: left 87%;
            display: inline;
            padding-bottom: 4px;
            background-size: 0% 3px;

            &:hover {
                background-size: 100% 3px;
            }

            .elementor-widget-container & {
                text-decoration: none;
            }
        }
    }
}

.position {
    &-static {
        position: static !important;
    }

    &-absolute {
        position: absolute !important;
    }

    &-relative {
        position: relative !important;
    }
}

.rswpthemes-awt-posts-carousel-section > .container {
    padding-right: 0;
    padding-left: 0;
}
@media (max-width: 767px) {
    .rswpthemes-awt-posts-carousel-section > .container {
        padding-right: 0;
        padding-left: 0;
    }
}
.rswpthemes-awt-posts-layout-one {
    margin-bottom: 2rem;
    position: relative;
    transition: .4s;
    @include commoncss;

    &__content-wrapper {
        padding: 1.6rem;
        background: #f1f1f1;
    }

    &__thumbnail {
        position: relative;

        &:hover {
            img {
                filter: brightness(0.6);
            }
        }

        img {
            transition: .4s;
        }
    }

    &__blog-meta ul {
        margin: 0;
        padding: 0;
        list-style: none;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;

        li {
            margin: 0;
            padding: 0;
            list-style: none;
            display: inline-block;
            margin-right: 1rem;

            &:last-child {
                margin-right: 0;
            }

            &.author-meta {
                img {
                    width: auto;
                    border-radius: 50%;
                    margin-right: 0;
                    float: left;
                }

                a {
                    display: flex;
                    align-items: center;
                }
            }

            span {
                margin-right: 10px;
                color: #444444;
            }

            a {
                color: #444444;
                text-transform: capitalize;

                .elementor-widget-container & {
                    text-decoration: none;
                }

                span {
                    margin-right: 10px;

                    &.posted-on {
                        display: none;
                    }
                }
            }
        }
    }


    &__excerpt {
        color: #444444;

        p {
            margin-top: 0;
            margin-bottom: 1rem;
        }
    }
}

.easi-social-links-container {
    margin: 0 -5px;
    .social-link {
        display: inline-block;
        font-size: 1rem;
        margin: 5px;
        a {
            font-size: 1.1rem;
            color: #000000;
            display: block;
            text-align: center;
        }
    }
}
.posts_carousel_active .owl-nav button {
    top: 50%;
    margin-top: -20px;
    height: 40px;
    width: 40px;
    background: #fff;
    box-shadow: 0 0 4px 1px #00000033;
    border-radius: 50%;
    z-index: 5;
    position: absolute;
    transition: .4s;
}

.posts_carousel_active .owl-nav button.owl-next {
    right: -100px;
}

.posts_carousel_active .owl-nav button.owl-prev {
    left: -100px;
}

.posts_carousel_active .owl-nav button:hover {
    background: #000;
    color: #fff;
    box-shadow: none;
}

@media (max-width: 1500px){
    .posts_carousel_active .owl-nav button.owl-prev{
        left: -30px;
    }
    .posts_carousel_active .owl-nav button.owl-next{
        right: -30px;
    }
}
@media (max-width: 1200px){
    .posts_carousel_active .owl-nav button.owl-prev{
        left: 0px;
    }
    .posts_carousel_active .owl-nav button.owl-next{
        right: 0px;
    }
}