/* ===============================
   خدمات وأنواع شراء المستعمل بالكويت (v3)
   =============================== */
.boxcard-v3 {
    margin-top: 30px;
}
.used-services-section-v3 {
  direction: rtl;
  text-align: right;
  background: #f9fafb;
  border-radius: 22px;
  padding: 20px 18px 24px;
 /* margin-top: 24px; */
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* رأس السيكشن */
.used-services-head-v3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.used-services-kicker-v3 {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 400;
  color: #f97316;
}

.used-services-title-v3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.used-services-desc-v3 {
  margin: 0;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.8;
  color: #4b5563;
}

/* شبكة الكروت */
.used-services-grid-v3 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* كرت الخدمة */
.used-service-card-v3 {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 10px 10px 14px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.used-service-card-v3:hover {
  transform: translateY(-4px);
  border-color: #f97316;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

/* صورة الكرت */
.used-service-thumb-v3 {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 16 / 9;
}

.used-service-thumb-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* جسم الكرت */
.used-service-card-body-v3 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.used-service-name-v3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  padding-top: 10px;
}

.used-service-tag-v3 {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.used-service-desc-v3 {
  margin: 4px 0 8px;
  font-size: 13px;
  color: #4b5563;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  max-height: calc(1.7em * 3);
}

/* زر الـ CTA */
.used-service-cta-v3 {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #111827;
  color: #ffffff;
  border: 1px solid transparent;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.used-service-cta-v3:hover {
  background: #f97316;
  border-color: #ea580c;
}

/* ذيل السيكشن */
.used-services-footer-v3 {
  margin-top: 16px;
  font-size: 12px;
  color: #6b7280;
}

.used-services-footer-link-v3 {
  font-weight: 600;
  text-decoration: none;
  color: #f97316;
}

.used-services-footer-link-v3:hover {
  text-decoration: underline;
}

/* رسبونسيف */
@media (max-width: 1024px) {
  .used-services-grid-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .used-services-section-v3 {
    padding: 0px;
    border-radius: 18px;
  }

  .used-services-head-v3 {
    flex-direction: column;
  }

  .used-services-title-v3 {
    font-size: 18px;
  }

  .used-services-desc-v3 {
    max-width: 100%;
  }

  .used-services-grid-v3 {
    grid-template-columns: 1fr;
  }
}


/* ========================== */
.content-home-temp {
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  
}
 .content-home-temp a {
  color: var(--primary);
}

.content-home-temp h2 {
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  margin-top: 12px;
  
}

.content-home-temp h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 4px;
}

.content-home-temp ul {
  margin: 0;
  padding-right: 18px;
  list-style: none;
}

.content-home-temp ul li {
  position: relative;
  padding-right: 16px;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 4px;
}

.content-home-temp ul li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 11px;
  color: var(--primary);
}

.content-home-temp ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: info-counter;
  padding-right: 18px;
}

.content-home-temp ol li {
  counter-increment: info-counter;
  display: flex;
   font-size: 14px;
  color: #4b5563;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

/* الرقم اللي هيطلع أوتوماتيك */
.content-home-temp ol li::before {
  content: counter(info-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
#ez-toc-container ul li::before {
  content: none !important;
}
.content-home-temp ol li strong {
  display: contents;
}
.divtable {
  display: table;  
}
.divtable ul {
  float: right;
  display: table-row;
}
.divtable {
  display: table;  
}
.divtable ol {
  float: right;
  display: table-row;
}
/* //////////////////////// Hero side card v3 */
.mini-stats-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
  background: #f9fafb;
}

.mini-stat-v3 {
flex: fit-content;
  background-color: #fff;
  border-radius: 12px;
  padding: 8px 9px;
border: 1px solid #e5e7eb;
  width: 100%;
/*  box-shadow: var(--shadow-soft); */
}

.mini-stat-label-v3 {
  font-size: 11px;
  color: #c05621;
  margin-bottom: 2px;
  font-weight: 700;
}

.mini-stat-value-v3 {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
}

@media (max-width: 768px) {
  .mini-stat-value-v3 {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
}
}
/* //////////////////////// end Hero side card v3 */

/* //////////////////////// Hero side card v3code2 */
.mini-stats-v3code2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.mini-stat-v3code2 {
  flex: 1 1 90px;
  background: #f9fafb;
  border-radius: 12px;
  padding: 8px 9px;
  border: 1px solid #e5e7eb;
}

.mini-stat-label-v3code2 {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 2px;
}

.mini-stat-value-v3code2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 768px) {
  .mini-stat-value-v3code2 {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.35;
}
.mini-stat-v3code2 {
  flex: fit-content;
  
}
}
/* //////////////////////// end Hero side card v3 */


/* ==========================
   Responsive
   ========================== */

@media (max-width: 960px) {
.used-services-section-v3 {
  background: transparent;
  border-radius: unset;
  padding: unset;
  border: unset;
  padding: 16px 12px 18px;
}
 .used-services-grid-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.used-service-desc-v3 {
  margin: 0px 0 4px;
 
  line-height: 1.35;
   
}.used-service-cta-v3 {
 
  font-size: 12px;
  
}
}
/* ========================== */
@media (max-width: 720px) {
.used-services-section-v3 {
  background: transparent;
  border-radius: unset;
/*  padding: unset; */
  border: unset;
  padding: 0px;
  margin-top: 0px;
}
 .used-services-grid-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.used-service-desc-v3 {
  margin: 0px 0 4px;
 
  line-height: 1.35;
   
}.used-service-cta-v3 {
 
  font-size: 12px;
  
}

}
/* ========================== */