/* عروض التاريخية - تحسين الوصف على الجوال فقط */
@media (max-width: 767px) {
  html:has(
    head link[rel="canonical"][href*="c2075550852"]
  ) .cat-content-wrapper--subtitle {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-top: 6px !important;
    margin-bottom: 14px !important;
  }
}

/* التاريخية - تنسيق الوصف الطويل للتصنيفات */

.altareekhiyah-category-seo {
  direction: rtl;
  text-align: right;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 24px 16px;
  margin: 24px auto;
  font-size: 16px;
  line-height: 1.9;
  white-space: normal;
  overflow-wrap: break-word;
}

.altareekhiyah-category-seo h2,
.altareekhiyah-category-seo h3,
.altareekhiyah-category-seo p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: right;
}

.altareekhiyah-category-seo h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 20px;
}

.altareekhiyah-category-seo h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  margin: 24px 0 12px;
}

.altareekhiyah-category-seo p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 16px;
}

.altareekhiyah-category-seo a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* تحسين العرض على الجوال */
@media (max-width: 767px) {
  .altareekhiyah-category-seo {
    padding: 20px 12px;
    margin: 20px auto;
  }

  .altareekhiyah-category-seo h2 {
    font-size: 20px;
  }

  .altareekhiyah-category-seo h3 {
    font-size: 17px;
  }

  .altareekhiyah-category-seo p {
    font-size: 15px;
    line-height: 1.8;
  }
}
/* الصفحة الرئيسية — بلوك المحتوى القابل للتحرير (سيو / نص حر) */
.alt-home-content {
  background: #ffffff;
  padding: 46px 0 54px;
  border-top: 1px solid rgba(205, 186, 158, .35);
}

.alt-home-content-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.alt-home-content-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #a9822b;
  margin-bottom: 12px;
}

.alt-home-content-body {
  text-align: start;
  font-size: 15px;
  line-height: 2;
  color: #5d5348;
}

.alt-home-content-body h2 {
  font-size: 21px;
  font-weight: 800;
  color: #2b0f13;
  margin: 26px 0 12px;
  text-align: center;
}

.alt-home-content-body h3 {
  font-size: 17px;
  font-weight: 800;
  color: #411017;
  margin: 20px 0 10px;
}

.alt-home-content-body p {
  margin: 0 0 14px;
}

.alt-home-content-body ul,
.alt-home-content-body ol {
  padding-inline-start: 22px;
  margin: 0 0 16px;
}

.alt-home-content-body a {
  color: #a9822b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.alt-home-content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 640px) {
  .alt-home-content {
    padding: 32px 0 38px;
  }
  .alt-home-content-body {
    font-size: 14px;
    line-height: 1.95;
  }
  .alt-home-content-body h2 {
    font-size: 18px;
  }
}

/* الصفحة الرئيسية — قسم HTML مخصص */
.alt-home-custom {
  background: #faf7f2;
  padding: 38px 0;
}

.alt-home-custom .container {
  max-width: 1180px;
}
