/* ==========================================================================
   1. تنسيقات الفيديوهات المقترحة (Suggested Videos)
   ========================================================================== */
.suggested-videos-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    border-right: 5px solid #e60000; /* نفس سمك حدود العنوان الرئيسي */
    padding-right: 15px;
    color: #222 !important;
    display: block;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 768px) {
    .suggested-videos-title {
        font-size: 15px !important;
        padding-right: 12px !important;
        margin-bottom: 15px !important;
        border-right-width: 4px !important;
    }
}

/* ==========================================================================
   2. نافذة تنبيه التعليقات (Comment Alert Box)
   ========================================================================== */
#cA_B {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* تغميق الخلفية قليلاً للتركيز */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* أعلى من هيدر Astra */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    direction: rtl;
}

#cA_B.act {
    opacity: 1;
    visibility: visible;
}

.cA_bx {
    background: #fff;
    padding: 30px;
    border-radius: 20px; /* زوايا أنعم */
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transform: scale(0.9); /* تأثير تكبير بسيط عند الظهور */
    transition: all 0.3s ease;
}

#cA_B.act .cA_bx {
    transform: scale(1);
}

/* وضع ليلي للصندوق */
body.dark .cA_bx, body[data-theme="dark"] .cA_bx {
    background: #222;
}

.cA_bx span {
    font-size: 55px;
    margin-bottom: 15px;
    display: block;
}

.cA_bx h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

body.dark .cA_bx h3 { color: #fff; }

.cA_bx p {
    margin: 0 0 25px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

body.dark .cA_bx p { color: #bbb; }

.cA_bx button {
    background: #d30c22; /* تغيير اللون للأحمر ليتناسب مع هويتك الجديدة */
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
    width: 100%; /* زر عريض على الموبايل */
}

.cA_bx button:hover {
    background: #b10a1c;
}

/* ==========================================================================
   3. فوتر SEO المخصص (SEO Footer Content)
   ========================================================================== */
#seo-custom-footer-content {
    display: block; /* تأكد من أنه ظاهر إذا كنت تريده لـ SEO */
    margin: 40px 0;
    clear: both;
    direction: rtl;
}

.custom-video-tag-wrapper {
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(128, 128, 128, 0.15);
    background-color: rgba(128, 128, 128, 0.03);
    line-height: 1.8;
}

.custom-video-tag-wrapper h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: inherit;
    font-weight: 800;
    border-bottom: 3px solid #e60000; /* خط أحمر ليتناسق مع الموقع */
    padding-bottom: 8px;
    display: inline-block;
}

.custom-video-tag-wrapper p {
    font-size: 16px;
    color: inherit;
    opacity: 0.85;
    margin-bottom: 0; /* تقليل المسافات الزائدة */
}

/* تحسين SEO فوتر للموبايل */
@media (max-width: 768px) {
    .custom-video-tag-wrapper {
        padding: 20px;
        margin: 20px 10px;
    }
    .custom-video-tag-wrapper h3 {
        font-size: 18px;
        display: table; /* يحافظ على حجم الخط السفلي */
    }
    .custom-video-tag-wrapper p {
        font-size: 14px;
        text-align: justify; /* مظهر أفضل للنصوص الطويلة */
    }
}

.custom-widget-area * {
    max-width: 100% !important;
    height: auto !important; /* لضمان عدم تمدد الصور أو الفيديوهات داخل الودجت */
}