/*
Theme Name: Bagels
Description: Blog styles.
*/

/* ---------------------------------
    Blog
   --------------------------------- */

/* Single Blog Page Background */
 .single-post.new-color .body-wrap {
        background-color: #ffffff !important;
    } 

   .post-wrapper:hover .post-content p.blog-description-display {
    display: -webkit-box; /* Enables multiline truncation */
    -webkit-line-clamp: 12; /* Limits text to 10 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1; /* Ensures visibility for this specific class */
    transition: none; /* Disable opacity transition for this */
}

@media (max-width: 1366px) {
    .post-wrapper:hover .post-content p.blog-description-display {
        display: -webkit-box; /* Enables multiline truncation */
        -webkit-line-clamp: 10; /* Limits text to 10 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 1; /* Ensures visibility for this specific class */
        transition: none; /* Disable opacity transition for this */
    }
}

@media (max-width: 767px) {
    .post-wrapper:hover .post-content p.blog-description-display {
        display: none !important; /* Force hiding on smaller screens */
        opacity: 0 !important; /* Ensure it is invisible */
        transition: none !important;
    }
}

.blog-posts .post-wrapper {
    background-color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: block;
    display: flex;
    flex-direction: column;
    height: 520px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-posts .post-wrapper:hover {
    transform: scale(1); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 4px rgba(0, 0, 0, 0.3); 
}

.p-0 {
    padding: 0;
}

.post-wrapper .post-header {
    position: relative;
}

.post-wrapper .post-header .post-thumb {
    overflow: hidden;
    position: relative;
}

.post-wrapper .post-header .post-thumb img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.search-results .container.blog-wrapper.page-container {
    margin-top: 0px;
    padding-top: 0;
}

.container.blog-wrapper.page-container {
    margin-top: 78px;
}

.blog-wrapper h3.page.header {
    text-align: center;
    margin-top: 0;
    font-size: 32px;
    margin-bottom: 30px;
    margin-top: 15px;
    color: #D44A29;
}

.blog-sidebar .sidebar-widget .search-wrapper input.fld-search {
    padding: 0 10px 0 10px;
    background-color: white;
}

.blog-sidebar .sidebar-widget .search-wrapper:before {
    display: none;
}

.post-wrapper .post-header .post-date {
    background-color: #4d4f50;
    border: 2px solid #eee;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    padding: 5px 12px;
    position: absolute;
    right: -27px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.post-wrapper .post-header .post-date span {
    display: block;
    font-size: 14px;
    margin-top: 0;
    text-transform: uppercase;
}

.post-wrapper .post-content {
    position: relative;
    padding: 35px 20px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px !important;
}

.post-wrapper .post-content .post-title {
    /*text-transform: uppercase;*/
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
    padding-top: 0;
    transition: all ease-out 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-wrapper:hover .post-content .post-title {
    /*text-transform: uppercase;*/
   color: #D44A29;
   transform: scale(1.05); 
   transition: transform 0.5s ease-in-out; 
   margin-left: 10px;
   
}

.post-wrapper .post-content .post-title a {
    color: #444;
    font-weight: 500;
}

.post-wrapper .post-content p {
    color: #343434;
    font-size: 18px;
    line-height: 24px;
}

.post-wrapper .post-content .post-link {
    color: #4d4f50;
    font-size: 17px;
    display: flex;
    align-items: center;
    font-weight: 500;
    padding-top: 2px;
}

img.image-responsive {
    -webkit-transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    /* transition: all ease-in-out 0.25s; */
    -webkit-text-decoration-skip: objects;
}

.post-wrapper .post-content .post-link .fal {
    padding-left: 7px;
}

/* .post-thumb a:hover img.image-responsive {
    transform: scale(1.05);
} */
.blog .post-wrapper .post-content .post-link{
    color: #444;
    transition: all ease-out 0.2s;
}





@media (min-width: 768px) {
    .post-wrapper {
        /*height: 210px;
        max-height: 210px;*/
        height: auto;
        min-height: 210px;
        overflow: hidden;
    }

    .blog-posts .post-wrapper {
        display: flex;
        background-color: rgb(212, 199, 187);
    }

    /*.post-wrapper .post-header {
        height: 202px;
    }
    .post-wrapper .post-header .post-thumb {
        height: 202px;
    }
    .post-wrapper .post-content {
        height: 202px;
    }*/
    .post-wrapper .post-header,
    .post-wrapper .post-content,
    .post-wrapper .post-header .post-thumb {
        min-height: 200px;
        height: 100%;
    }
    .post-content{
        background-color: rgb(212, 199, 187);
    }

    .single-post .post-content{
        background-color: transparent;
    }

}

@media (max-width: 767px) {

    .blog-wrapper h3.page.header {
        margin-bottom: 15px;
        margin-top: 0;
    }

    /*.blog-wrapper {
        padding-top: 85px;
    }*/
    .post-wrapper .post-header {
        height: 210px;
    }

    .post-wrapper .post-header .post-thumb {
        height: 210px;
    }

    .post-wrapper .post-header .post-date {
        top: 0;
        right: 0;
        transform: unset;
    }

    .post-wrapper .post-content {
        padding: 15px;
        height: 180px;
    }
    .post-content{
        background-color: rgb(212, 199, 187);
    }

    .single-post .post-content{
        background-color: transparent;
    }

}


/* ------------- Single Blog Post ------------- */

.single-post article {
    margin-bottom: 0;
    padding-bottom: 30px;
    position: relative;
    display: block;
}

.single-post .post-header {
    position: relative;
    margin-bottom: 25px;
}

.single-post .post-header .post-thumb {
    overflow: hidden;
    position: relative;
}

.single-post .post-header .post-thumb img {
    width: 100%;
    height: auto;
}

.single-post .post-title h3 {
    /*text-transform: uppercase;*/
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
    font-weight: 400;
    padding-top: 0;
}

ul.list-inline {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 0;
}

.single-post .post-meta ul li {
    font-size: 16px;
    color: #777;
}

.single-post .post-meta {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 10px;
}

.single-post .post-meta span {
    font-size: 14px;
    margin-right: 15px;
    color: #4d4f50;
}

.single-post .post-meta span.post-author a {
    color: #4d4f50;
    font-size: 15px;
}

.single-post .post-content {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.single-post .post-content p {
    /* color: #777; */
    line-height: 1.9;
}

.single-post .post-share {
    margin-top: 20px;
    margin-bottom: 10px;
}

.single-post .post-share h4 {
    display: inline-block;
    float: left;
    margin-top: 5px;
}

.single-post ul.footer-social-links {
    float: left;
    padding-left: 10px;
}

.single-post ul.footer-social-links li a {
    background-color: #5ea9e3;
    color: #fff;
}

.single-post ul.footer-social-links li a:hover {
    background-color: rgba(105, 156, 219, 0.8);
}

.single-post .tags {
    margin-top: 15px;
}

.single-post .tags a {
    font-size: 13px;
    display: inline-block;
    padding: 3px 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 4px;
    color: #999;
    font-weight: 500;
    padding-bottom: 1px;
}

/* .single-post .tags a:hover {
    color: #4d4f50;
} */

.single-post .tags a:hover {
    color: #777;
}



@media (min-width: 768px) {
    .single-post .post-header .post-thumb {
        height: 300px;
    }

    .single-post .post-header .post-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* ------------- Blog Sidebar ------------- */

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget-title {
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.blog-sidebar .search-wrapper {
    position: relative;
}

.blog-sidebar input.fld-search {
    border: 1px solid #c0c0c0;
    height: 40px;
    padding: 0 10px 0 40px;
    color: #404040;
    background: transparent;
    width: 100%;
    outline: 0;
    font-size: 13px;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.blog-sidebar .btn-search {
    border: 1px solid #c0c0c0;
    height: 40px;
    width: 40px;
    padding: 0 10px;
    color: #404040;
    background: transparent;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    -webkit-appearance: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    border: 1px solid #000000;
}

.blog-sidebar .btn-search:hover {
    background: #4d4f50;
    color: #fff;
    border: 1px solid #4d4f50;
}

.line-bottom {
    position: relative;
    padding-bottom: 10px;
}

.line-bottom:after {
    border: 1px solid #4d4f50;
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    width: 50px;
}

ul.list-border {
    list-style: outside none none;
    margin-top: 13px;
    padding-left: 0;
}

ul.list-border li {
    border-bottom: 1px dashed #d3d3d3;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

ul.list-border li a {
    color: #999;
    font-size: 15px;
}

ul.list-border li a:hover {
    color: #4d4f50;
}

/* ------------- WYSYWIG Support ------------- */

img.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 740px) {

    body,
    img,
    .wp-caption {
        max-width: 100%;
    }

    .wp-caption {
        width: auto;
    }
}

/* ------------- Comments ------------- */
.post-comments {
    clear: both;
    padding: 15px;
    margin-bottom: 1em;
    background-color: #f7f6f5;
}

.comments-title {
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 1.5em;
}

.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li:before {
    display: none;
}

.comment-body {
    margin-left: 60px;
}

.comment-author {
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.comment-author .avatar {
    height: 45px;
    left: -60px;
    position: absolute;
    width: 45px;
}

.comment-author .fn {
    font-style: normal;
    font-weight: 600;
}

.comment-author .fn a {
    pointer-events: none;
    color: #333;
}

.comment-author .says {
    display: none;
}

.comment-meta {
    margin-bottom: 0.7em;
}

.comment-meta a {
    color: #90949c;
    font-size: 13px;
}

.comment-meta a:first-child {
    pointer-events: none;
}

.comment-metadata {
    color: #767676;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1818em;
    text-transform: uppercase;
}

.comment-metadata a {
    color: #767676;
}

.comment-metadata a.comment-edit-link {
    color: #222;
    margin-left: 1em;
}

.comment-body {
    color: #333;
    font-size: 14px;
    margin-bottom: 2em;
}

.comment-reply-link {
    font-weight: 600;
    position: relative;
    color: #333;
    font-size: 13px;
}

.comment-reply-link:before {
    font-family: 'Font Awesome 5 Pro';
    content: '\f3e5';
    font-weight: bold;
    padding-right: 5px;
}

.children .comment-author .avatar {
    height: 30px;
    left: -45px;
    width: 30px;
}

.bypostauthor>.comment-body>.comment-meta>.comment-author .avatar {
    border: 1px solid #333;
    padding: 2px;
}

.no-comments,
.comment-awaiting-moderation {
    color: #767676;
    font-size: 14px;
    font-style: italic;
}

.comments-pagination {
    margin: 2em 0 3em;
}

.comment-form label {
    display: block;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
    height: 35px;
}

.comment-form textarea {
    height: 110px;
    max-height: 150px;
}

.comment-form input[type=checkbox],
.comment-form input[type=radio] {
    width: auto;
    height: auto;
    display: inline-block;
}

.comment-form input[type=checkbox]+label,
.comment-form input[type=radio]+label {
    display: inline-block;
    font-weight: normal;
}

.post-comments .form-submit input[type="submit"] {
    display: inline-block;
    width: auto;
    background-color: #4d4f50;
    padding: 6px 22px;
    color: #fff;
    font-weight: 500;
    border: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.post-comments .form-submit input[type="submit"]:hover {
    background-color: #3c3c3c;
}

.blog-post-container{
    display: flex;
    justify-content: flex-start;
    padding: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.blog-post-item-image{
    height: 366px;
    position: relative;
    overflow: hidden;
}

.blog-posts{
    width: 32.5%;
    margin-right: 1.2%;
}

.blog-posts:nth-child(3n) {
    margin-right: 0;
}

.blog-post-reading-time{
    width: 100%;
    height: 35px;
    display: flex;
    justify-content: space-between;
}

.blog-reading-time{
    min-width: 90px;
    max-width: 180px;
    height: 100%;
    border: 1px solid #1d1d1d;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1d1d1d;
    font-weight: 700;
    transition: background-color .3s cubic-bezier(.38,.41,.27,1),
                color .3s cubic-bezier(.38,.41,.27,1),
                border-color .3s cubic-bezier(.38,.41,.27,1);
    padding-left: 10px;
    padding-right: 10px;
}

.blog-reading-time .post-link {
    display: inline-block;          /* Allows the span to accept width and overflow properties */
    max-width: 100%;                /* Ensures the span doesn't exceed the width of its container */
    white-space: nowrap;            /* Prevents text from wrapping to the next line */
    overflow: hidden;               /* Hides any overflowing text */
    text-overflow: ellipsis;        
}

.blog-post-item-image {
    position: relative;
    overflow: hidden;
    background: rgb(231, 220, 210);; 
    transition: transform 1.2s ease;
}

.blog-post-item-content {
    position: absolute;
    bottom: 0; /* Start from above the container */
    left: 0;
    width: 100%;
    opacity: 1;
    z-index: 2;
    transition: bottom .3s cubic-bezier(.38,.41,.27,1), 
                top .3s cubic-bezier(.38,.41,.27,1),
                opacity 0.3s cubic-bezier(.38,.41,.27,1),
                background .3s cubic-bezier(.38,.41,.27,1); 
}

.post-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.post-wrapper:hover .blog-post-item-content {
    bottom: 0; /* Move to the bottom on hover */
}

/* If you want to start from bottom and move to top, use this alternative */
.blog-post-item-content {
    position: absolute;
    top: 70%; /* Start from below */
    left: 0;
    width: 100%;
    z-index: 2;
    transition: top .3s cubic-bezier(.38,.41,.27,1),
                opacity .3s cubic-bezier(.38,.41,.27,1);
}

.post-wrapper:hover .blog-post-item-content {
    top: 0; /* Move to top on hover */
    opacity: 1;
}

.post-wrapper:hover .blog-reading-time {
    background-color: #1d1d1d;
    color: white !important;
    border-color: #1d1d1d;
}

.post-wrapper .post-content p {
    display: none; /* Hide the paragraph initially */
    opacity: 0; /* Make it invisible initially */
    transition: opacity 0.6s ease-in-out; /* Smooth fade-in effect */
}

.post-wrapper:hover .post-content p {
    display: block; /* Show the paragraph */
    opacity: 1; /* Make the paragraph visible */
}


.blog .post-wrapper .post-content .blog-reading-time .post-link {
    color: #1d1d1d;
    margin-bottom: 0px;
}

.blog .post-wrapper .post-content .blog-reading-time .post-link i{
    color: #1d1d1d;
    
}

.blog .post-wrapper:hover .post-content .blog-reading-time .post-link {
    color: #ffffff;
}

.blog .post-wrapper:hover .post-content .blog-reading-time span.post-link{
    height: fit-content;
}

.post-thumb img{
    height: 100%;
    object-fit: contain;
}

.blog-author-name{
    color: #3d3d3d;
    font-weight: 700;
}

.addtoany_header{
    font-size: 24px;
    color: rgb(149, 137, 125);
    font-weight: 600;
}

.addtoany_content {
   
    margin: 40px auto !important;
}

@media (max-width: 1366px) {
    .blog-posts .post-wrapper {
        height: 500px;
    }

    .blog-post-item-image {
        height: 352px;
        position: relative;
        overflow: hidden;
    }

    .post-wrapper .post-content {
       
        padding: 20px 20px 18px 20px;   
    }

    .post-wrapper:hover .post-content p.blog-description-display {
        display: -webkit-box; /* Enables multiline truncation */
        -webkit-line-clamp: 10; /* Limits text to 10 lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 1; /* Ensures visibility for this specific class */
        transition: none; /* Disable opacity transition for this */
    }
}

@media (max-width: 1199px) {
    .blog-posts .post-wrapper {
        height: 420px;
    }

    .blog-post-item-content {
        top: 64%; 
    }

    .post-wrapper .post-content .post-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .blog-post-item-image{
        height: 270px;
       
    }

    .post-wrapper .post-content {
        padding: 30px 20px 18px 20px;
    }

}

@media (max-width: 991px) {
    .blog-posts .pre-post-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .container.blog-wrapper.page-container {
        padding-top: 10px;
        margin-top: 69px;
    }

    .blog-wrapper h3.page.header {
        font-size: 28px;
        margin-bottom: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 991px) {
    .blog-post-container{
        display: flex;
        justify-content: space-around;
        padding: 15px;
        flex-wrap: wrap;   
    }

    
    .blog-posts:nth-child(3n) {
        margin-right: 0px;
    }

    .blog-posts {
        width: 48%;
    }

    .blog-posts .post-wrapper {
        height: 440px;
    }

    .blog-post-item-image{
        height: 290px;
       
    }

    .post-wrapper .post-content {
        padding: 35px 20px 18px 20px;
        border: 1px solid rgb(212, 199, 187);
    }

    .blog-posts {
        margin-right: 0px;
    }

}

@media (max-width: 767px) {

    .blog-post-item-image{
        height: 210px; 
    }

    .post-comments {
        margin-left: -15px;
        margin-right: -15px;
    }

    .blog-posts .post-wrapper {
        height: 340px;
        margin-bottom: 0;
        background-color: rgb(212, 199, 187);
    }

    .blog-posts {
        width: 46%;
    }

    .blog-post-container{
        display: flex;
        justify-content: center;
        padding: 15px;
        flex-wrap: wrap;
        gap: 20px;   
    }

    .post-wrapper .post-content {
        padding: 15px;
        height: 130px;
        min-height: 100px !important;
        padding-top: 25px;
    }

    .blog-post-item-content {
        top: 64%; 
    }

    .post-wrapper .post-content p {
        display: block;
        opacity: 1;
    }

    .post-wrapper .blog-post-item-content {
        top: 62%; /* Keep the content in its initial position */
        opacity: 1; /* Ensure the content is fully visible */
    }

    .post-wrapper:hover .blog-post-item-content {
        top:62%; /* Move to top on hover */
        opacity: 1;
    }
    
    .post-wrapper .blog-reading-time {
        background-color: transparent; /* Reset to default */
        color: #95897d; /* Keep the original text color */
    }
    
    .post-wrapper .post-content p {
        display: none; /* Always show the paragraph */
        opacity: 1; /* Keep the paragraph visible */
        transition: none; /* Remove transition effects */
    }

    .post-wrapper:hover .post-content p {
        display: none; /* Always show the paragraph */
        opacity: 1; /* Keep the paragraph visible */
        transition: none; /* Remove transition effects */
    }
    
    .blog .post-wrapper .post-content .blog-reading-time .post-link {
        color: #95897D; /* Keep the default color */
        margin-bottom: 0px;
    }
    
    .post-wrapper:hover .post-content .post-title {
        /*text-transform: uppercase;*/
       color: #D44A29;
       transform: scale(1); 
       transition: none; 
       margin-left: 0;
       
    }

    .post-wrapper .post-content .post-title {
        color: #D44A29;
    }

    .blog-reading-time {
        border: 1px solid #95897D;   
    }

    .post-wrapper:hover .blog-reading-time {
        border-color: #95897d;
        transition: none;
    }
    

}

@media (max-width: 540px) {

    .post-wrapper .blog-post-item-content {
        top: 70%;
        opacity: 1;
    }

    .post-wrapper:hover .blog-post-item-content {
        top:70%; /* Move to top on hover */
        opacity: 1;
    }

    .blog-posts .post-wrapper {
        height: 400px;
        margin-bottom: 0;
    }

    .blog-posts {
        width: 100%;
    }

    .blog-post-container{
        display: flex;
        justify-content: center;
        padding: 15px;
        flex-wrap: wrap;
        gap: 20px;   
    }

    .post-wrapper .post-content {
        padding: 15px;
        height: 121px;
        min-height: 100px !important;
    }

    .post-wrapper .post-header .post-thumb {
        height: 280px;
    }

    .blog-post-item-content {
        top: 60%;
    }

    .blog-post-item-image{
        height: 280px; 
    }

    #related-products-carousel .owl-item .tiesh-img-wrapper img {
        height: 70% !important;
        object-fit: fill;
    }

    #related-products-carousel .owl-item .tiesh-img-wrapper {
        height: 160px !important;
    }
}

@media (min-width: 768px) {
    .comment-list .children {
        margin-left: 45px;
    }
}

.col-lg-9 .blog-posts {
    width: 49%;
    margin-right: 0;
}

/* .col-lg-9 {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   
} */

.col-lg-9 .post-wrapper .post-content .post-link {
    color: #4d4f50;
    margin-bottom: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.col-lg-9 .post-wrapper:hover .post-content .post-link {
    color: #ffffff;
}


/* product-catousel-css */
#related-products-carousel .owl-carousel {
    position: relative;
}


.blog-products-carousel .owl-carousel .owl-nav {
    position: absolute; 
    top: 30%; 
    transform: translateY(-50%); 
    width: 100%; 
    display: flex; 
    justify-content: space-between; 
    pointer-events: none; 
}

.blog-products-carousel .owl-carousel .owl-nav button.owl-prev {
    pointer-events: auto; 
    margin: 0; 
    margin-left: 4px;
    background-color: transparent;
    color: #000;
}


 .post-related-section{
    height: 450px;
 }
 
 #related-products-carousel .owl-carousel {
    width: 100%;
}


.blog-products-carousel .owl-carousel .owl-nav .owl-prev,
.blog-products-carousel .owl-carousel .owl-nav .owl-next {
    padding: 6px 7px !important;
    background-color: transparent;
    color: rgb(149, 137, 125);
    font-size: 60px;
}


.related-products ul{
    padding-inline-start: 0;
    padding-inline-end: 0;
}

#related-products-carousel .owl-item {
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.2); */
    display: flex;
    justify-content: center;
    min-height: 335px;
}



#related-products-carousel .owl-item:last-child {
    margin-right: 0;
}


#related-products-carousel li.product.type-product {
    margin-right: 0;
    margin-bottom: 5px !important;
}

#related-products-carousel .owl-carousel .owl-stage {
    width: 100%;
}

#related-products-carousel .owl-stage-outer{
    padding-bottom: 20px;
    margin-bottom: -20px;
    padding-left: 5px;
    margin-left: 0;
    padding-top: 5px;
    margin-top: -5px;
    overflow: hidden;
    width: 100%;  
}

#related-products-carousel .owl-stage-outer .owl-stage {
    width: 90%; 
}

#related-products-carousel h2{
    margin-right: 15px;
}

.read-more-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: color 0.6s ease-in-out;
    max-width: 120px;
}

.read-more-text .post-link{
    display: inline-block;          /* Allows the span to accept width and overflow properties */
    max-width: 100%;                /* Ensures the span doesn't exceed the width of its container */
    white-space: nowrap;            /* Prevents text from wrapping to the next line */
    overflow: hidden;               /* Hides any overflowing text */
    text-overflow: ellipsis; 
}

.post-wrapper .post-content .post-title a:hover, .post-wrapper .post-content .read-more-text .post-link:hover {
    color: rgb(99, 99, 99);
}

.blog-products-carousel a.woocommerce-LoopProduct-link.woocommerce-loop-product__link span.price{
    display: none;
}

.load-more-container{
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.blog-load-more-btn{
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    color: #0a0a0a;
    background-color: transparent;
    border: 1px solid #0a0a0a; 
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    width: fit-content;
    padding: 10px 17px 9px;
    min-width: 165px;
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 16px;
}


.blog-load-more-btn:hover{
    background-color: #0a0a0a;
    color: #ffffff;
}

.blog-post-search-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
}

#related-products-carousel .owl-item .tiesh-img-wrapper{
    width: fit-content;
    overflow: hidden;
    
}


@media (max-width: 1366px) {
    #related-products-carousel .owl-item .tiesh-img-wrapper{
        height: 235px;
        width: fit-content;
        overflow: hidden;
        
    }

    #related-products-carousel .owl-item .tiesh-img-wrapper img{
        height: 100% !important;
        width: 350px;
        object-fit: fill;
    }
}

@media (max-width: 991px) {
    .post-related-section{
        height: 400px;
     }
}

@media (max-width: 767px) {
    .post-related-section{
        height: 400px;
     }

     .post-content .a2a_kit.a2a_kit_size_32.addtoany_list{
        margin: 0;
     }

     #related-products-carousel .owl-item .tiesh-img-wrapper{
        height: 240px !important;
    }

    .post-wrapper:hover .blog-reading-time {
        background-color: transparent;
        color: #1d1d1d !important;
    }

    .blog .post-wrapper:hover .post-content .blog-reading-time .post-link {
        color: #95897D;;
    }
}

@media (max-width: 540px) {
    .post-related-section{
        height: 280px;
     }

     #related-products-carousel .owl-item {
        min-height: 300px;
    }

    #related-products-carousel .owl-item .tiesh-img-wrapper {
        height: 160px !important;
    }

    #related-products-carousel .owl-item {
        min-height: 230px;
    }

    .blog-posts:nth-child(3n) {
        margin-right: 0;
    }

    .blog-posts {
        margin-right: 0;
    }
   
}


.search .post-wrapper:hover .post-content .post-link {
    color: #ffffff;
}

.search .post-wrapper:hover .post-content .read-more-text .post-link {
    color: #705544;
}

.blog .post-wrapper .post-content .post-link:hover{
    color: #D44A29;
}

.blog-wrapper.single .post-title h3.page.header  {
    color: #D44A29;
    font-size: 34px;
}





