.elementor-24123 .elementor-element.elementor-element-9874cc7{--display:flex;--min-height:830px;--overlay-opacity:0.5;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-24123 .elementor-element.elementor-element-9874cc7:not(.elementor-motion-effects-element-type-background), .elementor-24123 .elementor-element.elementor-element-9874cc7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://bsma.ir/wp-content/uploads/2025/02/احتراق-3.webp");background-position:center right;background-repeat:repeat-y;background-size:125% auto;}.elementor-24123 .elementor-element.elementor-element-9874cc7::before, .elementor-24123 .elementor-element.elementor-element-9874cc7 > .elementor-background-video-container::before, .elementor-24123 .elementor-element.elementor-element-9874cc7 > .e-con-inner > .elementor-background-video-container::before, .elementor-24123 .elementor-element.elementor-element-9874cc7 > .elementor-background-slideshow::before, .elementor-24123 .elementor-element.elementor-element-9874cc7 > .e-con-inner > .elementor-background-slideshow::before, .elementor-24123 .elementor-element.elementor-element-9874cc7 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}@media(max-width:767px){.elementor-24123 .elementor-element.elementor-element-9874cc7{--overlay-opacity:0.6;}.elementor-24123 .elementor-element.elementor-element-1dc3048{width:100%;max-width:100%;}}@media(min-width:768px){.elementor-24123 .elementor-element.elementor-element-9874cc7{--width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-1dc3048 *//* =========================
   LIGHT THEME - ARTICLE
========================= */

.current-post-article.cpa {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

/* عنوان مقاله */
.cpa-title {
    color: #0f172a;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
}

/* متا اطلاعات */
.cpa-meta {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.cpa-meta a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.cpa-meta a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* ستون‌های کنار هم */
.cpa-2col {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    margin-bottom: 28px;
    align-items: start;
}

@media (max-width: 768px) {
    .cpa-2col {
        grid-template-columns: 1fr;
    }
}

/* تصویر شاخص */
.cpa-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cpa-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* خلاصه مطلب */
.cpa-excerpt {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* تگ‌ها */
.cpa-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.cpa-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
}

.cpa-tag:hover {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #7dd3fc;
}

/* محتوای اصلی مقاله */
.cpa-content {
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
}

.cpa-content h2.wp-block-heading,
.cpa-content h3.wp-block-heading {
    color: #0f172a;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 700;
}

.cpa-content h2.wp-block-heading {
    font-size: 22px;
    border-right: 4px solid #3b82f6;
    padding-right: 12px;
}

.cpa-content h3.wp-block-heading {
    font-size: 18px;
    color: #1e293b;
}

.cpa-content p {
    margin-bottom: 16px;
    color: #475569;
}

.cpa-content strong {
    color: #0f172a;
}

.cpa-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted #3b82f6;
}

.cpa-content a:hover {
    color: #1d4ed8;
    border-bottom-style: solid;
}

/* لیست‌ها */
.cpa-content ul.wp-block-list,
.cpa-content ol.wp-block-list {
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 0;
}

.cpa-content ul.wp-block-list li,
.cpa-content ol.wp-block-list li {
    margin-bottom: 8px;
    color: #475569;
}

.cpa-content ul.wp-block-list li p,
.cpa-content ol.wp-block-list li p {
    margin: 0;
}

/* جداکننده */
.cpa-content hr.wp-block-separator {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 32px 0;
}

/* گالری و تصاویر */
.cpa-content figure.wp-block-gallery,
.cpa-content figure.wp-block-image {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.cpa-content figure img {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* بخش نظرات */
.cpa-comments-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e2e8f0;
}

.comments-area {
    background: #f8fafc;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #e2e8f0;
}

.comment-reply-title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-reply-title small a {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
}

/* فرم نظرات */
.comment-form-comment label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.comment-form-comment textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px;
    color: #1e293b;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
}

.comment-form-comment textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* اطلاعات کاربر لاگین شده */
.logged-in-as {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.logged-in-as a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* دکمه ارسال نظر */
.form-submit .submit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.form-submit .submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* بخش تماس در انتهای مقاله */
.cpa-content .has-text-align-center {
    text-align: center;
}

/* ایموجی‌ها */
.cpa-content img.emoji {
    display: inline;
    width: 1.2em;
    height: 1.2em;
    vertical-align: sub;
    border: none;
    margin: 0 2px;
}

/* لینک‌های خاص درون متن */
.cpa-content p a.decorated-link {
    color: #0284c7;
    font-weight: 700;
    border-bottom: 2px solid #38bdf8;
}

/* لیست تلفن و آدرس در انتها */
.cpa-content ul li strong {
    color: #0f172a;
}

/* =========================
   LIGHT THEME - FIXES
   رفع مشکل متن‌های سفید
========================= */

/* لینک دسته‌بندی در متا که inline style سفید دارد */
.cpa-meta a[href*="category"],
.cpa-meta a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 600;
}

/* هاور لینک متا */
.cpa-meta a:hover {
    color: #2563eb !important;
    text-decoration: underline !important;
}

/* متن متا (نویسنده، تاریخ) */
.cpa-meta {
    color: #64748b !important;
}

/* تگ‌ها - اطمینان از خوانایی */
.cpa-tag {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

.cpa-tag:hover {
    color: #0369a1 !important;
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
}

/* عنوان مقاله - اطمینان از تیرگی */
.cpa-title {
    color: #0f172a !important;
}

/* متن خلاصه */
.cpa-excerpt {
    color: #475569 !important;
}

/* همه لینک‌های داخل محتوا */
.cpa-content a {
    color: #2563eb !important;
    border-bottom-color: #3b82f6;
}

.cpa-content a:hover {
    color: #1d4ed8 !important;
}

/* لینک‌های خاص تماس و غیره */
.cpa-content p a {
    color: #2563eb !important;
}

/* لیست‌های داخل مطلب */
.cpa-content li {
    color: #475569 !important;
}

.cpa-content li p {
    color: #475569 !important;
}

/* استایل‌های قوی‌تر برای متن‌های داخل پاراگراف */
.cpa-content p,
.cpa-content span,
.cpa-content div {
    color: #475569;
}

/* هدینگ‌های داخل مطلب */
.cpa-content h2,
.cpa-content h3,
.cpa-content h4 {
    color: #0f172a !important;
}

.cpa-content strong {
    color: #0f172a !important;
}

.cpa-content em {
    color: #374151;
}

/* بخش نظرات - اطمینان از خوانایی */
.comment-reply-title {
    color: #0f172a !important;
}

.logged-in-as {
    color: #64748b !important;
}

.logged-in-as a {
    color: #3b82f6 !important;
}

/* فرم نظرات */
label[for="comment"] {
    color: #374151 !important;
}

/* دکمه ارسال */
.form-submit .submit {
    color: #ffffff !important; /* این عمداً سفید روی زمینه آبی است */
}

/* لینک لغو پاسخ */
#cancel-comment-reply-link {
    color: #ef4444 !important;
}

/* رفع مشکل لینک‌های خاص که ممکن است سفید مانده باشند */
.cpa a[style*="color:#fff"],
.cpa a[style*="color: #fff"],
.cpa span[style*="color:#fff"],
.cpa span[style*="color: #fff"] {
    color: #3b82f6 !important;
}

/* اگر هر عنصر دیگری داخل CPA سفید مانده */
.cpa * {
    color: inherit;
}

/* اما استثناها */
.cpa .submit,
.cpa .button,
.cpa button {
    color: #ffffff !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-9874cc7 */table {
    color: #000000 !important;
}

table th,
table td {
    color: #000000 !important;
}/* End custom CSS */