/* تحديث موقع الجمعية — هوية منظومة WICS: أزرق ملكي، كحلي، لمسات ذهبية */
body.wics-on {
  --w-bg: #f2f5fb; --w-surface: #ffffff; --w-surface-2: #f7f9fd; --w-line: #e0e7f2; --w-line-strong: #c6d2e4;
  --w-ink: #15233b; --w-ink-2: #4f5f79; --w-ink-3: #73829b;
  --w-brand: #2253a2; --w-brand-2: #2b66c2; --w-navy: #173f80; --w-brand-soft: #e6eefb;
  --w-gold: #a87b1f; --w-gold-soft: #f8efd8;
  --w-shadow: 0 1px 2px rgba(23, 50, 96, .06), 0 6px 18px rgba(23, 50, 96, .06);
  --w-font: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--w-bg) !important;
  color: var(--w-ink);
  font-family: var(--w-font);
  line-height: 1.75;
}
body.wics-on,
body.wics-on p, body.wics-on li, body.wics-on a, body.wics-on span, body.wics-on td, body.wics-on th,
body.wics-on input, body.wics-on button, body.wics-on select, body.wics-on textarea,
body.wics-on h1, body.wics-on h2, body.wics-on h3, body.wics-on h4, body.wics-on h5, body.wics-on h6 {
  font-family: var(--w-font);
}
body.wics-on .fa, body.wics-on [class*="fa-"], body.wics-on [class*="eicon"], body.wics-on [class*="dashicons"], body.wics-on [class*="icon-"] { font-family: revert; }

/* الروابط والعناوين */
body.wics-on a { color: var(--w-brand-2); text-decoration-color: color-mix(in srgb, var(--w-brand-2) 35%, transparent); text-underline-offset: 3px; }
body.wics-on a:hover { color: var(--w-navy); }
body.wics-on h1, body.wics-on h2, body.wics-on h3, body.wics-on h4 { color: var(--w-navy); font-weight: 700; line-height: 1.4; }
body.wics-on h1 a, body.wics-on h2 a, body.wics-on h3 a, body.wics-on h4 a { color: inherit; text-decoration: none; }
body.wics-on h1 a:hover, body.wics-on h2 a:hover, body.wics-on h3 a:hover { color: var(--w-brand-2); }
body.wics-on .widget-title, body.wics-on .widgettitle, body.wics-on .widget > h2, body.wics-on .widget > h3,
body.wics-on .section-title, body.wics-on .elementor-widget-heading .elementor-heading-title, body.wics-on .wp-block-heading {
  position: relative; padding-bottom: 10px;
}
body.wics-on .widget-title::after, body.wics-on .widgettitle::after, body.wics-on .widget > h2::after, body.wics-on .widget > h3::after, body.wics-on .section-title::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--w-gold);
}
body.wics-on ::selection { background: var(--w-brand-soft); color: var(--w-navy); }

/* الترويسة */
body.wics-on .site-header, body.wics-on #masthead, body.wics-on header.header, body.wics-on #header,
body.wics-on .elementor-location-header, body.wics-on header.wp-block-template-part, body.wics-on .main-header , body.wics-on .wics-header {
  background: #fff !important;
  background-image: none !important;
  color: var(--w-ink);
  border-bottom: 1px solid var(--w-line);
  box-shadow: 0 1px 2px rgba(23, 50, 96, .06), 0 6px 18px rgba(23, 50, 96, .06);
  backdrop-filter: none;
}
body.wics-on .site-header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on #masthead *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on header.header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on #header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on .elementor-location-header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on header.wp-block-template-part *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link),
body.wics-on .main-header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link) , body.wics-on .wics-header *:not(input):not(select):not(.sub-menu *):not(ul.children *):not(.elementor-nav-menu--dropdown *):not(.wp-block-navigation__responsive-container *):not(img):not(.button):not(.elementor-button):not(.wp-block-button__link) {
  background-color: transparent !important;
  color: var(--w-ink);
}
body.wics-on .site-title a { color: var(--w-navy) !important; } body.wics-on .site-description { color: var(--w-ink-2) !important; }
body.wics-on .custom-logo, body.wics-on .site-logo img, body.wics-on .wics-logo {
  background: transparent !important; border-radius: 0; padding: 0; box-shadow: none !important; border: 0;
  max-height: 72px; width: auto; height: auto; object-fit: contain;
}

/* القائمة الرئيسية */
body.wics-on .site-header .main-navigation a, body.wics-on .site-header #site-navigation a, body.wics-on .site-header .primary-menu a, body.wics-on .site-header nav .menu > li > a, body.wics-on .site-header .elementor-nav-menu--main .elementor-item, body.wics-on .site-header .wp-block-navigation-item__content, body.wics-on #masthead .main-navigation a, body.wics-on #masthead #site-navigation a, body.wics-on #masthead .primary-menu a, body.wics-on #masthead nav .menu > li > a, body.wics-on #masthead .elementor-nav-menu--main .elementor-item, body.wics-on #masthead .wp-block-navigation-item__content, body.wics-on header.header .main-navigation a, body.wics-on header.header #site-navigation a, body.wics-on header.header .primary-menu a, body.wics-on header.header nav .menu > li > a, body.wics-on header.header .elementor-nav-menu--main .elementor-item, body.wics-on header.header .wp-block-navigation-item__content, body.wics-on #header .main-navigation a, body.wics-on #header #site-navigation a, body.wics-on #header .primary-menu a, body.wics-on #header nav .menu > li > a, body.wics-on #header .elementor-nav-menu--main .elementor-item, body.wics-on #header .wp-block-navigation-item__content, body.wics-on .elementor-location-header .main-navigation a, body.wics-on .elementor-location-header #site-navigation a, body.wics-on .elementor-location-header .primary-menu a, body.wics-on .elementor-location-header nav .menu > li > a, body.wics-on .elementor-location-header .elementor-nav-menu--main .elementor-item, body.wics-on .elementor-location-header .wp-block-navigation-item__content, body.wics-on header.wp-block-template-part .main-navigation a, body.wics-on header.wp-block-template-part #site-navigation a, body.wics-on header.wp-block-template-part .primary-menu a, body.wics-on header.wp-block-template-part nav .menu > li > a, body.wics-on header.wp-block-template-part .elementor-nav-menu--main .elementor-item, body.wics-on header.wp-block-template-part .wp-block-navigation-item__content, body.wics-on .main-header .main-navigation a, body.wics-on .wics-header .main-navigation a, body.wics-on .main-header #site-navigation a, body.wics-on .wics-header #site-navigation a, body.wics-on .main-header .primary-menu a, body.wics-on .wics-header .primary-menu a, body.wics-on .main-header nav .menu > li > a, body.wics-on .wics-header nav .menu > li > a, body.wics-on .main-header .elementor-nav-menu--main .elementor-item, body.wics-on .wics-header .elementor-nav-menu--main .elementor-item, body.wics-on .main-header .wp-block-navigation-item__content , body.wics-on .wics-header .wp-block-navigation-item__content {
  color: var(--w-ink) !important; font-weight: 600; border-radius: 9px; padding-inline: 12px;
  transition: background .16s, box-shadow .16s;
}
body.wics-on .site-header .main-navigation a:hover, body.wics-on .site-header nav .menu > li > a:hover, body.wics-on .site-header .elementor-nav-menu--main .elementor-item:hover, body.wics-on .site-header .current-menu-item > a, body.wics-on .site-header .elementor-item-active, body.wics-on #masthead .main-navigation a:hover, body.wics-on #masthead nav .menu > li > a:hover, body.wics-on #masthead .elementor-nav-menu--main .elementor-item:hover, body.wics-on #masthead .current-menu-item > a, body.wics-on #masthead .elementor-item-active, body.wics-on header.header .main-navigation a:hover, body.wics-on header.header nav .menu > li > a:hover, body.wics-on header.header .elementor-nav-menu--main .elementor-item:hover, body.wics-on header.header .current-menu-item > a, body.wics-on header.header .elementor-item-active, body.wics-on #header .main-navigation a:hover, body.wics-on #header nav .menu > li > a:hover, body.wics-on #header .elementor-nav-menu--main .elementor-item:hover, body.wics-on #header .current-menu-item > a, body.wics-on #header .elementor-item-active, body.wics-on .elementor-location-header .main-navigation a:hover, body.wics-on .elementor-location-header nav .menu > li > a:hover, body.wics-on .elementor-location-header .elementor-nav-menu--main .elementor-item:hover, body.wics-on .elementor-location-header .current-menu-item > a, body.wics-on .elementor-location-header .elementor-item-active, body.wics-on header.wp-block-template-part .main-navigation a:hover, body.wics-on header.wp-block-template-part nav .menu > li > a:hover, body.wics-on header.wp-block-template-part .elementor-nav-menu--main .elementor-item:hover, body.wics-on header.wp-block-template-part .current-menu-item > a, body.wics-on header.wp-block-template-part .elementor-item-active, body.wics-on .main-header .main-navigation a:hover, body.wics-on .wics-header .main-navigation a:hover, body.wics-on .main-header nav .menu > li > a:hover, body.wics-on .wics-header nav .menu > li > a:hover, body.wics-on .main-header .elementor-nav-menu--main .elementor-item:hover, body.wics-on .wics-header .elementor-nav-menu--main .elementor-item:hover, body.wics-on .main-header .current-menu-item > a, body.wics-on .wics-header .current-menu-item > a, body.wics-on .main-header .elementor-item-active , body.wics-on .wics-header .elementor-item-active {
  background: var(--w-brand-soft) !important; color: var(--w-navy) !important; box-shadow: inset 0 -3px 0 var(--w-brand);
}
body.wics-on .elementor-nav-menu--main .elementor-item::before, body.wics-on .elementor-nav-menu--main .elementor-item::after { display: none !important; }
body.wics-on .sub-menu, body.wics-on ul.children, body.wics-on .elementor-nav-menu--dropdown {
  background: #fff !important; border: 1px solid var(--w-line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); padding: 6px;
}
body.wics-on .sub-menu a, body.wics-on ul.children a, body.wics-on .elementor-nav-menu--dropdown a {
  color: var(--w-ink) !important; background: transparent !important; border-radius: 8px; box-shadow: none !important;
}
body.wics-on .sub-menu a:hover, body.wics-on .elementor-nav-menu--dropdown a:hover { background: var(--w-brand-soft) !important; color: var(--w-navy) !important; }
body.wics-on .site-header .menu-toggle, body.wics-on .site-header .elementor-menu-toggle, body.wics-on #masthead .menu-toggle, body.wics-on #masthead .elementor-menu-toggle, body.wics-on header.header .menu-toggle, body.wics-on header.header .elementor-menu-toggle, body.wics-on #header .menu-toggle, body.wics-on #header .elementor-menu-toggle, body.wics-on .elementor-location-header .menu-toggle, body.wics-on .elementor-location-header .elementor-menu-toggle, body.wics-on header.wp-block-template-part .menu-toggle, body.wics-on header.wp-block-template-part .elementor-menu-toggle, body.wics-on .main-header .menu-toggle, body.wics-on .wics-header .menu-toggle, body.wics-on .main-header .elementor-menu-toggle , body.wics-on .wics-header .elementor-menu-toggle { color: var(--w-navy) !important; background: var(--w-brand-soft) !important; border-radius: 9px; border: 1px solid var(--w-line-strong) !important; }

/* البطاقات: المقالات والأدوات الجانبية */
body.wics-on article.post, body.wics-on article.type-post, body.wics-on article.page:not(.wics-plain),
body.wics-on .widget, body.wics-on .wp-block-latest-posts li, body.wics-on .elementor-post, body.wics-on .comments-area, body.wics-on .comment-respond {
  background: var(--w-surface);
  border: 1px solid var(--w-line);
  border-radius: 12px;
  box-shadow: var(--w-shadow);
}
body.wics-on .widget { padding: 16px 18px; margin-bottom: 18px; }
body.wics-on .elementor-post { overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
body.wics-on article.post, body.wics-on article.type-post { overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
body.wics-on .blog article.post:hover, body.wics-on .archive article.post:hover, body.wics-on .elementor-post:hover {
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(23, 50, 96, .15); border-color: var(--w-brand-2);
}
body.wics-on .elementor-post__text, body.wics-on .entry-header, body.wics-on .entry-content, body.wics-on .entry-summary, body.wics-on .entry-footer { padding-inline: 4px; }
body.wics-on .post-thumbnail img, body.wics-on .wp-post-image, body.wics-on .elementor-post__thumbnail img { border-radius: 10px; object-fit: cover; }
body.wics-on .entry-content img, body.wics-on .wp-block-image img { border-radius: 10px; height: auto; }
body.wics-on .entry-meta, body.wics-on .posted-on, body.wics-on .elementor-post__meta-data { color: var(--w-ink-3) !important; font-size: 13px; }
body.wics-on .entry-meta a, body.wics-on .posted-on a { color: var(--w-ink-3); text-decoration: none; }
body.wics-on .cat-links a, body.wics-on .tags-links a, body.wics-on .elementor-post__badge {
  display: inline-block; background: var(--w-gold-soft) !important; color: var(--w-gold) !important; border-radius: 999px; padding: 1px 10px; font-size: 12.5px; text-decoration: none; font-weight: 600;
}
body.wics-hide-meta .byline, body.wics-hide-meta .author.vcard, body.wics-hide-meta .comments-link,
body.wics-hide-meta .elementor-post-author, body.wics-hide-meta .elementor-post__meta-data .elementor-post-avatar,
body.wics-hide-meta .elementor-post__meta-data .elementor-post-date + .elementor-post-comments,
body.wics-hide-meta .elementor-post-info__item--type-author, body.wics-hide-meta .elementor-post-info__item--type-comments,
body.wics-hide-meta .elementor-post__avatar, body.wics-hide-meta .comments-count { display: none !important; }
body.wics-hide-meta .updated:not(.published) { display: none !important; }

/* الأزرار: الزجاج اللامع من المنظومة */
body.wics-on .button, body.wics-on button:not(.menu-toggle):not([class*="toggle"]):not(.wp-block-search__button):not([aria-label*="close" i]):not(.wics-fb-more):not(.wics-ticker-pause):not(.wics-fb-load),
body.wics-on input[type="submit"], body.wics-on input[type="button"], body.wics-on .wp-block-button__link, body.wics-on .wp-element-button,
body.wics-on .more-link, body.wics-on .read-more, body.wics-on a.btn, body.wics-on .elementor-button, body.wics-on .elementor-post__read-more,
body.wics-on .wp-block-search__button, body.wics-on .everest-forms .evf-submit {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 6px 18px; border-radius: 9px !important;
  background: linear-gradient(180deg, color-mix(in srgb, #2253a2 84%, #fff) 0%, #2253a2 42%, color-mix(in srgb, #2253a2 92%, #000) 100%) !important;
  border: 1px solid color-mix(in srgb, #2253a2 82%, #000) !important;
  color: #fff !important; font-weight: 600; text-decoration: none !important; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -1px 0 rgba(0, 0, 0, .16), 0 2px 8px rgba(34, 83, 162, .35) !important;
  transition: filter .16s, box-shadow .16s, transform .1s;
}
body.wics-on .button:hover, body.wics-on input[type="submit"]:hover, body.wics-on .wp-block-button__link:hover, body.wics-on .more-link:hover,
body.wics-on .read-more:hover, body.wics-on .elementor-button:hover, body.wics-on .elementor-post__read-more:hover, body.wics-on .wp-block-search__button:hover,
body.wics-on .everest-forms .evf-submit:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .16), 0 5px 16px rgba(34, 83, 162, .45) !important;
}
body.wics-on .button:active, body.wics-on input[type="submit"]:active, body.wics-on .elementor-button:active { transform: translateY(1px) scale(.99); }

/* حقول الإدخال */
body.wics-on input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
body.wics-on select, body.wics-on textarea {
  min-height: 40px; padding: 6px 12px; border: 1px solid var(--w-line-strong) !important; border-radius: 8px !important; background: #fff; color: var(--w-ink);
}
body.wics-on input:focus, body.wics-on select:focus, body.wics-on textarea:focus { outline: 2px solid var(--w-brand-2); outline-offset: 0; border-color: transparent !important; }

/* الجداول */
body.wics-on .entry-content table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--w-line); border-radius: 10px; overflow: hidden; }
body.wics-on .entry-content th { background: var(--w-surface-2); color: var(--w-ink-2); }
body.wics-on .entry-content td, body.wics-on .entry-content th { border-color: var(--w-line); padding: 8px 12px; }

/* التقويم الجانبي: أبسط وأوضح */
body.wics-on .widget_calendar table, body.wics-on .wp-block-calendar table { width: 100%; text-align: center; }
body.wics-on .widget_calendar th, body.wics-on .wp-block-calendar th { font-size: 11px; color: var(--w-ink-3); background: transparent; }
body.wics-on .widget_calendar td a, body.wics-on .wp-block-calendar td a { display: inline-block; min-width: 26px; border-radius: 6px; background: var(--w-brand-soft); font-weight: 700; text-decoration: none; }
body.wics-on #today { outline: 2px solid var(--w-gold); border-radius: 6px; }

/* الآيات: خط أميري بدل الخط البرمجي */
body.wics-quran .entry-content pre, body.wics-quran .entry-content code, body.wics-quran .elementor-widget-text-editor pre,
body.wics-quran .elementor-widget-text-editor code, body.wics-quran .wp-block-preformatted, body.wics-quran .wp-block-code, body.wics-quran .widget pre {
  font-family: "Amiri", "Noto Naskh Arabic", serif !important;
  font-size: 1.35em; line-height: 2.1; white-space: normal; text-align: center; direction: rtl;
  background: linear-gradient(180deg, #fff, var(--w-gold-soft)) !important; color: var(--w-navy) !important;
  border: 1px solid color-mix(in srgb, var(--w-gold) 45%, #fff) !important; border-inline-start: 4px solid var(--w-gold) !important;
  border-radius: 12px; padding: 18px 22px; box-shadow: var(--w-shadow);
}
body.wics-quran code { padding: 0; }
body.wics-on blockquote { border-inline-start: 4px solid var(--w-gold); background: var(--w-surface); border-radius: 10px; padding: 12px 18px; color: var(--w-ink-2); }

/* التذييل */
body.wics-on .site-footer, body.wics-on #colophon, body.wics-on footer.footer, body.wics-on #footer,
body.wics-on .elementor-location-footer, body.wics-on footer.wp-block-template-part {
  background: #fff !important;
  background-image: none !important;
  color: var(--w-ink-2) !important; border-top: 1px solid var(--w-line); box-shadow: 0 -6px 18px rgba(23, 50, 96, .04);
}
body.wics-on .site-footer *:not(input):not(select), body.wics-on #colophon *:not(input):not(select), body.wics-on .elementor-location-footer *:not(input):not(select) {
  color: var(--w-ink-2); background-color: transparent;
}
body.wics-on .site-footer a, body.wics-on #colophon a, body.wics-on .elementor-location-footer a { color: var(--w-brand-2) !important; }
body.wics-on .site-footer a:hover, body.wics-on #colophon a:hover, body.wics-on .elementor-location-footer a:hover { color: var(--w-navy) !important; }
body.wics-on .site-footer h1, body.wics-on .site-footer h2, body.wics-on .site-footer h3, body.wics-on .site-footer h4,
body.wics-on #colophon h2, body.wics-on #colophon h3, body.wics-on .elementor-location-footer .elementor-heading-title { color: var(--w-navy) !important; }
body.wics-on .site-footer .widget, body.wics-on #colophon .widget { background: transparent; border: 0; box-shadow: none; }
body.wics-on .site-footer .widget-title::after, body.wics-on #colophon .widget-title::after { background: var(--w-gold); }

/* شريط التواصل */
.wics-contact { background: #e6eefb; color: #15233b; border-top: 1px solid #c6d2e4; direction: rtl; font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.wics-contact-in { max-width: 1200px; margin: 0 auto; padding: 18px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.wics-contact h2 { margin: 0; font-size: 16px; color: #173f80 !important; font-weight: 700; padding: 0 !important; }
.wics-contact h2::after { display: none !important; }
.wics-contact-items { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.wics-contact a, .wics-contact .wics-item {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 9px;
  background: #fff; border: 1px solid #c6d2e4; box-shadow: 0 1px 2px rgba(23,50,96,.06);
  color: #15233b !important; text-decoration: none !important; font-size: 14px; transition: background .16s, border-color .16s;
}
.wics-contact a:hover { background: #fff; border-color: #2b66c2; color: #173f80 !important; }
.wics-ic { color: #a87b1f; display: inline-flex; }
@media (max-width: 600px) { .wics-contact a, .wics-contact .wics-item { flex: 1 1 100%; } }

/* شارة المعاينة */
.wics-preview-badge {
  position: fixed; z-index: 99999; inset-block-end: 14px; inset-inline-start: 14px; max-width: calc(100vw - 28px);
  background: #15233b; color: #fff; padding: 8px 14px; border-radius: 10px; font: 600 13px/1.5 "Noto Sans Arabic", Tahoma, sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); border-inline-start: 4px solid #e0ba62; direction: rtl;
}
.wics-preview-badge a { color: #f1d48f !important; margin-inline-start: 6px; }

/* إخفاء العناصر المعطّلة */
.wics-hidden-error { display: none !important; }

@media (prefers-reduced-motion: reduce) { body.wics-on * { transition: none !important; } }

/* ===== الأخبار بطريقة فيسبوك ===== */
.wics-fb-feed { --fb-line: #e0e7f2; max-width: 680px; margin: 32px auto; padding: 0 16px; direction: rtl; font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; color: #15233b; }
.wics-fb-heading { font-size: 22px !important; color: #173f80 !important; margin: 0 0 16px !important; padding-bottom: 10px !important; position: relative; }
.wics-fb-heading::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 3px; background: #a87b1f; }
.wics-fb-list { display: grid; gap: 16px; }
.wics-fb-post { background: #fff; border: 1px solid var(--fb-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(23,50,96,.06), 0 6px 18px rgba(23,50,96,.06); overflow: hidden; }
.wics-fb-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px 6px; }
.wics-fb-avatar { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: #fff; border: 1px solid var(--fb-line); padding: 3px !important; object-fit: contain; flex: none; box-shadow: none !important; }
.wics-fb-who { display: grid; line-height: 1.4; }
.wics-fb-who strong { font-size: 15px; color: #15233b; }
.wics-fb-who span { font-size: 12.5px; color: #73829b; }
.wics-fb-who a { color: #a87b1f !important; text-decoration: none; font-weight: 600; }
.wics-fb-title { font-size: 17px !important; margin: 4px 16px 4px !important; line-height: 1.5 !important; padding: 0 !important; }
.wics-fb-title::after { display: none !important; }
.wics-fb-title a { color: #173f80 !important; text-decoration: none !important; }
.wics-fb-title a:hover { color: #2b66c2 !important; }
.wics-fb-text { padding: 0 16px 12px; font-size: 15px; line-height: 1.8; color: #2a3a55; }
.wics-fb-text p { margin: 0; white-space: pre-line; }
.wics-fb-more { all: unset; cursor: pointer; color: #2b66c2; font-weight: 700; }
.wics-fb-more:hover { text-decoration: underline; }
.wics-fb-media { display: grid; gap: 2px; background: #e9eef7; text-decoration: none !important; }
.wics-fb-img { position: relative; display: block; overflow: hidden; background: #e9eef7; }
.wics-fb-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .3s; }
.wics-fb-media:hover .wics-fb-img img { transform: scale(1.02); }
.wics-fb-n1 .wics-fb-img { aspect-ratio: 16 / 10; }
.wics-fb-n2 { grid-template-columns: 1fr 1fr; }
.wics-fb-n2 .wics-fb-img { aspect-ratio: 1 / 1; }
.wics-fb-n3 { grid-template-columns: 1fr 1fr; }
.wics-fb-n3 .wics-fb-img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.wics-fb-n3 .wics-fb-img:not(:first-child) { aspect-ratio: 4 / 3; }
.wics-fb-n4 { grid-template-columns: 1fr 1fr; }
.wics-fb-n4 .wics-fb-img { aspect-ratio: 1 / 1; }
.wics-fb-plus { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15,44,92,.55); color: #fff; font-size: 30px; font-weight: 700; }
.wics-fb-actions { display: flex; border-top: 1px solid var(--fb-line); margin: 0 12px; }
.wics-fb-actions a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; margin: 4px 0; border-radius: 8px; color: #4f5f79 !important; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: background .16s, color .16s; }
.wics-fb-actions a:hover { background: #e6eefb; color: #173f80 !important; }
.wics-fb-loadwrap { text-align: center; margin-top: 18px; }
.wics-fb-load { all: unset; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 16px; font-size: 14px; border-radius: 9px; font-weight: 600; color: #fff; background: linear-gradient(180deg, #4a74b6 0%, #2253a2 42%, #1f4c95 100%); border: 1px solid #1c4485; box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 2px 8px rgba(34,83,162,.35); }
.wics-fb-load:hover { filter: brightness(1.06); }
.wics-fb-load:disabled { opacity: .6; cursor: default; }
@media (max-width: 520px) { .wics-fb-feed { padding: 0 8px; } .wics-fb-actions a { font-size: 13px; gap: 4px; } }

/* ===== أقسام فاتحة وأزرار المنظومة (تحدد بالسكربت) ===== */
body.wics-on .wics-soft-bg {
  background-image: none !important;
  background-color: var(--w-bg) !important;
}
body.wics-on .wics-soft-bg::before, body.wics-on .wics-soft-bg::after,
body.wics-on .wics-soft-bg > .elementor-background-overlay { display: none !important; }
body.wics-on .wics-soft-bg *:not(.wics-btn):not(.wics-btn *) { color: var(--w-ink); text-shadow: none !important; }
body.wics-on .wics-soft-bg h1, body.wics-on .wics-soft-bg h2, body.wics-on .wics-soft-bg h3, body.wics-on .wics-soft-bg h4 { color: var(--w-navy) !important; }
body.wics-on .wics-soft-card {
  background: #fff !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 1px solid var(--w-line) !important;
  border-inline-start: 3px solid var(--w-brand) !important;
  border-radius: 12px !important;
  box-shadow: var(--w-shadow) !important;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
body.wics-on .wics-soft-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(23, 50, 96, .15) !important; }
body.wics-on .wics-btn {
  background: linear-gradient(180deg, #4a74b6 0%, #2253a2 42%, #1f4c95 100%) !important;
  border: 1px solid #1c4485 !important; color: #fff !important; border-radius: 9px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.16), 0 2px 8px rgba(34,83,162,.35) !important;
  text-decoration: none !important; font-weight: 600; text-shadow: none !important;
  box-sizing: border-box !important; padding: 5px 16px !important; min-height: 34px; font-size: 14px !important; line-height: 1.5 !important;
  width: auto !important; min-width: 0 !important; height: auto !important; display: inline-flex !important; align-items: center; justify-content: center; align-self: center; flex: none !important; margin-inline: auto;
}
body.wics-on .wics-btn:hover { filter: brightness(1.06) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.16), 0 5px 16px rgba(34,83,162,.45) !important; }

/* الترويسة البيضاء التي يحددها السكربت مهما كان اسمها في القالب */
body.wics-on .wics-header {
  background: #fff !important; background-image: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border-bottom: 1px solid var(--w-line) !important;
  box-shadow: 0 1px 2px rgba(23,50,96,.06), 0 6px 18px rgba(23,50,96,.06) !important;
}
body.wics-on .wics-header::before, body.wics-on .wics-header::after { background: none !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.wics-on .wics-header *:not(img):not(.sub-menu):not(.sub-menu *):not(ul.children):not(ul.children *) {
  background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-shadow: none !important;
}
body.wics-on .wics-header a, body.wics-on .wics-header button, body.wics-on .wics-header .menu-item > a { color: var(--w-ink) !important; }
body.wics-on .wics-header nav > ul > li > a:hover, body.wics-on .wics-header .menu > li > a:hover,
body.wics-on .wics-header .current-menu-item > a, body.wics-on .wics-header .current_page_item > a {
  background: var(--w-brand-soft) !important; color: var(--w-navy) !important; border-radius: 9px;
}
body.wics-on .wics-header .wics-logo, body.wics-on .wics-header .custom-logo { background: transparent !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
body.wics-on .wics-header .wics-logo { max-height: 76px !important; }
body.wics-on .wics-header a:has(> .wics-logo), body.wics-on .wics-header div:has(> a > .wics-logo), body.wics-on .wics-header div:has(> .wics-logo) {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
}


/* ===== شريط الأخبار ===== */
.wics-ticker { background: #fff; border-top: 1px solid #e0e7f2; border-bottom: 1px solid #e0e7f2; box-shadow: 0 1px 2px rgba(23,50,96,.06), 0 6px 18px rgba(23,50,96,.05); direction: rtl; font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; position: relative; z-index: 2; }
.wics-ticker-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
.wics-ticker-label { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 9px; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: 14px;
  background: linear-gradient(180deg, #4a74b6 0%, #2253a2 42%, #1f4c95 100%); border: 1px solid #1c4485; box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 2px 8px rgba(34,83,162,.3); }
.wics-ticker-label svg { color: #f1d48f; }
.wics-ticker-track { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.wics-ticker-list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; gap: 0; width: max-content; animation: wics-ticker 60s linear infinite; }
.wics-ticker:hover .wics-ticker-list, .wics-ticker:focus-within .wics-ticker-list, .wics-ticker.is-paused .wics-ticker-list { animation-play-state: paused; }
.wics-ticker-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; align-items: center; white-space: nowrap; }
.wics-ticker-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #a87b1f; margin: 0 18px; flex: none; }
.wics-ticker-list a { display: inline-flex; align-items: baseline; gap: 8px; color: #15233b !important; text-decoration: none !important; font-size: 15px; font-weight: 600; }
.wics-ticker-list a:hover span { color: #2253a2; text-decoration: underline; text-underline-offset: 3px; }
.wics-ticker-list time { color: #a87b1f; font-size: 12.5px; font-weight: 600; }
.wics-ticker-pause { all: unset; cursor: pointer; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #4f5f79; border: 1px solid #e0e7f2; background: #f7f9fd; }
.wics-ticker-pause:hover { color: #173f80; border-color: #2b66c2; }
.wics-ticker.is-paused .wics-ticker-pause { color: #fff; background: #2253a2; border-color: #1c4485; }
@keyframes wics-ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  .wics-ticker-list { animation: none; overflow-x: auto; width: auto; }
  .wics-ticker-track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 600px) {
  .wics-ticker-in { padding: 6px 10px; gap: 8px; }
  .wics-ticker-label { padding: 4px 10px; font-size: 13px; }
  .wics-ticker-list a { font-size: 14px; }
}
