/*
* Main Post Style
*/

/* Base layout for all positions */
.main-post-wrapper.style1 > article {
    display: flex;
    justify-content: flex-start;
    align-items: center; /* default, can be overridden inline by Elementor if needed */
}

/* Optional tweak for top layout (only needed if align-items changes) */
.main-post-wrapper.style1.image_top > article {
    align-items: flex-start;
}



/* .main-post-wrapper.style1.image_left > article,
.main-post-wrapper.style1.image_right > article{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.main-post-wrapper.style1.image_right > article{
    flex-direction: row-reverse;
    -ms-flex-direction: row-reverse;
}
.main-post-wrapper.style1.image_top > article{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    -ms-flex-direction: column;
} */

.post_wrapper.grid article{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post_wrapper.grid article > .post_content_wrapper{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post_wrapper.grid article > .post_content_wrapper > .post_content{
    flex-grow: 1;
}

.post_wrapper.grid article > .post_link > a{
    box-shadow: none;
}



.post_wrapper.first_style{
    position: relative;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
}

.post_wrapper.first_style .post_meta_content > .post_date,
.post_wrapper.first_style .post_meta_content > .post_views,
.post_wrapper.first_style .post_meta_content > .post_author{
    display: block;
    line-height: 35px;
}

.post_wrapper.first_style .post_meta_content > .post_date > span,
.post_wrapper.first_style .post_meta_content > .post_views > span,
.post_wrapper.first_style .post_meta_content > .post_author > span{
    display: inline-block;
    color: #555;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.post_wrapper.first_style .post_meta_content > .post_date > span.date_icon,
.post_wrapper.first_style .post_meta_content > .post_views > span.view_icon,
.post_wrapper.first_style .post_meta_content > .post_author > span.author_icon{
    padding-right: 3px;
}

.post_wrapper.first_style .post_content > .post_title{
    font-family: 'Rajdhani', sans-serif;
    color: #222;
    font-weight: 600;
    font-size: 24px;
    line-height: 37px;
}

.post_wrapper.first_style .post_content > .post_title,
.post_wrapper.first_style .post_content > .post_content{
    margin-bottom: 0;
}

.post_wrapper.first_style .post_content > .post_title > a{
    color: #222;
    transition: .5s;
    text-decoration: none;
}

.post_wrapper.first_style .post_content > .post_title:hover > a{
    color: #C9F31D;
}

.post_wrapper.first_style .post_link > a {
    width: 50px;
    height: 50px;
    line-height: 48px;
    border-radius: 50%;
    border: 1px solid #1C3F39;
    display: flex;
    justify-content: center;
    align-items:center;
    margin: 0 auto;
    transition: .5s;
}

.post_wrapper.first_style .post_link > a > img{
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    transform: rotate(-35deg);
}

.post_wrapper.first_style:hover .post_link > a{
    background-color: #C9F31D;
    transform: rotate(35deg);
}

.post_wrapper.first_style .post_image{
    position: absolute;
    right: -30%;
    top: 5%;
    opacity: 0;
    transition: .8s;
    z-index: -1;
}

.post_wrapper.first_style:hover .post_image{
    right: 20%;
    top: 0;
    opacity: 1;
}

/*
* Box Image Carousel Styles
*/
.man-carousel .man-image-box {
  width: auto;
  display: block;
  background-size: cover;
  background-position: center;
  padding: 30px;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.man-carousel .owl-item{
    overflow: hidden;
}

.man-carousel .man-image-box {
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.man-carousel .man-image-box .bg-image{
    width: 100%;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.man-carousel .man-image-box .content{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.man-carousel .man-image-box:hover .bg-image {
    transform: scale(1.1);
}

.man-carousel .owl-nav > .owl-prev > img,
.man-carousel .owl-nav > .owl-next > img{
    margin-top: -5px;
}

/*
* Article Carousel Styles
*/
.man-article-carousel{
    position: relative;
}
.man-article-carousel > .owl-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.man-article-carousel > .owl-nav > .owl-prev{
    float: left;
}
.man-article-carousel > .owl-nav > .owl-next{
    float: right;
}
.man-article-carousel > .owl-nav > .owl-prev > img,
.man-article-carousel > .owl-nav > .owl-next > img{
    margin-top:-7px;
}

@media only screen and (max-width: 767px) {
    .post_wrapper.first_style,
    .post_wrapper.first_style .post_content {
      text-align: center;
      margin-bottom: 30px;
    }
    .post_wrapper.first_style .post_meta_content{
        margin-bottom: 20px;
    }
    .post_wrapper.first_style .post_content > .post_title{
        margin-bottom: 10px;
    }

    .man-article-carousel > .owl-nav{
        position: static;
        transform: unset;
        margin-top: 15px;
    }
    .man-article-carousel > .owl-nav > .owl-prev,
    .man-article-carousel > .owl-nav > .owl-next{
        float: unset;
    }
}