/* ============================================================
   ما لا يخصّ الباحثَ عن عقار — يُخفى.

   الباحثُ لا يسوّق عقاراً ولا يستخرج ترخيصاً إعلانياً ولا يُعرض
   ملفُّه العام للناس. وكلُّ بابٍ من هذه يفتح عليه صفحةً لا تعنيه
   أو تطلب منه ما ليس عنده.

   والإخفاءُ بالـCSS لا بالجافاسكربت حيث أمكن: يسبق الرسمَ فلا
   يومض العنصرُ ثمّ يختفي، ولا يحتاج إلى معالجٍ ينجح أو يخفق.
   ============================================================ */

/* ————— أقسامُ الصفحة الرئيسية ————— */
html[data-amtar-role="searcher"] .exm-band,          /* سلّم عقارك لفريق يسوّقه */
html[data-amtar-role="searcher"] #bandCta,           /* سوّق عقارك معنا */
html[data-amtar-role="searcher"] .svc[href*="market-property"],
html[data-amtar-role="searcher"] .svc[href*="market-your-property"],
html[data-amtar-role="searcher"] .svc[href*="advertising-license"] {
  display: none !important;
}

/* والقسمُ الحاوي يختفي إن لم يبقَ فيه شيء */
html[data-amtar-role="searcher"] section.sec:has(> .container > .cta-band#bandCta),
html[data-amtar-role="searcher"] section.sec:has(> .container > .exm-band) {
  display: none !important;
}

/* ————— لوحةُ المستخدم: خدماتٌ ليست له ————— */
html[data-amtar-role="searcher"] [data-amtar-hide-searcher],
html[data-amtar-role="searcher"] a[href="/market-your-property"],
html[data-amtar-role="searcher"] a[href="/market-property.html"],
html[data-amtar-role="searcher"] a[href="/advertising-license"],
html[data-amtar-role="searcher"] a[href="/user-panel/licenses"] {
  display: none !important;
}

/* ————— الملفُّ الشخصيّ: نبذةٌ لا يحتاجها ————— */
html[data-amtar-role="searcher"] [data-field="bio"],
html[data-amtar-role="searcher"] .pf-bio,
html[data-amtar-role="searcher"] #bioField,
html[data-amtar-role="searcher"] #f_bio {
  display: none !important;
}

/* ————— البحث: ما لا يعني الباحث ————— */
html[data-amtar-role="searcher"] [data-filter="source"],
html[data-amtar-role="searcher"] .flt-source,
html[data-amtar-role="searcher"] [data-amtar-ai] {
  display: none !important;
}

/* ————— قائمةُ الترتيب لا تُقصّ ولا تُحجب ————— */
.amtar-hero-sort[open] { z-index: 80 !important; }
.amtar-hero-sort[open] > div { z-index: 200 !important; }
/* الصفُّ الحاوي قد يقصّ ما يخرج عنه — يُرفع القصّ وقت الفتح */
:has(> .amtar-hero-sort[open]) { overflow: visible !important; }
