/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
 @font-face {
    font-family: 'Noto Kufi Arabic' !important;
    src: url('fonts/NotoKufiArabic-Regular.ttf') format('truetype') !important;
    font-weight: normal;
    font-style: normal;
}


.fluent-booking-calendar-block .fcal_wrap .fcal_calendar_inner {
	border-radius: 15px;
	
	--fcal_slot_border: var(--theme-border-color);
}

.fcal_wrap .fcal_calendar_inner .fcal_side {
	padding: 50px;
}


.page-list-ext.page-list-cols-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0;
  justify-content: center;
}

/* Main card/item style */
.page-list-ext.page-list-cols-3 .page-list-ext-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 calc(33.333% - 30px);
  max-width: calc(33.333% - 30px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* Hover effect */
.page-list-ext.page-list-cols-3 .page-list-ext-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Image styling */
.page-list-ext.page-list-cols-3 .page-list-ext-image img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Title styling */
.page-list-ext.page-list-cols-3 .page-list-ext-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Description styling */
.page-list-ext.page-list-cols-3 .page-list-ext-content {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
}

/* Tablet (2 columns) */
@media (max-width: 1024px) {
  .page-list-ext.page-list-cols-3 .page-list-ext-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

/* Mobile (1 column) */
@media (max-width: 768px) {
  .page-list-ext.page-list-cols-3 {
    gap: 20px;
  }

  .page-list-ext.page-list-cols-3 .page-list-ext-item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 15px;
  }

  .page-list-ext.page-list-cols-3 .page-list-ext-title {
    font-size: 1rem;
  }

  .page-list-ext.page-list-cols-3 .page-list-ext-content {
    font-size: 0.9rem;
  }
}


* {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
}


/* تنسيق صندوق الكود الكبير */
code {
  display: block;
  width: min(95vw, 100%); /* عرض متجاوب مع حد أقصى */
  margin: 1.5rem auto; /* توسيط الصندوق */
  padding: 1.5rem;
  background: linear-gradient(145deg, #1a1a1a, #252525); /* خلفية متدرجة أنيقة */
  color: #e0e0e0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace; /* خط احتياطي */
  font-size: 0.95rem;
  line-height: 1.6; /* تحسين المسافة بين الأسطر */
  border-radius: 10px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* ظل خفيف للأداء */
  position: relative; /* لدعم زر النسخ */
}

/* تنسيق الكود داخل السطر */
code.inline-code {
  background: #2a2a2a;
  color: #e0e0e0;
  padding: 0.15rem 0.35rem;
  border-radius: 5px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
}

/* زر النسخ */
pre.code-block .copy-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s;
}

pre.code-block .copy-button:hover {
  background: #0056b3;
}

/* تحسين التمرير على الأجهزة المحمولة */
@media (max-width: 600px) {
  pre.code-block {
    width: 100%;
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* دعم تلوين بناء الجملة (إذا كنت تستخدم Prism.js أو Highlight.js) */
pre.code-block .token.keyword { color: #ff79c6; }
pre.code-block .token.string { color: #f1fa8c; }
pre.code-block .token.comment { color: #6272a4; }
pre.code-block .token.function { color: #50fa7b; }




