a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: inherit;
}
#blog-detail,
#blog {
    direction: rtl;
    width: 96%;
    margin: 0 auto;
}

#blog {
    margin-top: 2em;
}
.blog-body-content img{
    margin: 1rem 0;
}
.blog-list-sidebar {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 15px;
    padding: 1em;
    background: #fff;
}

.slider-img img {
    width: 90%;
    height: 12em;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.slider-item-header-blog {
    width: 100%;
    background: #0000;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    margin: 0 0.3em;
    border-radius: 12px;
    margin-top: 2rem;
}

.slider-txt-blog {
    justify-content: center;
}

.blog-list-sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #3d4f50;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5rem;
}

.pagination a {
    background: #f5f5f5;
    font-size: 0.9rem;
    box-shadow: none !important;
    margin: 0 8px;
    border-radius: 50%;
    padding: 0.5rem 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pagination a:hover {
    color: #000;
}
.pagination {
    margin: 1rem 0 !important;
    align-items: center;
}

.next_icon,
.prev_icon {
    background: #000 !important;
    width: 2rem;
    height: 2rem;
    padding: 0.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #5c5656;
    margin: 0 0.75rem !important;
    font-size: 1.5rem !important;
    color: #fff !important;
}

.next_icon:hover {
    color: #fff !important;
}
li.page-item.active span {
    background: #000000ea;
    border-radius: 50%;
    border: none !important;

    font-size: 0.9rem;
    box-shadow: none !important;
    margin: 0 8px;
    padding: 0.5rem 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-list-sidebar {
    position: sticky;
    top: 0;
}
.blog-list-sidebar-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: #1f2728;
    margin-top: 0.75rem;
    position: relative;
    margin-right: 1.5rem;
}

.slider-title-blog {
    font-weight: 800;
    font-size: 1rem;
    color: #3d4f50;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    background: #fff;
    text-align: right;
    margin-bottom: 1rem;
}

/*.modal-backdrop.fade.show {*/
/*    display: none !important;*/
/*}*/

.span_title_blog_cards_in_blog_page {
    font-weight: 800;
    font-size: 1.2rem !important;
    color: #3d4f50;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    background: #fff;
    text-align: right;
}

.blog-list-sidebar-item::before {
    position: absolute;
    top: 5px;
    bottom: 0;
    right: -1.5rem;
    background: url(../img/blog.webp);
    width: 1rem;
    height: 1rem;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-select {
    padding-right: 1.25rem !important;
}

.blog-list-sidebar-item label {
    font-weight: 800;
    font-size: 18px;
    color: #1f2728;
}

.blog-list-sidebar-item:not(:last-child) {
    border-bottom: 1px solid #95b1b2;
    padding-bottom: 0.5em;
}

.blog-list-date-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: #3d4f50;
    border-bottom: 1px solid #95b1b2;
    padding-bottom: 0.5em;
}

.blog-header-responsive i{
    color: #3d4f50 !important;
}
.blog-header-responsive {
    display: none;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-filter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.blog-filter-title {
    font-weight: 700;
    font-size: 1rem;
    color: #3d4f50;
}

.blog-filter label {
    font-weight: 400;
    font-size: 1rem;
    color: #3d4f50;
    margin-left: 1em;
    min-width: max-content;
}

.blog-filter select,
#blog select {
    border: 1px solid #00000016 !important;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f5f5f5 url("../img/icon/dd.svg");
    background-size: 10px;
    background-position: 14px 15px;
    background-repeat: no-repeat;
}

.form-select:focus {
    border: none !important;
    box-shadow: none !important;
}

.blog-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0px 12px 10px -2px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

.slider-img-top-blog {
    display: block !important;
    height: 22rem;
    position: unset !important;
}
.slider-img-top-blog img {
    width: 100%;
    height: 100%;
}
.blog-item-img img {
    width: 100%;
    height: 12em;
}

.blog-item-body {
    padding: 0 1em;
    height: 12em;
    margin-top: 1em;
}

.blog-item-body-title {
    font-weight: 800;
    font-size: 1rem;
    color: #3d4f50;
}

.blog-item-body-txt {
    font-weight: 500;
    font-size: 1rem;
    color: #3d4f50;
    text-align: justify;
    height: 9em;
    overflow-y: hidden;
}

/*  */
.category {
    font-weight: 400;
    font-size: 1rem;
    color: #0c1010;
}

.category-title {
    color: #0c1010;
    font-weight: 700;
    font-size: 0.8rem;
}

.blog-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: #3d4f50;
}

.blog-date {
    font-weight: 700;
    font-size: 1rem;
    color: #3d4f50;
    text-align: left;
}

.bread_crumb_color {
    color: #f16055 !important;
}

.blog-body {
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    border-radius: 12px;
    padding-bottom: 1em;
    margin-bottom: 2em;
}

.blog-short-about-title {
    margin: 2rem 0 !important;
    background: #f0eded;
}

.blog-img img {
    width: 100%;
    border-radius: 12px;
    margin-top: 2rem;
    margin-bottom: 1em;
}

.btn-login_from_blog_for_send_comment {
    padding: 0.5rem 0.75rem;
    background: #fd5f54;
    color: #fff;
    margin-top: 1.5rem;
    width: fit-content;
    text-align: center;
}

.btn-login_from_blog_for_send_comment:hover {
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #fd5f54;
    color: #000;
}

.comment-section-not-login {
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    border-radius: 12px;
    padding: 1em 2em;
    margin-bottom: 1em;
}

/*.modal {*/
/*    display: none; !* Hidden by default *!*/
/*    position: fixed; !* Stay in place *!*/
/*    padding-top: 100px; !* Location of the box *!*/
/*    left: 0;*/
/*    top: 0;*/
/*    width: 100%; !* Full width *!*/
/*    height: 100%; !* Full height *!*/
/*    overflow: auto; !* Enable scroll if needed *!*/
/*    background-color: rgb(0, 0, 0); !* Fallback color *!*/
/*    background-color: rgba(0, 0, 0, 0.4); !* Black w/ opacity *!*/
/*}*/

/* Modal Content */
.modal-content1 {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 0 0;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#myBtn {
    background: #fff;
    border-radius: 12px;
    padding: 0.4rem 0.75rem;
    border: none;
}

.blog-body-title {
    font-weight: 700;
    font-size: 26px;
    color: #3d4f50;
    padding: 0 1em;
}

.blog-body-content {
    font-weight: 500;
    font-size: 1rem;
    color: #3d4f50;
    text-align: justify;
    padding: 0 2em;
}

.blog-body-img {
    padding: 0 2em;
    margin-bottom: 1em;
}

.blog-body-img img {
    width: 100%;
    border-radius: 8px;
}

.blog-tip {
    display: flex;
    width: 100%;
    padding: 0 2em;
    margin-bottom: 1em;
}

.blog-tip-title {
    background: #fff;
    border-radius: 0 8px 8px 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000;
    padding: 0.5em;
    width: 90%;
    border: 1px solid #000;
}
@media only screen and (max-width: 600px){
    .blog-tip-title {
        font-size: 1rem;
    }
}
.blog-tip-flash {
    background: #3d4f50;
    border-radius: 8px 0px 0px 8px;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-sidebar {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    border-radius: 12px;
    padding: 1em;
    margin-top: 1em;
}

.blog-sidebar-item {
    display: flex;
}

.blog-sidebar-item:not(:last-child) {
    border-bottom: 1px solid #95b1b2;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.section_rating_share {
    gap: 20px;
}

.blog-sidebar-item img {
    width: 30%;
    height: 6rem;
    margin-left: 0.5em;
    border-radius: 8px;
}

.blog-sidebar-item-product-cards img {
    width: 100% !important;
    height: 12em !important;
}
.blog-sidebar-item-product-cards {
    display: block !important;
}
.content-blog-sidebar-product-card {
    display: block !important;
}

.blog-sidebar-title-h2 {
    font-size: 1.5rem !important;
}

.blog-sidebar-title {
    font-weight: 700;
    font-size: 1rem;
    color: #3d4f50;
    text-decoration: unset;
}

.blog-sidebar-date {
    font-weight: 400;
    font-size: 0.75rem;
    color: #3d4f50;
}

.category-body {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #95b1b2;
    width: 93%;
    margin: 0 auto;
    padding-bottom: 1em;
}

.category-item {
    background: #e4ebec;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: #3d4f50;
    padding: 0.5em;
    margin-left: 1em;
}

.heart {
    font-weight: 700;
    font-size: 24px;
    color: #fd5f54;
}

.comment-icon {
    font-weight: 700;
    font-size: 24px;
    color: #95b1b2;
    margin: 0 0.5em;
}

.writer {
    display: flex;
    padding: 1em 2em;
}

.writer img {
    width: 7em;
    margin-left: 0.5em;
    border-radius: 4px;
}

.writer-title {
    font-weight: 400;
    font-size: 20px;
    color: #0c1010;
}

.writer-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2728;
}

/*  */
.comments {
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px,
    rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
    border-radius: 12px;
    padding: 1em 2em;
    margin-bottom: 1em;
}

.comments input,
.comments textarea {
    background: #f5f5f5 !important;
    border: 1px solid #fd7f76 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.form-control:focus {
    background: #f5f5f5 !important;
    border: 1px solid #fd7f76 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.comments-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #3d4f50;
}

.comments-item {
    display: flex;
    border-bottom: 1px solid #95b1b2;
    padding-bottom: 1em;
    padding-top: 2em;
}

.comments-name {
    font-weight: 600;
    font-size: 24px;
    color: #3d4f50;
}

.comments-date {
    font-weight: 400;
    font-size: 18px;
    color: #3d4f50;
}

.comments-body {
    font-weight: 500;
    font-size: 18px;
    color: #3d4f50;
    text-align: justify;
    padding-right: 1em;
}

.send-comment-title {
    margin-top: 1em;
    font-weight: 700;
    font-size: 27px;
    color: #3d4f50;
}

.send-comment-comment {
    font-weight: 400;
    font-size: 21px;
    color: #3d4f50;
}

.comments input,
.comments textarea {
    background: #f5f5f5;
    border: 2px solid #fd7f76;
    border-radius: 8px;
}

.comments label {
    font-weight: 700;
    font-size: 14px;
    color: #1f2728;
}

.btn-send-comment,
.btn-send-comment:hover,
.btn-send-reply:hover {
    background: #fd5f54;
    border: 1px solid #febfbb;
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
}

.btn-send-reply {
    background: #f2f6f6;
    border: 1px solid #febfbb;
    box-shadow: 0px 21px 17px -9px rgba(56, 56, 56, 0.25);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #fd5f54;
}

/* frequently-questions */
.frequently-questions {
    background: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 1em 2em;
    margin-bottom: 1em;
}

p.frequently-questions-title {
    font-weight: 700;
    font-size: 1.25rem !important;
    color: #3d4f50;
}

.slider-titr h2 > span {
    font-size: 1.25rem !important;
}

.accordion {
    border: none !important;
}

.accordion-item {
    margin-bottom: 1em;
}

.accordion-button {
    justify-content: space-between;
    text-align: right;
}

.accordion-button::after {
    margin-right: auto !important;
    margin-left: unset !important;
}
.accordion-button:not(.collapsed)::after {
    background-image: url(../img/minus-small-svgrepo-com.svg);
}

.accordion-button::after {
    background-image: url(../img/icons8-plus.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.accordion-button:not(.collapsed) {
    background: #ffffff;
}

@media (max-width: 996px) {
    .blog-list-sidebar,
    .blog-filter {
        display: none;
    }

    .blog-item {
        flex-direction: row;
    }

    .blog-item-img {
        width: 60em;
    }

    .blog-header-responsive {
        display: flex;
        justify-content: space-between;
    }

    .blog-item {
        display: flex;
        flex-direction: column;
    }

    .blog-item-img {
        width: 100%;
        height: auto;
    }

    .blog-header-responsive .btn {
        background: transparent;
    }

    .modal-body .blog-list-sidebar {
        display: block;
    }

    modal:not(#searchModal) .modal-content {
        background-color: transparent;
    }
}

.blog-tip-title a {
    color: #000;
    text-decoration: none;
}

.blog-list-sidebar a {
    text-decoration: none;
}

select.is_secret {
    border: 1px solid #fd7f76;
    border-radius: 12px;
    background-color: whitesmoke;
}

.modal-dialog {
    top: 0rem !important;
}

button.close {
    border: none;
    /*border-radius: 4px;*/
    background: transparent;
    color: #fd7f76;
    width: 2rem;
}

.comments-item.reply {
    display: flex;
    border-bottom: 1px solid #95b1b2;
    padding-bottom: 1em;
    padding-right: 2em;
    padding-top: 2em;
}

a.like-blog {
    cursor: pointer;
}

.blog-body-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#social-links {
    display: flex;
    justify-content: center;
}

#social-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

#social-links li {
    margin: 0 10px;
}

.heart_icon img {
    width: 1.7rem !important;
    height: 1.7rem !important;
}

.bookmark_icon img {
    width: 1.7rem !important;
    height: 1.7rem !important;
}


/* Media queries for responsiveness */
@media (max-width: 768px) {
    #social-links {
        flex-wrap: wrap;
    }

    #social-links li {
        margin: -14px;
    }

    .category-body {
        display: flex;
        flex-wrap: wrap;
    }

    .category-body > * {
        flex: 1 1 auto;
        min-width: 0;
    }

    .swiper-slide div {
        flex-direction: column;
    }
    .blog-header-responsive {
        align-items: center;
    }
    .slider-item {
        width: 100%;
    }

    .blog-tip {
        padding: 0 !important;
    }
    .section_rating_share {
        justify-content: space-around;
        margin-top: 1.5rem;
    }

    .title-date-single-blog {
        flex-direction: column;
        align-items: start !important;
    }
    .title-date-single-blog p {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .blog-short-about-title {
        margin: 0 !important;
    }
    .star_rated_single_blog {
        align-items: center;
        justify-content: center;
    }
    .form-control {
        margin-top: 1rem;
    }

    .modal-content1 {
        padding: 35px;
    }
}

@media screen and (max-width: 500px) {
    .splide__track {
        padding: 0 !important;
    }

    .comments {
        padding: 1rem 0.5rem;
    }
}

#pagination {
    margin: 2rem 0;
    padding: 0;
    text-align: center;
}
#pagination li {
    display: inline;
}
#pagination li a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px;
    color: #000;
}

/* Active and Hoverable Pagination */
#pagination li a {
    border-radius: 5px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}
#pagination li a.active {
    background-color: #fd5f54;
    color: #fff;
}
#pagination li a:hover:not(.active) {
    background-color: #ddd;
}

@media screen and (max-width:300px) {
    .ol_bread-crumb {
        flex-direction: column;
    }
}
figure.image.image_resized {
     max-width: 100% !important;
     height: auto !important;
     display: block;
     margin-left: auto;
     margin-right: auto;
 }

.ol_bread-crumb {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping when space is limited */
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl; /* Ensures the text aligns from right to left */
}

.ol_bread-crumb li {
    display: flex;
    align-items: center;
    white-space: nowrap; /* Keeps items on the same line as much as possible */
}

.breadcrumb-separator {
    margin: 0 5px;
}

.bread_crumb_color {
    color: #007bff; /* Adjust color as needed */
    text-decoration: none;
}

.bread_crumb_color:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .ol_bread-crumb {
        flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    }
}
.blog-sidebar {
    padding: 15px; /* فاصله داخلی از تمام جهات */
    margin-right: 0; /* حذف فاصله خارجی اضافی از سمت راست */
    text-align: right; /* تنظیم راست‌چین برای محتوای داخل */
    border: 1px solid #ddd; /* اضافه کردن بوردر ملایم برای تست */
    border-radius: 5px; /* گوشه‌های گرد */
}

.blog-sidebar-title-h2 {
    font-size: 1.5rem;
    color: #0c1010;
    margin-bottom: 15px;
    border-bottom: 2px solid #0c1010;
    display: inline-block;
    padding-bottom: 5px;
}

.blog-sidebar-item ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: right; /* تنظیم راست‌چین */
}

.blog-sidebar-link {
    display: block;
    font-size: 1rem;
    color: #0c1010;
    text-decoration: none;
    padding: 10px; /* فاصله داخلی مناسب برای لینک‌ها */
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: right;
}

.blog-sidebar-link:hover {
    color: #0056b3;
    background-color: #f8f9fa; /* پس‌زمینه ملایم هنگام هاور */
    padding-right: 15px; /* کمی جلوه حرکت به راست */
}
