/* Global CSS */
#site-header{
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

/* تغییر رنگ لینک‌های محتوای همه پست‌های سینگل */
body.single-post .elementor-widget-theme-post-content a:not(.elementor-button),
body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):visited {
    color: #543aff !important;
}

body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):hover,
body.single-post .elementor-widget-theme-post-content a:not(.elementor-button):focus {
    color: #543aff !important;
}



@media (max-width: 768px) {
  #raman-broker-faq .raman-faq__question,
  #raman-broker-faq .raman-faq__question > span {
    min-width: 0 !important;
    white-space: normal !important;
  }

  #raman-broker-faq .raman-faq__question > span {
    overflow-wrap: anywhere;
  }
}


body.single-bonuses
.elementor-element-b8ff01f
.elementor-icon-list-items {
    display: flex !important;
}


.single-bonuses
.elementor-element-b8ff01f
.elementor-icon-list-text a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    margin: 0 0 8px 8px;
    padding: 5px 11px;

    background: #d6d9fc45;
    border: 1px solid #dce4ee;
    border-radius: 8px;

    color: #58718f !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none !important;

    transition: all 0.2s ease;
}


.single-bonuses
.elementor-element-b8ff01f
.elementor-icon-list-text a:hover {
    color: #563bff !important;
    background: #f8f7ff;
    border-color: #a99cff;
    transform: translateY(-2px);
}



body:is(
    .blog,
    .single-post,
    .post-type-archive-brokers,
    .single-brokers,
    .post-type-archive-bonuses,
    .single-bonuses,
    .post-type-archive-rebates,
    .single-rebates
) :is(
    .entry-content,
    .elementor-widget-text-editor,
    .elementor-widget-theme-post-content,
    .raman-tabs__content
) a:not(.elementor-button):not(.raman-btn) {
    color: #543aff !important;
}








/* جدول حرفه‌ای*/

.elementor table,
.entry-content table,
.elementor-widget-container table {
    width: 100% !important;
    margin: 30px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    direction: rtl !important;
    text-align: center !important;
}

/* هدر جدول */
.elementor table thead th,
.entry-content table thead th,
.elementor-widget-container table thead th {
    background: #543aff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 15px 18px !important;
    text-align: center !important;
    border: none !important;
}

/* سلول‌های بدنه */
.elementor table tbody td,
.entry-content table tbody td,
.elementor-widget-container table tbody td {
    padding: 13px 18px !important;
    color: #1f2937 !important;
    font-size: 14.5px !important;
    text-align: center !important;
    border: none !important;
}

/* ردیف‌های یکی در میان */
.elementor table tbody tr:nth-child(odd) td,
.entry-content table tbody tr:nth-child(odd) td {
    background-color: #ffffff !important;
}

.elementor table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) td {
    background-color: #f1f5f9 !important;
}

/* ستون اول پررنگ */
.elementor table tbody td:first-child,
.entry-content table tbody td:first-child {
    font-weight: 700 !important;
    color: #111827 !important;
}

/* حذف خطوط */
.elementor table,
.elementor table th,
.elementor table td,
.entry-content table,
.entry-content table th,
.entry-content table td {
    border: none !important;
}

/* گوشه‌های گرد */
.elementor table thead tr:first-child th:first-child,
.entry-content table thead tr:first-child th:first-child {
    border-top-right-radius: 17px !important;
}
.elementor table thead tr:first-child th:last-child,
.entry-content table thead tr:first-child th:last-child {
    border-top-left-radius: 17px !important;
}
.elementor table tbody tr:last-child td:first-child,
.entry-content table tbody tr:last-child td:first-child {
    border-bottom-right-radius: 17px !important;
}
.elementor table tbody tr:last-child td:last-child,
.entry-content table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 17px !important;
}

/* هاور */
.elementor table tbody tr:hover td,
.entry-content table tbody tr:hover td {
    background-color: #e0e7ff !important;
}


body.single-brokers
.raman-specs
.raman-specs__table
tbody tr > td.raman-specs__value {
    background-color: transparent !important;
    background-image: none !important;
}

body.post-type-archive-brokers .raman-select:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

body.single-bonuses a[href*="/blog/"] {
    color: #414c5d !important;
}

body.single-rebates h1,
body.single-rebates h2,
body.single-rebates h3,
body.single-rebates h4,
body.single-rebates h5,
body.single-rebates h6 {
    font-weight: 600 !important;
    color: #434242 !important;
}

@media (max-width: 767px) {

    body:is(.post-type-archive-rebates, .post-type-archive-rebate) .raman-broker-card__title {
        font-size: 14px;
        width: 100%;
        flex-grow: 1;
        line-height: 18px;
    }

    body:is(.post-type-archive-rebates, .post-type-archive-rebate) .raman-broker-card__specs {
        width: 100%;
    }

    body:is(.post-type-archive-rebates, .post-type-archive-rebate) .raman-broker-card__head {
        gap: 2px;
    }

    body:is(.post-type-archive-rebates, .post-type-archive-rebate) .raman-broker-card__badge {
        position: absolute;
        left: 3px;
        top: 3px;
        padding: 5px 8px;
    }

}

