
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}


ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: "y1";
    src: url("../fonts/y1.woff") format("woff");
}

@font-face {
    font-family: "peyda";
    src: url("../fonts/IRANSansX-Bold.woff") format("woff");
}
@font-face {
    font-family: "y3";
    src: url("../fonts/y3.woff") format("woff");
}
@font-face {
    font-family: "dana2";
    src: url("../fonts/dana-medium.woff") format("woff");
}

@font-face {
    font-family: "y5";
    src: url("../fonts/y5.woff") format("woff");
}


@font-face {
    font-family: "kalameh";
    src: url("../fonts/kalameh.woff") format("woff");
}

@font-face {
    font-family: "yekanbakh";
    src: url("../fonts/YekanBakh-FaNum-Medium.woff") format("woff");
}

@font-face {
    font-family: "swap";
    src: url("../fonts/Font1-Medium.woff2") format("woff");
}

@font-face {
    font-family: "dana";
    src: url("../fonts/dana-bold.woff") format("woff");
}

body {
    font-family: swap;
    --tw-bg-opacity: 1;
    background-color: rgb(243, 244, 246);
}

a {
    text-decoration: none !important;
}


@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fa100, .fa200 {
    margin-left: 5px;
}

.fa100 {
    vertical-align: -4px;
}

.fa200 {
    /* فقط margin-left نیاز بود */
}

.card {
    margin-bottom: 35px;
    border: none !important;
}

.card .card-title {
    padding: 0 18px;
    margin: 0 !important;
    height: 55px;
    /*height: 80px;*/
}

.card-title:hover {
    cursor: pointer !important;
}

.card-title h2 {
    font-family: swap;
    font-size: .83rem;
    text-align: justify;
    line-height: 24px;
    word-spacing: -1px;
    color: #212121 !important;
    margin-bottom: 0!important;

}

.card-content, .course-categories, .course_auther_site {
    padding: 0 11px;
}

.truncate-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.text-muted {
    color: #575e64;
    font-size: 0.79rem;
    line-height: 1.8;
    font-family: yekanbakh;
    text-align: justify;
    word-spacing: -1px;
}

.course-info-footer {
    border-top: 1px dashed #e0e0e0;
    text-align: right;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    font-family: yekanbakh !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.view-course-link {
    font-family: yekanbakh;
    font-size: 0.8rem;
    color: #2980b9;
    text-decoration: none;

}

.view-course-link i {
    font-size: 14px;
    color: #2980b9;
    transition: transform 0.2s;
    vertical-align: -3px;
    margin-right: 5px;
}

.view-course-link:hover i {
    transform: translateX(-4px);
}

.course-categories2 .badge {
    font-family: yekanbakh;
    padding: 9px 2px 9px 10px;
    background-color: #f1f1f1;
    font-weight: 500;
    font-size: 13px !important;
    border-radius: unset !important;
}

.course-categories .badge {
    font-family: yekanbakh;
    /*padding: 7px 2px 7px 10px;*/
    border-radius: 8px;
    background-color: #f1f1f1;
    font-weight: 500;
    font-size: 12px !important;
    margin-top: 8px;
    color: #212121c4;
}

.course_auther_site .badge {
    font-family: yekanbakh;
    /*padding: 7px 2px 7px 10px;*/
    border-radius: 8px;
    background-color: #f1f1f1;
    font-weight: 500;
    font-size: 12px !important;
    color: #212121c4 !important;
}

.course_auther_site span i {
    margin-right: 0 !important;
}

.course-categories span i {
    margin-right: 0 !important;
}

.course_time_site {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon-cat-custome {
    vertical-align: -1px;
}

.course-author,
.course-author2 span,
.course-auther-time,
.box_post_info {
    font-family: yekanbakh !important;
}


.course-author i {
    font-size: 14px;
    color: #2980b9 !important;
}

.text_blue {
    color: #2980b9 !important;
}

.fl {
    float: left;
}

.btn-see-more {
    background: #f1f4f8 !important;

    padding: 6px 18px;
    border-radius: 8px;

    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    margin-bottom: 1rem !important;
    color: #2980b9;
    font-family: swap;
    font-size: 13px;
}

.btn-see-more:hover {
    border-color: #999;
    color: #000;
}

.btn-see-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    font-size: 15px;
    vertical-align: middle;
    margin-top: 2px;
}


/* اگر دکمه فعال شود، جهت فلش تغییر کند */
.btn-see-more.active i {
    transform: rotate(180deg);
}


.btn-see-more i {
    font-size: 16px;
    vertical-align: middle;
}

.fs13 {
    font-size: 13px !important;
}

/* تصاویر داخل کادر */
.card-image, .card-image2 {
    position: relative;
    overflow: hidden;
    height: 162px;
}

.card-image2 {
    height: 220px !important;
    border-radius: 8px;
}

.card-image img {
    width: 100%;
    height: 162px !important;
}

.swal2-popup.custom-small-popup {
    width: 300px !important;
    font-size: 0.9rem;
    padding: 10px 16px !important;
    font-family: yekanbakh !important;
}

.section-head-title-post {
    position: relative !important;
    font-family: yekanbakh;
    font-size: 17px;
    color: rgba(58, 67, 83, 0.88) !important;
    display: block;
}

.famore {
    color: #2980b9c9 !important;
}

.post_header_title div {
    display: flex;
    justify-content: space-between;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /*gap: 0.4rem;*/
    margin-top: 1rem;
}

.pagination .page-numbers {
    display: inline-flex; /* تغییر به flex برای کنترل بهتر */
    align-items: center; /* وسط چین عمودی */
    justify-content: center; /* وسط چین افقی */
    padding: 0; /* حذف padding اضافی */
    width: 30px; /* عرض ثابت */
    height: 30px; /* ارتفاع ثابت */
    border-radius: 3px;
    background-color: #f9f9f9;
    color: #3b84fb !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none !important;
    margin: 0 4px; /* فاصله کمی بین دکمه ها */
    font-size: 13px;
    user-select: none; /* جلوگیری از انتخاب متن هنگام کلیک */
    cursor: pointer;
}

.pagination .page-numbers:hover {
    background-color: #3b84fb;
    color: #fff !important;
}

.pagination .page-numbers.current {
    background-color: #3b84fb;
    color: #fff !important;
    font-weight: normal; /* جلوگیری از تغییر اندازه به دلیل ضخامت متن */
}

.pagination .next,
.pagination .prev {
    display: none !important;
}

.icon_awesome {
    font-size: 16px !important;
    margin-left: 3px !important;
}

/* موبایل */
@media (max-width: 767px) {


    .card .card-title {
        height: 72px;
    }

    .card-title h2 {
        font-size: 13px;
    }



}

/* اسلایدر */
.swiper {
    direction: rtl;
    width: 100%;
    height: 100%;
    padding-top: 1.5rem;
}

.bg-slider-custome {
    /*background: #efefefde; !* رنگ شیشه‌ای از #E1E5EB *!*/
    backdrop-filter: blur(10px); /* افکت بلور */
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    border-radius: 8px;

    /*border: 1px solid rgba(255, 255, 255, 0.2);*/
    background: #f9f9f9 !important;
    padding: 0 10px !important;
    border-radius: 8px !important;

}

.slider-container-custome {
    padding: 0 !important;
}

.text-set-font {
    font-family: yekanbakh !important;
}

.icon_awesome_user {
    vertical-align: -2px !important;
}

.icon_awesome_custome {
    vertical-align: -2px !important;
    margin-left: 2px;
}

.icon_awesome_cat {
    vertical-align: -3px !important;
}

.cover_image_index_post {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 33px;
    height: 33px;
    background: #f9f9f9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 1;

}

.cover_image_index_post3 {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 33px;
    height: 33px;

    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 1;

}


.cover_image_index_post svg {
    color: #fff !important;
}

.cover_image_index_post3 svg {
    color: #fff !important;
}


.card_show_post_single {
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);*/
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px!important;
}

.card-custome-aside {

}

.card_show_post_single .card-header {
    background-color: #fff;
    padding: 15px;
    border: none !important;
}

.card_show_post_single .card-header h1 {
    font-family: kalameh, Tahoma, sans-serif !important;
    font-size: 1.5rem !important;
    color: rgb(48, 62, 81) !important;
    margin: 0;
    animation: fadeUp 0.6s ease-out;
}

.card_show_post_single .card-header h1 i {
    vertical-align: -4px;
    margin-left: 3px;
    color: #2980b9;
}

.card_show_post_single .card-body .post-content {
    text-align: justify;
    font-size: 15px;
    font-weight: 300;
    line-height: 35px;
    --tw-text-opacity: 1;
    color: #342D2D;
    font-family: swap;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: swap, yekanbakh, sans-serif;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.post-content h1 {
    font-size: 1.4rem;
}

.post-content h2 {
    font-size: 1rem;
    line-height: 29px!important;
}

.post-content h3 {
    font-size: .95rem;
    line-height: 29px!important;
}

.post-content h4 {
    font-size: 9rem;
    line-height: 29px!important;
}

.post-content h5 {
    font-size: .88rem;
    line-height: 29px!important;
}

.post-content h6 {
    font-size: 0.86rem;
    line-height: 29px!important;
}

.post-content p {
    margin-bottom: 0.76rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1rem 2rem;
    padding-left: 1rem;
}

.tag-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    direction: rtl;
    font-family: kalameh;
}

.tag-title {
    color: #34495e;
    display: flex;
    align-items: center;
    font-size: .85rem;
    font-family: yekanbakh;
}

.icon-tag-title {
    color: #2980b9;
    margin-right: 8px;
    font-size: 1rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background-color: #f1f4f8;
    color: #34495e;
    font-family: yekanbakh;
    font-size: .7rem;
    padding: 8px 8px;
    border-radius: 0;
    text-decoration: none;
    flex: 0 1 auto;
    white-space: nowrap;
    text-align: center;
    transition: 0.2s;
    border-radius: 8px!important;
}

/* موبایل: دقیقاً 3 ستون */
@media (max-width: 600px) {
    .tag-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .tag-item {
        /*white-space: normal;*/
        text-align: right;
    }
}


/* تراز و فاصله آیکون در عنوان "برچسب‌ها" */
.icon-tag-title {
    color: #2980b9;
    margin-left: 6px; /* چون RTL هست */
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle; /* تراز عمودی */
}

/* آیکون داخل هر برچسب */
.tag-item i {
    color: #2980b9;
    margin-left: 5px; /* فاصله بین آیکون و متن برچسب */
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle; /* تراز عمودی با متن */
}


.tag-item:hover {
    background-color: #2980b9;
    color: #fff;
}

.tag-item:hover i {
    color: #fff;
}


.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

.tailwind-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.svg_reply {
    vertical-align: -5px;
    margin-left: 3px;
}

@media (min-width: 640px) {
    .tailwind-container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .tailwind-container {
        max-width: 768px;
    }
}

@media (min-width: 975px) and (max-width: 1023px) {
    .tailwind-container {
        max-width: 1023px!important;
    }
}

@media (min-width: 1024px) {
    .tailwind-container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .tailwind-container {
        max-width: 1280px;
    }
}

.title_post_single {
    color: #333;
    font-family: swap;
    font-size: 1.44rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem;
}


.truncated {
    max-height: 240px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0.6; /* حالت کم‌رنگ */
}

.expanded {
    max-height: none;
    opacity: 1; /* پررنگ بعد از باز شدن */
}


.btn-see-more:hover {
    background-color: #1f6390 !important;
    color: #fff;
}

/* اختیاری: برای smoother transition رنگ متن */
.transition-color {
    transition: opacity 0.3s ease;
}


.post-content.truncated {
    max-height: 250px;
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
}

/* افکت محو چندخطی با گرادیانت */
.post-content.truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}


.post-content.expanded {
    mask-image: none;
    -webkit-mask-image: none;
}

@media (max-width: 768px) {
    .btn-see-more {
        font-size: 13px;
        padding: 6px 16px;
    }
}

.post-content.expanded {
    animation: fadeUp 0.4s ease-out;
}

.card-body .post-meta {
    border-radius: 8px;
    font-family: kalameh !important;
    font-size: 0.875rem;
    color: #6c757d;
}

.box_aside {
    background: #fff;
    height: 44px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: .7rem;
    line-height: 1.5;
    font-family: Swap !important;
    margin-bottom: 6px;
    border-radius: 8px!important;
    padding: 0 3px;

}


.box_auther_single {
    border-radius: 8px;
    font-family: kalameh !important;
}

.box_auther_single p {
    font-family: yekanbakh !important;
    font-size: 0.7rem!important;
}

.box_aside i {
    color: #1f6390;
    margin-top: -1px;
}

.b5r {
    border-radius: 8px !important;
}

.post-meta svg {
    color: rgb(59, 132, 251);
    margin-right: 6px;
}

.card-tags {
    /*box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1) !important;*/
}

.card-title h2 a {
    color: #212121;
}

.course-categories2 span a {
    color: #333;
}

.copy_link_vira {
    background: transparent;
    border: none;
}

.copy_link_vira_input {
    background: transparent;
    border: none;
    font-family: kalameh;
    font-size: 13px;
    color: #212121;
}


.title_copy_link {
    text-align: center;
    font-family: Swap;
    font-size: .8rem !important;
}

#copyText span {
    font-family: yekanbakh;
    font-size: .76rem !important;
    color: #666 !important;

}

#searchsubmit {
    font-family: yekanbakh !important;
    font-size: .8rem !important;
}

.custome_copy_link {
    padding-top: 3px !important;
    padding-bottom: 3px !important;

}

.copy_link_vira_input i {
    font-size: 1rem;
    color: rgb(59, 132, 251);
}

@media (max-width: 576px) {
    .copy_link_vira_input span {
        font-size: 0.9rem;
    }
}

@media (min-width: 977px) and (max-width: 1011px) {
    .copy_link_vira_input {
        flex-direction: column !important;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .copy_link_vira_input i {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
}

.h_related_pic {
    height: 170px !important;
    /*border-radius: 8px !important;*/
}

.title_related_post {
    height: 55px;
    padding: 0 2px;

}

.title_related_post p {
    font-family: swap !important;
    line-height: 23px;
    font-size: .83rem !important;
}

.owl-carousel .item {
    background: #fff !important;
    color: #333 !important;

    /*margin: 10px !important;*/
    text-align: right !important;
    min-height: 283px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 8px !important;
    position: relative;
}

.course-info-footer2-single {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}


.owl-carousel {
    display: block !important;
}


.title_slider {
    font-family: swap;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.view-course-link2 {
    font-family: kalameh;
    color: #2980b9;
    text-decoration: none;
    font-size: 15px;
}

.view-course-link2 i {
    vertical-align: -3px;
    margin-right: 3px;
}

.slider_owl2 {
    /*background: #efefef9c !important;*/
    border-radius: 8px !important;
    padding: 5px !important;
}

.himageheightsingle {
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .himageheightsingle {
        height: 280px; /* یا هر ارتفاع دلخواه دیگر */
    }
}

.buttom-info {
    display: flex;
    border-top: 0.86px solid #F3F3F3;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
}

.buttom-info2 {
    display: flex;
    border-top: 0.86px solid #F3F3F3;
    align-items: flex-end; /* یا center، بسته به نیاز */
    justify-content: flex-start; /* آیکون‌ها به سمت چپ */
    margin-top: 20px; /* فاصله از بالا */
    padding: 10px; /* اختیاری، برای فاصله داخلی بهتر */
    gap: 10px; /* فاصله بین آیکون‌ها */
    text-align: left;
    direction: ltr;
}

.buttom-info2 .intraction {
    display: flex;
    gap: 3px; /* فاصله بین آیکون‌ها */
}


.top-info {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    border-bottom: 0.86px solid #F3F3F3;
}

.name img {
    width: 40px !important;
    height: 40px;
    border: 0.2rem solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #5840d4, #9a30b5, #db2469, #fc944e, #ffee00, #f65145, #8535bf) border-box;
    border-radius: 50%;
    padding: 0.2rem;
    object-fit: cover;
}

.name2 img {
    width: 35px !important;
    height: 35px!important;
    border: 0.2rem solid transparent!important;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #5840d4, #9a30b5, #db2469, #fc944e, #ffee00, #f65145, #8535bf) border-box!important;
    border-radius: 50%!important;
    padding: 0.2rem!important;
    object-fit: cover!important;
}

.name span {
    font-family: swap !important;
    font-size: 13px !important;
    color: #212121;
}

.name2 span {
    font-family: swap !important;
    font-size: 12px !important;
    color: #212121;
    margin-left: 5px;
}


.name {
    display: flex;
    gap: 10px;
    align-items: center;
}

.item:hover {
    cursor: pointer;
}

.text_size {
    font-size: 17px !important;
}

.breadcrumb {
    display: flex;
    height: 3.35rem;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 1);
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;*/
    padding: 0 0.5rem; /* کمی فاصله از چپ و راست */
    font-family: kalameh !important;
    direction: rtl; /* چون متن فارسی هست */
}

:is(:where(.dark) .breadcrumb) {
    border: none;
    background-color: rgba(36, 42, 56, 1);
}

.breadcrumb::-webkit-scrollbar {
    height: 6px;
}

.breadcrumb::-webkit-scrollbar-thumb {
    background-color: rgba(200, 200, 200, 0.5);
    border-radius: 3px;
}

.breadcrumb__item {
    position: relative;
    display: flex;
    height: 100%;
    flex-shrink: 0;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 38px;
    font-family: swap !important;
    font-weight: 500;
    font-size: 13px;
    color: #6c757d !important;
    white-space: nowrap;

}

.breadcrumb__item a {
    color: #555 !important;
    font-family: swap;
    font-size: .76rem;
}

.breadcrumb__item:first-child {
    padding-right: 1rem;
    padding-left: 0.5rem;
}

.breadcrumb__item:last-child {
    font-family: swap !important;
    font-weight: 500;
    font-size: 13px;
    color: #6c757d !important;
}

.breadcrumb__item:after,
.breadcrumb__item:before {
    position: absolute;
    left: 0;
    height: 2.5rem;
    width: 5px;
    background-color: rgba(243, 244, 246, 1);
    content: "";
}

:is(:where(.dark) .breadcrumb__item):after,
:is(:where(.dark) .breadcrumb__item):before {
    background-color: rgba(17, 24, 39, 1);
}

.breadcrumb__item:after {
    top: -7px;
    transform: rotate(35deg);
    transform-origin: top;
}

.breadcrumb__item:before {
    bottom: -7px;
    transform: rotate(-35deg);
    transform-origin: bottom;
}

/* --- ریسپانسیو موبایل --- */
@media (max-width: 576px) {

    .box_text_single_videotheme h1 {
        font-size: 15px !important;
        text-align: center!important;
        line-height: 30px!important;
    }

    .title_post_single {
        font-size: 15px !important;
        line-height: 29px;
    }


    .breadcrumb {
        height: 3.25rem;
        flex-wrap: nowrap;
        padding: 0 0.5rem;
        overflow-x: auto;
    }

    .breadcrumb__item {

        font-size: 0.76rem;
        white-space: nowrap;
        display: flex; /* اطمینان از حالت فلکس */
        align-items: center; /* وسط‌چین عمودی */
        justify-content: center; /* وسط‌چین افقی */
        text-align: center; /* متن وسط */
    }


}

/* پایه لیست و زیرلیست */
.category-list,
.category-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    direction: rtl; /* متن راست‌چین */
}

/* هر آیتم */
.category-list li {
    position: relative;
    margin: 0 0 8px 0;
    min-height: 48px;
    line-height: 48px;
    transition: background .2s;
    white-space: nowrap;
}

/* حذف خط برای آخرین آیتم */
.category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

/* تورفتگی زیرلیست (فاصله از راست برای مشخص کردن سلسله‌مراتب) */
.category-list li ul {
    /*margin-right: 15px; !* فاصله از راست برای زیرمجموعه *!*/
    margin-top: 5px;
    padding: 0;
}

/* لینک‌های والد و فرزند */
.category-list li a {
    display: block;
    padding: 0 5px 0 12px;
    color: #333;
    text-decoration: none;
    height: 47px;
    line-height: 47px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: yekanbakh;
    font-size: .78rem;
    border-radius: 8px;
    background-color: #fafafa !important;
    border: 1px solid #EBEAEA;
}

.tilte_list_cat {
    font-family: swap;
    font-size: 0.8rem;
    padding-bottom: 5px !important;
}

.category-list li a:hover {
    color: #0073aa;
}

/* تورفتگی بیشتر برای لینک زیرمجموعه */
.category-list li ul li a {
    /*padding-right: 90px; !* افزایش تورفتگی متن فرزند *!*/
    /*padding-right: 15px;  !* شمارنده چپ همیشه ثابت *!*/
}

/* شمارنده ثابت برای همه سطوح */
.category-list li .count {
    position: absolute;
    left: 12px; /* فاصله ثابت شمارنده از چپ Physical */
    top: 14px; /* تراز عمودی ثابت */
    transform: none;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.75em;
    color: #555;
    white-space: nowrap;
    line-height: normal;
    min-width: 28px;
    text-align: center;
    box-sizing: border-box;
}

/* شمارنده زیرلیست ها همان تراز والد */
.category-list li ul li .count {
    /* تراز عمودی و فاصله چپ مشابه والد */
    left: 12px;
    top: 14px;
    /*background: #dcdcdc; !* رنگ متفاوت برای فرزند (اختیاری) *!*/
}


.social-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 2px;
    /*padding: 10px;*/
    justify-items: center;
    max-width: 100%; /* تضمین کنه از سایدبار بیرون نزنه */
}


.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #999; /* به صورت پیش‌فرض، در ادامه تغییر می‌کنیم */
    transition: transform 0.2s ease;
    margin-bottom: 5px !important;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: white;
    margin-right: 0 !important;
}

/* رنگ مخصوص هر شبکه اجتماعی */
.social-icons .whatsapp {
    background-color: #25D366;
}

.social-icons .telegram {
    background-color: #0088cc;
}

.social-icons .x {
    background-color: #000000;
}

.social-icons .facebook {
    background-color: #1877F2;
}

.social-icons .linkedin {
    background-color: #0A66C2;
}

.widget_search {
    background-color: #fff;
    padding: 10px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    font-family: kalameh !important;
    margin-top: 1rem !important;
    border-radius: 8px!important;
}

.widget_search p {
    text-align: center;
    margin-top: 10px;
    font-size: 17px !important;
}

.widget_search form > div {
    display: flex;
    flex-direction: column;
}

.widget_search input[type="text"] {
    width: 100%;
    padding: 7px 10px 7px 27px;
    margin-bottom: 16px;
    /*border: 1px solid #ccc;*/
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-family: swap !important;
    border: none;
}

.widget_search input[type="text"]:focus {
    border-color: #0073aa;
    outline: none;
}

#searchsubmit {
    height: 32px;
    line-height: 32px;
    background-color: rgb(59, 132, 251);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: yekanbakh !important;
    font-size: 0.8rem !important;
}

#searchsubmit:hover {
    background-color: #005f8d;
}

.card-header-comment {
    background: #fff !important;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px !important;
    padding-bottom: 8px !important;

}

.cardcomment {
    /*box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;*/
}

.card-header-comment p {
    margin: 0 !important;
    font-size: 17px !important;
    display: flex;
    align-items: center;
    font-family: kalameh;
    color: #484848;
}

.card-header-comment .svg1 {
    /*margin-left: 4px;*/
    color: rgb(59, 132, 251) !important;
    margin-left: 5px;
}

.title_comment_1 {
    display: flex;
    align-items: center;
    gap: 0px;
    margin: 0 !important;
}

.btn-custome-add-comment {
    /*background-color: rgb(59, 132, 251) !important;*/
    font-size: 15px;
    color: #fff;
    padding: 8px 8px;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-family: kalameh;
    border-radius: 8px;
    transition: all 0.4s ease;
    /*border: 1px solid transparent;*/
    /*border: none;*/
    background: #fdfdfd;
    color: #333;
    border: 1px dashed #e6e6e6
}

.btn-custome-add-comment svg {
    color: rgb(59, 132, 251);
}


.comment-box {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0.95);
    transform-origin: top;
    transition: all 0.4s ease-in-out;
    /*background-color: #f9f9f9;*/
    padding: 1px 6px;
    border-radius: 8px;
    margin-top: 10px;
}

.comment-box.active {
    max-height: 394px;
    opacity: 1;
    transform: scaleY(1);
    padding: 1rem;
}

.comment-box textarea {
    background-color: #f9f9f9; /* زمینه روشن‌تر، حس تمیزتر */
    width: 100%;
    min-height: 120px;
    padding: 16px 20px;
    /*border: 1px solid #e0e6ed;*/
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    resize: none !important;
    transition: all 0.25s ease;
    /*outline: none;*/
    margin-bottom: 10px;
    border: none !important;
    outline: none !important;
}

.comment-box textarea:focus {

}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit {
    background-color: rgb(59, 132, 251) !important;
    font-size: 15px;
    color: #fff;
    border: none;
    padding: 10px 27px;
    border-radius: 8px;
    display: flex;
    gap: 6px;
    font-family: kalameh;
}

.btn-cancel {
    background-color: #e74c3c;
    font-size: 15px;
    color: #fff;
    border: none;
    padding: 10px 27px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: kalameh;
}


.btn-custome-add-comment:hover {
    color: #333;
}

.btn-custome-add-comment:focus, .btn-custome-add-comment:active {
    color: #333;
    outline: none;
    border: 1px dashed #e6e6e6
}

.comment-header2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.comment-avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 6px;*/
    /*border: 1px solid #f0f0f0;*/
    border-radius: 9999px;
    /*background-color: #f0f0f0;*/
    width: 44px;
    height: 44px;
}

.comment-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    color: #94a3b8;
}

.comment-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.comment-author, .comment-label {
    font-family: swap !important;
    line-height: 26px;
    font-size: 13px !important;
    color: rgb(85, 87, 117)
}

.comment-avatar img {
    border-radius: 50% !important;
}

.no-comments-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    text-align: center;
}

.no-comments-icon {
    width: 54px;
    height: 54px;
}

.no-comments-text {
    margin-top: 16px;
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    --tw-text-opacity: 1;
    color: rgb(149 160 177 / var(--tw-text-opacity)); /* دقیقا همون رنگ خواسته‌شده */
}

.img_rounded_banner {
    border-radius: 8px !important;
}

.comment-card {
    background: #f9f9f9; /* سفید نرم */
    padding: 0.6rem 1rem;
    transition: transform .1s;
    border-bottom: 1px solid #e6e6e6;
}

/* بخش اصلی کامنت */
.comment-main {
    display: flex;
    padding: 8px 0 !important;
}


.avatar3 {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    margin-right: 1rem;
}

.comment-body {
    flex-grow: 1;
    line-height: 1.7;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.author {
    font-size: 12px;
    color: #2c3e50;
    margin-right: 5px;
}

.author p {
    color: #a2a2a2 !important;
}

.content_comment {
    font-size: 13px;
    margin-right: 5px;
    color: rgba(85, 87, 117, 1);
    margin-top: 1rem !important;
    line-height: 1.6rem;
    text-align: justify;
}

.time {
    font-size: 0.85rem;
    color: #6C757D;
}

.reply-btn {
    background: none;
    border: none;
    color: #85878d;
    font-size: 0.76rem;
    cursor: pointer;
    padding: 0;
}

.reply-btn:hover {
    /*text-decoration: underline;*/
}

/* بخش پاسخ‌ها */
.replies {
    margin-top: 1rem;
    border-top: 1px solid #E9ECEF;
    padding-top: 1rem;
}

/* کارت پاسخ */
.reply-card {
    display: flex;
    margin-bottom: 1.2rem;
    background: #eef3f754;
    border-radius: 0.5rem;
    padding: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgb(243 244 246);
}

/* آواتار در پاسخ */
.reply-card .avatar3 {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

.comment-list ul.children {
    margin-right: 12px; /* یا padding-right */
    padding-right: 15px;
    margin-top: 1rem;
    margin-left: 12px;
}


/* واکنش‌گرا */
@media (max-width: 576px) {

    .comment-list ul.children {
        margin-right: 6px !important;
        margin-left: 6px !important;
    }

    /* حذف بردر راست در موبایل */
    .comment-card {
        /*border-right: none !important;*/
        padding: 1rem; /* افزایش فاصله داخلی */
    }

    .comment-main,
    .reply-card {
        flex-direction: column;
    }

    .avatar {
        margin-bottom: 0.5rem;
    }

    .comment-list ul.children {
        padding-right: 0 !important;
    }
}

/* ریست فاصله‌های پیش‌فرض ul در RTL */
.comment-list,
.comment-list ul {
    list-style: none;
    margin: 0;
    padding: 0 !important; /* حذف کامل padding */
}

/* اگر فقط padding-right می‌خواید پاک کنید */
.comment-list {
    padding-right: 0 !important;
}

.search_box {
    position: relative;
}

#searchsubmit {
    font-family: yekanbakh !important;
    font-size: 0.8rem;
}

.search_icon {
    position: absolute;
    top: 12px;
    left: 8px;
    color: rgb(59, 132, 251);
}


.comment-list ul.children .comment-card {
    border-right: 2px solid rgba(59, 132, 251, 0.2); /* خط کم‌رنگ برای تمایز */
    border-top: 1px dashed #e6e6e6;
    border-bottom: 1px dashed #e6e6e6;
    border-left: 1px dashed #e6e6e6;
    /*border-right: 1px dashed #e6e6e6;*/
}

ul {
    list-style: none;
}

.comment_custome1 {
    background-color: #fafafa80;
    padding-bottom: 10px;
}

.byuser .children {
    /*padding-right: 20px !important;*/
    /*padding-left: 20px !important;*/
    /*margin-bottom: 10px;*/
}

.children .comment-card {
    /*background: rgba(198, 192, 192, 0.10);*/
    background-color: #fdfdfd;
    padding-right: 10px;
}

.author img {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-left: 3px;
}

.btn_custome_answer {
    font-size: 13px !important;
    background-color: #2980b9 !important;
}

.time svg {
    color: #2980b9 !important;
    margin-left: 2px;
}

.title_answer_comment {
    font-size: 14px;
}

.comment_text_answer {
    font-size: 14px !important;
}

.success_edit_answer {
    font-size: 13px;
    line-height: 1.6rem;
}

.widget_search input[type="text"]:focus {
    outline: none !important;
    border: none;
}

.custom-comments-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 8px;
}

.custom-comments-pagination li {
    margin: 0;
}

.custom-comments-pagination a,
.custom-comments-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-comments-pagination a:hover {
    background-color: #f0f0f0;
    color: #000;
}

.custom-comments-pagination .current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.custom-comments-pagination .prev,
.custom-comments-pagination .next,
.custom-comments-pagination .previous {
    display: none !important;
}

.h_related_pic2 {
    height: 180px !important;
    /*border-radius: 8px !important;*/
    width: 100% !important;
}

.boxtv {
    height: 180px !important;
}

.boxtv {
    position: relative;
}

.texttv {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 16px;
    background-color: #ffffffd1;
    border-radius: 8px;
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* فاصله بین پاراگراف و زمان */
    transition: all 0.3s;
    padding: 5px 10px;
    height: 75px !important;
}

.texttv h2 {
    color: #212121;
    font-size: .83rem;
    line-height: 23px;
    margin-bottom: 0 !important;
    height: auto !important;
    text-align: justify;
    word-spacing: -1px !important;
}

.preview_btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 33px;
    height: 33px;
    background: #2980b9 !important;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 1;
}

.preview_btn svg {
    color: #fff;
}

.buttom-info3 {
    display: flex;
    /*border-top: 0.86px solid #F3F3F3;*/
    padding: 12px 10px;
    align-items: center;
    justify-content: space-between;
    border-top: none !important;
}

.boxtv figure {
    margin-bottom: 0 !important;
}

.item_meta.el_product_time {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #969696;
    font-family: kalameh;
    margin-top: auto; /* این باعث میشه همیشه بچسبه به پایین */
}

.item_meta.el_product_time i {
    margin-left: 5px; /* فاصله بین آیکون و متن */
    font-size: 15px; /* اندازه آیکون هم‌راستا با متن */
}


.video_show_single_video {
    padding: 0 !important;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio (9 / 16 = 0.5625) */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /*height: 100%;*/
}


.podcast-wrapper {
    position: relative;
    width: 100%;
    /*padding-top: 56.25%; !* 16:9 ratio (9 / 16 = 0.5625) *!*/
    overflow: hidden;
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
    /*height: 100%;*/
}

.video-wrapper video {
    /*height: 100%;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* یا contain */
}

.box_image_single_videotheme {
    /*padding: 10px 20px;*/
    align-content: center;
}

.podcast_test{
    padding: 10px 20px;
}

.box_image_single_videotheme img {
    border-radius: 8px !important;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.box_text_single_videotheme {
    padding: 1.2rem 2rem;
}

.box_text_single_videotheme h1 {
    font-size: 1.2rem;
    color: #212121;
    text-align: justify;
    font-family: swap;
    margin-bottom: 12px !important;
    font-weight: 300 !important;
}

.box_text_single_videotheme h1 {
    margin-bottom: 0.75rem;
}

.box_text_single_videotheme p {
    font-size: 0.84rem;
    line-height: 1.88rem;
    color: #666!important;
    font-family: yekanbakh !important;
    text-align: justify;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
}


.grid-container {
    display: grid;
    gap: 8px;
    margin: auto;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 7px;
    border-radius: 8px;
    transition: background-color 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    --tw-bg-opacity: 1 !important;
    background-color: #fafafa !important;
    border: 1px solid #EBEAEA;
}

.info-box:hover {
    background-color: rgba(59, 132, 251, 0.15);
}

.info-box svg {
    flex-shrink: 0;
    /*width: 20px;*/
    /*height: 20px;*/
    color: rgb(59, 132, 251);

}

.info-text {
    font-size: .75rem;
    line-height: 1.3;
    font-family: swap;
    color: #757575;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* پیش‌فرض: ۳ ستون برای سایزهای بزرگ */

/* 974px تا 1010px: ۲ ستون */
@media (min-width: 974px) and (max-width: 1019px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 601px تا 973px: ۲ ستون */
@media (min-width: 601px) and (max-width: 973px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-text {
        font-size: 14px;
        font-family: kalameh;
    }

    .info-box {
        padding: 10px 6px;
    }

    /*.info-box svg {*/
    /*    width: 20px;*/
    /*    height: 20px;*/
    /*}*/
}

/* زیر 600px: ۱ ستون */
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-text {
        font-size: 13px;
        white-space: normal;
        font-family: kalameh !important;

    }

    .info-box {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        /*display: none;*/
    }

    /*.info-box svg {*/
    /*    width: 18px;*/
    /*    height: 18px;*/
    /*}*/
}


/* از 1011px به بالا: 3 ستون */
@media (min-width: 1020px) {
    .grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: auto;
    }
}

.border-title {
    width: 0.3rem;
    height: 2.3rem;
    background: rgb(59, 132, 251);
    float: right;
    border-radius: 3px;
}

.box-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.box-margin {
    margin-bottom: 2rem;
}

.title-section {
    font-size: .93rem;
    line-height: 2.25rem;
    color: rgb(40, 43, 79);
    /*font-weight: 600;*/
    font-family: swap;
    margin-right: 10px;
}

.box_video_post_single {
    position: relative;
}

.box_video_post_single span {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 33px;
    height: 33px;
    background: rgba(0, 0, 0, 0.19);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 1;
}

.box_video_post_single span svg {
    color: #fff;
}

.title_short_link_video {
    font-family: yekanbakh !important;
    font-size: 13px;
    padding-bottom: 5px !important;
    text-align: center;
}

.bg-light22 {
    background-color: #f9f9f99e !important;
}

.btn_custome_close {
    background-color: #0d66c2 !important;
    border: none;
    font-family: kalameh;
    font-size: 14px;
    color: #fff;
    border-radius: 0 !important;
}

.btn_custome_close:hover {
    color: #fff !important;
}

.copy_link2 {
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0 !important;
    display: block;
    border-radius: 8px !important;
    margin-top: 3px;
    width: 100%;
    background-color: #fafafa !important;
    border: 1px solid #EBEAEA;
}

.copy_link2 span {
    color: #757575;
    font-size: 14px;

}

.copy_link2 i {
    vertical-align: -3px;
    margin-left: 4px;
}

.copy_link2 svg {
    margin-left: 4px;
    vertical-align: -6px;
    margin-right: 0 !important;
}

.title_video_post_single {
    font-family: Swap !important;
    font-size: .8rem;
    padding-bottom: 5px !important;
    text-align: center;
}


.box_post_in_single_video_show {
    background-color: #fafafa;
    border: 1px solid #EBEAEA;
    border-radius: 8px;
    display: flex;

    padding: 15px;
    gap: 10px;
    height: 90px;
    align-items: center;
    /*border-right: 2px solid #0d66c2;*/
}


.article-content {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    flex: 1;
}

.article-content p {
    font-family: yekanbakh;
    font-size: .8rem;
    margin-bottom: 0 !important;
    line-height: 22px;
    color: #666;
    word-spacing: -1px;
    text-align: center;
}

.article-category {
    font-family: kalameh;
    font-size: 12px;
    margin-bottom: 0 !important;
    line-height: 22px;
    color: #757575 !important;
    margin-top: 5px !important;
    text-align: center;
    display: block;
    /*text-align: justify;*/
}

.article-category {
    font-size: 12px;
    margin-bottom: 2px;
    color: #757575;
}

.box_play_video_show {
    background-color: #f9f9f9;
    border: 1px solid #EBEAEA;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto; /* اجازه رشد ارتفاع */
    flex-wrap: nowrap;
    gap: 10px;
}

.btn_play_video_show {
    font-size: .7rem;
    font-family: swap;
    background: #f0f0f0;
    padding: 8px;
    border-radius: 8px;
    border: none;
    color: #666;
}

.btn_play_video_show i {
    vertical-align: -3px;
    margin-right: 4px;
}

.text_play_video_show {
    font-family: kalameh !important;
    font-size: 15px;
    color: rgb(95, 116, 151);
    display: flex;
    align-items: center;
    /*font-family: y1 !important;*/
}

.circle_number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    font-size: 14px;
    /*font-family: y1 !important;*/
}

.text_play_boy {
    margin-top: 3px;
    margin-right: 4px;
    font-family: Swap !important;
    font-size: 0.8rem;
    color: #666;
}

.card-body-custome-video-single-page-show {
    padding: 10px !important;
}


@media (max-width: 768px) {
    .box_play_video_show {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn_play_video_show {
        align-self: flex-end; /* بره سمت چپ (چون راست به چپ هست) */
        margin-top: 10px;
    }

    .text_play_video_show {
        width: 100%;
    }
}

.breadcrumb__item:last-child:after {
    display: none;
}

.breadcrumb__item:last-child:before {
    display: none;
}

.card-header-video {
    background-color: rgb(96, 112, 134) !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-header-video h4 {
    color: #fff;
    margin-bottom: 0 !important;
    font-size: 14px;
    font-family: swap;
}

.card-body-video {
    /*background-color: #fafafa;*/
}

.list_video_show_sidebar_ul {
    margin: 0 !important;
    padding: 0 !important;
}

.list_video_show_sidebar_ul li {
    height: auto;
    /*display: flex;*/
    align-items: center;
    /*border-radius: 8px;*/
    margin-bottom: 10px !important;
    background: #f9f9f9;
    border: 1px solid #EBEAEA;
    padding: 12px 10px !important;
    justify-content: space-between;
}

.list_video_show_sidebar_ul li a {
    color: rgb(95, 116, 151) !important;
    font-size: 13px;
    font-family: Swap;
    display: flex;
    align-items: center;
}


@media (min-width: 768px) and (max-width: 1023px) {
    /* استایل‌های مخصوص این بازه عرض صفحه */
    .list_video_show_sidebar_ul li {
        flex-direction: column;
        align-items: flex-start;
    }

    .time_video_list_watch {
        align-self: flex-end !important;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

.video-sidebar {
    max-height: 450px; /* یا هر ارتفاع دلخواه */
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent;
    padding-right: 5px; /* برای فاصله از اسکرول */
}

/* Scrollbar برای کروم و سایر مرورگرها */
.video-sidebar::-webkit-scrollbar {
    width: 6px;
}

.video-sidebar::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 8px;
}

.video-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.txt_number_show_video {
    margin-right: 5px;
}

.title_watch_video_show {
    text-align: center;
    color: #626262 !important;
    font-family: Swap;
    font-size: 0.9rem !important;
    line-height: 31px;
}

.active_li {
    border-right: 2px solid rgb(59, 132, 251) !important;
}

.view-post-link2 {
    background: #2980b9d4;
    color: #fff;
    font-size: 13px;
    font-family: kalameh, sans-serif;
    width: 160px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    overflow: hidden;
}

.view-post-link2:hover {
    color: #fff !important;
}

.btn_section_1 {
    width: 40px;
    height: 100%;
    background: #2980b9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn_section_2 {
    margin-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.grid-wrapper {
    display: grid;
    gap: 1rem; /* فاصله بین کارت‌ها */
    grid-template-columns: 1fr; /* پیش‌فرض: تک‌ستونه */
}

figure {
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr); /* از 768 تا 1023: سه‌ستونه */
    }
}

@media (min-width: 992px) {
    .grid-wrapper {
        grid-template-columns: repeat(3, 1fr); /* از 768 تا 1023: سه‌ستونه */
    }
}

@media (min-width: 1024px) {
    .grid-wrapper {
        grid-template-columns: repeat(4, 1fr); /* از 1024 به بالا: چهارستونه */
    }
}

.card-image33 {
    position: relative;
}

.card-image33 img {
    background-size: cover;
    object-fit: fill !important;
    height: 150px;
}

.title_cat_page {
    margin-top: 10px !important;
}

.post_read_time_cat span {
    font-family: kalameh;
    padding: 9px 2px 9px 10px;
    border-radius: 8px;
    background-color: #f1f1f1;
    font-weight: 500;
    font-size: 13px !important;
    color: #757575 !important;
}

.card-title-cat-custome-345 {
    height: 56px;
}


.card-image3333 figure {
    position: relative;
}

.cover_image_index_post2 {
    position: absolute;
    bottom: 10px;
    right: 4px;
    padding: 0 7px;
    height: 30px;
    /*background-color: #eeeeeed6;*/
    backdrop-filter: blur(3px);
    transition: all 0.3s;
    border-radius: 8px;
    background-color: #eeeeeef0;

}


.cover_image_index_post2 p {
    margin-bottom: 0 !important;
    line-height: 30px !important;
    font-size: 11px;
    margin-left: 3px !important;
    color: #212121;
}

.title_show_cat_list_post {
    font-size: 13px !important;
    font-family: yekanbakh !important;
}

/*.title_show_cat_list_post .abc1{*/
/*    font-weight: bo;*/
/*}*/

.title_psot_and_video {
    margin-bottom: 0;
    margin-top: 16px;
    color: rgb(50, 64, 83);
    font-family: yekanbakh;
    font-size: 14px;
}

.select_post_and_video {
    width: auto;
    /*margin-top: 16px;*/
    font-family: yekanbakh;
    font-size: 12px;
    background-color: #fafafa !important;
    border: 1px dashed #EBEAEA;
    height: 38px !important;
    border-radius: 0;
}

.select_post_and_video:focus {
    border: 1px solid #EBEAEA;
    outline: 0 !important;
    box-shadow: none !important;
}

.title_psot_and_video svg {
    vertical-align: -22px;
    margin-left: 3px;
    color: #028be5 !important;
}

.bg_wsf {
    background: #fafafa;
}


.empty-video-box {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    height: 100px !important;
}

.widget_search h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 15px !important;
}

/* والد ul */
.custom-tabs {
    background-color: white; /* بک‌گراند سفید */
    border-bottom: none; /* حذف بردر پایین */
    font-family: 'Swap', sans-serif; /* فونت خانواده Swap */
    padding: 8px 16px; /* پدینگ برای ارتفاع مناسب */
    font-size: 14px;
    width: auto;
    display: inline-flex;
    border-radius: 8px;
}

/* هر تب (li > button.nav-link) */
.custom-tabs .nav-link {
    border: none !important; /* حذف همه بردرها */
    color: #333; /* رنگ متن خاکستری تیره */
    padding: 10px 5px; /* پدینگ برای کلیک راحت‌تر */
    display: flex;
    align-items: center; /* تراز آیکون و متن */
    gap: 4px; /* فاصله بین آیکون و متن */
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 5px !important;
}

/* تب انتخاب شده */
.custom-tabs .nav-link.active {
    background-color: #0a7aff; /* رنگ آبی برای تب فعال */
    color: white !important;
    border-radius: 8px; /* گوشه‌های گرد */
    font-weight: 600;
}

/* آیکون داخل تب */
.custom-tabs .nav-link svg {
    fill: currentColor; /* رنگ آیکون هم‌رنگ متن */
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* هاور روی تب‌ها */
.custom-tabs .nav-link:hover:not(.active) {
    background-color: #e6f0ff;
    color: #0056b3;
}

.podcast_index {
    background-color: #fff; /* در صورت نیاز */
    border-radius: 8px !important;
}

.top_header_podcast {
    /*padding: 0 12px;*/
    background-color: #fff;
    height: 50px;
}

.body_audio {
    padding: 0 12px !important;
}


.top_header_podcast h2 {
    font-family: Swap;
    font-size: .83rem;
    text-align: justify;
    line-height: 27px;
    color: #212121 !important;
    word-spacing: -1px;
    margin-bottom: 0 !important;

}

.top_header_podcast h2 a {
    color: #212121 !important;
}

div.top {
    height: 37px;
    background: #f9f9f9;
    padding: 11px 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

div.menu a {
    display: inline-block;
    margin: 2px 2px 2px 2px;
    height: 12px;
    width: 12px;
    border-radius: 8px;
}

div.menu a:nth-child(1) {
    background: #2ecc71;
}

div.menu a:nth-child(2) {
    background: #f1c40f;
}

div.menu a:nth-child(3) {
    background: #e74c3c;
}

div.side-menu {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #333;
    z-index: 98;
    margin-left: -310px;
}

.img_podcast {
    width: 100%;
    height: 160px;
}

.top_header_podcast i {
    font-size: 18px;
    vertical-align: -3px;
    margin-left: 4px;
    color: #0a7aff;
}


.main1_header_podcast span {
    font-size: 13px !important;
    font-family: yekanbakh;
    color: #212121c4;
}

.main1_header_podcast span i {
    font-size: 16px;
    vertical-align: -3px;
    margin-left: 3px;
    color: #0a7aff;
}

.course-podcast-footer33 {
    cursor: pointer;
    font-family: yekanbakh !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
}

.course-podcast-footer33 a {
    font-size: 0.8rem;
    font-family: yekanbakh;
}

.img_index_post_ui {
    width: 1.2rem!important;
    height: 1.2rem!important;
    border-radius: 50%!important;
    margin-left: 4px !important;
}

#audio-podcasts .plyr__control svg {

    width: var(--plyr-control-icon-size, 15px) !important;
}

.card_single_podcast_top {
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;*/
}

.audio-podcasts2 {
    width: 100% !important;
}

.btn_custome_3 {
    background-color: #00b2ff;
    border: none;
    font-size: 13px;
}

.btn_custome_3:hover {
    background-color: #00b2ff;
}

.float-r {
    float: right;
}


#articles p i {
    margin-left: 5px !important;
}

#podcast p i {
    margin-left: 5px !important;
}

#videos p i {
    margin-left: 5px !important;
}

#audio-podcasts audio {
    display: none !important;
}

#audio-podcasts {
    border-bottom: 1px dashed #e0e0e0;
}

.title_related_video_search {
    text-align: center;
    color: #212121;
}

.custome_style_100 {
    padding: 0.25rem !important;
    text-align: center !important;
}

html {
    scroll-behavior: smooth;
}

#back2Top {
    width: 38px;
    line-height: 38px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 13px;
    right: 10px;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
    background: #2980b9 !important;
    color: #fff;
    border-radius: 50% !important;
}

.top-notice {
    z-index: 1!important;
    background-color: #f9f9f9;
    color: #212121;
    padding: 8px 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: sans-serif;
    font-size: 14px;
    position: relative;
    z-index: 9999;
    flex-wrap: wrap;
    direction: rtl; /* مهم: فعال کردن حالت راست‌چین */
}

.notice-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* برای پر کردن کل عرض */
}

.notice-text {
    font-family: swap !important;
    text-align: right;
    flex: 1;
    line-height: 28px !important;
    font-size: .75rem !important;
}

.notice-button {
    font-family: y5;
    background-color: #fafafa !important;
    border: 1px dashed #EBEAEA;
    padding: 7px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s ease;
    margin-right: auto; /* دکمه را به چپ هل بده */
}

.notice-text-1 {
    font-size: 13px !important;
}

.close-btn {
    font-size: 22px;
    cursor: pointer;
    padding: 0 8px;
}

@media (max-width: 600px) {
    .top-notice {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .notice-button {
        margin-right: 0;
        text-align: center;
        margin-top: 7px !important;
    }

    .close-btn {
        align-self: flex-end;
        margin-top: 10px;
    }
}

.liked svg path {
    /*fill: rgb(221, 42, 48)!important;*/
    stroke: rgb(221, 42, 48)!important;
}

.liked svg {
    /*fill: #e74c3c;*/
    stroke: #e74c3c;

}

.like_btn2 svg:hover {
    cursor: pointer !important;
}

.btn-custome3 {
    background: rgb(2, 139, 229) !important;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: yekanbakh;
}

/*منو*/


ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.cat-item-none {
    font-size: 0.7rem;
    text-align: center;
    color: red;
}

.vira_btn_dl {
    font-size: 0.8rem;
    background: rgb(29, 174, 89);
    color: #fff;
    padding: 10px 15px;
    font-family: yekanbakh;
    cursor: pointer;
    margin-left: 5px;
    border: none !important;
}

.vira_source {
    font-size: 0.8rem;
    background: #028be5 !important;
    color: #fff;
    padding: 10px 15px;
    font-family: yekanbakh;
    cursor: pointer;
    margin-left: 5px;
    border: none !important;
}

.video-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.plyr {
    width: 100% !important;
    /*height: auto !important;*/
    /*aspect-ratio: 16 / 9; !* حفظ نسبت تصویر *!*/
    display: block;
}

.plyr__video-wrapper,
.plyr__poster {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    background-size: cover !important;
    background-position: center center !important;
}


.vira_btn_dl:hover {
    color: #fff;
}

.vira_source:hover {
    color: #fff;
}

.time_video_list_watch {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    text-align: left;
    color: rgb(95, 116, 151) !important;
    margin-top: 5px;
    font-size: 0.7rem !important;
}

.txt_number_show_video {
    line-height: 24px !important;
    font-size: 0.8rem !important;
}

.offcanvas-body ul li{
    width: 100%!important;
    /*background-color: #fafafa!important;*/
    margin-bottom: 5px!important;
    font-size: .85rem!important;
    font-family: dana2!important;
    padding: 10px;
    border-radius: 8px;
}

.offcanvas-body ul li ul{
    padding: 0!important;
    margin-top: 10px!important;
}

.offcanvas-body ul li ul li{
    background-color: #f9f9f9 !important;
}

.offcanvas-body ul li ul li ul li{
    background-color: #f1f1f1 !important;
}

#Send{
    cursor: pointer;
}

.demo3_nastoh_top_image img{
    border-radius: 8px!important;
}
.demo3_nastoh_content{
    border-bottom-right-radius: 12px!important;
    border-bottom-left-radius: 12px!important;
}

.demo_2_image_post img{
    border-top-right-radius: 12px!important;
    border-top-left-radius: 12px!important;
}

course_content_like333 svg{
    width: 16px!important;
    height: 16px!important;
}

.blog3new{
    border-radius: 8px!important;
}