/**
 * layouts.css — أنماط تخطيطات الهيدر/الشريط العلوي/الفوتر البديلة
 *
 * التخطيطان الكلاسيكيان (header classic / footer columns) أنماطهما في style.css.
 * هذا الملف يغطي التخطيطات المضافة، ويعتمد متغيرات style.css (--sw-*).
 *
 * @package SW_Theme @version 3.1.0
 */

/* ═══ أدوات مشتركة ══════════════════════════════════════════════════════ */
.hide-mobile { display: initial; }
.sw-header-actions { display: flex; align-items: center; gap: 12px; }

/* ═══ تحييد افتراضات style.css المكتوبة للهيدر/الفوتر الكلاسيكيين ═══════
   .sw-site-header الأساسي يثبّت height:72px (صف واحد) — يقصّ الهيدرات
   متعددة الصفوف. و.sw-footer-top/.sw-footer-bottom الأساسيان بحشوات
   وألوان الفوتر الداكن الكلاسيكي. */
.sw-header--center,
.sw-header--split,
.sw-header--masthead { height: auto; }
.sw-header--split { border-bottom: none; }
.sw-header--masthead .sw-header-masthead { display: block; height: auto; }

.sw-footer--dark .sw-footer-top,
.sw-footer--minimal .sw-footer-top { padding: 0; border-bottom: none; }
.sw-footer--centered .sw-footer-top { border-bottom: none; }
.sw-footer--minimal .sw-footer-bottom { padding: 0; }

/* ═══ TOPBAR — داكن ═════════════════════════════════════════════════════ */
.sw-topbar--dark {
  background: #15162e;
  color: #c7c9e2;
  font-size: .78rem;
}
.sw-topbar--dark .sw-topbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--sw-topbar-height, 34px);
}
.sw-topbar--dark .sw-topbar-side { display: flex; align-items: center; gap: 16px; }
.sw-topbar--dark .sw-topbar-date { display: inline-flex; align-items: center; gap: 6px; }
.sw-topbar--dark .sw-topbar-date svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.sw-topbar--dark .sw-topbar-links { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.sw-topbar--dark .sw-topbar-links li { margin: 0; }
.sw-topbar--dark .sw-topbar-links a { color: inherit; text-decoration: none; transition: color var(--sw-transition); }
.sw-topbar--dark .sw-topbar-links a:hover { color: var(--sw-gold); }
.sw-topbar--dark .sw-topbar-social { display: flex; gap: 4px; }
.sw-topbar--dark .sw-topbar-social a {
  width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: inherit; text-decoration: none; transition: background var(--sw-transition);
}
.sw-topbar--dark .sw-topbar-social a:hover { background: rgba(255,255,255,.15); color: #fff; }

/* ═══ TOPBAR — بلون الهوية ══════════════════════════════════════════════ */
.sw-topbar--brand {
  background: var(--sw-red);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
}
.sw-topbar--brand .sw-topbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px;
  min-height: 38px;
}
.sw-topbar--brand .sw-topbar-brand-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; white-space: nowrap;
}
.sw-topbar--brand .sw-topbar-brand-links {
  display: flex; gap: 22px; overflow: hidden; flex: 1; min-width: 0;
}
.sw-topbar--brand .sw-topbar-brand-links a {
  color: #fff; text-decoration: none; opacity: .92; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 48%;
}
.sw-topbar--brand .sw-topbar-brand-links a:hover { opacity: 1; text-decoration: underline; }
.sw-topbar--brand .sw-topbar-date { white-space: nowrap; opacity: .85; }

/* ═══ HEADER — شعار مركزي + شريط داكن ══════════════════════════════════ */
.sw-header--center { background: var(--sw-white); border-bottom: 1px solid var(--sw-blue-lite); }
.sw-header--center .sw-header-center-row {
  max-width: 1320px; margin: 0 auto; padding: 12px 20px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.sw-header--center .sw-header-center-side { display: flex; align-items: center; gap: 10px; }
.sw-header--center .sw-header-center-side--end { justify-content: flex-end; }
.sw-header--center .sw-header-center-logo { display: flex; justify-content: center; }
/* overflow مرئي على المكتب كي لا تُقَص القوائم المنسدلة؛ تمرير أفقي في الجوال فقط */
.sw-header--center .sw-header-navrow { background: var(--sw-blue-dark); }
.sw-header--center .sw-header-navrow-inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.sw-header--center .sw-nav--dark {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0; height: 46px; white-space: nowrap;
}
.sw-header--center .sw-nav--dark a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-weight: 700; font-size: .9rem; padding: 13px 16px; display: inline-block;
  border-bottom: 3px solid transparent; transition: color var(--sw-transition);
}
.sw-header--center .sw-nav--dark a:hover { color: #fff; }
.sw-header--center .sw-nav--dark .current-menu-item > a,
.sw-header--center .sw-nav--dark a.sw-active { color: #fff; border-bottom-color: var(--sw-gold); }

/* ═══ HEADER — داكن مزدوج ══════════════════════════════════════════════ */
.sw-header--split { background: var(--sw-blue-dark); color: #fff; }
.sw-header--split .sw-header-split-top {
  max-width: 1320px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sw-header--split .sw-logo-text-ar,
.sw-header--split .sw-logo-url { color: #fff; }
/* شعار الساعة الافتراضي ألوانه داكنة inline — نقلبها فاتحة على الهيدر الداكن */
.sw-header--split .sw-logo-clock svg circle,
.sw-header--split .sw-logo-clock svg path,
.sw-header--split .sw-logo-clock svg line { stroke: #fff; }
.sw-header--split .sw-logo-clock svg circle[fill] { fill: var(--sw-gold); }
.sw-header--split .sw-header-subbar {
  background: rgba(0,0,0,.25); border-top: 1px solid rgba(255,255,255,.12);
}
.sw-header--split .sw-header-subbar-inner { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.sw-header--split .sw-nav--sub {
  display: flex; align-items: center; gap: 18px;
  list-style: none; margin: 0; padding: 0; height: 42px; white-space: nowrap;
  font-size: .88rem;
}
.sw-header--split .sw-nav--sub a {
  color: rgba(255,255,255,.7); text-decoration: none; transition: color var(--sw-transition);
}
.sw-header--split .sw-nav--sub a:hover,
.sw-header--split .sw-nav--sub .current-menu-item > a { color: #fff; }
.sw-header--split .sw-header-search input { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.sw-header--split .sw-header-search input::placeholder { color: rgba(255,255,255,.55); }
.sw-header--split .sw-hamburger span { background: #fff; }

/* ═══ HEADER — ترويسة مجلة ═════════════════════════════════════════════ */
.sw-header--masthead {
  background: var(--sw-white);
  border-bottom: 4px double var(--sw-blue-dark);
}
.sw-header--masthead .sw-header-masthead {
  max-width: 1320px; margin: 0 auto; padding: 18px 20px 16px;
}
.sw-header--masthead .sw-masthead-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: #777;
}
.sw-header--masthead .sw-masthead-actions { display: flex; align-items: center; gap: 10px; }
.sw-header--masthead .sw-masthead-logo { display: flex; justify-content: center; margin: 10px 0 14px; }
.sw-site-logo--lg .sw-logo-clock svg { width: 60px; height: 60px; }
.sw-site-logo--lg .sw-logo-text-ar { font-size: 2rem; }
.sw-header--masthead .sw-masthead-nav { display: flex; justify-content: center; }
.sw-header--masthead .sw-nav--pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.sw-header--masthead .sw-nav--pills a {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  color: var(--sw-blue-dark); text-decoration: none;
  font-weight: 700; font-size: .88rem; transition: all var(--sw-transition);
}
.sw-header--masthead .sw-nav--pills a:hover { background: var(--sw-blue-lite); }
.sw-header--masthead .sw-nav--pills .current-menu-item > a,
.sw-header--masthead .sw-nav--pills a.sw-active { background: var(--sw-blue-dark); color: #fff; }
.sw-header--masthead .sw-masthead-search { display: flex; justify-content: center; margin-top: 12px; }

/* ═══ القوائم المتفرعة (Submenus) في كل تخطيطات الهيدر ═════════════════════
   لوحة المنسدلة العامة (.sw-nav-dropdown) معرّفة في style.css —
   هنا: تموضع الـli، المستوى الثاني فأكثر، وألوان السهم على الخلفيات الداكنة */
.sw-nav--dark > li,
.sw-nav--sub > li,
.sw-nav--pills > li { position: relative; }

/* المستوى الثاني فأكثر: يفتح جانبياً بدل الأسفل (يعمل في كل التخطيطات) */
.sw-nav-dropdown .sw-nav-dropdown {
  top: 0;
  right: 100%;
  border-top: none;
  border-right: 3px solid var(--sw-red);
  border-radius: var(--sw-radius) 0 0 var(--sw-radius);
}
.sw-nav-dropdown li { position: relative; }
.sw-nav-dropdown li:hover > .sw-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* فتح المنسدلة عند التحويم في القوائم الجديدة (تعميم قاعدة style.css) */
.sw-nav--dark > li:hover > .sw-nav-dropdown,
.sw-nav--sub > li:hover > .sw-nav-dropdown,
.sw-nav--pills > li:hover > .sw-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* سهم التفرع على الخلفيات الداكنة */
.sw-nav--dark .sw-nav-caret,
.sw-nav--sub .sw-nav-caret { opacity: .7; font-size: .75em; }

/* المنسدلة داخل nav الحبوب (masthead): مسافة صغيرة عن الحبة */
.sw-nav--pills > li > .sw-nav-dropdown { margin-top: 6px; }

/* أيقونات تواصل داخل الهيدر (center/masthead) */
.sw-header-social { display: flex; gap: 4px; }
.sw-header-social a {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--sw-blue-dark); text-decoration: none;
  transition: background var(--sw-transition);
}
.sw-header-social a:hover { background: var(--sw-blue-lite); }

/* ═══ FOOTER — تحريري داكن ═════════════════════════════════════════════ */
.sw-footer--dark { background: #15162e; color: #aab; }
.sw-footer--dark .sw-footer-grid--4 {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
  padding: 48px 0;
}
.sw-footer--dark .sw-footer-brand-name { color: #fff; font-size: 1.3rem; font-weight: 900; text-decoration: none; }
.sw-footer--dark .sw-footer-desc { color: #9a9cba; line-height: 1.7; margin-top: 10px; }
.sw-footer--dark .sw-footer-col-title {
  color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 14px;
  position: relative; padding-bottom: 8px;
}
.sw-footer--dark .sw-footer-col-title::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 28px; height: 3px;
  background: var(--sw-gold); border-radius: 2px;
}
.sw-footer--dark .sw-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sw-footer--dark .sw-footer-links a { color: #9a9cba; text-decoration: none; font-size: .9rem; transition: color var(--sw-transition); }
.sw-footer--dark .sw-footer-links a:hover { color: var(--sw-gold); }
.sw-footer--dark .sw-footer-social { display: flex; gap: 8px; margin-top: 12px; }
.sw-footer--dark .sw-footer-social a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #c7c9e2;
  text-decoration: none; transition: all var(--sw-transition);
}
.sw-footer--dark .sw-footer-social a:hover { background: var(--sw-gold); color: #15162e; }
.sw-footer--dark .sw-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .8rem;
}
.sw-footer--dark .sw-footer-bottom a { color: #c7c9e2; }

/* ═══ FOOTER — مركزي ═══════════════════════════════════════════════════ */
.sw-footer--centered { background: var(--sw-white); border-top: 1px solid var(--sw-blue-lite); text-align: center; }
.sw-footer--centered .sw-footer-top { padding: 48px 0 32px; }
.sw-footer--centered .sw-footer-brand-name {
  font-size: 1.6rem; font-weight: 900; color: var(--sw-blue-dark); text-decoration: none;
}
.sw-footer--centered .sw-footer-desc { max-width: 620px; margin: 14px auto 20px; color: #667; line-height: 1.8; }
.sw-footer--centered .sw-footer-social { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.sw-footer--centered .sw-footer-social a {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sw-off-white); color: var(--sw-blue-dark);
  text-decoration: none; transition: all var(--sw-transition);
}
.sw-footer--centered .sw-footer-social a:hover { background: var(--sw-blue); color: #fff; }
.sw-footer--centered .sw-footer-bottom { border-top: 1px solid var(--sw-blue-lite); padding: 16px 0; font-size: .8rem; color: #778; }

/* روابط أفقية (مركزي + مبسّط) */
.sw-footer-links--inline {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
}
.sw-footer-links--inline li { margin: 0; }
.sw-footer-links--inline a {
  color: var(--sw-blue-dark); text-decoration: none; font-weight: 700; font-size: .88rem;
  transition: color var(--sw-transition);
}
.sw-footer-links--inline a:hover { color: var(--sw-red); }

/* ═══ FOOTER — مبسّط ═══════════════════════════════════════════════════ */
.sw-footer--minimal { background: var(--sw-white); border-top: 3px solid var(--sw-blue-dark); }
.sw-footer--minimal .sw-footer-minimal-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; padding: 22px 20px;
}
.sw-footer--minimal .sw-footer-brand-name { font-size: 1.2rem; font-weight: 900; color: var(--sw-blue-dark); text-decoration: none; }
.sw-footer--minimal .sw-footer-minimal-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; padding: 12px 20px; border-top: 1px solid var(--sw-blue-lite);
  font-size: .78rem; color: #778;
}
.sw-footer--minimal .sw-footer-social--sm a {
  width: 28px; height: 28px; font-size: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--sw-off-white); color: var(--sw-blue-dark); text-decoration: none;
}
.sw-footer--minimal .sw-footer-social { display: flex; gap: 6px; }

/* ═══ التجاوب ══════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .hide-mobile { display: none !important; }

  .sw-header--center .sw-header-center-row { grid-template-columns: auto 1fr auto; padding: 10px 14px; }
  .sw-header--center .sw-header-search { display: none; }

  .sw-header--split .sw-header-search { display: none; }

  /* style.css يخفي .sw-main-nav في الجوال (قائمة الهامبرغر تتولى التنقل)
     فنخفي حاويات الأشرطة كي لا تبقى أشرطة فارغة */
  .sw-header--center .sw-header-navrow,
  .sw-header--split .sw-header-subbar,
  .sw-header--masthead .sw-masthead-nav { display: none; }
  .sw-header--masthead .sw-masthead-search { display: none; }

  .sw-site-logo--lg .sw-logo-clock svg { width: 44px; height: 44px; }
  .sw-site-logo--lg .sw-logo-text-ar { font-size: 1.4rem; }
  .sw-header--masthead .sw-nav--pills a { padding: 6px 12px; font-size: .8rem; }

  .sw-footer--dark .sw-footer-grid--4 { grid-template-columns: 1fr 1fr; gap: 24px; padding: 32px 0; }

  .sw-footer--minimal .sw-footer-minimal-row,
  .sw-footer--minimal .sw-footer-minimal-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .sw-footer--dark .sw-footer-grid--4 { grid-template-columns: 1fr; }
  .sw-topbar--brand .sw-topbar-brand-links a { max-width: 100%; }
  .sw-topbar--brand .sw-topbar-brand-links a + a { display: none; }

  /* التوب بار الداكن: نُبقي التاريخ والتواصل فقط */
  .sw-topbar--dark .sw-topbar-links { display: none; }
  .sw-topbar--dark .sw-topbar-inner { flex-wrap: wrap; padding: 4px 14px; gap: 6px; }

  /* ترويسة المجلة: السطر العلوي يلتف بدل أن ينضغط */
  .sw-header--masthead .sw-masthead-meta { flex-wrap: wrap; gap: 6px; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   بلوكات الأعمدة المتراصة — الفصل بين تخطيط القسم وبلوكات المحتوى
═══════════════════════════════════════════════════════════════════════════ */
.sw-col-block + .sw-col-block { margin-top: 28px; }

/* ═══════════════════════════════════════════════════════════════════════════
   أشكال رأس القسم (head_style) — مقتبسة من html_demo/swm_sec_head.html
   تُطبَّق على .sw-section-header الموجود عبر معدِّل sw-sech--{style}.
   لون التمييز قابل للتجاوز عبر --sw-sech (افتراضياً أحمر الهوية).
═══════════════════════════════════════════════════════════════════════════ */

.sw-section-header { --sw-sech: var(--sw-red); position: relative; }

/* 1. عمود جانبي ملوّن */
.sw-sech--pillar .sw-section-title { display: inline-flex; align-items: center; gap: 12px; }
.sw-sech--pillar .sw-section-title::before {
  content: ''; width: 6px; align-self: stretch; min-height: 26px;
  background: var(--sw-sech); border-radius: 999px;
}

/* 2. خط متحرك عند التحويم */
.sw-sech--underline { border-bottom: 1px solid var(--sw-blue-lite); }
.sw-sech--underline::after {
  content: ''; position: absolute; bottom: -2px; right: 0;
  width: 50px; height: 3px; background: var(--sw-sech);
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.sw-sech--underline:hover::after { width: 100%; }

/* 3. خط مزدوج + عنوان ملوّن */
.sw-sech--double { border-bottom: 3px double var(--sw-blue-mid); }
.sw-sech--double .sw-section-title { color: var(--sw-sech); }

/* 4. نقطة نابضة (مباشر) */
.sw-sech--livedot .sw-section-title { display: inline-flex; align-items: center; gap: 10px; }
.sw-sech--livedot .sw-section-title::before {
  content: ''; width: 13px; height: 13px; flex-shrink: 0;
  background: var(--sw-sech); border-radius: 50%;
  animation: sw-sech-pulse 2s infinite;
}
@keyframes sw-sech-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(227, 27, 35, .35); }
  70%  { box-shadow: 0 0 0 10px rgba(227, 27, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0); }
}

/* 5. رقم مائي خلف العنوان */
.sw-sech--number { border-bottom: 2px solid var(--sw-blue-dark); }
.sw-sech--number .sw-section-title { position: relative; z-index: 1; padding-right: 14px; }
.sw-sech--number .sw-section-title::after {
  content: attr(data-num);
  position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
  font-size: 64px; font-weight: 900; line-height: 1;
  color: var(--sw-sech); opacity: .12; z-index: -1; pointer-events: none;
}

/* 6. كتلة داكنة */
.sw-sech--dark {
  background: var(--sw-blue-dark); border-bottom: none; border-radius: var(--sw-radius-lg);
  padding: 16px 20px; margin-bottom: 24px;
}
.sw-sech--dark .sw-section-title { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.sw-sech--dark .sw-section-title::before {
  content: ''; width: 6px; height: 24px; background: var(--sw-gold); border-radius: 2px;
}
.sw-sech--dark .sw-section-more { color: rgba(255,255,255,.8); }
.sw-sech--dark .sw-section-more:hover { color: var(--sw-gold); }

/* 7. حد علوي صحفي */
.sw-sech--overline {
  border-top: 4px solid var(--sw-sech);
  border-bottom: 1px solid var(--sw-blue-lite);
  padding-top: 12px;
}

/* 8. شريط متدرج جانبي */
.sw-sech--ribbon { padding-right: 18px; border-bottom: 1px solid var(--sw-blue-lite); }
.sw-sech--ribbon::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 12px; width: 6px;
  background: linear-gradient(to bottom, var(--sw-sech), var(--sw-gold));
  border-radius: 999px;
}

/* 9. شارة ملوّنة (Pill) */
.sw-sech--pill { border-bottom: 2px solid var(--sw-blue-lite); align-items: center; }
.sw-sech--pill .sw-section-title {
  background: var(--sw-sech); color: #fff;
  padding: 6px 22px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

/* 10. خط متدرج سفلي */
.sw-sech--gradline { border-bottom: none; }
.sw-sech--gradline::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(to left, var(--sw-sech), transparent);
  border-radius: 999px;
}

/* 11. علم / شريط بذيل */
.sw-sech--flag { border-bottom: none; align-items: center; }
.sw-sech--flag .sw-section-title {
  background: var(--sw-sech); color: #fff;
  padding: 9px 22px 9px 16px; position: relative;
  border-radius: var(--sw-radius) 0 0 var(--sw-radius);
}
.sw-sech--flag .sw-section-title::after {
  content: ''; position: absolute; left: -15px; top: 0; bottom: 0;
  border-top: 21px solid transparent; border-bottom: 21px solid transparent;
  border-right: 15px solid var(--sw-sech);
}

/* 12. إطار محيط تفاعلي */
.sw-sech--boxed {
  border: 2px solid var(--sw-blue-lite); border-radius: var(--sw-radius-lg);
  padding: 14px 18px; transition: border-color var(--sw-transition);
}
.sw-sech--boxed:hover { border-color: var(--sw-sech); }
.sw-sech--boxed .sw-section-title { display: inline-flex; align-items: center; gap: 10px; }
.sw-sech--boxed .sw-section-title::before {
  content: ''; width: 11px; height: 11px; background: var(--sw-sech); border-radius: 50%;
}

/* 13. صندوق خلفية خفيفة */
.sw-sech--tint {
  background: var(--sw-blue-lite); border-bottom: none;
  border-right: 6px solid var(--sw-sech); border-radius: var(--sw-radius);
  padding: 14px 18px;
}

/* 14. متمركز أنيق (مجلات) */
.sw-sech--centered {
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; border-bottom: none; gap: 10px;
}
.sw-sech--centered .sw-section-title { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.sw-sech--centered .sw-section-title::after {
  content: ''; width: 56px; height: 3px;
  background: linear-gradient(to left, var(--sw-sech), var(--sw-gold));
  border-radius: 999px;
}

/* تكييف الأنماط على الأقسام الداكنة (section_bg = dark/black) */
.sw-section-dark .sw-sech--pillar .sw-section-title,
.sw-section-black .sw-sech--pillar .sw-section-title,
.sw-section-dark .sw-sech--boxed .sw-section-title,
.sw-section-black .sw-sech--boxed .sw-section-title { color: #fff; }
.sw-section-dark .sw-sech--tint,
.sw-section-black .sw-sech--tint { background: rgba(255,255,255,.07); }

/* تجاوب أشكال رأس القسم */
@media (max-width: 600px) {
  .sw-sech--number .sw-section-title::after { font-size: 44px; right: -8px; }
  .sw-sech--flag .sw-section-title { width: 100%; border-radius: var(--sw-radius); }
  .sw-sech--flag .sw-section-title::after { display: none; }
  .sw-sech--pill .sw-section-title { font-size: 1rem; padding: 5px 16px; }
}
