* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  direction: rtl;
  background: #EADDCA; /* لون بيج هادئ للخلفية */
  color: #332211;
  min-height: 100vh;
}

a {
  color: #4A3728; /* تم التعديل من الأزرق إلى البني الداكن */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #8B5A2B; /* تم التعديل من الأزرق إلى البني الفاتح */
}

.kaadblockcontent-body a:hover,
.kaadpostcontent a:hover,
.kaadvmenu a:hover {
  text-decoration: none;
}

#kaadpage-background-glare {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(160deg, #F5F5DC 0%, #EADDCA 100%); /* تدرج بيج بدلاً من الأزرق */
}

#kaadpage-background-glare-image {
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.5) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(193,154,107,0.3) 0%, transparent 60%); /* تم تعديل اللون ليتناسب مع البيج */
}

#kaadmain {
  width: 990px;
  margin: 0 auto;
  padding: 0;
}

.kaadsheet {
  position: relative;
  background: #FFFFFF; /* تم التعديل من الأزرق الفاتح للأبيض النقي */
  border: 1px solid #C19A6B; /* تم التعديل من الأزرق للذهبي/البيج */
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(74,55,40,0.13); /* تم تعديل الظل ليكون بنياً */
  margin: 0;
}

.kaadsheet-body {
  padding: 0;
}

.kaadsheet-tl, .kaadsheet-tr, .kaadsheet-bl, .kaadsheet-br,
.kaadsheet-tc, .kaadsheet-bc, .kaadsheet-cl, .kaadsheet-cr,
.kaadsheet-cc {
  display: none;
}

.kaadnav {
  position: relative;
  background: linear-gradient(90deg, #4A3728 0%, #6F4E37 60%, #4A3728 100%); /* بني داكن */
  border-bottom: 2px solid #C19A6B;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  direction: ltr;
  border-radius: 0 0 8px 8px;
  margin: 0;
}

.kaadnav-l, .kaadnav-r { display: none; }

.kaadnav-outer {
  width: 100%;
}

.kaadhmenu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

.kaadhmenu li {
  display: flex;
  align-items: center;
}

.kaadhmenu a {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.kaadhmenu a:hover {
  background: rgba(255,255,255,0.18);
  text-decoration: none;
}

.kaadhmenu a .l, .kaadhmenu a .r { display: none; }

.kaadhmenu-li-separator {
  color: rgba(255,255,255,0.4);
  margin: 0 2px;
}

.kaadhmenu-separator { display: inline-block; width: 1px; height: 18px; background: rgba(255,255,255,0.3); }

.kaadsheet-body > img[src*="Header"] {
  display: block;
  width: 990px;
  max-width: 100%;
}

.kaadcontent-layout {
  padding: 8px;
}

.kaadcontent-layout-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: flex-start;
}

.kaadsidebar1 {
  width: 210px;
  flex-shrink: 0;
}

.kaadcontent {
  flex: 1;
  min-width: 0;
}

.kaadsidebar2 {
  width: 175px;
  flex-shrink: 0;
}
.kaadblock {
  background: #ffffff;
  border: 1px solid #C19A6B; /* تم التعديل من الأزرق */
  border-radius: 5px;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(74,55,40,0.08);
  overflow: hidden;
  padding: 5px;
}

.kaadblock-tl, .kaadblock-tr, .kaadblock-bl, .kaadblock-br,
.kaadblock-tc, .kaadblock-bc, .kaadblock-cl, .kaadblock-cr,
.kaadblock-cc { display: none; }

.kaadblock-body {
  padding: 0;
}

.kaadblockheader {
  position: relative;
  background: linear-gradient(90deg, #4A3728 0%, #8B5A2B 50%, #4A3728 100%); /* تم التعديل من الأزرق للبني */
  padding: 5px 8px;
  display: flex;
  align-items: center;
}

.kaadblockheader .l, .kaadblockheader .r { display: none; }

.kaadblockheader h3.t {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kaadblockheader h3.t::before {
  content: "● ";
  color: #ffffff;
  font-size: 10px;
}

/* Block Content */
.kaadblockcontent {
  padding: 0;
}

.kaadblockcontent-tl, .kaadblockcontent-tr, .kaadblockcontent-bl,
.kaadblockcontent-br, .kaadblockcontent-tc, .kaadblockcontent-bc,
.kaadblockcontent-cl, .kaadblockcontent-cr, .kaadblockcontent-cc {
  display: none;
}

.kaadblockcontent-body {
  padding: 4px;
  background: #FAF9F6; /* تم التعديل من الأزرق الفاتح للبيج الفاتح */
  border-radius: 4px;
}

.kaadblockcontent-body ul {
  list-style: none;
  padding: 0;
}

.kaadblockcontent-body ul li {
  padding: 3px 5px;
  border-bottom: none;
  border-radius: 4px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 5px;
}

.kaadblockcontent-body ul li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 15px;
  flex-shrink: 0;
  order: 1;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010%2013%22%3E%3Cpath%20d%3D%22M0%2C0%20L6%2C0%20L10%2C4%20L10%2C13%20L0%2C13%20Z%22%20fill%3D%22white%22%20stroke%3D%22%23C19A6B%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M6%2C0%20L6%2C4%20L10%2C4%22%20fill%3D%22%23FAF9F6%22%20stroke%3D%22%23C19A6B%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E"); /* تم تعديل ألوان SVG للبني والبيج */
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
}

.kaadblockcontent-body ul li a {
  color: #4A3728; /* تم التعديل من الأزرق */
  font-size: 11px;
  line-height: 1.4;
  flex: 1;
  text-align: right;
  order: 0;
  text-decoration: none;
}

.kaadblockcontent-body ul li a:hover {
  text-decoration: none;
  cursor: pointer;
  color: #8B5A2B;
}


.kaadvmenublock {
background: #4A3728;
  border: 2px solid #C19A6B;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(74,55,40,0.15);
  overflow: hidden;
  padding: 5px;
}

.kaadvmenublock-tl, .kaadvmenublock-tr, .kaadvmenublock-bl,
.kaadvmenublock-br, .kaadvmenublock-tc, .kaadvmenublock-bc,
.kaadvmenublock-cl, .kaadvmenublock-cr, .kaadvmenublock-cc {
  display: none;
}

.kaadvmenublock-body { padding: 0; }
.kaadvmenublockcontent { padding: 0; }
.kaadvmenublockcontent-body { padding: 0; }

.kaadvmenu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kaadvmenu li {
  margin: 0;
}

.kaadvmenu li a {
  display: flex;
  align-items: center;
  flex-direction: row;            
  justify-content: flex-start;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 8px;
background: linear-gradient(180deg, #FFFFFF 0%, #F5F5DC 100%);
  border: 1px solid #C19A6B; /* تم التعديل من الأزرق */
  color: #4A3728;
  box-shadow: 0 1px 3px rgba(74,55,40,0.1);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  gap: 8px;
  text-decoration: none;
  direction: rtl;
}

.kaadvmenu li a:hover {
 background: linear-gradient(90deg, #C19A6B 0%, #8B5A2B 50%, #C19A6B 100%);
  color: #FFFFFF;
  border-color: #4A3728;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(139,90,43,0.3);
}

.kaadvmenu li a .l, .kaadvmenu li a .r { display: none; }

.kaadvmenu li a .t {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;           
  width: 100%;
  justify-content: flex-start;
}

.kaadvmenu li a .t::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #ffe066 0%, #f5c800 50%, #d48000 100%);
  box-shadow: 0 1px 3px rgba(180,100,0,0.45);
  transition: background 0.2s, box-shadow 0.2s;
  order: 0;     
}

.kaadvmenu li a .t {
  order: 0;
}

/* hover dot */
.kaadvmenu li a:hover .t::before {
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e8e8e8 60%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}


.kaadpost {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%); /* تم التعديل من الأزرق للأبيض/بيج */
  border: 1px solid #C19A6B; /* تم التعديل من الأزرق */
  border-radius: 5px;
  margin-bottom: 6px;
  box-shadow: 0 2px 5px rgba(74,55,40,0.07);
  overflow: hidden;
}

.kaadpost-tl, .kaadpost-tr, .kaadpost-bl, .kaadpost-br,
.kaadpost-tc, .kaadpost-bc, .kaadpost-cl, .kaadpost-cr,
.kaadpost-cc { display: none; }

.kaadpost-body { padding: 0; }

.kaadpost-inner {
  padding: 6px 10px;
}

.kaadarticle {
  direction: rtl;
}

.kaadpostcontent {
  font-size: 13px;
  line-height: 1.7;
  color: #332211; /* تم التعديل من الأزرق الغامق للبني الغامق */
}

.kaadpostcontent img[align="Right"] {
  float: right;
  margin: 0 0 6px 10px;
  border: 2px solid #C19A6B; /* تم التعديل من الأزرق */
  border-radius: 3px;
  max-width: 160px;
  max-height: 130px;
  object-fit: cover;
}

.kaadpostcontent p {
  margin-bottom: 6px;
}

.kaadpostcontent strong a {
  color: #6F4E37; /* تم التعديل من الأزرق */
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
  padding-bottom: 3px;
  border-bottom: none;
  text-decoration: none;
}

.kaadpostcontent strong a:hover {
  color: #C19A6B;
  text-decoration: none;
}


.kaadpostcontent table {
  border-collapse: collapse;
  font-size: 13px;
  direction: rtl;
  margin: 8px auto;
  border: 2px solid #C19A6B; /* تم التعديل من الأزرق */
  background: transparent;
}

.kaadpostcontent table caption {
  font-weight: bold;
  margin-bottom: 6px;
  color: #4A3728; /* تم التعديل من الأحمر للبني */
  font-size: 14px;
}

.kaadpostcontent table td,
.kaadpostcontent table th {
  border: none;
  padding: 7px 16px;
  text-align: center;
  color: #332211; /* تم التعديل من الأزرق للبني */
  font-weight: bold;
  background: transparent;
}

/* إلغاء أي override */
.kaadpostcontent table,
.kaadpostcontent table tr,
.kaadpostcontent table td,
.kaadpostcontent table th {
  border: none;
}

.kaadpostcontent table {
  border: 2px solid #C19A6B !important;
}

.kaadpostcontent table tr:first-child td {
  background: transparent;
  color: #6F4E37; /* تم التعديل من الأزرق */
  font-weight: bold;
  font-style: italic;
}

.kaadpostcontent table tr:not(:first-child):hover td {
  background: rgba(193, 154, 107, 0.2); /* تم تعديل لون التظليل للبني الفاتح */
}
.kaadblockcontent-bbbody ul li::before {
   content: "";
  display: inline-block;
  width: 12px;
  height: 15px;
  flex-shrink: 0;
  order: 0; /* غيرنا من 1 لـ 0 عشان تبقى على اليسار */
  margin-left: 5px; /* مسافة بين الأيقونة والنص */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21h18v-2H3v2zm2-10h2v8H5v-8zm4-4h2v12H9V7zm4 2h2v10h-2V9zm4-6h2v16h-2V3z' fill='%23C19A6B'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* --- Footer --- */
.kaadfooter {
  position: relative;
background: linear-gradient(90deg, #332211 0%, #4A3728 50%, #332211 100%);
margin-top: 8px;
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}

.kaadfooter-t, .kaadfooter-l, .kaadfooter-b,
.kaadfooter-r { display: none; }

.kaadfooter-body { padding: 10px 16px; }

.kaadfooter-text {
  color: #F5F5DC; /* تم التعديل من الأزرق الفاتح للبيج */
  font-size: 12px;
  text-align: center;
  line-height: 1.8;
  direction: rtl;
}

.kaadfooter-text a {
  color: #C19A6B; /* تم التعديل من الأزرق للذهبي */
  margin: 0 4px;
}

.kaadfooter-text a:hover {
  color: #fff;
}

.kaadpage-footer {
  height: 8px;
}

/* --- Utility --- */
.cleared, .reset-box {
  clear: both;
  height: 0;
  overflow: hidden;
}

/* --- Responsive --- */

@media (max-width: 1020px) {
  #kaadmain {
    width: 100%;
  }
  .kaadsheet-body > img[src*="Header"] {
    width: 100%;
    height: auto;
  }
  .kaadcontent-layout-row {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .kaadsidebar1, .kaadsidebar2 {
    width: 100%;
  }
  .kaadvmenu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .kaadvmenu li {
    flex: 1 1 45%;
  }
  .kaadpostcontent img[align="Right"] {
    max-width: 130px;
    max-height: 110px;
  }
}

/* === موبايل (max 600px) === */
@media (max-width: 600px) {
  body {
    font-size: 12px;
  }
  #kaadmain {
    width: 100%;
    padding: 0;
  }
  .kaadsheet {
      background: #FFFFFF;
  border: 1px solid #C19A6B;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .kaadblockheader {
  background: linear-gradient(90deg, #4A3728 0%, #8B5A2B 50%, #4A3728 100%); /* بني محروق */
}

.kaadblockcontent-body {
  background: #FAF9F6; /* خلفية بيج فاتحة جداً للمحتوى الداخلي */
  border: 1px solid #EADDCA;
}
  .kaadnav {
    height: auto;
    min-height: 44px;
    padding: 6px 10px;
    flex-wrap: wrap;
    border-radius: 0;
  }
  .kaadhmenu {
    flex-wrap: wrap;
    gap: 4px;
  }
  .kaadhmenu a {
    font-size: 11px;
    padding: 4px 8px;
  }
  .kaadsheet-body > img[src*="Header"] {
    width: 100%;
    height: auto;
  }
  .kaadcontent-layout {
    padding: 4px;
  }
  .kaadcontent-layout-row {
    flex-direction: column;
    gap: 6px;
  }
  .kaadsidebar1, .kaadsidebar2, .kaadcontent {
    width: 100%;
  }
  /* القائمة على الموبايل - grid */
  .kaadvmenu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
  }
  .kaadvmenu li {
    flex: 1 1 48%;
  }
  .kaadvmenu li a {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 6px;
  }
  /* الصور في البوستات */
  .kaadpostcontent img[align="Right"] {
    float: none;
    display: block;
    margin: 0 auto 8px auto;
    max-width: 100%;
    height: auto;
  }
  /* الجدول */
  .kaadpostcontent table {
    width: 100%;
    font-size: 11px;
  }
  .kaadpostcontent table td,
  .kaadpostcontent table th {
    padding: 4px 6px;
  }
  /* البلوكات */
  .kaadblock {
    padding: 4px;
  }
  .kaadblockheader h3.t {
    font-size: 12px;
    white-space: normal;
  }
  .kaadblockcontent-body ul li a {
    font-size: 11px;
  }
  /* الفوتر */
  .kaadfooter-text {
    font-size: 11px;
    line-height: 1.6;
  }
  /* الـ iframe فيديو */
  .kaadblockcontent-body iframe {
    width: 100% !important;
    height: 160px;
  }
}

/* === موبايل صغير جداً (max 380px) === */
@media (max-width: 380px) {
  .kaadvmenu li {
    flex: 1 1 100%;
  }
  .kaadpostcontent strong a {
    font-size: 13px;
  }
}

/* --- Visitor Map Placeholder --- */
.visitor-map-placeholder {
  width: 100%;
  height: 36px;
  background: #ffffff;
  border: 1px solid #C19A6B; /* تم التعديل من الأزرق */
  border-radius: 3px;
  box-sizing: border-box;
}

/* --- Product image link - no underline on hover --- */
.kaadblockcontent-body a:hover {
  text-decoration: none;
}