/* ============================================
   OTHER SERVICES — THEME 13: FIELD NOTES
   ============================================ */

:root {
  /* ===== COLORS ===== */
  --ebosp20-section-services-bg: #e8e7df;
  --ebosp20-section-other-bg: #ffffff;
  --ebosp20-title-color: #23261A;
  --ebosp20-item-bg: #ffffff;
  --ebosp20-item-border-color: #DDDBCB;
  --ebosp20-item-shadow: 0 14px 24px -20px rgba(35, 38, 26, 0.4);
  --ebosp20-item-link-color: #23261A;
  --ebosp20-item-link-hover-color: #5E6338;
  --ebosp20-item-desc-color: #61644e;

  /* ===== TYPOGRAPHY ===== */
  --ebosp20-title-font-size: 28px;
  --ebosp20-title-font-weight: 800;
  --ebosp20-title-margin-bottom: 18px;
  --ebosp20-item-link-font-weight: 700;
  --ebosp20-item-desc-font-size: 13px;

  /* ===== SPACING ===== */
  --ebosp20-section-padding: 48px 0;
  --ebosp20-container-padding: 0 20px;
  --ebosp20-container-max-width: 1200px;
  --ebosp20-list-gap: 16px;
  --ebosp20-item-padding: 12px;
  --ebosp20-item-desc-margin-top: 8px;

  /* ===== BORDER ===== */
  --ebosp20-item-border-radius: 22px;
  --ebosp20-item-border-width: 1px;

  /* ===== RESPONSIVE ===== */
  --ebosp20-list-columns-desktop: repeat(3, 1fr);
  --ebosp20-list-columns-tablet: repeat(2, 1fr);
  --ebosp20-list-columns-mobile: 1fr;
}

/* ===== SECTION ===== */
.ebosp20-section {
  padding: var(--ebosp20-section-padding);
}

.ebosp20-container {
  max-width: var(--ebosp20-container-max-width);
  margin: 0 auto;
  padding: var(--ebosp20-container-padding);
}

/* ===== TITLE ===== */
.ebosp20-title {
  font-size: var(--ebosp20-title-font-size);
  font-weight: var(--ebosp20-title-font-weight);
  margin-bottom: var(--ebosp20-title-margin-bottom);
  color: var(--ebosp20-title-color);
}

/* ===== GRID ===== */
.ebosp20-list {
  display: grid;
  grid-template-columns: var(--ebosp20-list-columns-desktop);
  gap: var(--ebosp20-list-gap);
}

/* ===== ITEM ===== */
.ebosp20-item {
  background: var(--ebosp20-item-bg);
  border: var(--ebosp20-item-border-width) solid var(--ebosp20-item-border-color);
  border-radius: var(--ebosp20-item-border-radius);
  padding: var(--ebosp20-item-padding);
  box-shadow: var(--ebosp20-item-shadow);
}

.ebosp20-item a {
  display: block;
  color: var(--ebosp20-item-link-color);
  text-decoration: none;
  font-weight: var(--ebosp20-item-link-font-weight);
}

.ebosp20-item p {
  margin: var(--ebosp20-item-desc-margin-top) 0 0;
  color: var(--ebosp20-item-desc-color);
  font-size: var(--ebosp20-item-desc-font-size);
}

.ebosp20-item a:hover {
  color: var(--ebosp20-item-link-hover-color);
}

/* ===== BACKGROUNDS ===== */
.ebosp20-services {
  background: var(--ebosp20-section-services-bg);
}

.ebosp20-other {
  background: var(--ebosp20-section-other-bg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .ebosp20-list {
    grid-template-columns: var(--ebosp20-list-columns-tablet);
  }
}

@media (max-width: 640px) {
  .ebosp20-list {
    grid-template-columns: var(--ebosp20-list-columns-mobile);
  }
}

@media (max-width: 768px) {
  .ebosp20-container { padding: 0 0.75rem !important; }
}
@media (max-width: 480px) {
  .ebosp20-container { padding: 0 0.625rem !important; }
}
@media (max-width: 380px) {
  .ebosp20-container { padding: 0 0.5rem !important; }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 480 === */
@media (max-width: 480px) {
  .ebosp20-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-inline: 0.75rem !important;
  }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 768 INLINE FIX === */
@media (max-width: 768px) {
  .ebosp20-container {
    padding-inline: 0.75rem !important;
  }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 380 INLINE FIX === */
@media (max-width: 380px) {
  .ebosp20-container {
    padding-inline: 0.5rem !important;
  }
}

/* ===== صفحة "كل الصفحات": عنوان الصفحة + كروت بأيقونة (نفس هيكل ثيم 14، بألوان الثيم ده من المتغيرات فوق) ===== */
.ebosp20-page-title { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; color: var(--ebosp20-title-color); margin: 0 0 0.5rem; line-height: 1.4; }
.ebosp20-page-desc { color: var(--ebosp20-item-desc-color); font-size: 1rem; line-height: 1.8; margin: 0 0 1.5rem; max-width: 640px; }
.ebosp20-title { font-size: 1.25rem !important; margin: 0 0 0.9rem !important; padding-inline-start: 0.7rem; border-inline-start: 4px solid var(--ebosp20-item-link-hover-color); line-height: 1.3; }
.ebosp20-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; gap: 0.6rem !important; }
.ebosp20-item { display: flex !important; align-items: center; gap: 0.7rem; padding: 0.75rem 0.9rem !important; background: var(--ebosp20-item-bg); border: 1px solid var(--ebosp20-item-border-color); border-radius: min(var(--ebosp20-item-border-radius, 12px), 14px); color: var(--ebosp20-item-link-color); font-weight: 700; font-size: 0.95rem; line-height: 1.5; text-decoration: none; box-shadow: var(--ebosp20-item-shadow); transition: border-color .2s, color .2s, transform .2s; }
.ebosp20-item:hover { border-color: var(--ebosp20-item-link-hover-color); color: var(--ebosp20-item-link-hover-color); transform: translateY(-1px); }
.ebosp20-item-icon { flex: 0 0 auto; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: color-mix(in srgb, var(--ebosp20-item-link-hover-color) 10%, transparent); color: var(--ebosp20-item-link-hover-color); font-size: 0.95rem; }
.ebosp20-item-text { flex: 1 1 auto; min-width: 0; }
.ebosp20-item-arrow { flex: 0 0 auto; color: var(--ebosp20-item-link-hover-color); font-size: 0.8rem; line-height: 1; }
.ebosp20-other-list .ebosp20-item { font-weight: 600; font-size: 0.9rem; padding: 0.6rem 0.8rem !important; box-shadow: none; }
.ebosp20-other-list .ebosp20-item-icon { width: 1.7rem; height: 1.7rem; font-size: 0.85rem; }
@media (max-width: 600px) {
  .ebosp20-section { padding: 1.25rem 0 !important; }
  .ebosp20-other { padding-top: 0 !important; padding-bottom: 2rem !important; }
  .ebosp20-container { padding: 0 1rem !important; }
  .ebosp20-page-desc { font-size: 0.92rem; margin-bottom: 1.1rem; }
  .ebosp20-list { grid-template-columns: 1fr !important; gap: 0.45rem !important; }
  .ebosp20-item { padding: 0.6rem 0.75rem !important; font-size: 0.9rem; }
}
/* الأيقونة جوه span ثابت (Font Awesome بيلغي display على الـ i نفسه) */
.ebosp20-item-icon i { line-height: 1; display: block; }

@media (max-width: 600px) { .ebosp20-services { padding-top: 2rem !important; } }
