/* تصغير صورة الترويسة */
.custom-header img {
	max-height: 250px;
/* صغّر الرقم لتقليل الارتفاع */
	width: auto;
	object-fit: cover;
/* حتى تبقى الصورة متناسقة */
}

/* تكبير عنوان الموقع */
.site-title {
	font-size: 32px;
/* عدّل الرقم حسب رغبتك */
	font-weight: bold;
	color: #b22222;
/* لون أحمر أنيق */
}

/* تكبير الوصف أسفل العنوان */
.site-description {
	font-size: 18px;
	color: #333333;
/* رمادي غامق */
}

body.home.page-id-1704 .mna-stage3-wrap > .mna-featured-strip {
  display: none !important;
}

/* MNA floating chat soon - 32-1 */
.mna-chat-soon-float {
  display: none;
}

body.home.page-id-1704 .mna-chat-soon-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #7f1d2d;
  color: #fff8ef;
  border: 1px solid rgba(255, 248, 239, 0.82);
  box-shadow: 0 8px 20px rgba(71, 38, 22, 0.20);
  font-family: inherit;
  cursor: default;
}
body.home.page-id-1704 .mna-chat-soon-icon {
  position: relative;
  display: block;
  width: 23px;
  height: 17px;
  border: 2px solid #fff8ef;
  border-radius: 8px;
}
body.home.page-id-1704 .mna-chat-soon-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  height: 2px;
  background: #fff8ef;
  border-radius: 999px;
  box-shadow: 0 5px 0 #fff8ef;
}
body.home.page-id-1704 .mna-chat-soon-icon::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: -7px;
  width: 8px;
  height: 8px;
  background: #7f1d2d;
  border-right: 2px solid #fff8ef;
  border-bottom: 2px solid #fff8ef;
  transform: rotate(35deg);
}
body.home.page-id-1704 .mna-chat-soon-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f6e8d5;
  color: #7f1d2d;
  border: 1px solid rgba(127, 29, 45, 0.28);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
body.home.page-id-1704 .mna-chat-soon-float::after {
  content: attr(title);
  position: absolute;
  left: 62px;
  bottom: 7px;
  min-width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #fffaf4;
  color: #4e2c1f;
  border: 1px solid rgba(127, 29, 45, 0.18);
  box-shadow: 0 8px 18px rgba(71, 38, 22, 0.14);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(3px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
body.home.page-id-1704 .mna-chat-soon-float:hover::after,
body.home.page-id-1704 .mna-chat-soon-float:focus::after {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 600px) {
  body.home.page-id-1704 .mna-chat-soon-float {
    left: 12px;
    bottom: 12px;
    width: 46px;
    height: 46px;
  }
  body.home.page-id-1704 .mna-chat-soon-badge {
    top: -7px;
    right: -7px;
    padding: 1px 6px;
    font-size: 10px;
  }
  body.home.page-id-1704 .mna-chat-soon-float::after {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home.page-id-1704 .mna-chat-soon-float,
  body.home.page-id-1704 .mna-chat-soon-float::after {
    animation: none !important;
    transition: none !important;
  }
}
/* /MNA floating chat soon - 32-1 */

/* MNA floating chat host unlock - 32-1 */
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-chat-soon-float) {
  display: block !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-chat-soon-float) #footer-widgets {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-chat-soon-float) .footer-widget-column:not(:has(.mna-chat-soon-float)) {
  display: none !important;
}
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-chat-soon-float) .footer-widget-column:has(.mna-chat-soon-float),
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-chat-soon-float) .widget:has(.mna-chat-soon-float) {
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
/* /MNA floating chat host unlock - 32-1 */

/* MNA floating chat mobile clearance - 32-1 */
@media (max-width: 600px) {
  body.home.page-id-1704 .mna-chat-soon-float {
    bottom: 72px;
  }
}
/* /MNA floating chat mobile clearance - 32-1 */

/* MNA lower contact visual polish - 32-1 */
body.home.page-id-1704 .mna-lower-contact {
  align-items: center !important;
  grid-template-columns: max-content minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 8px 12px !important;
}
body.home.page-id-1704 .mna-lower-contact h2 {
  margin: 0 !important;
  color: #7b1f24 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
body.home.page-id-1704 .mna-lower-contact-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.home.page-id-1704 .mna-lower-contact-list li {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 31px !important;
  padding: 5px 9px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(123, 31, 36, 0.22) !important;
  border-radius: 7px !important;
  background: rgba(255, 251, 245, 0.72) !important;
  color: #5b321f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
body.home.page-id-1704 .mna-lower-contact-list li::before {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: rgba(123, 31, 36, 0.08) !important;
  color: #8a2c22 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  flex: 0 0 18px !important;
}
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(1)::before { content: "✉"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(2)::before { content: "★"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(3)::before { content: "✦"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(4)::before { content: "☏"; }
body.home.page-id-1704 .mna-lower-contact-list li > a {
  color: inherit !important;
  text-decoration: none !important;
}
@media (max-width: 640px) {
  body.home.page-id-1704 .mna-lower-contact {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 10px 12px !important;
  }
  body.home.page-id-1704 .mna-lower-contact h2 {
    font-size: 17px !important;
    text-align: right !important;
  }
  body.home.page-id-1704 .mna-lower-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  body.home.page-id-1704 .mna-lower-contact-list li {
    min-height: 32px !important;
    padding: 5px 7px !important;
    font-size: 13.5px !important;
    white-space: normal !important;
    text-align: center !important;
  }
}
/* /MNA lower contact visual polish - 32-1 */

/* MNA lower contact mobile title override - 32-1 */
@media (max-width: 640px) {
  body.home.page-id-1704 #post-1704 .mna-lower-contact h2 {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
}
/* /MNA lower contact mobile title override - 32-1 */

/* MNA lower contact mobile title specificity fix - 32-1 */
@media (max-width: 640px) {
  body.home.page-id-1704 #post-1704 .entry-content .mna-lower-contact > h2#mna-lower-contact-title {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
}
/* /MNA lower contact mobile title specificity fix - 32-1 */

/* MNA lower contact mobile title exact match - 32-1 */
@media (max-width: 640px) {
  body.home.page-id-1704 #post-1704 .mna-lower-contact > h2#mna-lower-contact-title {
    font-size: 17px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }
}
/* /MNA lower contact mobile title exact match - 32-1 */

/* MNA home final footer - 32-1 */
#footer-widgets-wrap .widget:has(.mna-home-final-footer) {
  display: none !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) {
  display: block !important;
  width: 100% !important;
  max-width: 1184px !important;
  margin: 10px auto 0 !important;
  padding: 0 18px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) #footer-widgets {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .footer-widget-column,
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .widget-area {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .widget:not(:has(.mna-home-final-footer)):not(:has(.mna-chat-soon-float)) {
  display: none !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .widget:has(.mna-home-final-footer) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home.page-id-1704 .mna-home-final-footer,
body.home.page-id-1704 .mna-home-final-footer * {
  box-sizing: border-box;
}

body.home.page-id-1704 .mna-home-final-footer {
  display: block !important;
  direction: rtl;
  width: 100%;
  max-width: 1148px;
  min-height: 96px;
  margin: 0 auto 12px;
  padding: 12px 22px 8px;
  border-top: 3px solid #a76433;
  border-radius: 8px 8px 0 0;
  background: #4a271a;
  color: #fff7ea;
  font-family: inherit;
}

body.home.page-id-1704 .mna-home-footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.9fr;
  align-items: center;
  gap: 18px;
}

body.home.page-id-1704 .mna-home-footer-zone {
  min-width: 0;
}

body.home.page-id-1704 .mna-home-footer-zone h2 {
  margin: 0 0 6px;
  color: #fff3df;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

body.home.page-id-1704 .mna-home-footer-note,
body.home.page-id-1704 .mna-home-footer-links-list span,
body.home.page-id-1704 .mna-home-footer-links-list a {
  color: #e6d2bc;
  font-size: 12.5px;
  line-height: 1.4;
}

body.home.page-id-1704 .mna-home-footer-note {
  display: inline-block;
  opacity: 0.74;
}

body.home.page-id-1704 .mna-home-footer-social {
  text-align: center;
}

body.home.page-id-1704 .mna-home-footer-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body.home.page-id-1704 .mna-home-footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 247, 234, 0.28);
  border-radius: 50%;
  background: rgba(255, 247, 234, 0.07);
  color: #fff7ea !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
}

body.home.page-id-1704 .mna-home-footer-icons a:hover,
body.home.page-id-1704 .mna-home-footer-icons a:focus {
  border-color: rgba(255, 247, 234, 0.55);
  background: rgba(255, 247, 234, 0.14);
  outline: none;
}

body.home.page-id-1704 .mna-home-footer-links {
  text-align: left;
}

body.home.page-id-1704 .mna-home-footer-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 12px;
}

body.home.page-id-1704 .mna-home-footer-links-list span {
  display: inline-block;
  opacity: 0.72;
}

body.home.page-id-1704 .mna-home-footer-copy {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 247, 234, 0.16);
  color: rgba(255, 247, 234, 0.78);
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 700px) {
  body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) {
    padding: 0 12px !important;
  }

  body.home.page-id-1704 .mna-home-final-footer {
    min-height: 0;
    margin: 0 auto 10px;
    padding: 13px 14px 10px;
    border-radius: 8px;
  }

  body.home.page-id-1704 .mna-home-footer-main {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  body.home.page-id-1704 .mna-home-footer-links {
    text-align: center;
  }

  body.home.page-id-1704 .mna-home-footer-links-list {
    justify-content: center;
    gap: 5px 10px;
  }

  body.home.page-id-1704 .mna-home-footer-copy {
    margin-top: 8px;
    padding-top: 8px;
  }
}

@media (max-width: 420px) {
  body.home.page-id-1704 .mna-home-footer-zone h2 {
    font-size: 13px;
  }

  body.home.page-id-1704 .mna-home-footer-icons a {
    width: 29px;
    height: 29px;
    font-size: 12.5px;
  }

  body.home.page-id-1704 .mna-home-footer-note,
  body.home.page-id-1704 .mna-home-footer-links-list span,
  body.home.page-id-1704 .mna-home-footer-links-list a,
  body.home.page-id-1704 .mna-home-footer-copy {
    font-size: 11.8px;
  }
}


/* MNA home final footer column fix - 32-1 */
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .footer-widget-column:has(.mna-home-final-footer) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  overflow: visible !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .widget:has(.mna-home-final-footer) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) .mna-home-final-footer {
  width: 100% !important;
}


/* MNA home final footer flow fix - 32-1 */
body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer),
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer),
body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) #footer-widgets {
  height: auto !important;
  min-height: 108px !important;
  overflow: visible !important;
  clear: both !important;
}

@media (max-width: 700px) {
  body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer),
  body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer),
  body.home.page-id-1704 #footer-widgets-wrap:has(.mna-home-final-footer) #footer-widgets {
    min-height: 205px !important;
  }
}


/* MNA hide old inline footer on homepage - 32-1 */
body.home.page-id-1704 .mna-lower-footer {
  display: none !important;
}


/* MNA home final footer background fix - 32-1 */
body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer) {
  background: #4a271a !important;
}


/* MNA lower interface finishing pass - 32-1 */
body.home.page-id-1704 .mna-lower-compact,
body.home.page-id-1704 .mna-lower-compact *,
body.home.page-id-1704 .mna-home-final-footer,
body.home.page-id-1704 .mna-home-final-footer * {
  font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tajawal, Arial, sans-serif !important;
}

body.home.page-id-1704 .mna-lower-compact {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}

body.home.page-id-1704 .mna-lower-contact {
  order: 1 !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  min-height: 44px !important;
  align-items: center !important;
  gap: 10px !important;
}

body.home.page-id-1704 .mna-lower-top {
  order: 2 !important;
}

body.home.page-id-1704 .mna-lower-contact h2,
body.home.page-id-1704 .mna-lower-card h2,
body.home.page-id-1704 .mna-home-final-footer h2 {
  font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tajawal, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

body.home.page-id-1704 .mna-lower-contact h2 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  color: #8a1f24 !important;
  margin: 0 !important;
}

body.home.page-id-1704 .mna-lower-contact-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.home.page-id-1704 .mna-lower-contact-list li {
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 5px 10px !important;
  border: 1px solid rgba(138, 31, 36, .22) !important;
  border-radius: 8px !important;
  background: #fffaf4 !important;
  color: #5a2e20 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

body.home.page-id-1704 .mna-lower-contact-list li::before {
  color: #9a2a2f !important;
  font-size: 13px !important;
  line-height: 1 !important;
  opacity: .9 !important;
}

body.home.page-id-1704 .mna-lower-contact-list li:nth-child(1)::before { content: "✉"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(2)::before { content: "★"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(3)::before { content: "✦"; }
body.home.page-id-1704 .mna-lower-contact-list li:nth-child(4)::before { content: "☎"; }

body.home.page-id-1704 .mna-lower-card {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

body.home.page-id-1704 .mna-lower-card h2 {
  font-size: 18px !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
}

body.home.page-id-1704 .mna-lower-about p,
body.home.page-id-1704 .mna-lower-books-text,
body.home.page-id-1704 .mna-home-footer-note,
body.home.page-id-1704 .mna-home-footer-links-list,
body.home.page-id-1704 .mna-home-footer-copy {
  font-size: 14.5px !important;
  line-height: 1.75 !important;
}

body.home.page-id-1704 .mna-lower-card a,
body.home.page-id-1704 .mna-lower-card .mna-lower-btn,
body.home.page-id-1704 .mna-home-final-footer a,
body.home.page-id-1704 .mna-home-final-footer span {
  font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tajawal, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

body.home.page-id-1704 #post-1704 {
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
}

@media (min-width: 1300px) {
  body.home.page-id-1704 #wrap {
    width: calc(100% - 48px) !important;
    max-width: 1320px !important;
  }

  body.home.page-id-1704 #content,
  body.home.page-id-1704 #post-1704 {
    width: 100% !important;
    max-width: none !important;
  }

  body.home.page-id-1704 .mna-home-final-footer {
    max-width: min(1208px, calc(100% - 96px)) !important;
  }
}

@media (max-width: 600px) {
  body.home.page-id-1704 .mna-lower-compact {
    margin-inline: 14px !important;
    gap: 10px !important;
  }

  body.home.page-id-1704 .mna-lower-contact {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
  }

  body.home.page-id-1704 .mna-lower-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.home.page-id-1704 .mna-lower-contact-list li {
    min-height: 34px !important;
    font-size: 14px !important;
    padding: 6px 8px !important;
  }
}


/* MNA lower interface width correction - 32-1 */
@media (min-width: 1300px) {
  body.home.page-id-1704 #wrapper > #wrap.container.clearfix {
    width: min(1320px, calc(100vw - 48px)) !important;
    max-width: min(1320px, calc(100vw - 48px)) !important;
  }

  body.home.page-id-1704 #wrap > #content.primary,
  body.home.page-id-1704 #content > #post-1704.post-1704 {
    width: 100% !important;
    max-width: none !important;
  }

  body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer) #footer-widgets-wrap {
    width: min(1244px, calc(100vw - 96px)) !important;
    max-width: min(1244px, calc(100vw - 96px)) !important;
  }

  body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer) #footer-widgets,
  body.home.page-id-1704 #footer-widgets-bg:has(.mna-home-final-footer) .mna-home-final-footer {
    width: 100% !important;
    max-width: none !important;
  }
}


/* MNA home wide section alignment - 32-1 */
@media (min-width: 1300px) {
  body.home.page-id-1704 #post-1704 .mna-stage3-wrap,
  body.home.page-id-1704 #post-1704 .mna-phase4-central,
  body.home.page-id-1704 #post-1704 .mna-lower-compact {
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}
