/* === Executive Template === */
.cv-executive {
  background: #ffffff;
  padding: 18mm;
  font-family: var(--cv-font-family, 'Cairo', system-ui, sans-serif);
  font-size: var(--cv-font-size-base, 12px);
}

/* ========== HEADER ========== */

.cv-executive-header {
  border-bottom: 2px solid #111827;
  padding-bottom: 6mm;
  margin-bottom: 10mm;
}

.cv-executive-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12mm;
}

.cv-executive-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* الاسم الافتراضي */
.cv-executive-name {
  font-size: 1.1em;
  font-weight: 800;
}

/* عربي: نمنع أي letter-spacing / word-spacing ونفرض خط يدعم العربية */
[dir="rtl"] .cv-executive-name {
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  text-transform: none !important;
  font-feature-settings: "liga";
  font-family: 'Cairo', system-ui, sans-serif !important;
}

/* إنجليزي: يسمح ببعض الـ letter-spacing لو حاب */
[dir="ltr"] .cv-executive-name {
  letter-spacing: 0.03em;
}

.cv-executive-title {
  font-size: 1.1em;
  color: #4b5563;
  margin-top: 4px;
}

/* بيانات التواصل */
.cv-executive-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #4b5563;
  margin-top: 6px;
}

/* الصورة في القالب الإداري */
.cv-photo-executive .cv-photo {
  border-radius: 999px;
  border: 2px solid var(--cv-accent-color, #a67c00); /* نفس لون accent */
}

/* ========== BODY ========== */

.cv-executive-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12mm;
}

.cv-executive-main-column,
.cv-executive-side-column {
  display: flex;
  flex-direction: column;
  gap: 8mm;
}

/* عناوين الأقسام */
.cv-section-title {
  font-size: 0.95em;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.15);
  padding-bottom: 2px;
}

/* نلغي الـ uppercase للعربي لو كانت معرفة في مكان آخر */
[dir="rtl"] .cv-section-title {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* عناصر الخبرة / التعليم */
.cv-item-executive .cv-item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.cv-item-executive .cv-item-company {
  font-size: 11px;
  color: #6b7280;
}

.cv-item-desc {
  font-size: 11px;
  color: #4b5563;
}

/* ========== قوائم المهارات / اللغات ========== */

/* نلغي ستايل القوائم الافتراضي */
.cv-executive ul,
.cv-executive .skills-list,
.cv-executive .language-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* كل عنصر: نقطة + نص */
.cv-executive ul li,
.cv-executive .skills-list li,
.cv-executive .language-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;              /* مسافة بين النقطة والنص */
  font-size: 11px;
  margin-bottom: 4px;
  width: 100%;           /* يخلي السطر ياخذ عرض العمود كامل */
}

/* عربي: من اليمين لليسار */
.preview-wrapper[data-lang="ar"] .cv-executive ul li,
.preview-wrapper[data-lang="ar"] .cv-executive .skills-list li,
.preview-wrapper[data-lang="ar"] .cv-executive .language-list li {
  flex-direction: row-reverse;
  text-align: right;
}

/* إنجليزي: عادي */
.preview-wrapper[data-lang="en"] .cv-executive ul li,
.preview-wrapper[data-lang="en"] .cv-executive .skills-list li,
.preview-wrapper[data-lang="en"] .cv-executive .language-list li {
  flex-direction: row;
  text-align: left;
}

/* النقطة نفسها */
.cv-executive ul li::before,
.cv-executive .skills-list li::before,
.cv-executive .language-list li::before {
  content: "•";
  font-size: 16px;
  line-height: 1;
  color: #111827;
  flex: 0 0 auto;
  margin-top: 1px;       /* تنسيق بسيط للنقطة */
}