/**
* Hero 1
*/
.code-wrapp.hero1 .background-img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    box-shadow: inset 0 0 20px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #333;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.code-wrapp.hero1 .blog-outer-wrapp {
    height: 480px;
    float: left;
    position: relative;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3 .blog-inner-wrapp {
    height: 230px;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3 .blog-inner-wrapp:last-child {
    top: 245px;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-1 {
    width: 50%;
}

.code-wrapp.hero1 .blog-outer-wrapp.section-3,
.code-wrapp.hero1 .blog-outer-wrapp.section-2 {
    width: 25%;
}

.code-wrapp.hero1 .blog-inner-wrapp {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.code-wrapp.hero1 .post-content:before {
    content: '';
    position: absolute;
    top: -100%;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: -webkit-linear-gradient(-270deg, black 0%, rgba(0, 0, 0, 0.917) 5.3%, rgba(0, 0, 0, 0.834) 10.6%, rgba(0, 0, 0, 0.753) 15.9%, rgba(0, 0, 0, 0.672) 21.3%, rgba(0, 0, 0, 0.591) 26.8%, rgba(0, 0, 0, 0.511) 32.5%, rgba(0, 0, 0, 0.433) 38.4%, rgba(0, 0, 0, 0.357) 44.5%, rgba(0, 0, 0, 0.283) 50.9%, rgba(0, 0, 0, 0.213) 57.7%, rgba(0, 0, 0, 0.147) 65%, rgba(0, 0, 0, 0.089) 72.9%, rgba(0, 0, 0, 0.042) 81.4%, rgba(0, 0, 0, 0.011) 90.6%, transparent 100%);
    background-image: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0.917) 5.3%, rgba(0, 0, 0, 0.834) 10.6%, rgba(0, 0, 0, 0.753) 15.9%, rgba(0, 0, 0, 0.672) 21.3%, rgba(0, 0, 0, 0.591) 26.8%, rgba(0, 0, 0, 0.511) 32.5%, rgba(0, 0, 0, 0.433) 38.4%, rgba(0, 0, 0, 0.357) 44.5%, rgba(0, 0, 0, 0.283) 50.9%, rgba(0, 0, 0, 0.213) 57.7%, rgba(0, 0, 0, 0.147) 65%, rgba(0, 0, 0, 0.089) 72.9%, rgba(0, 0, 0, 0.042) 81.4%, rgba(0, 0, 0, 0.011) 90.6%, transparent 100%);
}

.code-wrapp.hero1 .post-content {
    position: relative;
    width: 100%;
}

.code-wrapp.hero1 .post-content-inner {
    padding: 20px;
    position: relative;
    color: #fff;
}

.code-wrapp.hero1 span.cat-links.layout4 a,
.code-wrapp.hero1 h2.entry-title a,
.code-wrapp.hero1 .entry-meta a {
    color: #fff;
}

.code-wrapp.hero1 .post-content-outer {
    position: absolute;
    width: 100%;
    bottom: 0;
}


/**
* Hero 2
*/
.code-wrapp.hero1.hero2 .blog-outer-wrapp.section-3 .blog-inner-wrapp {
    height: auto;
}

.code-wrapp.hero1.hero2 .blog-outer-wrapp.section-3 .blog-inner-wrapp:last-child {
    top: 5px;
}

.code-wrapp.hero1.hero2 .blog-inner-wrapp {
    width: 100%;
}

.code-wrapp.hero1.hero2 .blog-inner-wrapp {
    box-shadow: none;
}

.code-wrapp.hero2 .blog-outer-wrapp {
    overflow: hidden;
}


/**
* Section titles
*/
.newzz-elements-wrapp .title-wrapp h3 {
    margin: 0;
    padding: 0;
}

.newzz-elements-wrapp .title-wrapp.layout-1,
.newzz-elements-wrapp .title-wrapp.layout-2,
.newzz-elements-wrapp .title-wrapp.layout-3 {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 30px;
    border-bottom: 2px solid #eee;
    position: relative;
    margin-bottom: 25px;
    justify-content: space-between;
}

.newzz-elements-wrapp .title-wrapp {
    border-color: #eee;
}

.newzz-elements-wrapp .title-wrapp.layout-1:after,
.newzz-elements-wrapp .title-wrapp.layout-2:after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--theme-color);
    display: block;
    position: absolute;
    bottom: -2px;
}

.newzz-elements-wrapp .title-wrapp.layout-2:after {
    height: 6px;
}


/***
* Module 1
*/
.code-wrapp.module1 .blog-outer-wrapp.col-3 {
    width: 32.33%;
}

.code-wrapp.module1 .blog-outer-wrapp.col-2 {
    width: 49%;
}

.code-wrapp.module1 .blog-outer-wrapp.col-4 {
    width: 24%;
}

.code-wrapp.module1.layout-1 .post-content {
    margin-top: 15px;
}

.code-wrapp.module1 .blog-outer-wrapp {
    margin-bottom: 20px;
}

.code-wrapp.module1 .blog-outer-wrapp.col-1 {
    width: 100%;
}

.code-wrapp.module1.layout-2 .post-content {
    border: 1px solid #d6d6d6;
    padding: 20px 15px;
}

.post-loader.module1-pl {
    text-align: center;
}

/***
* Module 2
*/
.code-wrapp.module2 .blog-inner-wrapp {
    display: flex;
}

.code-wrapp.module2 .img-wrapp {
    /* max-width: 180px;
    flex: 0 0 180px; */
    margin-right: 15px;
}

.code-wrapp.module2 .blog-outer-wrapp {
    position: relative;
}

.code-wrapp.module2 .post-counter {
    position: absolute;
    top: 0;
    z-index: 9;
    font-weight: 700;
    background: #fff;
    width: 25px;
    height: 25px;
    line-height: 24px;
    border-radius: 50%;
    background: var(--theme-color);
    text-align: center;
    font-size: 12px;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 1px 1px #ddd;
}

.code-wrapp.module2 .blog-outer-wrapp.col-3 {
    width: 32.33%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-2 {
    width: 49%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-4 {
    width: 24%;
}

.code-wrapp.module2 .blog-outer-wrapp.col-1 {
    width: 100%;
}

.code-wrapp.module2 .blog-outer-wrapp {
    margin-bottom: 15px;
}

.code-wrapp.module2 .post-content p {
    margin: 10px 0;
}

.code-wrapp.module2.layout-2 .post-content {
    padding: 15px 15px 15px 0;
}

.code-wrapp.module2.layout-2 .blog-outer-wrapp {
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 7%);
}

.code-wrapp.module2.layout-1 .blog-outer-wrapp.col-1:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
}


/***
* Module 3
*/
.code-wrapp.module3 .blog-outer-wrapp.section-1,.code-wrapp.module3 .blog-outer-wrapp.section-3 {
    width: 23%;
    margin-top: -45px;
}

.code-wrapp.module3 .blog-outer-wrapp.section-2 {
    width: 50%;
}
.code-wrapp.module3 .post-content {
    margin-top: 15px;
}

.code-wrapp.module3 .blog-outer-wrapp {
    margin-bottom: 20px;
}

.post-loader.module3-pl {
    text-align: center;
}


/***
* Module 4
*/
.code-wrapp.module4 .blog-inner-wrapp {
    display: block;
}

.code-wrapp.module4 ul.category-widget li {
    width: 12%;
    display: inline-block;
    padding: 0 0;
    margin: 0 0;
}

.code-wrapp.module4 ul.category-widget li img {
    height: 120px;
    width: 120px;
    object-fit: cover;
}

.code-wrapp.module4 ul.category-widget li img.layout-1 {
    border-radius: 50%;
}

.code-wrapp.module4 ul.category-widget li img.layout-2 {
    border-radius: 0%;
}

.code-wrapp.module4 ul.category-widget {
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: space-between;
    flex-wrap: wrap;
}

.code-wrapp.module4 ul.category-widget li .content-wrapp {
    text-align: center;
    margin-top: 10px;
    display: flex;
}

.code-wrapp.module4 ul.category-widget li .content-wrapp a {
    color: #333;
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 18px;
}
.code-wrapp.module4 ul.category-widget li a {
    display: block;
    width: fit-content; /* or a specific width */
    margin: 0 auto;
}

.code-wrapp.module4 .category-widget {
    width: 90%;
}

.code-wrapp.module4 .blog-outer-wrapp {
    margin-bottom: 15px;
}

.title-wraps {
    padding: 1px 0;
}

.title-wraps.pos-2 {
    text-align: center;
}

.title-wraps.pos-1 {
    text-align: left;
}

.title-wraps.pos-3 {
    text-align: right;
}


/**
* Slider 1
*
*/
.code-wrapp.slider1 .slider-main-wrapper {
    display: none;
}

.code-wrapp.slider1 a.btn.read-more {
    color: #fff;
    background: var(--theme-color);
    padding: 8px 15px;
    border-radius: 3px;
}

.code-wrapp.slider1 .slider-main-wrapper.slick-initialized {
    display: block;
}

.code-wrapp.slider1 .blog-inner-wrapp {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    z-index: 1;
    min-height: 720px;
}

.code-wrapp.slider1 .blog-inner-wrapp::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .5) 59%, rgba(0, 0, 0, .8) 100%);
    z-index: -1;
}

.code-wrapp.slider1 .blog-inner-wrapp .img-wrapp {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    transform-origin: top center;
    z-index: -1;
}

.code-wrapp.slider1 .post-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    translate: 0 -50%;
    width: 100%;
    padding: 0 155px 0 60px;

}

.code-wrapp.slider1 .post-content h2.entry-title a,
.code-wrapp.slider1 .post-content .entry-meta a,
.code-wrapp.slider1 .post-content p,
.code-wrapp.slider1 span.posted-on:before,
.code-wrapp.slider1 span.comment-count:before,
.code-wrapp.slider1 span.byline a:before,
.code-wrapp.slider1 span.post-views:before,
.code-wrapp.slider1 span.cat-links.layout4 a,
.code-wrapp.slider1 span.posted-on a,
.code-wrapp.slider1 span.author-by {
    color: #fff;
}


.code-wrapp.slider1 .slick-dots {
    bottom: -45px;
}

.code-wrapp ul.category-widget li span.counter {
    background: var(--theme-color);
    border-radius: 50%;
    height: 25px;
    width: 25px;
    line-height: 25px;
    display: inline-block;
    font-size: 14px;
    color: #fff;
}

/**
* slick slider hack
*/
.slick-dots li button {
    height: auto;
    width: auto;
    padding: 2px 10px;
    margin-top: 5px;
    border: 1px solid #858585;
    margin-right: 27px;
    display: block;
    transition: all 0.3s ease-in;
}

.slick-initialized .slick-dots li button {
    height: auto;
    width: auto;
    padding: 2px 10px;
    margin-top: 5px;
    border: 1px solid #858585;
    margin-right: 27px;
    display: block;
    transition: all 0.3s ease-in;
}

.slick-initialized li.slick-active button {
    background: var(--theme-color);
}

.slick-initialized .slick-dots li.slick-active button:before {
    font-size: 0;
}

.slick-initialized .slick-dots li button:hover:before,
.slick-initialized .slick-dots li button:focus:before {
    color: var(--theme-color);
}

.slick-initialized .slick-dots li button:before {
    font-size: 0;
}

.slick-initialized li.slick-active button {
    border-color: var(--theme-color);
}

li.slick-active button {
    background: var(--theme-color);
}

.slick-dots li.slick-active button:before {
    font-size: 0;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    color: var(--theme-color);
}

.slick-dots li button:before {
    font-size: 0;
}

li.slick-active button {
    border-color: var(--theme-color);
}

/* slider arrows */
.code-wrapp button.slick-arrow {
    background: #fff;
    height: 40px;
    width: 40px;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
}

.code-wrapp:hover button.slick-arrow {
    opacity: 1;
    visibility: visible;
}

.code-wrapp .slick-prev:before,
.code-wrapp .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    color: #333;
    opacity: 1;
    font-size: 16px;
}

.code-wrapp .slick-next {
    right: 0;
}

.code-wrapp .slick-prev {
    left: 0;
    z-index: 99;
}

.code-wrapp .slick-prev:before {
    content: '\f053';
    font-weight: 600;
}

.code-wrapp .slick-next:before {
    content: '\f054';
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .code-wrapp.module2 .blog-outer-wrapp.col-4 {
        width: 50%;
    }

    .code-wrapp.module1 .blog-outer-wrapp.col-3 {
        width: 49%;
    }
}

@media only screen and (max-width: 430px) {
    .code-wrapp.module2 .blog-outer-wrapp.col-4 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp.section-1 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp.section-3,
    .code-wrapp.hero1 .blog-outer-wrapp.section-2 {
        width: 100%;
    }

    .code-wrapp.hero1 .blog-outer-wrapp {
        float: none;
    }

    .code-wrapp.module1 .blog-outer-wrapp.col-3 {
        width: 100%;
    }

    .code-wrapp.module2 .blog-inner-wrapp {
        display: block;
    }

    .code-wrapp.module2 .blog-outer-wrapp.col-4 a.post-thumbnail img,
    .code-wrapp.module2 .blog-outer-wrapp.col-1 a.post-thumbnail img {
        width: 100%;
    }
}