.elementor-359 .elementor-element.elementor-element-083dcb6{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--overlay-opacity:0.5;--border-radius:10px 10px 10px 10px;box-shadow:0px 0px 10px 0px #E5E7EB;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-359 .elementor-element.elementor-element-083dcb6::before, .elementor-359 .elementor-element.elementor-element-083dcb6 > .elementor-background-video-container::before, .elementor-359 .elementor-element.elementor-element-083dcb6 > .e-con-inner > .elementor-background-video-container::before, .elementor-359 .elementor-element.elementor-element-083dcb6 > .elementor-background-slideshow::before, .elementor-359 .elementor-element.elementor-element-083dcb6 > .e-con-inner > .elementor-background-slideshow::before, .elementor-359 .elementor-element.elementor-element-083dcb6 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-359 .elementor-element.elementor-element-fd43655{--display:flex;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );}.elementor-widget-text-editor{color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-359 .elementor-element.elementor-element-ac5f322{text-align:justify;line-height:30px;}.elementor-widget-post-navigation span.post-navigation__prev--label{color:var( --e-global-color-text );}.elementor-widget-post-navigation span.post-navigation__next--label{color:var( --e-global-color-text );}.elementor-widget-post-navigation span.post-navigation__prev--title, .elementor-widget-post-navigation span.post-navigation__next--title{color:var( --e-global-color-secondary );}.elementor-359 .elementor-element.elementor-element-25269c0{--display:flex;--justify-content:center;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );}.elementor-359 .elementor-element.elementor-element-df456b2{border-radius:10px 10px 10px 10px;}.elementor-359 .elementor-element.elementor-element-df456b2 img{width:100%;border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-bf2bcf1 );border-radius:10px 10px 10px 10px;}.elementor-359 .elementor-element.elementor-element-25824dc{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--overlay-opacity:0.5;--border-radius:10px 10px 10px 10px;box-shadow:0px 0px 10px 0px #E5E7EB;--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}.elementor-359 .elementor-element.elementor-element-25824dc::before, .elementor-359 .elementor-element.elementor-element-25824dc > .elementor-background-video-container::before, .elementor-359 .elementor-element.elementor-element-25824dc > .e-con-inner > .elementor-background-video-container::before, .elementor-359 .elementor-element.elementor-element-25824dc > .elementor-background-slideshow::before, .elementor-359 .elementor-element.elementor-element-25824dc > .e-con-inner > .elementor-background-slideshow::before, .elementor-359 .elementor-element.elementor-element-25824dc > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-widget-nested-tabs.elementor-widget-n-tabs > .e-n-tabs[data-touch-mode='false'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:var( --e-global-color-accent );}.elementor-widget-nested-tabs.elementor-widget-n-tabs > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"], .elementor-widget-nested-tabs.elementor-widget-n-tabs > .e-n-tabs[data-touch-mode='true'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:var( --e-global-color-accent );}.elementor-359 .elementor-element.elementor-element-358ccc0{--display:flex;}.elementor-359 .elementor-element.elementor-element-164f4e6 .cse-music-player{--csemp-bg:#F9FAFB;--csemp-border:#E5E7EB;--csemp-title:#111827;--csemp-text:#6B7280;--csemp-primary:#0D6EFD;--csemp-hover:#00C2FF;--csemp-button-color:#FFFFFF;--csemp-button-hover-color:#111827;--csemp-track:#E5E7EB;--csemp-radius:22px;--csemp-padding:20px;--csemp-cover-fit:cover;--csemp-cover-width:86px;--csemp-cover-height:86px;--csemp-cover-radius:18px;--csemp-play-size:46px;}.elementor-widget-theme-post-content{color:var( --e-global-color-text );}.elementor-359 .elementor-element.elementor-element-0b51c7a{--display:flex;}.elementor-359 .elementor-element.elementor-element-2141e72{--e-image-carousel-slides-to-show:2;}.elementor-359 .elementor-element.elementor-element-2141e72 .elementor-swiper-button.elementor-swiper-button-prev, .elementor-359 .elementor-element.elementor-element-2141e72 .elementor-swiper-button.elementor-swiper-button-next{color:var( --e-global-color-secondary );}.elementor-359 .elementor-element.elementor-element-2141e72 .elementor-swiper-button.elementor-swiper-button-prev svg, .elementor-359 .elementor-element.elementor-element-2141e72 .elementor-swiper-button.elementor-swiper-button-next svg{fill:var( --e-global-color-secondary );}.elementor-359 .elementor-element.elementor-element-2141e72 .swiper-pagination-bullet{background:var( --e-global-color-secondary );}.elementor-359 .elementor-element.elementor-element-2141e72 .elementor-image-carousel-wrapper .elementor-image-carousel .swiper-slide-image{border-style:solid;border-width:1px 1px 1px 1px;border-color:var( --e-global-color-bf2bcf1 );}.elementor-359 .elementor-element.elementor-element-2913d84{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-359 .elementor-element.elementor-element-88c87e5{width:100%;max-width:100%;}.elementor-359 .elementor-element.elementor-element-88c87e5 .cswprv6-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:16px;}.elementor-359 .elementor-element.elementor-element-88c87e5 .cswprv6-widget{padding:22px 22px 22px 22px;--cswprv6-primary:#0D6EFD;--cswprv6-secondary:#00C2FF;--cswprv6-dark:#111827;--cswprv6-text:#374151;--cswprv6-muted:#6B7280;--cswprv6-border:#E5E7EB;--cswprv6-star:#F59E0B;}.elementor-359 .elementor-element.elementor-element-88c87e5 .cswprv6-card{background:#FFFFFF;padding:18px 18px 18px 18px;border-radius:18px;}.elementor-359 .elementor-element.elementor-element-554a459{--n-tabs-heading-justify-content:initial;--n-tabs-title-width:100%;--n-tabs-title-height:initial;--n-tabs-title-align-items:center;--n-tabs-title-flex-grow:1;--n-tabs-heading-wrap:wrap;--n-tabs-heading-overflow-x:initial;--n-tabs-title-white-space:initial;}@media(min-width:768px){.elementor-359 .elementor-element.elementor-element-083dcb6{--width:90%;}.elementor-359 .elementor-element.elementor-element-fd43655{--width:80%;}.elementor-359 .elementor-element.elementor-element-25269c0{--width:20%;}.elementor-359 .elementor-element.elementor-element-25824dc{--width:90%;}}@media(max-width:1024px){.elementor-359 .elementor-element.elementor-element-88c87e5 .cswprv6-grid{grid-template-columns:repeat(1, minmax(0, 1fr));}}@media(max-width:767px){.elementor-359 .elementor-element.elementor-element-88c87e5 .cswprv6-grid{grid-template-columns:repeat(1, minmax(0, 1fr));}}/* Start custom CSS for theme-post-content, class: .elementor-element-518a0d5 *//* ==================================================
   CodeSoft Post Content Style
   Class: cs-post-content
   هدینگ، متن، جدول، لیست، نقل قول، کد
================================================== */

.cs-post-content {
    direction: rtl;
    color: var(--cs-text, #374151);
    font-size: 16.5px;
    line-height: 2.25;
}

/* پاراگراف ها */
.cs-post-content p {
    color: var(--cs-text, #374151);
    margin: 0 0 20px;
    line-height: 2.25;
}

/* لینک ها */
.cs-post-content a {
    color: var(--cs-primary, #0D6EFD);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: all 0.25s ease;
}

.cs-post-content a:hover {
    color: var(--cs-cyan, #00C2FF);
    background-size: 100% 100%;
    color: #ffffff;
}

/* ================================
   Headings
================================ */

.cs-post-content h1,
.cs-post-content h2,
.cs-post-content h3,
.cs-post-content h4,
.cs-post-content h5,
.cs-post-content h6 {
    position: relative;
    color: var(--cs-dark, #111827);
    font-weight: 850;
    line-height: 1.7;
    margin: 38px 0 18px;
}

.cs-post-content h1 {
    font-size: 34px;
}

.cs-post-content h2 {
    font-size: 30px;
    padding-bottom: 14px;
}

.cs-post-content h3 {
    font-size: 25px;
    padding-right: 18px;
}

.cs-post-content h4 {
    font-size: 21px;
    padding-right: 16px;
}

.cs-post-content h5 {
    font-size: 18px;
}

.cs-post-content h6 {
    font-size: 16px;
    color: var(--cs-muted, #6B7280);
}

/* خط زیر H2 */
.cs-post-content h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 92px;
    height: 4px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

/* نشان کنار H3 و H4 */
.cs-post-content h3::before,
.cs-post-content h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 6px;
    height: 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content h4::before {
    width: 5px;
    height: 20px;
    opacity: 0.75;
}

/* H5 مثل لیبل */
.cs-post-content h5 {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.09);
    color: var(--cs-primary, #0D6EFD);
}

/* ================================
   Lists / ستاره ها و بولت ها
================================ */

.cs-post-content ul,
.cs-post-content ol {
    margin: 18px 0 24px;
    padding-right: 0;
}

.cs-post-content ul {
    list-style: none;
}

.cs-post-content ul li,
.cs-post-content ol li {
    position: relative;
    margin-bottom: 12px;
    color: var(--cs-text, #374151);
    line-height: 2.1;
}

.cs-post-content ul li {
    padding-right: 28px;
}

/* بولت های خوشگل به جای * یا نقطه */
.cs-post-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.75em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.10);
}

/* لیست عددی */
.cs-post-content ol {
    counter-reset: cs-counter;
    list-style: none;
}

.cs-post-content ol li {
    counter-increment: cs-counter;
    padding-right: 42px;
}

.cs-post-content ol li::before {
    content: counter(cs-counter);
    position: absolute;
    right: 0;
    top: 0.35em;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
}

/* اگر داخل متن با ستاره دستی نوشته شده باشد */
.cs-post-content p {
    overflow-wrap: break-word;
}

.cs-post-content strong {
    color: var(--cs-dark, #111827);
    font-weight: 850;
}

/* ================================
   Tables
================================ */

/* خود جدول با اسکرول افقی در موبایل و تبلت */
.cs-post-content table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    background: #ffffff;
    border: 1px solid var(--cs-border, #E5E7EB);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

/* راهکار اسکرول بدون نیاز به wrapper */
.cs-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* حفظ ساختار جدول بعد از display block */
.cs-post-content table thead,
.cs-post-content table tbody,
.cs-post-content table tfoot {
    display: table;
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.cs-post-content table tr {
    display: table-row;
}

.cs-post-content table th,
.cs-post-content table td {
    display: table-cell;
}

/* اسکرول بار جدول */
.cs-post-content table::-webkit-scrollbar {
    height: 9px;
}

.cs-post-content table::-webkit-scrollbar-track {
    background: var(--cs-light, #F3F4F6);
    border-radius: 20px;
}

.cs-post-content table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    border-radius: 20px;
}

/* هد جدول */
.cs-post-content table th {
    padding: 17px 18px;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.8;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* سلول ها */
.cs-post-content table td {
    padding: 16px 18px;
    color: var(--cs-text, #374151);
    font-size: 15px;
    line-height: 2;
    text-align: right;
    border-bottom: 1px solid var(--cs-border, #E5E7EB);
    border-left: 1px solid var(--cs-border, #E5E7EB);
    background: #ffffff;
}

.cs-post-content table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.cs-post-content table tbody tr:hover td {
    background: rgba(13, 110, 253, 0.055);
}

.cs-post-content table th:last-child,
.cs-post-content table td:last-child {
    border-left: none;
}

.cs-post-content table tr:last-child td {
    border-bottom: none;
}

/* کپشن جدول */
.cs-post-content table caption {
    caption-side: bottom;
    padding-top: 12px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.8;
}

/* ================================
   Blockquote
================================ */

.cs-post-content blockquote {
    position: relative;
    margin: 30px 0;
    padding: 24px 28px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.10), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid var(--cs-border, #E5E7EB);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
    overflow: hidden;
}

.cs-post-content blockquote::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 5px;
    height: calc(100% - 40px);
    border-radius: 20px 0 0 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content blockquote p {
    margin: 0;
    color: var(--cs-dark, #111827);
    font-size: 17px;
    font-weight: 600;
    line-height: 2.1;
}

/* ================================
   Code / Pre
================================ */

.cs-post-content code {
    direction: ltr;
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--cs-primary, #0D6EFD);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.cs-post-content pre {
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    margin: 26px 0;
    padding: 22px;
    border-radius: 20px;
    background: var(--cs-dark, #111827);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.22);
}

.cs-post-content pre code {
    display: block;
    padding: 0;
    background: transparent;
    color: inherit;
    white-space: pre;
}

/* ================================
   Images
================================ */

.cs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

.cs-post-content figure {
    margin: 28px 0;
}

.cs-post-content figcaption,
.cs-post-content .wp-caption-text {
    margin-top: 10px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

/* ================================
   Separator / HR
================================ */

.cs-post-content hr {
    border: none;
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(90deg, transparent, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF), transparent);
}

/* ================================
   Mobile
================================ */

@media (max-width: 1024px) {
    .cs-post-content table {
        min-width: 680px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 680px;
    }
}

@media (max-width: 767px) {
    .cs-post-content {
        font-size: 15.5px;
        line-height: 2.15;
    }

    .cs-post-content p {
        line-height: 2.15;
        margin-bottom: 18px;
    }

    .cs-post-content h1 {
        font-size: 28px;
    }

    .cs-post-content h2 {
        font-size: 24px;
    }

    .cs-post-content h3 {
        font-size: 21px;
    }

    .cs-post-content h4 {
        font-size: 18px;
    }

    .cs-post-content h1,
    .cs-post-content h2,
    .cs-post-content h3,
    .cs-post-content h4,
    .cs-post-content h5,
    .cs-post-content h6 {
        margin-top: 30px;
    }

    .cs-post-content table {
        min-width: 620px;
        border-radius: 16px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 620px;
    }

    .cs-post-content table th,
    .cs-post-content table td {
        padding: 14px 15px;
        font-size: 14px;
    }

    .cs-post-content blockquote {
        padding: 22px 22px 22px 18px;
        border-radius: 18px;
    }
}/* End custom CSS */
/* Start custom CSS for theme-post-content, class: .elementor-element-518a0d5 *//* ==================================================
   CodeSoft Post Content Style
   Class: cs-post-content
   هدینگ، متن، جدول، لیست، نقل قول، کد
================================================== */

.cs-post-content {
    direction: rtl;
    color: var(--cs-text, #374151);
    font-size: 16.5px;
    line-height: 2.25;
}

/* پاراگراف ها */
.cs-post-content p {
    color: var(--cs-text, #374151);
    margin: 0 0 20px;
    line-height: 2.25;
}

/* لینک ها */
.cs-post-content a {
    color: var(--cs-primary, #0D6EFD);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: all 0.25s ease;
}

.cs-post-content a:hover {
    color: var(--cs-cyan, #00C2FF);
    background-size: 100% 100%;
    color: #ffffff;
}

/* ================================
   Headings
================================ */

.cs-post-content h1,
.cs-post-content h2,
.cs-post-content h3,
.cs-post-content h4,
.cs-post-content h5,
.cs-post-content h6 {
    position: relative;
    color: var(--cs-dark, #111827);
    font-weight: 850;
    line-height: 1.7;
    margin: 38px 0 18px;
}

.cs-post-content h1 {
    font-size: 34px;
}

.cs-post-content h2 {
    font-size: 30px;
    padding-bottom: 14px;
}

.cs-post-content h3 {
    font-size: 25px;
    padding-right: 18px;
}

.cs-post-content h4 {
    font-size: 21px;
    padding-right: 16px;
}

.cs-post-content h5 {
    font-size: 18px;
}

.cs-post-content h6 {
    font-size: 16px;
    color: var(--cs-muted, #6B7280);
}

/* خط زیر H2 */
.cs-post-content h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 92px;
    height: 4px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

/* نشان کنار H3 و H4 */
.cs-post-content h3::before,
.cs-post-content h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 6px;
    height: 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content h4::before {
    width: 5px;
    height: 20px;
    opacity: 0.75;
}

/* H5 مثل لیبل */
.cs-post-content h5 {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.09);
    color: var(--cs-primary, #0D6EFD);
}

/* ================================
   Lists / ستاره ها و بولت ها
================================ */

.cs-post-content ul,
.cs-post-content ol {
    margin: 18px 0 24px;
    padding-right: 0;
}

.cs-post-content ul {
    list-style: none;
}

.cs-post-content ul li,
.cs-post-content ol li {
    position: relative;
    margin-bottom: 12px;
    color: var(--cs-text, #374151);
    line-height: 2.1;
}

.cs-post-content ul li {
    padding-right: 28px;
}

/* بولت های خوشگل به جای * یا نقطه */
.cs-post-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.75em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.10);
}

/* لیست عددی */
.cs-post-content ol {
    counter-reset: cs-counter;
    list-style: none;
}

.cs-post-content ol li {
    counter-increment: cs-counter;
    padding-right: 42px;
}

.cs-post-content ol li::before {
    content: counter(cs-counter);
    position: absolute;
    right: 0;
    top: 0.35em;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
}

/* اگر داخل متن با ستاره دستی نوشته شده باشد */
.cs-post-content p {
    overflow-wrap: break-word;
}

.cs-post-content strong {
    color: var(--cs-dark, #111827);
    font-weight: 850;
}

/* ================================
   Tables
================================ */

/* خود جدول با اسکرول افقی در موبایل و تبلت */
.cs-post-content table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    background: #ffffff;
    border: 1px solid var(--cs-border, #E5E7EB);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

/* راهکار اسکرول بدون نیاز به wrapper */
.cs-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* حفظ ساختار جدول بعد از display block */
.cs-post-content table thead,
.cs-post-content table tbody,
.cs-post-content table tfoot {
    display: table;
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.cs-post-content table tr {
    display: table-row;
}

.cs-post-content table th,
.cs-post-content table td {
    display: table-cell;
}

/* اسکرول بار جدول */
.cs-post-content table::-webkit-scrollbar {
    height: 9px;
}

.cs-post-content table::-webkit-scrollbar-track {
    background: var(--cs-light, #F3F4F6);
    border-radius: 20px;
}

.cs-post-content table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    border-radius: 20px;
}

/* هد جدول */
.cs-post-content table th {
    padding: 17px 18px;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.8;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* سلول ها */
.cs-post-content table td {
    padding: 16px 18px;
    color: var(--cs-text, #374151);
    font-size: 15px;
    line-height: 2;
    text-align: right;
    border-bottom: 1px solid var(--cs-border, #E5E7EB);
    border-left: 1px solid var(--cs-border, #E5E7EB);
    background: #ffffff;
}

.cs-post-content table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.cs-post-content table tbody tr:hover td {
    background: rgba(13, 110, 253, 0.055);
}

.cs-post-content table th:last-child,
.cs-post-content table td:last-child {
    border-left: none;
}

.cs-post-content table tr:last-child td {
    border-bottom: none;
}

/* کپشن جدول */
.cs-post-content table caption {
    caption-side: bottom;
    padding-top: 12px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.8;
}

/* ================================
   Blockquote
================================ */

.cs-post-content blockquote {
    position: relative;
    margin: 30px 0;
    padding: 24px 28px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.10), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid var(--cs-border, #E5E7EB);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
    overflow: hidden;
}

.cs-post-content blockquote::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 5px;
    height: calc(100% - 40px);
    border-radius: 20px 0 0 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content blockquote p {
    margin: 0;
    color: var(--cs-dark, #111827);
    font-size: 17px;
    font-weight: 600;
    line-height: 2.1;
}

/* ================================
   Code / Pre
================================ */

.cs-post-content code {
    direction: ltr;
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--cs-primary, #0D6EFD);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.cs-post-content pre {
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    margin: 26px 0;
    padding: 22px;
    border-radius: 20px;
    background: var(--cs-dark, #111827);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.22);
}

.cs-post-content pre code {
    display: block;
    padding: 0;
    background: transparent;
    color: inherit;
    white-space: pre;
}

/* ================================
   Images
================================ */

.cs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

.cs-post-content figure {
    margin: 28px 0;
}

.cs-post-content figcaption,
.cs-post-content .wp-caption-text {
    margin-top: 10px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

/* ================================
   Separator / HR
================================ */

.cs-post-content hr {
    border: none;
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(90deg, transparent, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF), transparent);
}

/* ================================
   Mobile
================================ */

@media (max-width: 1024px) {
    .cs-post-content table {
        min-width: 680px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 680px;
    }
}

@media (max-width: 767px) {
    .cs-post-content {
        font-size: 15.5px;
        line-height: 2.15;
    }

    .cs-post-content p {
        line-height: 2.15;
        margin-bottom: 18px;
    }

    .cs-post-content h1 {
        font-size: 28px;
    }

    .cs-post-content h2 {
        font-size: 24px;
    }

    .cs-post-content h3 {
        font-size: 21px;
    }

    .cs-post-content h4 {
        font-size: 18px;
    }

    .cs-post-content h1,
    .cs-post-content h2,
    .cs-post-content h3,
    .cs-post-content h4,
    .cs-post-content h5,
    .cs-post-content h6 {
        margin-top: 30px;
    }

    .cs-post-content table {
        min-width: 620px;
        border-radius: 16px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 620px;
    }

    .cs-post-content table th,
    .cs-post-content table td {
        padding: 14px 15px;
        font-size: 14px;
    }

    .cs-post-content blockquote {
        padding: 22px 22px 22px 18px;
        border-radius: 18px;
    }
}/* End custom CSS */
/* Start custom CSS for theme-post-content, class: .elementor-element-518a0d5 *//* ==================================================
   CodeSoft Post Content Style
   Class: cs-post-content
   هدینگ، متن، جدول، لیست، نقل قول، کد
================================================== */

.cs-post-content {
    direction: rtl;
    color: var(--cs-text, #374151);
    font-size: 16.5px;
    line-height: 2.25;
}

/* پاراگراف ها */
.cs-post-content p {
    color: var(--cs-text, #374151);
    margin: 0 0 20px;
    line-height: 2.25;
}

/* لینک ها */
.cs-post-content a {
    color: var(--cs-primary, #0D6EFD);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: all 0.25s ease;
}

.cs-post-content a:hover {
    color: var(--cs-cyan, #00C2FF);
    background-size: 100% 100%;
    color: #ffffff;
}

/* ================================
   Headings
================================ */

.cs-post-content h1,
.cs-post-content h2,
.cs-post-content h3,
.cs-post-content h4,
.cs-post-content h5,
.cs-post-content h6 {
    position: relative;
    color: var(--cs-dark, #111827);
    font-weight: 850;
    line-height: 1.7;
    margin: 38px 0 18px;
}

.cs-post-content h1 {
    font-size: 34px;
}

.cs-post-content h2 {
    font-size: 30px;
    padding-bottom: 14px;
}

.cs-post-content h3 {
    font-size: 25px;
    padding-right: 18px;
}

.cs-post-content h4 {
    font-size: 21px;
    padding-right: 16px;
}

.cs-post-content h5 {
    font-size: 18px;
}

.cs-post-content h6 {
    font-size: 16px;
    color: var(--cs-muted, #6B7280);
}

/* خط زیر H2 */
.cs-post-content h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 92px;
    height: 4px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

/* نشان کنار H3 و H4 */
.cs-post-content h3::before,
.cs-post-content h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 6px;
    height: 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content h4::before {
    width: 5px;
    height: 20px;
    opacity: 0.75;
}

/* H5 مثل لیبل */
.cs-post-content h5 {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.09);
    color: var(--cs-primary, #0D6EFD);
}

/* ================================
   Lists / ستاره ها و بولت ها
================================ */

.cs-post-content ul,
.cs-post-content ol {
    margin: 18px 0 24px;
    padding-right: 0;
}

.cs-post-content ul {
    list-style: none;
}

.cs-post-content ul li,
.cs-post-content ol li {
    position: relative;
    margin-bottom: 12px;
    color: var(--cs-text, #374151);
    line-height: 2.1;
}

.cs-post-content ul li {
    padding-right: 28px;
}

/* بولت های خوشگل به جای * یا نقطه */
.cs-post-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.75em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.10);
}

/* لیست عددی */
.cs-post-content ol {
    counter-reset: cs-counter;
    list-style: none;
}

.cs-post-content ol li {
    counter-increment: cs-counter;
    padding-right: 42px;
}

.cs-post-content ol li::before {
    content: counter(cs-counter);
    position: absolute;
    right: 0;
    top: 0.35em;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
}

/* اگر داخل متن با ستاره دستی نوشته شده باشد */
.cs-post-content p {
    overflow-wrap: break-word;
}

.cs-post-content strong {
    color: var(--cs-dark, #111827);
    font-weight: 850;
}

/* ================================
   Tables
================================ */

/* خود جدول با اسکرول افقی در موبایل و تبلت */
.cs-post-content table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    background: #ffffff;
    border: 1px solid var(--cs-border, #E5E7EB);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

/* راهکار اسکرول بدون نیاز به wrapper */
.cs-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* حفظ ساختار جدول بعد از display block */
.cs-post-content table thead,
.cs-post-content table tbody,
.cs-post-content table tfoot {
    display: table;
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.cs-post-content table tr {
    display: table-row;
}

.cs-post-content table th,
.cs-post-content table td {
    display: table-cell;
}

/* اسکرول بار جدول */
.cs-post-content table::-webkit-scrollbar {
    height: 9px;
}

.cs-post-content table::-webkit-scrollbar-track {
    background: var(--cs-light, #F3F4F6);
    border-radius: 20px;
}

.cs-post-content table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    border-radius: 20px;
}

/* هد جدول */
.cs-post-content table th {
    padding: 17px 18px;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.8;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* سلول ها */
.cs-post-content table td {
    padding: 16px 18px;
    color: var(--cs-text, #374151);
    font-size: 15px;
    line-height: 2;
    text-align: right;
    border-bottom: 1px solid var(--cs-border, #E5E7EB);
    border-left: 1px solid var(--cs-border, #E5E7EB);
    background: #ffffff;
}

.cs-post-content table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.cs-post-content table tbody tr:hover td {
    background: rgba(13, 110, 253, 0.055);
}

.cs-post-content table th:last-child,
.cs-post-content table td:last-child {
    border-left: none;
}

.cs-post-content table tr:last-child td {
    border-bottom: none;
}

/* کپشن جدول */
.cs-post-content table caption {
    caption-side: bottom;
    padding-top: 12px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.8;
}

/* ================================
   Blockquote
================================ */

.cs-post-content blockquote {
    position: relative;
    margin: 30px 0;
    padding: 24px 28px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.10), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid var(--cs-border, #E5E7EB);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
    overflow: hidden;
}

.cs-post-content blockquote::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 5px;
    height: calc(100% - 40px);
    border-radius: 20px 0 0 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content blockquote p {
    margin: 0;
    color: var(--cs-dark, #111827);
    font-size: 17px;
    font-weight: 600;
    line-height: 2.1;
}

/* ================================
   Code / Pre
================================ */

.cs-post-content code {
    direction: ltr;
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--cs-primary, #0D6EFD);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.cs-post-content pre {
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    margin: 26px 0;
    padding: 22px;
    border-radius: 20px;
    background: var(--cs-dark, #111827);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.22);
}

.cs-post-content pre code {
    display: block;
    padding: 0;
    background: transparent;
    color: inherit;
    white-space: pre;
}

/* ================================
   Images
================================ */

.cs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

.cs-post-content figure {
    margin: 28px 0;
}

.cs-post-content figcaption,
.cs-post-content .wp-caption-text {
    margin-top: 10px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

/* ================================
   Separator / HR
================================ */

.cs-post-content hr {
    border: none;
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(90deg, transparent, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF), transparent);
}

/* ================================
   Mobile
================================ */

@media (max-width: 1024px) {
    .cs-post-content table {
        min-width: 680px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 680px;
    }
}

@media (max-width: 767px) {
    .cs-post-content {
        font-size: 15.5px;
        line-height: 2.15;
    }

    .cs-post-content p {
        line-height: 2.15;
        margin-bottom: 18px;
    }

    .cs-post-content h1 {
        font-size: 28px;
    }

    .cs-post-content h2 {
        font-size: 24px;
    }

    .cs-post-content h3 {
        font-size: 21px;
    }

    .cs-post-content h4 {
        font-size: 18px;
    }

    .cs-post-content h1,
    .cs-post-content h2,
    .cs-post-content h3,
    .cs-post-content h4,
    .cs-post-content h5,
    .cs-post-content h6 {
        margin-top: 30px;
    }

    .cs-post-content table {
        min-width: 620px;
        border-radius: 16px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 620px;
    }

    .cs-post-content table th,
    .cs-post-content table td {
        padding: 14px 15px;
        font-size: 14px;
    }

    .cs-post-content blockquote {
        padding: 22px 22px 22px 18px;
        border-radius: 18px;
    }
}/* End custom CSS */
/* Start custom CSS for theme-post-content, class: .elementor-element-518a0d5 *//* ==================================================
   CodeSoft Post Content Style
   Class: cs-post-content
   هدینگ، متن، جدول، لیست، نقل قول، کد
================================================== */

.cs-post-content {
    direction: rtl;
    color: var(--cs-text, #374151);
    font-size: 16.5px;
    line-height: 2.25;
}

/* پاراگراف ها */
.cs-post-content p {
    color: var(--cs-text, #374151);
    margin: 0 0 20px;
    line-height: 2.25;
}

/* لینک ها */
.cs-post-content a {
    color: var(--cs-primary, #0D6EFD);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
    transition: all 0.25s ease;
}

.cs-post-content a:hover {
    color: var(--cs-cyan, #00C2FF);
    background-size: 100% 100%;
    color: #ffffff;
}

/* ================================
   Headings
================================ */

.cs-post-content h1,
.cs-post-content h2,
.cs-post-content h3,
.cs-post-content h4,
.cs-post-content h5,
.cs-post-content h6 {
    position: relative;
    color: var(--cs-dark, #111827);
    font-weight: 850;
    line-height: 1.7;
    margin: 38px 0 18px;
}

.cs-post-content h1 {
    font-size: 34px;
}

.cs-post-content h2 {
    font-size: 30px;
    padding-bottom: 14px;
}

.cs-post-content h3 {
    font-size: 25px;
    padding-right: 18px;
}

.cs-post-content h4 {
    font-size: 21px;
    padding-right: 16px;
}

.cs-post-content h5 {
    font-size: 18px;
}

.cs-post-content h6 {
    font-size: 16px;
    color: var(--cs-muted, #6B7280);
}

/* خط زیر H2 */
.cs-post-content h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 92px;
    height: 4px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

/* نشان کنار H3 و H4 */
.cs-post-content h3::before,
.cs-post-content h4::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.65em;
    width: 6px;
    height: 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content h4::before {
    width: 5px;
    height: 20px;
    opacity: 0.75;
}

/* H5 مثل لیبل */
.cs-post-content h5 {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.09);
    color: var(--cs-primary, #0D6EFD);
}

/* ================================
   Lists / ستاره ها و بولت ها
================================ */

.cs-post-content ul,
.cs-post-content ol {
    margin: 18px 0 24px;
    padding-right: 0;
}

.cs-post-content ul {
    list-style: none;
}

.cs-post-content ul li,
.cs-post-content ol li {
    position: relative;
    margin-bottom: 12px;
    color: var(--cs-text, #374151);
    line-height: 2.1;
}

.cs-post-content ul li {
    padding-right: 28px;
}

/* بولت های خوشگل به جای * یا نقطه */
.cs-post-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.75em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    box-shadow: 0 0 0 5px rgba(13, 110, 253, 0.10);
}

/* لیست عددی */
.cs-post-content ol {
    counter-reset: cs-counter;
    list-style: none;
}

.cs-post-content ol li {
    counter-increment: cs-counter;
    padding-right: 42px;
}

.cs-post-content ol li::before {
    content: counter(cs-counter);
    position: absolute;
    right: 0;
    top: 0.35em;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
}

/* اگر داخل متن با ستاره دستی نوشته شده باشد */
.cs-post-content p {
    overflow-wrap: break-word;
}

.cs-post-content strong {
    color: var(--cs-dark, #111827);
    font-weight: 850;
}

/* ================================
   Tables
================================ */

/* خود جدول با اسکرول افقی در موبایل و تبلت */
.cs-post-content table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    background: #ffffff;
    border: 1px solid var(--cs-border, #E5E7EB);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

/* راهکار اسکرول بدون نیاز به wrapper */
.cs-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* حفظ ساختار جدول بعد از display block */
.cs-post-content table thead,
.cs-post-content table tbody,
.cs-post-content table tfoot {
    display: table;
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.cs-post-content table tr {
    display: table-row;
}

.cs-post-content table th,
.cs-post-content table td {
    display: table-cell;
}

/* اسکرول بار جدول */
.cs-post-content table::-webkit-scrollbar {
    height: 9px;
}

.cs-post-content table::-webkit-scrollbar-track {
    background: var(--cs-light, #F3F4F6);
    border-radius: 20px;
}

.cs-post-content table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    border-radius: 20px;
}

/* هد جدول */
.cs-post-content table th {
    padding: 17px 18px;
    background: linear-gradient(135deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.8;
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

/* سلول ها */
.cs-post-content table td {
    padding: 16px 18px;
    color: var(--cs-text, #374151);
    font-size: 15px;
    line-height: 2;
    text-align: right;
    border-bottom: 1px solid var(--cs-border, #E5E7EB);
    border-left: 1px solid var(--cs-border, #E5E7EB);
    background: #ffffff;
}

.cs-post-content table tbody tr:nth-child(even) td {
    background: #F8FAFC;
}

.cs-post-content table tbody tr:hover td {
    background: rgba(13, 110, 253, 0.055);
}

.cs-post-content table th:last-child,
.cs-post-content table td:last-child {
    border-left: none;
}

.cs-post-content table tr:last-child td {
    border-bottom: none;
}

/* کپشن جدول */
.cs-post-content table caption {
    caption-side: bottom;
    padding-top: 12px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.8;
}

/* ================================
   Blockquote
================================ */

.cs-post-content blockquote {
    position: relative;
    margin: 30px 0;
    padding: 24px 28px 24px 24px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.10), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid var(--cs-border, #E5E7EB);
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
    overflow: hidden;
}

.cs-post-content blockquote::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 5px;
    height: calc(100% - 40px);
    border-radius: 20px 0 0 20px;
    background: linear-gradient(180deg, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF));
}

.cs-post-content blockquote p {
    margin: 0;
    color: var(--cs-dark, #111827);
    font-size: 17px;
    font-weight: 600;
    line-height: 2.1;
}

/* ================================
   Code / Pre
================================ */

.cs-post-content code {
    direction: ltr;
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(13, 110, 253, 0.10);
    color: var(--cs-primary, #0D6EFD);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.cs-post-content pre {
    direction: ltr;
    text-align: left;
    overflow-x: auto;
    margin: 26px 0;
    padding: 22px;
    border-radius: 20px;
    background: var(--cs-dark, #111827);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 58px rgba(17, 24, 39, 0.22);
}

.cs-post-content pre code {
    display: block;
    padding: 0;
    background: transparent;
    color: inherit;
    white-space: pre;
}

/* ================================
   Images
================================ */

.cs-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 22px;
}

.cs-post-content figure {
    margin: 28px 0;
}

.cs-post-content figcaption,
.cs-post-content .wp-caption-text {
    margin-top: 10px;
    color: var(--cs-muted, #6B7280);
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
}

/* ================================
   Separator / HR
================================ */

.cs-post-content hr {
    border: none;
    height: 1px;
    margin: 34px 0;
    background: linear-gradient(90deg, transparent, var(--cs-primary, #0D6EFD), var(--cs-cyan, #00C2FF), transparent);
}

/* ================================
   Mobile
================================ */

@media (max-width: 1024px) {
    .cs-post-content table {
        min-width: 680px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 680px;
    }
}

@media (max-width: 767px) {
    .cs-post-content {
        font-size: 15.5px;
        line-height: 2.15;
    }

    .cs-post-content p {
        line-height: 2.15;
        margin-bottom: 18px;
    }

    .cs-post-content h1 {
        font-size: 28px;
    }

    .cs-post-content h2 {
        font-size: 24px;
    }

    .cs-post-content h3 {
        font-size: 21px;
    }

    .cs-post-content h4 {
        font-size: 18px;
    }

    .cs-post-content h1,
    .cs-post-content h2,
    .cs-post-content h3,
    .cs-post-content h4,
    .cs-post-content h5,
    .cs-post-content h6 {
        margin-top: 30px;
    }

    .cs-post-content table {
        min-width: 620px;
        border-radius: 16px;
    }

    .cs-post-content table thead,
    .cs-post-content table tbody,
    .cs-post-content table tfoot {
        min-width: 620px;
    }

    .cs-post-content table th,
    .cs-post-content table td {
        padding: 14px 15px;
        font-size: 14px;
    }

    .cs-post-content blockquote {
        padding: 22px 22px 22px 18px;
        border-radius: 18px;
    }
}/* End custom CSS */
/* Start custom CSS for nested-tabs, class: .elementor-element-554a459 *//* =====================================
   CodeSoft Elementor Tabs
   Class: cs-tabs
   سازگار با Tabs قدیمی و Nested Tabs
===================================== */

/* کانتینر کلی */
.cs-tabs .elementor-tabs,
.cs-tabs .e-n-tabs {
    direction: rtl;
    position: relative;
}

/* نوار تب ها */
.cs-tabs .elementor-tabs-wrapper,
.cs-tabs .e-n-tabs-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--cs-border, #E5E7EB);
    box-shadow: 0 16px 42px rgba(17, 24, 39, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* هر تب */
.cs-tabs .elementor-tab-title,
.cs-tabs .e-n-tab-title {
    position: relative;
    min-height: 48px;
    padding: 12px 22px !important;
    border-radius: 16px !important;
    border: none !important;
    background: transparent !important;
    color: var(--cs-dark, #111827) !important;
    font-weight: 700;
    line-height: 1.7;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.28s ease;
}

/* متن داخل Nested Tabs */
.cs-tabs .e-n-tab-title-text {
    color: inherit !important;
    font-weight: inherit;
}

/* افکت نور داخل تب */
.cs-tabs .elementor-tab-title::before,
.cs-tabs .e-n-tab-title::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.10),
        rgba(0, 194, 255, 0.12)
    );
    opacity: 0;
    transition: all 0.28s ease;
    z-index: 0;
}

/* متن روی افکت */
.cs-tabs .elementor-tab-title *,
.cs-tabs .e-n-tab-title * {
    position: relative;
    z-index: 1;
}

/* هاور تب */
.cs-tabs .elementor-tab-title:hover,
.cs-tabs .e-n-tab-title:hover {
    color: var(--cs-primary, #0D6EFD) !important;
    transform: translateY(-1px);
}

.cs-tabs .elementor-tab-title:hover::before,
.cs-tabs .e-n-tab-title:hover::before {
    opacity: 1;
}

/* تب فعال */
.cs-tabs .elementor-tab-title.elementor-active,
.cs-tabs .e-n-tab-title[aria-selected="true"],
.cs-tabs .e-n-tab-title.e-active {
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        var(--cs-primary, #0D6EFD) 0%,
        var(--cs-cyan, #00C2FF) 115%
    ) !important;
    box-shadow: 0 14px 34px rgba(13, 110, 253, 0.28);
}

/* حذف افکت اضافی روی فعال */
.cs-tabs .elementor-tab-title.elementor-active::before,
.cs-tabs .e-n-tab-title[aria-selected="true"]::before,
.cs-tabs .e-n-tab-title.e-active::before {
    opacity: 0;
}

/* آیکن داخل تب اگر وجود داشت */
.cs-tabs .elementor-tab-title i,
.cs-tabs .e-n-tab-title i,
.cs-tabs .elementor-tab-title svg,
.cs-tabs .e-n-tab-title svg {
    color: currentColor !important;
    fill: currentColor !important;
    transition: all 0.28s ease;
}

/* محتوای تب */
.cs-tabs .elementor-tab-content,
.cs-tabs .e-n-tabs-content {
    position: relative;
    padding: 30px !important;
    border-radius: 28px !important;
    border: 1px solid var(--cs-border, #E5E7EB) !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.08), transparent 24%),
        radial-gradient(circle at 90% 18%, rgba(0, 194, 255, 0.10), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #F8FAFC 100%);
    box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
    color: var(--cs-text, #374151);
    line-height: 2;
    overflow: hidden;
}

/* خط تزئینی داخل محتوا */
.cs-tabs .elementor-tab-content::before,
.cs-tabs .e-n-tabs-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 30px;
    left: 30px;
    height: 4px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(
        90deg,
        var(--cs-primary, #0D6EFD),
        var(--cs-cyan, #00C2FF)
    );
}

/* متن های داخل محتوا */
.cs-tabs .elementor-tab-content p,
.cs-tabs .e-n-tabs-content p {
    color: var(--cs-text, #374151);
    font-size: 16px;
    line-height: 2.15;
    margin-top: 0;
}

.cs-tabs .elementor-tab-content p:last-child,
.cs-tabs .e-n-tabs-content p:last-child {
    margin-bottom: 0;
}

/* لینک ها */
.cs-tabs .elementor-tab-content a,
.cs-tabs .e-n-tabs-content a {
    color: var(--cs-primary, #0D6EFD);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cs-tabs .elementor-tab-content a:hover,
.cs-tabs .e-n-tabs-content a:hover {
    color: var(--cs-cyan, #00C2FF);
}

/* لیست ها */
.cs-tabs .elementor-tab-content ul,
.cs-tabs .elementor-tab-content ol,
.cs-tabs .e-n-tabs-content ul,
.cs-tabs .e-n-tabs-content ol {
    padding-right: 22px;
    margin: 14px 0;
}

.cs-tabs .elementor-tab-content li,
.cs-tabs .e-n-tabs-content li {
    margin-bottom: 8px;
    line-height: 2;
}

/* حالت موبایل برای Tabs قدیمی المنتور */
@media (max-width: 767px) {
    .cs-tabs .elementor-tabs-wrapper,
    .cs-tabs .e-n-tabs-heading {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 7px;
        gap: 8px;
        border-radius: 18px;
        margin-bottom: 14px;
        scrollbar-width: none;
    }

    .cs-tabs .elementor-tabs-wrapper::-webkit-scrollbar,
    .cs-tabs .e-n-tabs-heading::-webkit-scrollbar {
        display: none;
    }

    .cs-tabs .elementor-tab-title,
    .cs-tabs .e-n-tab-title {
        min-width: max-content;
        min-height: 44px;
        padding: 10px 16px !important;
        border-radius: 14px !important;
        font-size: 14px;
    }

    .cs-tabs .elementor-tab-content,
    .cs-tabs .e-n-tabs-content {
        padding: 24px 20px !important;
        border-radius: 22px !important;
    }

    .cs-tabs .elementor-tab-content::before,
    .cs-tabs .e-n-tabs-content::before {
        right: 22px;
        left: 22px;
    }

    /* عنوان های موبایلی Tabs قدیمی */
    .cs-tabs .elementor-tab-mobile-title {
        margin-bottom: 10px;
        padding: 13px 16px !important;
        border-radius: 16px !important;
        border: 1px solid var(--cs-border, #E5E7EB) !important;
        background: #ffffff !important;
        color: var(--cs-dark, #111827) !important;
        font-weight: 700;
        box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
    }

    .cs-tabs .elementor-tab-mobile-title.elementor-active {
        background: linear-gradient(
            135deg,
            var(--cs-primary, #0D6EFD),
            var(--cs-cyan, #00C2FF)
        ) !important;
        color: #ffffff !important;
        border-color: transparent !important;
    }
}/* End custom CSS */