/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================
   E-E-A-T Doctor Approval Box Styles
========================================== */
.cr-eeat-box {
    font-family: 'cocaro', Tahoma, sans-serif !important;
    background: #151515;
    border: 1px solid rgba(228, 176, 64, 0.15);
    border-right: 4px solid #e4b040;
    border-radius: 12px;
    padding: 30px;
    margin: 60px 0 40px 0;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cr-eeat-image {
    flex-shrink: 0;
}

.cr-eeat-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e4b040;
    padding: 5px;
    background: #111;
}

.cr-eeat-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cr-eeat-badge {
    display: inline-block;
    background: rgba(228, 176, 64, 0.1);
    color: #e4b040;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    align-self: flex-start;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cr-eeat-name {
    color: #ffffff !important;
    font-size: 24px !important;
    margin: 0 !important;
    font-weight: 800;
}

.cr-eeat-title {
    color: #e4b040;
    font-size: 15px;
    font-weight: 600;
}

.cr-eeat-bio {
    color: #9ba3af !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    margin: 5px 0 10px 0 !important;
    text-align: justify;
}

.cr-eeat-link {
    color: #e4b040;
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cr-eeat-link:hover {
    color: #ffffff;
    gap: 10px;
}

@media (max-width: 768px) {
    .cr-eeat-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        border-right: 1px solid rgba(228, 176, 64, 0.15);
        border-top: 4px solid #e4b040;
    }
    .cr-eeat-image img {
        width: 120px;
        height: 120px;
    }
    .cr-eeat-badge, .cr-eeat-link {
        align-self: center;
    }
    .cr-eeat-bio {
        text-align: center;
    }
}

/* ==========================================
   استایل سراسری تیترهای (H2, H3) داخل برگه‌ها
========================================== */
.elementor-widget-text-editor h2,
.elementor-widget-theme-post-content h2,
.entry-content h2 {
    color: #f9df7b !important; 
    font-size: 22px !important; 
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    font-weight: 800;
    line-height: 1.5;
}

.elementor-widget-text-editor h3,
.elementor-widget-theme-post-content h3,
.entry-content h3 {
    color: #e4b040 !important;
    font-size: 20px !important; 
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .elementor-widget-text-editor h2,
    .elementor-widget-theme-post-content h2,
    .entry-content h2 {
        font-size: 20px !important;
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }
    .elementor-widget-text-editor h3,
    .elementor-widget-theme-post-content h3,
    .entry-content h3 {
        font-size: 18px !important;
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }
}