/* Medical report service — post 9312 only */
:is(.postid-9312, .postid-9626, .postid-9622) {
  --medical-ink: #17251f;
  --medical-muted: #66736d;
  --medical-green: #11664b;
  --medical-green-dark: #0b4937;
  --medical-gold: #d59a28;
  --medical-gold-soft: #fff7e7;
  --medical-line: #dfe8e3;
  --medical-surface: #ffffff;
  --medical-bg: #f4f8f5;
  background: var(--medical-bg);
  color: var(--medical-ink);
}

:is(.postid-9312, .postid-9626, .postid-9622) .main-content,
:is(.postid-9312, .postid-9626, .postid-9622) .about-inner,
:is(.postid-9312, .postid-9626, .postid-9622) .single-outer,
:is(.postid-9312, .postid-9626, .postid-9622) .single-wrap {
  background: transparent !important;
}

:is(.postid-9312, .postid-9626, .postid-9622) .about-inner::before,
:is(.postid-9312, .postid-9626, .postid-9622) .about-inner::after {
  opacity: .18;
  pointer-events: none;
}

:is(.postid-9312, .postid-9626, .postid-9622) .main-content {
  padding: 54px 0 80px;
  overflow: hidden;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-wrap > .container {
  width: min(1160px, calc(100% - 32px));
  padding: 0;
}

:is(.postid-9312, .postid-9626, .postid-9622) .post_title {
  max-width: 860px;
  margin: 0 auto 32px;
  color: var(--medical-ink);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

:is(.postid-9312, .postid-9626, .postid-9622) .post_title::before {
  content: "ترجمة طبية معتمدة";
  display: table;
  margin: 0 auto 14px;
  padding: 8px 16px;
  border: 1px solid rgba(17, 102, 75, .18);
  border-radius: 999px;
  background: #e8f3ee;
  color: var(--medical-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-img {
  margin-bottom: 46px;
  padding: 0;
  border-radius: 28px;
  background: var(--medical-surface);
  box-shadow: 0 22px 60px rgba(16, 57, 43, .14);
  overflow: hidden;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  padding: 0;
  font-size: 18px;
  line-height: 1.95;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data > * {
  grid-column: 1 / -1;
  min-width: 0;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h2,
:is(.postid-9312, .postid-9626, .postid-9622) .single-data h3 {
  position: relative;
  margin: 48px 0 8px;
  padding-right: 22px;
  color: var(--medical-ink);
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h2 {
  font-size: clamp(27px, 3vw, 38px);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h3 {
  font-size: clamp(23px, 2.4vw, 31px);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h2::before,
:is(.postid-9312, .postid-9626, .postid-9622) .single-data h3::before {
  content: "";
  position: absolute;
  top: .25em;
  right: 0;
  width: 6px;
  height: 1.25em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--medical-gold), var(--medical-green));
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child {
  margin-top: 0;
  padding: 34px 36px 10px;
  border: 1px solid var(--medical-line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--medical-surface);
  text-align: center;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child::before {
  display: none;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child + p {
  margin: -18px 0 24px;
  padding: 18px 36px 34px;
  border: 1px solid var(--medical-line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: var(--medical-surface);
  color: var(--medical-muted) !important;
  font-size: 20px;
  text-align: center !important;
  box-shadow: 0 16px 45px rgba(16, 57, 43, .07);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child + p span {
  color: inherit !important;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data p {
  margin: 0;
  color: #34443d;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data ul,
:is(.postid-9312, .postid-9626, .postid-9622) .single-data ol {
  margin: 0;
  padding: 24px 28px 24px 24px;
  border: 1px solid var(--medical-line);
  border-radius: 20px;
  background: var(--medical-surface);
  box-shadow: 0 10px 30px rgba(16, 57, 43, .055);
  list-style-position: inside;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data li {
  margin: 0;
  padding: 8px 0;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data li + li {
  border-top: 1px dashed var(--medical-line);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data p:has(> strong:first-child) {
  grid-column: auto;
  position: relative;
  min-height: 132px;
  padding: 24px 26px;
  border: 1px solid var(--medical-line);
  border-radius: 20px;
  background: var(--medical-surface);
  box-shadow: 0 10px 30px rgba(16, 57, 43, .055);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data p:has(> strong:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  border-radius: 0 20px 20px 0;
  background: var(--medical-gold);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data p > strong:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--medical-green-dark);
  font-size: 19px;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data .wp-block-table,
:is(.postid-9312, .postid-9626, .postid-9622) .single-data figure.wp-block-table,
:is(.postid-9312, .postid-9626, .postid-9622) .single-data > div:has(> table) {
  margin: 0;
  border: 1px solid var(--medical-line);
  border-radius: 22px;
  background: var(--medical-surface);
  box-shadow: 0 14px 38px rgba(16, 57, 43, .07);
  overflow-x: auto;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data th {
  padding: 18px 20px;
  border: 0;
  background: var(--medical-green-dark);
  color: #fff;
  font-size: 17px;
  text-align: right;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data td {
  padding: 17px 20px;
  border: 0;
  border-bottom: 1px solid var(--medical-line);
  color: #34443d;
  vertical-align: middle;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data tr:last-child td {
  border-bottom: 0;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data tbody tr:nth-child(even) td {
  background: #f7faf8;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data hr {
  height: 1px;
  margin: 30px 0 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--medical-line) 18%, var(--medical-line) 82%, transparent);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data a {
  color: var(--medical-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(17, 102, 75, .28);
  text-underline-offset: 4px;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data a:hover {
  color: var(--medical-gold);
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h4 {
  margin: 0;
  padding: 22px 26px 8px;
  border: 1px solid var(--medical-line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--medical-surface);
  color: var(--medical-green-dark);
  font-size: 20px;
  font-weight: 800;
}

:is(.postid-9312, .postid-9626, .postid-9622) .single-data h4 + p {
  margin-top: -18px;
  padding: 18px 26px 24px;
  border: 1px solid var(--medical-line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--medical-surface);
}

:is(.postid-9312, .postid-9626, .postid-9622) .comments-sec {
  display: none;
}

@media (max-width: 767px) {
  :is(.postid-9312, .postid-9626, .postid-9622) .main-content {
    padding: 32px 0 56px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-wrap > .container {
    width: min(100% - 22px, 1160px);
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .post_title {
    margin-bottom: 24px;
    font-size: 30px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-img {
    margin-bottom: 30px;
    border-radius: 18px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-img img {
    aspect-ratio: 16 / 10;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data {
    grid-template-columns: 1fr;
    gap: 14px;
    font-size: 16px;
    line-height: 1.85;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data h2,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data h3 {
    margin-top: 34px;
    padding-right: 18px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child {
    padding: 26px 20px 8px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > h2:first-child + p {
    padding: 16px 20px 26px;
    font-size: 17px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data p:has(> strong:first-child) {
    grid-column: 1;
    min-height: 0;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data ul,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data ol,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data p:has(> strong:first-child) {
    padding: 20px;
    border-radius: 16px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data .wp-block-table,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data figure.wp-block-table,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > div:has(> table) {
    border-radius: 16px;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data th,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data td {
    min-width: 180px;
    padding: 14px 16px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > p,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > ul,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > ol,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > div,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > figure {
    transition: transform .2s ease, box-shadow .2s ease;
  }

  :is(.postid-9312, .postid-9626, .postid-9622) .single-data p:has(> strong:first-child):hover,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > ul:hover,
  :is(.postid-9312, .postid-9626, .postid-9622) .single-data > ol:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(16, 57, 43, .09);
  }
}

/* Homepage — About / office introduction section */
body.home #about-us {
  --about-ink: #17251f;
  --about-muted: #5f6e67;
  --about-green: #bf601a;
  --about-gold: #ed9700;
  --about-line: #dce8e1;
  position: relative;
	z-index:2;
/*   isolation: isolate; */
  padding: 96px 0;
  background-color: #f7faf8;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(237, 151, 0, .12) 0 2px, transparent 2.5px),
    radial-gradient(circle at 86% 78%, rgba(17, 102, 75, .10) 0 2px, transparent 2.5px),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(241, 248, 244, .94));
  background-size: 24px 24px, 28px 28px, 100% 100%;
  overflow: hidden;
}

body.home #about-us::before,
body.home #about-us::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

body.home #about-us::before {
  width: 430px;
  height: 430px;
  top: -250px;
  right: -130px;
  border: 78px solid rgba(237, 151, 0, .07);
}

body.home #about-us::after {
  width: 360px;
  height: 360px;
  bottom: -240px;
  left: -110px;
  border: 62px solid rgba(17, 102, 75, .07);
}

body.home #about-us > .container {
  width: min(1180px, calc(100% - 40px));
}

body.home #about-us > .container > .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(44px, 6vw, 88px);
  margin: 0;
}

body.home #about-us .g-body {
  float: none;
  flex: 1 1 64%;
  width: auto;
  padding: 0;
  color: var(--about-ink);
}

body.home #about-us .g-head {
  float: none;
  width: auto;
  margin: 0 0 24px;
  padding: 0;
}

body.home #about-us .g-head::before {
  content: "خبرة تمتد لأكثر من 40 عامًا";
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 16px;
  padding: 7px 15px;
  border: 1px solid rgba(17, 102, 75, .16);
  border-radius: 999px;
  background: rgba(17, 102, 75, .08);
  color: var(--about-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

body.home #about-us .g-head h2 {
  position: relative;
  margin: 0;
  padding: 0 0 18px;
  color: var(--about-ink);
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-align: right;
}

body.home #about-us .g-head h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--about-gold), var(--about-green));
}

body.home #about-us .g-body > h3 {
  margin: 0 0 16px;
  color: var(--about-green);
  font-size: clamp(23px, 2.25vw, 30px);
  font-weight: 800;
  line-height: 1.55;
  text-align: right;
}

body.home #about-us .g-body > p {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--about-muted);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 400;
  line-height: 2.05;
  text-align: right;
}

body.home #about-us .g-body > p:last-of-type {
  margin-bottom: 0;
}

body.home #about-us .g-body > p a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 5px 8px;
  padding: 10px 24px;
  border: 2px solid var(--about-gold);
  border-radius: 12px;
  background: var(--about-gold);
  box-shadow: 0 10px 24px rgba(237, 151, 0, .22);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  vertical-align: middle;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

body.home #about-us .g-body > p a:hover,
body.home #about-us .g-body > p a:focus-visible {
  transform: translateY(-2px);
  background: transparent;
  color: #b87300;
  box-shadow: 0 14px 30px rgba(237, 151, 0, .18);
}

body.home #about-us .g-body blockquote {
  display: none;
}

body.home #about-us .ab-img {
  position: relative;
  float: none;
  flex: 0 1 36%;
  width: auto;
  max-width: 420px;
  padding: 0;
}

body.home #about-us .ab-img::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18px 22px 22px -18px;
  border: 2px solid rgba(17, 102, 75, .15);
  border-radius: 32px;
  background: rgba(255, 255, 255, .55);
  transform: rotate(-3deg);
}

body.home #about-us .ab-img::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 110px;
  height: 110px;
  right: -30px;
  bottom: -32px;
  border-radius: 28px;
  background: repeating-linear-gradient(135deg, rgba(237, 151, 0, .22) 0 5px, transparent 5px 12px);
}

body.home #about-us .ab-img .i-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 10px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 60px rgba(19, 56, 43, .16);
  overflow: hidden;
}

body.home #about-us .ab-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 19px;
  transition: transform .45s ease;
}

body.home #about-us .ab-img:hover img {
  transform: scale(1.035);
}

@media (max-width: 991px) {
  body.home #about-us {
    padding: 72px 0;
  }

  body.home #about-us > .container > .row {
    gap: 34px;
  }

  body.home #about-us .g-body {
    flex-basis: 60%;
  }

  body.home #about-us .ab-img {
    flex-basis: 40%;
  }
}

@media (max-width: 767px) {
  body.home #about-us {
    padding: 56px 0;
    background-size: 22px 22px, 26px 26px, 100% 100%;
  }

  body.home #about-us > .container {
    width: min(100% - 28px, 1180px);
  }

  body.home #about-us > .container > .row {
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
  }

  body.home #about-us .g-body,
  body.home #about-us .ab-img {
    flex: none;
    width: 100%;
    max-width: none;
  }

  body.home #about-us .g-head {
    margin-bottom: 20px;
  }

  body.home #about-us .g-head h2 {
    font-size: 32px;
    line-height: 1.4;
  }

  body.home #about-us .g-body > h3 {
    font-size: 22px;
    line-height: 1.6;
  }

  body.home #about-us .g-body > p {
    font-size: 16px;
    line-height: 1.95;
  }

  body.home #about-us .g-body > p a {
    display: flex;
    width: 100%;
    margin: 12px 0 4px;
  }

  body.home #about-us .ab-img {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  body.home #about-us .ab-img::before {
    inset: -12px 14px 14px -12px;
    border-radius: 24px;
  }

  body.home #about-us .ab-img .i-img {
    border-width: 8px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home #about-us .g-body > p a,
  body.home #about-us .ab-img img {
    transition: none;
  }
}

/* Keep the homepage about copy and image on one deliberate grid row. */
body.home #about-us > .container > .row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  align-items: center;
}

body.home #about-us > .container > .row::before,
body.home #about-us > .container > .row::after {
  display: none;
  content: none;
}

body.home #about-us .g-body,
body.home #about-us .ab-img {
  width: 100%;
}

@media (max-width: 767px) {
  body.home #about-us > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

body.home #about-us .g-body {
  max-width: none;
}

body.home #about-us .ab-img {
  max-width: 420px;
  justify-self: start;
}

@media (max-width: 767px) {
  body.home #about-us .ab-img {
    max-width: 390px;
    justify-self: center;
  }
}

/* Homepage — contact methods section */
body.home #cib_contact {
  --contact-ink: #17251f;
  --contact-muted: #66736d;
  --contact-green: #11664b;
  --contact-gold: #ed9700;
  --contact-line: #dce8e1;
  position: relative;
  isolation: isolate;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 10% 18%, rgba(237,151,0,.13) 0 2px, transparent 2.5px) 0 0 / 26px 26px,
    linear-gradient(145deg, #fff 0%, #f4f9f6 100%);
  overflow: hidden;
}

body.home #cib_contact::before,
body.home #cib_contact::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

body.home #cib_contact::before {
  width: 340px;
  height: 340px;
  top: -220px;
  right: -100px;
  border: 62px solid rgba(237,151,0,.07);
}

body.home #cib_contact::after {
  width: 280px;
  height: 280px;
  bottom: -190px;
  left: -80px;
  border: 50px solid rgba(17,102,75,.07);
}

body.home #cib_contact > .container,
body.home #cib_contact .sec-card-txt > .container {
  width: min(1180px, calc(100% - 40px));
}

body.home #cib_contact > .container > .row,
body.home #cib_contact .sec-card-txt .row {
  margin: 0;
}

body.home #cib_contact > .container > .row::before,
body.home #cib_contact > .container > .row::after,
body.home #cib_contact .sec-card-txt .row::before,
body.home #cib_contact .sec-card-txt .row::after {
  display: none;
  content: none;
}

body.home #cib_contact .g-head {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

body.home #cib_contact .g-head > p {
  display: inline-flex;
  margin: 0 0 14px !important;
  padding: 8px 17px;
  border: 1px solid rgba(17,102,75,.16);
  border-radius: 999px;
  background: rgba(17,102,75,.08);
      color: #ED9700;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.35;
}

body.home #cib_contact .g-head h3 {
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.45;
}

body.home #cib_contact .sec-card-txt {
  padding: 0;
}

body.home #cib_contact .card-wrapper > .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body.home #cib_contact .card-wrapper > .row > [class*="col-"] {
  float: none;
  width: 100%;
  max-width: none;
  padding: 0;
}

body.home #cib_contact .card-grid,
body.home #cib_contact .card-grid > a {
  display: block;
  height: 100%;
}

body.home #cib_contact .card-grid > a {
  position: relative;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
  outline: none;
}

body.home #cib_contact .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 330px;
  padding: 34px 30px 78px;
  border: 1px solid var(--contact-line);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 42px rgba(16,57,43,.08);
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body.home #cib_contact .card-grid > a:hover .card,
body.home #cib_contact .card-grid > a:focus-visible .card {
  transform: translateY(-7px);
  border-color: rgba(237,151,0,.55);
  box-shadow: 0 24px 56px rgba(16,57,43,.14);
}

body.home #cib_contact .card-icons {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 0 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff8e9, #eef8f3);
  box-shadow: inset 0 0 0 1px rgba(17,102,75,.09);
}

body.home #cib_contact .card-icons svg {
  width: 50px;
  height: 50px;
}

body.home #cib_contact .card-icons svg path,
body.home #cib_contact .card-icons svg polyline,
body.home #cib_contact .card-icons svg line,
body.home #cib_contact .card-icons svg rect {
  stroke: var(--contact-green);
}

body.home #cib_contact .card-icons svg path[fill]:not([fill="none"]) {
  fill: var(--contact-green);
}

body.home #cib_contact .card-info strong {
  min-height: 0 !important;
  margin: 0 0 12px;
  color: var(--contact-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
}

body.home #cib_contact .card-info .body-txt {
  color: var(--contact-muted);
  font-size: 16px;
  line-height: 1.9;
}

body.home #cib_contact .card-grid > a::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--contact-green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  direction: ltr;
  transition: background-color .2s ease;
}

body.home #cib_contact .row > .col-md-4:nth-child(1) .card-grid > a::after {
  content: "WhatsApp · +966 56 372 8173";
}

body.home #cib_contact .row > .col-md-4:nth-child(2) .card-grid > a::after {
  content: "Call · +966 56 372 8173";
}

body.home #cib_contact .row > .col-md-4:nth-child(3) .card-grid > a::after {
  content: "Open Branch Location";
  direction: rtl;

}

body.home #cib_contact .card-grid > a:hover::after,
body.home #cib_contact .card-grid > a:focus-visible::after {
  background: var(--contact-gold);
}

@media (max-width: 991px) {
  body.home #cib_contact .card-wrapper > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home #cib_contact .card-wrapper > .row > [class*="col-"]:last-child {
    grid-column: 1 / -1;
    width: min(100%, 560px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  body.home #cib_contact {
    padding: 58px 0 64px;
  }

  body.home #cib_contact > .container,
  body.home #cib_contact .sec-card-txt > .container {
    width: min(100% - 28px, 1180px);
  }

  body.home #cib_contact .g-head {
    margin-bottom: 32px;
  }

  body.home #cib_contact .g-head h3 {
    font-size: 29px;
    line-height: 1.5;
  }

  body.home #cib_contact .card-wrapper > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body.home #cib_contact .card-wrapper > .row > [class*="col-"]:last-child {
    grid-column: auto;
    width: 100%;
  }

  body.home #cib_contact .card {
    min-height: 0;
    padding: 28px 22px 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home #cib_contact .card,
  body.home #cib_contact .card-grid > a::after {
    transition: none;
  }
}

/* Ensure the full homepage contact card remains a native clickable link. */
body.home #cib_contact .card-grid {
  position: relative;
  z-index: 2;
}

body.home #cib_contact .card-grid > a {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation;
}

body.home #cib_contact .card-grid > a .card,
body.home #cib_contact .card-grid > a .card * {
  pointer-events: none !important;
}
.timeline-title {
    font-size: 22px;
}

.newheading{
	color: #333;
    font-family: b-bd;
    font-size: 30px;
    margin-bottom: 35px;
}
.newheading2{
    margin-bottom: 15px;
    font-size: 22px;
    font-family: b-bd;
    color: #1a1a1a;
}

/* Homepage branches: display the contact link as a standalone action button. */
body.home .why_us .why_us_item > p a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 48px;
    margin-top: 20px;
    padding: 11px 24px;
    border: 1px solid #11664b;
    border-radius: 12px;
    background: #11664b;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(17, 102, 75, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body.home .why_us .why_us_item > p a:hover,
body.home .why_us .why_us_item > p a:focus-visible {
    background: #ed9700;
    border-color: #ed9700;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(237, 151, 0, 0.24);
}

body.home .why_us .why_us_item > p a:focus-visible {
    outline: 3px solid rgba(237, 151, 0, 0.28);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    body.home .why_us .why_us_item > p a {
        width: 100%;
        margin-top: 16px;
    }
}
strong.partner_name {
    text-align: center;
    display: block;
}

/* Homepage FAQ accordion - lightweight version. */
body.home .faq-page {
    clear: both;
    padding: 72px 0;
    background: #f7faf9;
}

body.home .faq-page .g-head {
    margin-bottom: 34px;
    text-align: center;
}

body.home .faq-page .g-head .newheading {
    display: inline-block;
    position: relative;
    margin: 0;
    padding-bottom: 14px;
    color: #15382f;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.4;
}

body.home .faq-page .g-head .newheading::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 58px;
    height: 4px;
    border-radius: 4px;
    background: #ed9700;
    transform: translateX(50%);
}

body.home .faq-page .row > .col-lg-9 {
    float: none;
    width: min(100%, 920px);
    margin-right: auto;
    margin-left: auto;
}

body.home .faq-page #accordion2 {
    display: grid;
    gap: 14px;
}

body.home .faq-page #accordion2 > .card {
    overflow: hidden;
    border: 1px solid #dce7e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(21, 56, 47, 0.06);
}

body.home .faq-page .card-header {
    padding: 0;
    border: 0;
    background: transparent;
}

body.home .faq-page .card-header h4 {
    margin: 0;
}

body.home .faq-page .card-header .btn-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 70px;
    padding: 18px 24px 18px 68px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #15382f;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.7;
    text-align: right;
    white-space: normal;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.home .faq-page .card-header .btn-link::after {
    content: "+";
    position: absolute;
    left: 22px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf3f0;
    color: #11664b;
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

body.home .faq-page .card-header .btn-link[aria-expanded="true"] {
    color: #d98500;
}

body.home .faq-page .card-header .btn-link[aria-expanded="true"]::after {
    content: "−";
    background: #d98500;
    color: #fff;
}

body.home .faq-page .card-body {
    padding: 0 24px 22px;
    border-top: 1px solid #e4ece9;
}

body.home .faq-page .card-body p {
    margin: 0;
    padding-top: 18px;
    color: #536961;
    font-size: 16px;
    line-height: 2;
}

/* Make Bootstrap's open/close movement short and responsive. */
body.home .faq-page .collapsing {
    transition: height 0.16s ease !important;
}

@media (max-width: 767px) {
    body.home .faq-page {
        padding: 52px 0;
    }

    body.home .faq-page .g-head {
        margin-bottom: 26px;
    }

    body.home .faq-page .g-head .newheading {
        font-size: 29px;
    }

    body.home .faq-page #accordion2 {
        gap: 10px;
    }

    body.home .faq-page .card-header .btn-link {
        min-height: 64px;
        padding: 16px 17px 16px 58px;
        font-size: 16px;
    }

    body.home .faq-page .card-header .btn-link::after {
        left: 15px;
        width: 32px;
        height: 32px;
    }

    body.home .faq-page .card-body {
        padding: 0 17px 18px;
    }

    body.home .faq-page .card-body p {
        padding-top: 15px;
        font-size: 15px;
        line-height: 1.9;
    }
}

.sponser-img {
    width: 100%;
    height: 230px;
    padding: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    overflow: hidden;
}

.sponser-img .img {
    width: 100%;
    height: 100%;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    row-gap: 10px;
}

.sponser-img img {
    display: block;
    width: auto;
    height: auto !important;

    max-width: 100%;
    max-height: 100%;

    margin: auto;
    object-fit: contain;
    object-position: center;
}

.sponser-img .partner_name {
    display: block;
    width: 100%;
    margin: 0;

    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

/* Residence translation service page (post 9284).
   Content-editor cleanup based on the project design recommendations. */
body.postid-9284 {
    --res-container: 1200px;
    --res-content: 900px;
    --res-space-2: 8px;
    --res-space-3: 12px;
    --res-space-4: 16px;
    --res-space-6: 24px;
    --res-space-8: 32px;
    --res-space-12: 48px;
    --res-space-16: 64px;
    --res-space-20: 80px;
    --res-radius-sm: 10px;
    --res-radius-md: 14px;
    --res-radius-lg: 16px;
    --res-green: #ed9700;
    --res-orange: #ed9700;
    --res-ink: #18352d;
    --res-text: #425a53;
    --res-soft: #f7faf9;
    --res-line: #dfe9e5;
    direction: rtl;
}

body.postid-9284 .single-outer,
body.postid-9284 .single-wrap {
    padding: 0;
}

body.postid-9284 .single-wrap > .container {
    width: min(100% - 40px, var(--res-container));
    padding: 0;
}

body.postid-9284 .post_title {
    max-width: 780px;
    margin: var(--res-space-16) auto var(--res-space-8);
    color: var(--res-ink);
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.32;
    text-align: center;
    text-wrap: balance;
}

body.postid-9284 .single-img {
    float: none;
    width: 100%;
    max-width: var(--res-container);
    margin: 0 auto var(--res-space-16);
    padding: 8px;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-lg);
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 32px rgba(24, 53, 45, 0.08);
}

body.postid-9284 .single-img img {
    display: block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    margin: 0 auto;
    border-radius: calc(var(--res-radius-lg) - 4px);
    object-fit: contain !important;
    object-position: center;
}

body.postid-9284 .single-data {
    float: none;
    width: min(100%, var(--res-content));
    margin: 0 auto;
    padding: 0 0 var(--res-space-20);
    color: var(--res-text);
    font-family: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

body.postid-9284 .single-data h2,
body.postid-9284 .single-data h3,
body.postid-9284 .single-data h4 {
    color: var(--res-ink) !important;
    font-family: inherit;
    text-wrap: balance;
}

body.postid-9284 .single-data h2 {
    position: relative;
    margin: var(--res-space-20) auto var(--res-space-8);
    padding-bottom: var(--res-space-4);
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

body.postid-9284 .single-data h2::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 10px;
    background: var(--res-orange);
    transform: translateX(50%);
}

body.postid-9284 .single-data h3 {
    margin: var(--res-space-16) 0 var(--res-space-4);
    font-size: clamp(21px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.5;
}

body.postid-9284 .single-data h4 {
    margin: var(--res-space-6) 0 0;
    padding: 18px 22px;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-md) var(--res-radius-md) 0 0;
    background: var(--res-soft);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

body.postid-9284 .single-data h4 span,
body.postid-9284 .single-data h4 strong {
    color: inherit !important;
}

body.postid-9284 .single-data p {
    max-width: 75ch;
    margin: 0 0 var(--res-space-4);
    color: var(--res-text);
    font-size: inherit;
    line-height: inherit;
    text-align: right !important;
    text-wrap: pretty;
}

body.postid-9284 .single-data > h2:first-child {
    margin-top: 0;
}

body.postid-9284 .single-data > h2:first-child + p {
    max-width: 760px;
    margin: 0 auto var(--res-space-12);
    padding: 20px 24px;
    border-right: 4px solid var(--res-orange);
    border-radius: var(--res-radius-md);
    background: #fff8ec;
    color: var(--res-ink);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.8;
    text-align: center !important;
}

body.postid-9284 .single-data > h2:first-child + p span {
    color: inherit !important;
}

body.postid-9284 .single-data strong,
body.postid-9284 .single-data b {
    color: var(--res-ink);
    font-weight: 700;
}

body.postid-9284 .single-data a {
    color: var(--res-green);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(17, 102, 75, 0.35);
    text-underline-offset: 4px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

body.postid-9284 .single-data a:hover {
    color: var(--res-orange);
    text-decoration-color: currentColor;
}

body.postid-9284 .single-data a:focus-visible {
    outline: 3px solid rgba(237, 151, 0, 0.3);
    outline-offset: 4px;
    border-radius: 3px;
}

body.postid-9284 .single-data hr {
    width: 80px;
    height: 2px;
    margin: var(--res-space-16) auto;
    border: 0;
    border-radius: 4px;
    background: var(--res-line);
}

/* Turn the editor table into a readable data component. */
body.postid-9284 .single-data div[dir="rtl"]:has(> table) {
    width: 100%;
    margin: var(--res-space-8) 0 var(--res-space-16);
    overflow-x: auto;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-lg);
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 53, 45, 0.06);
    -webkit-overflow-scrolling: touch;
}

body.postid-9284 .single-data table {
    width: 100% !important;
    min-width: 680px;
    margin: 0;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #fff;
    text-align: right !important;
}

body.postid-9284 .single-data table tr {
    background: #fff !important;
    color: var(--res-text) !important;
}

body.postid-9284 .single-data table tr:nth-child(even) {
    background: var(--res-soft) !important;
}

body.postid-9284 .single-data table th {
    padding: 16px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--res-line) !important;
    background: var(--res-green) !important;
    color: #fff !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    text-align: right !important;
}

body.postid-9284 .single-data table th span {
    color: inherit !important;
}

body.postid-9284 .single-data table td {
    min-height: 52px;
    padding: 15px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--res-line) !important;
    color: var(--res-text);
    font-size: 16px;
    line-height: 1.75;
    text-align: right !important;
    vertical-align: middle;
}

body.postid-9284 .single-data table tr:last-child td {
    border-bottom: 0 !important;
}

body.postid-9284 .single-data table td:first-child {
    width: 34%;
    color: var(--res-ink);
}

/* Editor paragraphs used as checklist items. */
body.postid-9284 .single-data p.isSelectedEnd ~ p.isSelectedEnd {
    position: relative;
    max-width: none;
    margin-bottom: var(--res-space-3);
    padding: 14px 48px 14px 18px;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-sm);
    background: var(--res-soft);
}

body.postid-9284 .single-data p.isSelectedEnd ~ p.isSelectedEnd::before {
    content: "✓";
    position: absolute;
    top: 14px;
    right: 17px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--res-green);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

/* Normalize the inline statistics and language chips from the editor. */
body.postid-9284 .single-data > div[style*="max-width"] {
    max-width: none !important;
    margin: var(--res-space-8) 0 var(--res-space-16) !important;
    padding: 0 !important;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:first-child {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--res-space-4) !important;
    margin-bottom: var(--res-space-8) !important;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:first-child > div {
    width: auto !important;
    min-height: 138px;
    padding: 24px 18px !important;
    border: 1px solid var(--res-line) !important;
    border-top: 4px solid var(--res-orange) !important;
    border-radius: var(--res-radius-md) !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(24, 53, 45, 0.06) !important;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:first-child > div > div:first-child {
    color: var(--res-green) !important;
    font-size: clamp(27px, 3vw, 32px) !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:first-child > div > div:last-child {
    margin-top: var(--res-space-2);
    color: var(--res-ink) !important;
    font-size: 15px;
    line-height: 1.6;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:nth-child(2) {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--res-space-3) !important;
}

body.postid-9284 .single-data > div[style*="max-width"] > div:nth-child(2) > div {
    padding: 10px 18px !important;
    border: 1px solid var(--res-line) !important;
    border-radius: 999px !important;
    background: var(--res-soft) !important;
    color: var(--res-ink);
    font-size: 15px;
    line-height: 1.5;
}

/* Services list. */
body.postid-9284 .single-data ol,
body.postid-9284 .single-data ul {
    margin: var(--res-space-6) 0 var(--res-space-12);
    padding: 0;
    list-style: none;
    counter-reset: residence-services;
}

body.postid-9284 .single-data ol li,
body.postid-9284 .single-data ul li {
    position: relative;
    min-height: 52px;
    margin-bottom: var(--res-space-3);
    padding: 13px 52px 13px 18px;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-sm);
    background: #fff;
    color: var(--res-text);
    line-height: 1.7;
}

body.postid-9284 .single-data ol li {
    counter-increment: residence-services;
}

body.postid-9284 .single-data ol li::before {
    content: counter(residence-services);
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--res-green);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

/* FAQ entries supplied as headings and paragraphs by the editor. */
body.postid-9284 .single-data h3:last-of-type {
    margin-bottom: var(--res-space-8);
    text-align: center;
}

body.postid-9284 .single-data h4 + p,
body.postid-9284 .single-data p:has(> span > strong) + p {
    max-width: none;
    margin: 0 0 var(--res-space-4);
    padding: 18px 22px;
    border: 1px solid var(--res-line);
    border-top: 0;
    border-radius: 0 0 var(--res-radius-md) var(--res-radius-md);
    background: #fff;
}

body.postid-9284 .single-data p:has(> span > strong) {
    max-width: none;
    margin: var(--res-space-6) 0 0;
    padding: 18px 22px;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-md) var(--res-radius-md) 0 0;
    background: var(--res-soft);
    color: var(--res-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

body.postid-9284 .single-data p:has(> span > strong) span,
body.postid-9284 .single-data p:has(> span > strong) strong {
    color: inherit !important;
}

@media (max-width: 991px) {
    body.postid-9284 .single-wrap > .container {
        width: calc(100% - 64px);
    }

    body.postid-9284 .post_title {
        margin-top: var(--res-space-12);
        font-size: clamp(34px, 5vw, 42px);
    }

    body.postid-9284 .single-data > div[style*="max-width"] > div:first-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.postid-9284 .single-wrap > .container {
        width: calc(100% - 36px);
    }

    body.postid-9284 .post_title {
        margin: var(--res-space-8) auto var(--res-space-6);
        font-size: clamp(30px, 9vw, 36px);
        line-height: 1.38;
    }

    body.postid-9284 .single-img {
        margin-bottom: var(--res-space-12);
        padding: 4px;
        border-radius: var(--res-radius-md);
    }

    body.postid-9284 .single-img img {
        height: auto !important;
        max-height: none !important;
        border-radius: calc(var(--res-radius-md) - 3px);
        object-fit: contain !important;
    }

    body.postid-9284 .single-data {
        padding-bottom: var(--res-space-16);
        font-size: 16px;
        line-height: 1.9;
    }

    body.postid-9284 .single-data h2 {
        margin-top: var(--res-space-16);
        font-size: clamp(24px, 7vw, 28px);
    }

    body.postid-9284 .single-data h3 {
        margin-top: var(--res-space-12);
        font-size: 20px;
    }

    body.postid-9284 .single-data > h2:first-child + p {
        padding: 18px;
        font-size: 17px;
    }

    body.postid-9284 .single-data hr {
        margin: var(--res-space-12) auto;
    }

    body.postid-9284 .single-data > div[style*="max-width"] > div:first-child {
        grid-template-columns: minmax(0, 1fr);
    }

    body.postid-9284 .single-data > div[style*="max-width"] > div:first-child > div {
        min-height: 0;
    }

    body.postid-9284 .single-data h4,
    body.postid-9284 .single-data p:has(> span > strong) {
        padding: 16px 17px;
        font-size: 17px;
    }

    body.postid-9284 .single-data h4 + p,
    body.postid-9284 .single-data p:has(> span > strong) + p {
        padding: 16px 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.postid-9284 .single-data *,
    body.postid-9284 .single-data *::before,
    body.postid-9284 .single-data *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Post 9284 layout balance: remove legacy Bootstrap offsets and excessive gaps. */
body.postid-9284 .single-wrap > .container {
    display: block;
    width: min(calc(100% - 48px), var(--res-container)) !important;
    max-width: var(--res-container) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box;
}

body.postid-9284 .single-wrap > .container > .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.postid-9284 .single-wrap > .container > .row > [class*="col-"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.postid-9284 .single-data {
    display: block;
    float: none !important;
    clear: both;
    right: auto !important;
    left: auto !important;
    width: min(100%, 980px) !important;
    max-width: 980px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: 0 0 64px !important;
    box-sizing: border-box;
}

body.postid-9284 .single-data > p {
    width: 100%;
    max-width: 82ch;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 16px !important;
    text-align: right !important;
}

body.postid-9284 .single-data > h2,
body.postid-9284 .single-data > h3,
body.postid-9284 .single-data > h4 {
    clear: both;
}

body.postid-9284 .single-data > h2 {
    margin-top: 56px !important;
    margin-bottom: 24px !important;
}

body.postid-9284 .single-data > h2:first-child {
    margin-top: 0 !important;
}

body.postid-9284 .single-data > h3 {
    margin-top: 40px !important;
    margin-bottom: 16px !important;
}

body.postid-9284 .single-data > h4 {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
}

body.postid-9284 .single-data > hr {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

body.postid-9284 .single-data > h2:first-child + p {
    width: min(100%, 780px);
    margin-right: auto !important;
    margin-left: auto !important;
    margin-bottom: 32px !important;
}

body.postid-9284 .single-data > div,
body.postid-9284 .single-data > ol,
body.postid-9284 .single-data > ul {
    clear: both;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991px) {
    body.postid-9284 .single-wrap > .container {
        width: calc(100% - 64px) !important;
    }

    body.postid-9284 .single-data {
        width: 100% !important;
        max-width: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 767px) {
    body.postid-9284 .single-wrap > .container {
        width: 100% !important;
        max-width: none !important;
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    body.postid-9284 .single-data {
        width: 100% !important;
        max-width: none !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 0 48px !important;
    }

    body.postid-9284 .single-data > p {
        width: 100%;
        max-width: none;
        margin-bottom: 14px !important;
    }

    body.postid-9284 .single-data > h2 {
        margin-top: 44px !important;
        margin-bottom: 20px !important;
    }

    body.postid-9284 .single-data > h3 {
        margin-top: 32px !important;
        margin-bottom: 14px !important;
    }

    body.postid-9284 .single-data > hr {
        margin-top: 36px !important;
        margin-bottom: 36px !important;
    }

    body.postid-9284 .single-data > h2:first-child + p {
        margin-bottom: 24px !important;
    }
}

/* Post 9284 semantic FAQ accordion. */
body.postid-9284 .residence-faq {
    width: min(100%, 860px);
    margin: 64px auto 0;
}

body.postid-9284 .residence-faq > h2 {
    margin: 0 auto 32px !important;
    text-align: center;
}

body.postid-9284 .residence-faq__item {
    margin: 0 0 14px;
    overflow: hidden;
    border: 1px solid var(--res-line);
    border-radius: var(--res-radius-md);
    background: #fff;
    box-shadow: 0 4px 14px rgba(24, 53, 45, 0.05);
}

body.postid-9284 .residence-faq__item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 22px 16px 70px;
    color: var(--res-ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
    text-align: right;
    list-style: none;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease;
}

body.postid-9284 .residence-faq__item summary::-webkit-details-marker {
    display: none;
}

body.postid-9284 .residence-faq__item summary::after {
    content: "+";
    position: absolute;
    left: 20px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf3f0;
    color: var(--res-green);
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

body.postid-9284 .residence-faq__item[open] summary {
    border-bottom: 1px solid var(--res-line);
    background: var(--res-soft);
    color: var(--res-orange);
}

body.postid-9284 .residence-faq__item[open] summary::after {
    content: "−";
    background: var(--res-green);
    color: #fff;
}

body.postid-9284 .residence-faq__item summary:hover {
    background: var(--res-soft);
}

body.postid-9284 .residence-faq__item summary:focus-visible {
    outline: 3px solid rgba(237, 151, 0, 0.3);
    outline-offset: -4px;
}

body.postid-9284 .residence-faq__answer {
    padding: 18px 22px 20px;
}

body.postid-9284 .residence-faq__answer p {
    width: 100%;
    max-width: none;
    margin: 0 !important;
    color: var(--res-text);
    font-size: 16px;
    line-height: 1.95;
    text-align: right !important;
}

@media (max-width: 767px) {
    body.postid-9284 .residence-faq {
        width: 100%;
        margin-top: 44px;
    }

    body.postid-9284 .residence-faq > h2 {
        margin-bottom: 24px !important;
    }

    body.postid-9284 .residence-faq__item {
        margin-bottom: 10px;
    }

    body.postid-9284 .residence-faq__item summary {
        min-height: 58px;
        padding: 14px 16px 14px 58px;
        font-size: 16px;
        line-height: 1.7;
    }

    body.postid-9284 .residence-faq__item summary::after {
        left: 14px;
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    body.postid-9284 .residence-faq__answer {
        padding: 15px 16px 18px;
    }

    body.postid-9284 .residence-faq__answer p {
        font-size: 15px;
        line-height: 1.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.postid-9284 .residence-faq__item summary {
        transition: none;
    }
}

/* Homepage pricing table redesign. */
body.home .pricing_section {
    position: relative;
    clear: both;
    padding: 80px 0;
    overflow: hidden;
    background: #f8faf9;
    direction: rtl;
}

body.home .pricing_section::before {
    content: "";
    position: absolute;
    top: -90px;
    left: -90px;
    width: 230px;
    height: 230px;
    border: 36px solid rgba(237, 151, 0, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

body.home .pricing_section > .container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 48px), 1200px);
    padding: 0;
}

body.home .pricing_section .row {
    margin-right: 0;
    margin-left: 0;
}

body.home .pricing_section .g-head {
    margin-bottom: 40px;
    text-align: center;
}

body.home .pricing_section .g-head .newheading {
    display: inline-block;
    position: relative;
    margin: 0;
    padding-bottom: 16px;
    color: #253a34;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.4;
    text-wrap: balance;
}

body.home .pricing_section .g-head .newheading::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 0;
    width: 62px;
    height: 4px;
    border-radius: 6px;
    background: #ed9700;
    transform: translateX(50%);
}

body.home .pricing_section .col-md-12:has(> .services_pricing_table) {
    padding: 0;
    overflow-x: auto;
    border: 1px solid #eadfce;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(46, 42, 34, 0.07);
    -webkit-overflow-scrolling: touch;
}

body.home .pricing_section .services_pricing_table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    table-layout: fixed;
}

body.home .pricing_section .services_pricing_table th,
body.home .pricing_section .services_pricing_table td {
    border: 0;
    text-align: center;
    vertical-align: middle;
}
html[dir="rtl"] body.home .pricing_section .services_pricing_table th:first-child,
html[dir="rtl"] body.home .pricing_section .services_pricing_table td:first-child {
    text-align: right;
}

html[lang^="en"] body.home .pricing_section .services_pricing_table {
    direction: ltr;
}

html[lang^="en"] body.home .pricing_section .services_pricing_table th:first-child,
html[lang^="en"] body.home .pricing_section .services_pricing_table td:first-child {
    width: 42%;
    text-align: left;
    padding-left: 32px;
    padding-right: 22px;
}

html[lang^="en"] body.home .pricing_section .services_pricing_table th:nth-child(2),
html[lang^="en"] body.home .pricing_section .services_pricing_table td:nth-child(2) {
    width: 28%;
}

html[lang^="en"] body.home .pricing_section .services_pricing_table th:nth-child(3),
html[lang^="en"] body.home .pricing_section .services_pricing_table td:nth-child(3) {
    width: 30%;
}

body.home .pricing_section .services_pricing_table thead th {
    height: 60px;
    padding: 16px 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: #ed9700;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
}

body.home .pricing_section .services_pricing_table thead th:last-child {
    border-left: 0;
}

body.home .pricing_section .services_pricing_table tbody td {
    height: 58px;
    padding: 15px 22px;
    border-bottom: 1px solid #eee7dc;
    color: #44564f;
    font-size: 16px;
    line-height: 1.75;
    transition: background-color 180ms ease;
}

body.home .pricing_section .services_pricing_table tbody tr:nth-child(even) td {
    background: #fff9f0;
}

body.home .pricing_section .services_pricing_table tbody tr:hover td {
    background: #fff3df;
}

body.home .pricing_section .services_pricing_table tbody tr:last-child td {
    border-bottom: 0;
}

body.home .pricing_section .services_pricing_table tbody td:first-child {
    color: #253a34;
    font-weight: 700;
}

body.home .pricing_section .services_pricing_table tbody td:nth-child(2) {
    color: #c97900;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

body.home .pricing_section .services_pricing_table tbody td:nth-child(3) {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 991px) {
    body.home .pricing_section {
        padding: 64px 0;
    }

    body.home .pricing_section > .container {
        width: calc(100% - 64px);
    }
}

@media (max-width: 767px) {
    body.home .pricing_section {
        padding: 56px 0;
    }

    body.home .pricing_section > .container {
        width: calc(100% - 36px);
    }

    body.home .pricing_section .g-head {
        margin-bottom: 28px;
    }

    body.home .pricing_section .g-head .newheading {
        font-size: 28px;
        line-height: 1.45;
    }

    body.home .pricing_section .col-md-12:has(> .services_pricing_table) {
        border-radius: 12px;
    }

    body.home .pricing_section .services_pricing_table {
        min-width: 680px;
    }

    body.home .pricing_section .services_pricing_table thead th {
        height: 54px;
        padding: 13px 16px;
        font-size: 15px;
    }

    body.home .pricing_section .services_pricing_table tbody td {
        height: 52px;
        padding: 13px 16px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .pricing_section .services_pricing_table tbody td {
        transition: none;
    }
}

/* Responsive floating contact actions: keep WhatsApp and phone visible. */
@media (max-width: 767px) {
    body {
        padding-bottom: 0;
    }

    body .fixed-social {
        position: fixed !important;
        top: auto !important;
        right: 50% !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        left: auto !important;
        z-index: 99999 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: auto !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(50%) !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        list-style: none !important;
    }

    body .fixed-social > li {
        display: block !important;
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .fixed-social > li:nth-child(n + 3) {
        display: none !important;
    }

    body .fixed-social > li > a {
        position: relative !important;
        z-index: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 3px solid #fff !important;
        border-radius: 50% !important;
        background: #ed9700 !important;
        color: #fff !important;
        font-size: 25px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        box-shadow: 0 8px 22px rgba(31, 45, 40, 0.24) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        touch-action: manipulation;
    }

    body .fixed-social > li:first-child > a {
        background: #25d366 !important;
    }

    body .fixed-social > li:nth-child(2) > a {
        background: #ed9700 !important;
    }

    body .fixed-social > li > a span {
        display: block !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 25px !important;
        line-height: 1 !important;
        pointer-events: none;
    }

    body .fixed-social > li > a:focus-visible {
        outline: 3px solid rgba(237, 151, 0, 0.38) !important;
        outline-offset: 3px;
    }
}

/* Keep the original circular contact buttons above all page sections. */
html body .fixed-social {
    position: fixed !important;
    z-index: 2147483647 !important;
    isolation: isolate !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

html body .fixed-social > li,
html body .fixed-social > li > a {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Same contact colors on desktop and mobile. */
html body .fixed-social > li:first-child > a {
    background: #25d366 !important;
}

html body .fixed-social > li:nth-child(2) > a {
    background: #25d366 !important;
}

@media (min-width: 768px) {
    html body .fixed-social {
        top: auto !important;
        right: auto !important;
        bottom: 20px !important;
        left: 30px !important;
        display: block !important;
        width: 50px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateZ(0) !important;
        background: transparent !important;
    }

    html body .fixed-social > li {
        display: block !important;
        width: 50px !important;
        height: 50px !important;
        margin: 15px 0 !important;
        padding: 0 !important;
    }

    html body .fixed-social > li > a {
        display: flex !important;
        width: 50px !important;
        min-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        margin: 0 !important;
        border-radius: 50% !important;
    }
}

@media (max-width: 380px) {
    html body .fixed-social {
        bottom: calc(9px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        height: 52px !important;
        gap: 10px !important;
    }

    html body .fixed-social > li,
    html body .fixed-social > li > a {
        width: 52px !important;
        min-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        border-radius: 50% !important;
    }
}

/* Responsive navigation and dropdowns. */
@media (max-width: 991px) {
    html body .mob-menu {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 68px 18px 110px !important;
        background: rgba(15, 20, 24, .96) !important;
        backdrop-filter: blur(8px);
    }

    html body .mob-menu .close-mob-menu {
        position: fixed !important;
        top: 18px !important;
        right: 18px !important;
        z-index: 3 !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, .16) !important;
        border-radius: 50% !important;
        background: #ed9700 !important;
        color: #fff !important;
    }

    html body .mob-menu .inner-v {
        top: auto !important;
        width: min(100%, 420px) !important;
        margin: 0 auto !important;
        transform: none !important;
    }

    html body .mob-menu .nav-menu > ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .mob-menu .nav-menu > ul > li {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, .11) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, .055) !important;
    }

    html body .mob-menu .nav-menu > ul > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-height: 50px !important;
        padding: 12px 18px !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.6 !important;
        text-align: right !important;
    }

    html body .mob-menu .nav-menu > ul > li.menu-item-has-children > a {
        padding-left: 54px !important;
    }

    html body .mob-menu li.menu-item-has-children > a::after {
        content: "" !important;
        position: absolute !important;
        top: 50% !important;
        left: 16px !important;
        display: block !important;
        width: 28px !important;
        height: 28px !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, .24) !important;
        border-radius: 50% !important;
        background-color: rgba(255, 255, 255, .08) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23ed9700' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: 14px 14px !important;
        box-sizing: border-box !important;
        font-size: 0 !important;
        line-height: 0 !important;
        transform: translateY(-50%) !important;
        transition: transform .2s ease, background-color .2s ease !important;
    }

    html body .mob-menu .menu-item-has-children > .sub-menu {
        position: static !important;
        right: auto !important;
        left: auto !important;
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-height: 0 !important;
        margin: 0 12px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: rgba(0, 0, 0, .22) !important;
        box-shadow: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: none !important;
        transition: max-height .22s ease, opacity .18s ease, padding .22s ease, margin .22s ease !important;
    }

    html body .mob-menu .menu-item-has-children:hover > .sub-menu,
    html body .mob-menu .menu-item-has-children:focus-within > .sub-menu,
    html body .mob-menu .menu-item-has-children > .sub-menu.active {
        max-height: 720px !important;
        margin-bottom: 12px !important;
        padding: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body .mob-menu .menu-item-has-children:hover > a::after,
    html body .mob-menu .menu-item-has-children:focus-within > a::after,
    html body .mob-menu .menu-item-has-children > .sub-menu.active + a::after {
        background-color: rgba(255, 255, 255, .12) !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }

    html body .mob-menu .sub-menu > li {
        display: block !important;
        margin: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
        border-radius: 0 !important;
    }

    html body .mob-menu .sub-menu > li:last-child {
        border-bottom: 0 !important;
    }

    html body .mob-menu .sub-menu > li > a {
        display: block !important;
        padding: 11px 12px !important;
        background: transparent !important;
        color: rgba(255, 255, 255, .9) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.7 !important;
        text-align: right !important;
    }

    html body .mob-menu .sub-menu > li > a:hover,
    html body .mob-menu .sub-menu > li > a:focus {
        border-radius: 7px !important;
        background: #ed9700 !important;
        color: #fff !important;
    }

    html body .mob-menu .mob-social {
        margin-top: 24px !important;
    }
}

/* Stack floating WhatsApp and phone actions on the right on all screens. */
html body .fixed-social {
    position: fixed !important;
    top: auto !important;
    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    left: auto !important;
    z-index: 2147483647 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    width: 56px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate3d(0, 0, 0) !important;
    background: transparent !important;
    overflow: visible !important;
}

html body .fixed-social > li {
    display: block !important;
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .fixed-social > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
}

@media (max-width: 767px) {
    html body .fixed-social {
               /* نقل الأيقونات إلى يسار الشاشة */
        left: 12px !important;
        right: auto !important;

        /* وضع المجموعة في منتصف الشاشة عموديًا */
        top: 80% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;

        /* الحفاظ على ترتيب الأيقونات رأسيًا */
        display: flex !important;
        flex-direction: column !important;
        gap: 13px !important;

        width: 52px !important;
        z-index: 9999 !important;

    }

    html body .fixed-social > li,
    html body .fixed-social > li > a {
        flex-basis: 52px !important;
        width: 52px !important;
        min-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
    }
}

/* Normalize contact-side action sizes, including Get Directions. */
@media (max-width: 767px) {
    html body .contact-side .contact-box .down {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    html body .contact-side .contact-box .down > i {
        display: flex !important;
        flex: 0 0 40px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        border-radius: 50% !important;
        line-height: 1 !important;
    }

    html body .contact-side .contact-box .down > .box-btn {
        display: flex !important;
        flex: 0 0 180px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        overflow: hidden !important;
        border-radius: 999px !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
    }

    html body .contact-side .contact-box.dark-blue .down > .box-btn {
        font-size: 14px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 340px) {
    html body .contact-side .contact-box .down > .box-btn {
        flex-basis: 164px !important;
        width: 164px !important;
        min-width: 164px !important;
        max-width: 164px !important;
        font-size: 14px !important;
    }
}
.timeline-video {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 30px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box;
}

.custom-video {
    position: relative !important;
    display: block !important;

    width: 1200px !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;

    margin: 0 auto !important;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    direction: ltr;
}

.custom-video video {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    background-color: #fff;
    cursor: pointer;
}

/* زر التشغيل */

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 82px;
    height: 82px;
    padding: 0;

    transform: translate(-50%, -50%);
    border: 3px solid #fff;
    border-radius: 50%;

    background-color: rgba(245, 154, 0, 0.95);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 0 0 9px rgba(255, 255, 255, 0.2);

    cursor: pointer;
    transition: 0.25s ease;
}

.video-play-button span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;

    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 22px solid #fff;
}

.video-play-button:hover {
    background-color: #e88f00;
    transform: translate(-50%, -50%) scale(1.08);
}

/* إخفاء الزر أثناء التشغيل */

.custom-video.is-playing .video-play-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@media (max-width: 767px) {
    .timeline-video {
        margin: 20px auto !important;
        padding: 0 8px !important;
    }

    .custom-video {
        width: 100% !important;
        aspect-ratio: 16 / 9;
        border-radius: 5px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
        border-width: 2px;
        box-shadow:
            0 5px 18px rgba(0, 0, 0, 0.22),
            0 0 0 6px rgba(255, 255, 255, 0.2);
    }

    .video-play-button span {
        margin-left: 5px;
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 17px;
    }
}

/* Mobile social media actions. */
@media (max-width: 991px) {
    html body .mob-menu .mob-social {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 26px auto 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    html body .mob-menu .mob-social > li {
        display: block !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    html body .mob-menu .mob-social > li::before,
    html body .mob-menu .mob-social > li::after {
        display: none !important;
        content: none !important;
    }

    html body .mob-menu .mob-social > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(255, 255, 255, .18) !important;
        border-radius: 50% !important;
        color: #fff !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .2) !important;
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
    }

    html body .mob-menu .mob-social > li:nth-child(1) > a {
        background: #1877f2 !important;
    }

    html body .mob-menu .mob-social > li:nth-child(2) > a {
        background: #1da1f2 !important;
    }

    html body .mob-menu .mob-social > li:nth-child(3) > a {
        background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important;
    }

    html body .mob-menu .mob-social > li:nth-child(4) > a {
        background: #0a66c2 !important;
    }

    html body .mob-menu .mob-social > li > a:hover,
    html body .mob-menu .mob-social > li > a:focus-visible {
        transform: translateY(-3px) !important;
        filter: brightness(1.08) !important;
        box-shadow: 0 11px 24px rgba(0, 0, 0, .28) !important;
        outline: 2px solid rgba(237, 151, 0, .65) !important;
        outline-offset: 3px !important;
    }

    html body .mob-menu .mob-social > li > a > i {
        display: block !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 19px !important;
        line-height: 1 !important;
    }
}


/* Replace the legacy Twitter bird with the current X mark. */
@media (max-width: 991px) {
    html body .mob-menu .mob-social i.icon-twitter::before {
        content: "" !important;
        display: block !important;
        width: 18px !important;
        height: 18px !important;
        background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
        font-family: initial !important;
    }
}


/* Mobile bottom contact pills inspired by the supplied reference. */
@media (max-width: 767px) {
    html body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    }

    html body .fixed-social {
        position: fixed !important;
        inset: auto 12px calc(10px + env(safe-area-inset-bottom)) 12px !important;
        z-index: 2147483647 !important;
        display: flex !important;
        flex-direction: row !important;
        direction: rtl !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: auto !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate3d(0, 0, 0) !important;
        overflow: visible !important;
        background: transparent !important;
        isolation: isolate !important;
    }

    html body .fixed-social > li {
        display: block !important;
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 220px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .fixed-social > li > a {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        border: 2px solid rgba(255, 255, 255, .92) !important;
        border-radius: 16px !important;
        background: #25d366 !important;
        color: #fff !important;
        box-sizing: border-box !important;
        box-shadow: 0 10px 26px rgba(20, 70, 50, .24) !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
    }

    html body .fixed-social > li > a::after {
        display: block !important;
        color: #fff !important;
        font-family: inherit !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    html body .fixed-social > li:first-child > a::after {
        content: "واتساب" !important;
    }

    html body .fixed-social > li:nth-child(2) > a::after {
        content: "اتصال" !important;
    }

    html body .fixed-social > li > a span {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: 24px !important;
        line-height: 1 !important;
    }

    html body .fixed-social > li > a:hover,
    html body .fixed-social > li > a:focus-visible,
    html body .fixed-social > li > a:active {
        transform: translateY(-2px) !important;
        filter: brightness(1.04) !important;
        box-shadow: 0 13px 30px rgba(20, 70, 50, .3) !important;
    }

    html body .fixed-social > li > a:focus-visible {
        outline: 3px solid rgba(237, 151, 0, .5) !important;
        outline-offset: 2px !important;
    }
}

@media (max-width: 360px) {
    html body .fixed-social {
        inset-inline: 8px !important;
        gap: 8px !important;
    }

    html body .fixed-social > li > a {
        padding-inline: 10px !important;
        border-radius: 14px !important;
    }

    html body .fixed-social > li > a::after {
        font-size: 14px !important;
    }

    html body .fixed-social > li > a span {
        font-size: 22px !important;
    }
}


/* Make the mobile WhatsApp pill visually identical to the call pill. */
@media (max-width: 767px) {
    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn {
        width: 100% !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        border: 2px solid rgba(255, 255, 255, .92) !important;
        border-radius: 16px !important;
        background: #25d366 !important;
        box-shadow: 0 10px 26px rgba(20, 70, 50, .24) !important;
        animation: none !important;
        transform: none !important;
        overflow: hidden !important;
    }

    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn::before {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        animation: none !important;
    }

    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn::after {
        position: static !important;
        width: auto !important;
        height: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        animation: none !important;
        transform: none !important;
    }

    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn:hover,
    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn:focus-visible,
    html body .fixed-social > li:first-child > a.whatsapp_fixed_btn:active {
        transform: translateY(-2px) !important;
        filter: brightness(1.04) !important;
        box-shadow: 0 13px 30px rgba(20, 70, 50, .3) !important;
    }
}


/* Final equal sizing for the mobile WhatsApp and call pills. */
@media (max-width: 767px) {
    html body .fixed-social {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 10px !important;
        height: 56px !important;
    }

    html body .fixed-social > li,
    html body .fixed-social > li:first-child,
    html body .fixed-social > li:nth-child(2) {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .fixed-social > li > a,
    html body .fixed-social > li:first-child > a,
    html body .fixed-social > li:nth-child(2) > a {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        margin: 0 !important;
        padding: 0 14px !important;
        border: 2px solid rgba(255, 255, 255, .92) !important;
        border-radius: 16px !important;
        background-color: #25d366 !important;
        box-sizing: border-box !important;
        box-shadow: 0 10px 26px rgba(20, 70, 50, .24) !important;
        animation: none !important;
        opacity: 1 !important;
        overflow: hidden !important;
    }

    html body .fixed-social > li > a::before {
        content: none !important;
        display: none !important;
        animation: none !important;
    }

    html body .fixed-social > li > a::after {
        position: static !important;
        display: block !important;
        flex: 0 0 auto !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        animation: none !important;
        transform: none !important;
    }

    html body .fixed-social > li > a > span {
        display: flex !important;
        flex: 0 0 24px !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 360px) {
    html body .fixed-social {
        gap: 8px !important;
    }

    html body .fixed-social > li > a {
        padding-inline: 9px !important;
    }

    html body .fixed-social > li > a::after {
        font-size: 14px !important;
    }
}


/* Keep contextual links inside the homepage About copy inline, not button-like. */
html body.home #about-us .g-body > p a {
    display: inline !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #c96f00 !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    text-align: inherit !important;
    white-space: normal !important;
    vertical-align: baseline !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(237, 151, 0, .48) !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    transform: none !important;
    transition: color .18s ease, text-decoration-color .18s ease !important;
}

html body.home #about-us .g-body > p a::before,
html body.home #about-us .g-body > p a::after {
    content: none !important;
    display: none !important;
}

html body.home #about-us .g-body > p a:hover,
html body.home #about-us .g-body > p a:focus-visible {
    background: transparent !important;
    color: #ed9700 !important;
    box-shadow: none !important;
    text-decoration-color: #ed9700 !important;
    transform: none !important;
}

html body.home #about-us .g-body > p a:focus-visible {
    outline: 2px solid rgba(237, 151, 0, .35) !important;
    outline-offset: 3px !important;
    border-radius: 2px !important;
}


/* =========================================================
   Modern bilingual footer with Google Map
   ========================================================= */
html body .main-footer,
html body .main-footer[hidden] {
    display: none !important;
}

html body .aman-modern-footer {
    position: relative;
    z-index: 2;
    clear: both;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .045) 0 55px, transparent 56px),
        radial-gradient(circle at 96% 10%, rgba(237, 151, 0, .055) 0 90px, transparent 91px),
        linear-gradient(135deg, #202322 0%, #171918 48%, #252725 100%);
    color: rgba(255, 255, 255, .88);
    font-family: inherit;
}

html body .aman-modern-footer::before,
html body .aman-modern-footer::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 260px;
    height: 260px;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(30deg, transparent 46%, rgba(255,255,255,.18) 47% 49%, transparent 50%),
        linear-gradient(150deg, transparent 46%, rgba(255,255,255,.12) 47% 49%, transparent 50%);
    background-size: 58px 100px;
}

html body .aman-modern-footer::before {
    top: -70px;
    inset-inline-start: -80px;
}

html body .aman-modern-footer::after {
    top: -100px;
    inset-inline-end: -70px;
    transform: rotate(180deg);
}

html body .aman-footer-main {
    position: relative;
    z-index: 1;
    padding: 76px 28px 64px;
}

html body .aman-footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.05fr) minmax(210px, .9fr) minmax(250px, 1.15fr) minmax(300px, 1.35fr);
    gap: clamp(30px, 4vw, 72px);
    width: min(100%, 1500px);
    margin: 0 auto;
    align-items: start;
}

html body .aman-footer-column {
    min-width: 0;
    text-align: start;
}

html body .aman-footer-column h2 {
    position: relative;
    width: fit-content;
    margin: 0 0 28px;
    padding: 0 0 14px;
    color: #fff;
    font-size: clamp(20px, 1.35vw, 25px);
    font-weight: 800;
    line-height: 1.35;
}

html body .aman-footer-column h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: #ed9700;
}

html body .aman-footer-logo {
    display: inline-flex;
    align-items: center;
    width: min(100%, 230px);
    margin: 0 0 25px;
}

html body .aman-footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 74px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

html body .aman-footer-brand > p {
    max-width: 390px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 2;
}

html body .aman-footer-qr {
    display: block;
    width: 118px;
    height: 140px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}

html body .aman-footer-links,
html body .aman-footer-contact-list,
html body .aman-footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

html body .aman-footer-links > li {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

html body .aman-footer-links > li:last-child {
    border-bottom: 0;
}

html body .aman-footer-links > li > a {
    position: relative;
    display: block;
    padding: 13px 22px 13px 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

html body .aman-modern-footer[dir="rtl"] .aman-footer-links > li > a {
    padding: 13px 22px 13px 0;
}

html body .aman-modern-footer[dir="ltr"] .aman-footer-links > li > a {
    padding: 13px 0 13px 22px;
}

html body .aman-footer-links > li > a::before {
    content: "›";
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    color: #ed9700;
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
    transform: translateY(-52%);
}

html body .aman-modern-footer[dir="rtl"] .aman-footer-links > li > a::before {
    transform: translateY(-52%) rotate(180deg);
}

html body .aman-footer-links > li > a:hover,
html body .aman-footer-links > li > a:focus-visible {
    color: #ed9700;
    transform: translateX(var(--aman-footer-link-shift, 0));
}

html body .aman-modern-footer[dir="rtl"] .aman-footer-links > li > a:hover {
    --aman-footer-link-shift: -3px;
}

html body .aman-modern-footer[dir="ltr"] .aman-footer-links > li > a:hover {
    --aman-footer-link-shift: 3px;
}

html body .aman-footer-contact-list {
    display: grid;
    gap: 20px;
}

html body .aman-footer-contact-list > li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
}

html body .aman-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(237, 151, 0, .36);
    border-radius: 50%;
    background: rgba(237, 151, 0, .08);
    color: #ed9700;
    font-size: 16px;
    line-height: 1;
}

html body .aman-footer-contact-list a {
    align-self: center;
    min-width: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .18s ease;
}

html body .aman-footer-contact-list a:hover,
html body .aman-footer-contact-list a:focus-visible {
    color: #ed9700;
}

html body .aman-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

html body .aman-footer-social li {
    display: block;
    margin: 0;
}

html body .aman-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

html body .aman-footer-social a:hover,
html body .aman-footer-social a:focus-visible {
    border-color: #ed9700;
    background: #ed9700;
    transform: translateY(-3px);
}

html body .aman-footer-social i.icon-twitter::before {
    content: "𝕏";
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

html body .aman-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: #303331;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .27);
}

html body .aman-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
    filter: saturate(.82) contrast(1.03);
}

html body .aman-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 16px;
    border: 1px solid rgba(237, 151, 0, .4);
    border-radius: 999px;
    background: rgba(237, 151, 0, .08);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}

html body .aman-map-link:hover,
html body .aman-map-link:focus-visible {
    border-color: #ed9700;
    background: #ed9700;
    color: #fff;
}

html body .aman-map-link > span {
    color: #ed9700;
}

html body .aman-map-link:hover > span,
html body .aman-map-link:focus-visible > span {
    color: #fff;
}

html body .aman-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: rgba(0, 0, 0, .22);
}

html body .aman-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 22px 28px;
}

html body .aman-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.7;
}

html body .aman-footer-bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

html body .aman-footer-bottom nav a {
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    text-decoration: none;
    transition: color .18s ease;
}

html body .aman-footer-bottom nav a:hover,
html body .aman-footer-bottom nav a:focus-visible {
    color: #ed9700;
}

html body .aman-modern-footer a:focus-visible {
    outline: 2px solid rgba(237, 151, 0, .8);
    outline-offset: 3px;
}

@media (max-width: 1199px) {
    html body .aman-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 54px;
    }

    html body .aman-footer-map {
        grid-column: span 1;
    }

    html body .aman-map-frame {
        aspect-ratio: 1.55 / 1;
    }
}

@media (max-width: 767px) {
    html body .aman-footer-main {
        padding: 52px 18px 42px;
    }

    html body .aman-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
        width: min(100%, 520px);
    }

    html body .aman-footer-column {
        text-align: start;
    }

    html body .aman-footer-column h2 {
        margin-bottom: 22px;
        font-size: 21px;
    }

    html body .aman-footer-brand > p {
        max-width: none;
        font-size: 15px;
        line-height: 1.9;
    }

    html body .aman-footer-logo {
        width: 190px;
    }

    html body .aman-footer-qr {
        width: 105px;
        height: 126px;
    }

    html body .aman-footer-links > li > a {
        padding-block: 12px;
    }

    html body .aman-footer-contact-list {
        gap: 16px;
    }

    html body .aman-footer-contact-list a {
        font-size: 14px;
    }

    html body .aman-footer-social {
        margin-top: 24px;
    }

    html body .aman-map-frame {
        min-height: 260px;
        aspect-ratio: 1.2 / 1;
        border-radius: 14px;
    }

    html body .aman-map-frame iframe {
        min-height: 260px;
    }

    html body .aman-map-link {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    html body .aman-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 18px calc(108px + env(safe-area-inset-bottom));
    }

    html body .aman-footer-bottom nav {
        gap: 14px 20px;
    }
}

@media (max-width: 380px) {
    html body .aman-footer-main {
        padding-inline: 14px;
    }

    html body .aman-footer-grid {
        gap: 36px;
    }

    html body .aman-footer-column h2 {
        font-size: 19px;
    }

    html body .aman-map-frame,
    html body .aman-map-frame iframe {
        min-height: 230px;
    }
}


/* Footer spacing and alignment refinement. */
@media (min-width: 1200px) {
    html body .aman-footer-main {
        padding: 62px 34px 54px !important;
    }

    html body .aman-footer-grid {
        grid-template-columns: minmax(235px, 1.05fr) minmax(230px, .95fr) minmax(270px, 1.08fr) minmax(330px, 1.28fr) !important;
        gap: clamp(38px, 3.3vw, 58px) !important;
        width: min(100%, 1460px) !important;
        align-items: start !important;
    }

    html body .aman-footer-column h2 {
        margin-bottom: 24px !important;
    }

    html body .aman-footer-brand > p {
        max-width: 360px !important;
        margin-bottom: 20px !important;
        font-size: 15.5px !important;
        line-height: 1.95 !important;
    }

    html body .aman-footer-logo {
        margin-bottom: 20px !important;
    }

    html body .aman-footer-links > li > a {
        padding-block: 11px !important;
        font-size: 14.5px !important;
        line-height: 1.55 !important;
    }

    html body .aman-map-frame {
        min-height: 292px !important;
        aspect-ratio: 1.18 / 1 !important;
    }

    html body .aman-map-frame iframe {
        min-height: 292px !important;
    }
}

html body .aman-footer-contact-list {
    gap: 17px !important;
}

html body .aman-footer-contact-list > li {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
}

html body .aman-modern-footer[dir="rtl"] .aman-footer-contact-list > li {
    direction: rtl !important;
}

html body .aman-modern-footer[dir="ltr"] .aman-footer-contact-list > li {
    direction: ltr !important;
}

html body .aman-footer-contact-list > li > .aman-contact-icon {
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin-top: 1px !important;
}

html body .aman-footer-contact-list > li > a {
    display: inline-block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 48px) !important;
    margin: 0 !important;
    padding-top: 5px !important;
    color: rgba(255, 255, 255, .88) !important;
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    text-align: start !important;
    overflow-wrap: anywhere !important;
}

html body .aman-modern-footer[dir="rtl"] .aman-footer-contact-list > li > a[dir="ltr"] {
    direction: ltr !important;
    text-align: right !important;
    unicode-bidi: isolate !important;
}

html body .aman-footer-social {
    gap: 10px !important;
    margin-top: 25px !important;
}

html body .aman-footer-social a {
    width: 40px !important;
    height: 40px !important;
    font-size: 17px !important;
}

html body .aman-footer-qr {
    width: 108px !important;
    height: 130px !important;
    padding: 5px !important;
}

html body .aman-map-link {
    margin-top: 14px !important;
    padding: 9px 15px !important;
}

html body .aman-footer-bottom-inner {
    width: min(100%, 1460px) !important;
    padding-block: 19px !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    html body .aman-footer-main {
        padding: 58px 28px 50px !important;
    }

    html body .aman-footer-grid {
        gap: 44px 46px !important;
    }

    html body .aman-footer-contact-list > li > a {
        max-width: calc(100% - 48px) !important;
    }
}

@media (max-width: 767px) {
    html body .aman-footer-main {
        padding: 46px 18px 38px !important;
    }

    html body .aman-footer-grid {
        gap: 36px !important;
    }

    html body .aman-footer-column {
        padding-bottom: 0 !important;
    }

    html body .aman-footer-column h2 {
        margin-bottom: 19px !important;
        padding-bottom: 11px !important;
    }

    html body .aman-footer-brand > p {
        margin-bottom: 19px !important;
    }

    html body .aman-footer-contact-list {
        gap: 14px !important;
    }

    html body .aman-footer-contact-list > li > a {
        max-width: calc(100% - 48px) !important;
        padding-top: 5px !important;
        font-size: 14px !important;
    }

    html body .aman-map-frame {
        min-height: 245px !important;
    }

    html body .aman-map-frame iframe {
        min-height: 245px !important;
    }

    html body .aman-footer-bottom-inner {
        padding-top: 18px !important;
    }
}


/* Map column after removing the external map button. */
html body .aman-modern-footer .aman-map-link {
    display: none !important;
}

html body .aman-modern-footer .aman-footer-map {
    padding-bottom: 0 !important;
}

html body .aman-modern-footer .aman-map-frame {
    margin: 0 !important;
}


/* Touch-friendly footer link actions: visible without hover. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
    html body .aman-footer-links {
        display: grid !important;
        gap: 7px !important;
    }

    html body .aman-footer-links > li {
        overflow: hidden !important;
        border: 1px solid rgba(237, 151, 0, .14) !important;
        border-radius: 9px !important;
        background: rgba(237, 151, 0, .045) !important;
    }

    html body .aman-footer-links > li > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 46px !important;
        padding-block: 10px !important;
        padding-inline-start: 34px !important;
        padding-inline-end: 12px !important;
        box-sizing: border-box !important;
        color: rgba(255, 255, 255, .92) !important;
        transform: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    html body .aman-footer-links > li > a::before {
        inset-inline-start: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 18px !important;
        height: 24px !important;
        color: #ed9700 !important;
        opacity: 1 !important;
    }

    html body .aman-footer-links > li.current-menu-item,
    html body .aman-footer-links > li.current_page_item {
        border-color: rgba(237, 151, 0, .5) !important;
        background: rgba(237, 151, 0, .12) !important;
    }

    html body .aman-footer-links > li.current-menu-item > a,
    html body .aman-footer-links > li.current_page_item > a {
        color: #ed9700 !important;
    }

    html body .aman-footer-links > li > a:active,
    html body .aman-footer-links > li > a:focus-visible {
        background: #ed9700 !important;
        color: #fff !important;
        transform: none !important;
    }

    html body .aman-footer-links > li > a:active::before,
    html body .aman-footer-links > li > a:focus-visible::before {
        color: #fff !important;
    }
}


/* Ensure the corrected Google Map remains fully interactive. */
html body .aman-modern-footer .aman-map-frame {
    isolation: isolate !important;
}

html body .aman-modern-footer .aman-map-frame::before,
html body .aman-modern-footer .aman-map-frame::after {
    content: none !important;
    display: none !important;
    pointer-events: none !important;
}

html body .aman-modern-footer .aman-map-frame iframe {
    position: relative !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: pan-x pan-y pinch-zoom !important;
    user-select: auto !important;
}

/* English homepage about section — English-only layout and translation. */
html[lang^="en"] body.home #about-us {
    direction: ltr;
    padding: clamp(64px, 7vw, 104px) 0;
    text-align: left;
}

html[lang^="en"] body.home #about-us > .container {
    width: min(1180px, calc(100% - 40px));
}

html[lang^="en"] body.home #about-us > .container > .row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: center;
    gap: clamp(44px, 6vw, 88px);
    margin: 0;
}

html[lang^="en"] body.home #about-us .g-body,
html[lang^="en"] body.home #about-us .ab-img,
html[lang^="en"] body.home #about-us .g-head {
    float: none;
    width: 100%;
    padding: 0;
}

html[lang^="en"] body.home #about-us .g-body {
    grid-column: 1;
    color: #243a35;
}

html[lang^="en"] body.home #about-us .ab-img {
    grid-column: 2;
    grid-row: 1;
    max-width: 410px;
    margin: 0 auto;
}

html[lang^="en"] body.home #about-us .g-head {
    margin: 0 0 26px;
}

html[lang^="en"] body.home #about-us .g-head::before {
    content: "Over 40 years of experience";
    margin: 0 0 18px;
    border-color: rgba(237, 151, 0, .28);
    background: rgba(237, 151, 0, .09);
    color: #b86500;
    font-size: 13px;
    letter-spacing: .01em;
}

html[lang^="en"] body.home #about-us .g-head h2 {
    max-width: 760px;
    padding: 0 0 20px;
    color: #122f27;
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
    text-align: left;
    text-transform: none;
}

html[lang^="en"] body.home #about-us .g-head h2::after {
    right: auto;
    left: 0;
    width: 78px;
    height: 4px;
    background: #ed9700;
}

html[lang^="en"] body.home #about-us .g-body > h3 {
    max-width: 720px;
    margin: 0 0 18px;
    color: #bd6500;
    font-size: clamp(23px, 2.1vw, 30px);
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
}

html[lang^="en"] body.home #about-us .g-body > p {
    max-width: 740px;
    margin: 0;
    color: #455b55;
    font-size: 17px;
    line-height: 1.9;
    text-align: left;
    text-transform: none;
}

html[lang^="en"] body.home #about-us .g-body > p a {
    display: inline;
    color: #bd6500;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

html[lang^="en"] body.home #about-us blockquote:empty,
html[lang^="en"] body.home #about-us blockquote:has(> p:empty) {
    display: none;
}

html[lang^="en"] body.home #about-us .ab-img .i-img {
    position: relative;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, .92);
    border-radius: 28px;
    background: #ed7416;
    box-shadow: 0 24px 55px rgba(18, 47, 39, .16);
}

html[lang^="en"] body.home #about-us .ab-img .i-img::after {
    content: "CERTIFIED\A TRANSLATION";
    position: absolute;
    z-index: 2;
    inset: 0 0 24% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(145deg, #f47c18 0%, #e86b13 58%, #bd5615 100%);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.18;
    text-align: center;
    text-shadow: 0 3px 0 rgba(141, 58, 10, .2);
    white-space: pre-line;
    pointer-events: none;
}

html[lang^="en"] body.home #about-us .ab-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

@media (max-width: 991px) {
    html[lang^="en"] body.home #about-us {
        padding: 58px 0 68px;
    }

    html[lang^="en"] body.home #about-us > .container > .row {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    html[lang^="en"] body.home #about-us .g-body,
    html[lang^="en"] body.home #about-us .ab-img {
        grid-column: 1;
        grid-row: auto;
    }

    html[lang^="en"] body.home #about-us .ab-img {
        width: min(100%, 380px);
    }
}

@media (max-width: 600px) {
    html[lang^="en"] body.home #about-us {
        padding: 46px 0 56px;
    }

    html[lang^="en"] body.home #about-us > .container {
        width: min(100% - 28px, 1180px);
    }

    html[lang^="en"] body.home #about-us .g-head h2 {
        font-size: clamp(31px, 9vw, 39px);
        line-height: 1.16;
    }

    html[lang^="en"] body.home #about-us .g-body > h3 {
        font-size: 22px;
    }

    html[lang^="en"] body.home #about-us .g-body > p {
        font-size: 16px;
        line-height: 1.82;
    }

    html[lang^="en"] body.home #about-us .ab-img .i-img {
        border-width: 7px;
        border-radius: 22px;
    }

    html[lang^="en"] body.home #about-us .ab-img .i-img::after {
        padding: 20px;
        font-size: clamp(27px, 9vw, 36px);
    }
}

/* Contact cards: keep every language fully separate. */
html[lang^="en"] body.home #cib_contact {
    direction: ltr;
}

html[lang^="en"] body.home #cib_contact .g-head,
html[lang^="en"] body.home #cib_contact .card-info {
    text-align: center;
}

html[lang^="en"] body.home #cib_contact .row > .col-md-4:nth-child(1) .card-grid > a::after {
    content: "WhatsApp · +966 56 372 8173";
}

html[lang^="en"] body.home #cib_contact .row > .col-md-4:nth-child(2) .card-grid > a::after {
    content: "Call · +966 56 372 8173";
}

html[lang^="en"] body.home #cib_contact .row > .col-md-4:nth-child(3) .card-grid > a::after {
    content: "Open Branch Location";
    direction: ltr;
}

html[lang^="ar"] body.home #cib_contact {
    direction: rtl;
}

html[lang^="ar"] body.home #cib_contact .row > .col-md-4:nth-child(1) .card-grid > a::after {
    content: "واتساب · 966 56 372 8173+";
    direction: rtl;
}

html[lang^="ar"] body.home #cib_contact .row > .col-md-4:nth-child(2) .card-grid > a::after {
    content: "اتصل بنا · 966 56 372 8173+";
    direction: rtl;
}

html[lang^="ar"] body.home #cib_contact .row > .col-md-4:nth-child(3) .card-grid > a::after {
    content: "فتح موقع الفرع";
    direction: rtl;
}

/* Contact section identity colors — Arabic and English. Color changes only. */
body.home #cib_contact {
    --contact-ink: #242424;
    --contact-muted: #626262;
    --contact-green: #ed9700;
    --contact-gold: #c96f00;
    --contact-line: #eadfce;
    background:
        radial-gradient(circle at 10% 18%, rgba(237, 151, 0, .13) 0 2px, transparent 2.5px) 0 0 / 26px 26px,
        linear-gradient(145deg, #fff 0%, #fffaf2 100%);
}

body.home #cib_contact::after {
    border-color: rgba(237, 151, 0, .07);
}

body.home #cib_contact .g-head > p {
    border-color: rgba(237, 151, 0, .24);
    background: rgba(237, 151, 0, .09);
    color: #c96f00;
}

body.home #cib_contact .card {
    border-color: var(--contact-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(36, 36, 36, .08);
}

body.home #cib_contact .card-grid > a:hover .card,
body.home #cib_contact .card-grid > a:focus-visible .card {
    border-color: rgba(237, 151, 0, .58);
    box-shadow: 0 24px 56px rgba(201, 111, 0, .14);
}

body.home #cib_contact .card-icons {
    background: linear-gradient(145deg, #fff8e9, #fff1d8);
    box-shadow: inset 0 0 0 1px rgba(237, 151, 0, .18);
}

body.home #cib_contact .card-icons svg,
body.home #cib_contact .card-icons svg g {
    color: #ed9700;
}

body.home #cib_contact .card-icons svg path,
body.home #cib_contact .card-icons svg polyline,
body.home #cib_contact .card-icons svg line,
body.home #cib_contact .card-icons svg rect,
body.home #cib_contact .card-icons svg circle {
    stroke: #ed9700;
}

body.home #cib_contact .card-icons svg path[fill]:not([fill="none"]),
body.home #cib_contact .card-icons svg g[fill]:not([fill="none"]) {
    fill: #ed9700;
}

body.home #cib_contact .card-grid > a::after {
    background: #ed9700;
    color: #fff;
}

body.home #cib_contact .card-grid > a:hover::after,
body.home #cib_contact .card-grid > a:focus-visible::after {
    background: #c96f00;
    color: #fff;
}

/* About section background identity — Arabic/English, mobile/desktop. */
body.home #about-us {
    --about-line: #eadfce;
    background-color: #fffaf2;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(237, 151, 0, .12) 0 2px, transparent 2.5px),
        radial-gradient(circle at 86% 78%, rgba(237, 151, 0, .09) 0 2px, transparent 2.5px),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 250, 242, .96));
}

body.home #about-us::before,
body.home #about-us::after {
    border-color: rgba(237, 151, 0, .07);
}

body.home #about-us .g-head::before {
    border-color: rgba(237, 151, 0, .24);
    background: rgba(237, 151, 0, .09);
}

/* Branch cards identity colors — Arabic/English, mobile/desktop. */
body.home .why_us .why_us_item {
    border-color: #eadfce;
    background-color: #fff;
    box-shadow: 0 4px 0 rgba(237, 151, 0, .10), 0 12px 30px rgba(36, 36, 36, .06);
}

body.home .why_us .why_us_item > p a {
    border-color: #ed9700;
    background: #ed9700;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(237, 151, 0, .24);
}

body.home .why_us .why_us_item > p a:hover,
body.home .why_us .why_us_item > p a:focus-visible {
    border-color: #c96f00;
    background: #c96f00;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(201, 111, 0, .26);
}

body.home .why_us .why_us_item > p a:focus-visible {
    outline-color: rgba(237, 151, 0, .30);
}

/* Mobile navigation: deterministic tap-to-open/tap-to-close submenus. */
@media (max-width: 991px) {
    html body .mob-menu .menu-item-has-children:hover > .sub-menu:not(.active),
    html body .mob-menu .menu-item-has-children:focus-within > .sub-menu:not(.active) {
        max-height: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    html body .mob-menu .menu-item-has-children > .sub-menu.active {
        max-height: 720px !important;
        margin-bottom: 12px !important;
        padding: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body .mob-menu .menu-item-has-children > a[aria-expanded="false"]::after {
        transform: translateY(-50%) rotate(0deg) !important;
    }

    html body .mob-menu .menu-item-has-children.submenu-is-open > a::after,
    html body .mob-menu .menu-item-has-children > a[aria-expanded="true"]::after {
        background-color: rgba(255, 255, 255, .12) !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }
}
/* Keep the legacy theme footer hidden when the modern footer is present. */
html body .main-footer,
html body .main-footer[hidden] {
    display: none !important;
}

/* English about image: use the uploaded artwork without a CSS text overlay. */
html[lang^="en"] body.home #about-us .ab-img .i-img::after {
    content: none !important;
    display: none !important;
}

/* Homepage services: preserve the original card style while equalising rows. */
body.home #services > .container > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

body.home #services > .container > .row > .col-md-12 {
    flex: 0 0 100%;
}

body.home #services .item {
    display: flex;
    margin-bottom: 20px;
}

body.home #services .item .serv-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

body.home #services .item .img-block {
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
}

body.home #services .item .img-block img {
    display: block;
    width: 100%;
	height: 185px;
}

body.home #services .item h4 {
    display: -webkit-box;
    flex: 0 0 auto;
    min-height: 25px;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.home #services .item p {
    display: -webkit-box;
    flex: 1 1 auto;
    min-height: 80px;
    max-height: 80px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 991px) {
    body.home #services .item {
        width: 100%;
    }
}

@media (max-width: 500px) {
    body.home #services .item {
        margin-bottom: 16px;
        padding-inline: 10px;
    }

    body.home #services .item h4 {
        min-height: 25px;
    }

    body.home #services .item p {
        min-height: 80px;
        max-height: 80px;
    }
}

/* English service pages — complete LTR mirror without affecting Arabic. */
html[lang^="en"] body.single-services .main-content,
html[lang^="en"] body.single-services .single-outer,
html[lang^="en"] body.single-services .single-wrap,
html[lang^="en"] body.single-services .single-data {
    direction: ltr;
    text-align: left;
}

html[lang^="en"] body.single-services .single-wrap > .container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

html[lang^="en"] body.single-services .post_title,
html[lang^="en"] body.single-services .single-data :is(h1, h2, h3, h4, h5, h6, p, blockquote, figcaption, address, dt, dd),
html[lang^="en"] body.single-services .single-data [style*="text-align"] {
    direction: ltr !important;
    text-align: left !important;
}

html[lang^="en"] body.single-services .single-data {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    font-size: 17px;
    line-height: 1.85;
}

html[lang^="en"] body.single-services .single-data > * {
    max-width: 100%;
}

html[lang^="en"] body.single-services .single-data :is(ul, ol) {
    direction: ltr !important;
    margin: 0 0 24px;
    padding-right: 0 !important;
    padding-left: 1.45em !important;
    text-align: left !important;
}

html[lang^="en"] body.single-services .single-data li {
    direction: ltr !important;
    padding-right: 0 !important;
    padding-left: .25em;
    text-align: left !important;
}

html[lang^="en"] body.single-services .single-img {
    float: none;
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
}

html[lang^="en"] body.single-services .single-img > img,
html[lang^="en"] body.single-services .single-data img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

html[lang^="en"] body.single-services .single-data img.alignright,
html[lang^="en"] body.single-services .single-data .alignright {
    float: left;
    margin: 8px 24px 18px 0;
}

html[lang^="en"] body.single-services .single-data img.alignleft,
html[lang^="en"] body.single-services .single-data .alignleft {
    float: right;
    margin: 8px 0 18px 24px;
}

html[lang^="en"] body.single-services .single-data .aligncenter {
    display: block;
    float: none;
    margin-inline: auto;
}

html[lang^="en"] body.single-services .single-data table {
    direction: ltr !important;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 26px 0;
    overflow-x: auto;
    border-collapse: separate;
    border-spacing: 0;
    -webkit-overflow-scrolling: touch;
}

html[lang^="en"] body.single-services .single-data table :is(th, td) {
    direction: ltr !important;
    min-width: 150px;
    padding: 14px 16px;
    text-align: left !important;
    vertical-align: top;
}

html[lang^="en"] body.single-services .single-data table :is(th, td):first-child {
    min-width: 190px;
}

html[lang^="en"] body.single-services .single-data :is(.row, [class*="grid"], [class*="flex"]) {
    direction: ltr;
}

html[lang^="en"] body.single-services .single-data :is(i, svg, img) + :is(span, strong, a),
html[lang^="en"] body.single-services .single-data a {
    direction: ltr;
}

html[lang^="en"] body.single-services .single-data iframe,
html[lang^="en"] body.single-services .single-data video {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

@media (max-width: 767px) {
    html[lang^="en"] body.single-services .single-wrap > .container {
        width: min(100% - 22px, 1180px);
    }

    html[lang^="en"] body.single-services .post_title {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.2;
    }

    html[lang^="en"] body.single-services .single-data {
        font-size: 16px;
        line-height: 1.75;
    }

    html[lang^="en"] body.single-services .single-data img.alignright,
    html[lang^="en"] body.single-services .single-data img.alignleft,
    html[lang^="en"] body.single-services .single-data .alignright,
    html[lang^="en"] body.single-services .single-data .alignleft {
        display: block;
        float: none;
        margin: 16px auto;
    }

    html[lang^="en"] body.single-services .single-data table :is(th, td) {
        min-width: 135px;
        padding: 12px;
        font-size: 14px;
        line-height: 1.55;
    }
}

/* English medical-report service: mirror the Arabic design in LTR. */
html[lang^="en"] body.postid-9626 {
    direction: ltr;
}

html[lang^="en"] body.postid-9626 .post_title::before {
    content: "Certified Medical Translation";
}

html[lang^="en"] body.postid-9626 .single-data h2,
html[lang^="en"] body.postid-9626 .single-data h3 {
    padding-right: 0;
    padding-left: 22px;
    text-align: left !important;
}

html[lang^="en"] body.postid-9626 .single-data h2::before,
html[lang^="en"] body.postid-9626 .single-data h3::before {
    right: auto;
    left: 0;
}

html[lang^="en"] body.postid-9626 .single-data > h2:first-child {
    padding-inline: 36px;
    text-align: center !important;
}

html[lang^="en"] body.postid-9626 .single-data ul,
html[lang^="en"] body.postid-9626 .single-data ol {
    padding: 24px 24px 24px 28px !important;
}

html[lang^="en"] body.postid-9626 .single-data p:has(> strong:first-child)::after {
    right: auto;
    left: 0;
    border-radius: 20px 0 0 20px;
}

html[lang^="en"] body.postid-9626 .single-data table {
    display: table;
    margin: 0;
    border-collapse: collapse;
}

html[lang^="en"] body.postid-9626 .single-data :is(th, td) {
    text-align: left !important;
}

html[lang^="en"] body.postid-9626 .single-data h4,
html[lang^="en"] body.postid-9626 .single-data h4 + p {
    text-align: left !important;
}

@media (max-width: 767px) {
    html[lang^="en"] body.postid-9626 .single-data > h2:first-child {
        padding-inline: 20px;
    }

    html[lang^="en"] body.postid-9626 .single-data > div:has(> table) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    html[lang^="en"] body.postid-9626 .single-data table {
        min-width: 680px;
    }
}

/* English trademark-registration service: clean LTR mirror of the source page. */
html[lang^="en"] body.postid-9622 {
    direction: ltr;
}

html[lang^="en"] body.postid-9622 .post_title::before {
    content: "Trademark Registration";
}

html[lang^="en"] body.postid-9622 .single-data h2,
html[lang^="en"] body.postid-9622 .single-data h3 {
    padding-right: 0;
    padding-left: 22px;
    text-align: left !important;
}

html[lang^="en"] body.postid-9622 .single-data h2::before,
html[lang^="en"] body.postid-9622 .single-data h3::before {
    right: auto;
    left: 0;
}

html[lang^="en"] body.postid-9622 .single-data > h2:first-child {
    padding-inline: 36px;
    text-align: center !important;
}

html[lang^="en"] body.postid-9622 .single-data ul,
html[lang^="en"] body.postid-9622 .single-data ol {
    padding: 24px 24px 24px 28px !important;
}

html[lang^="en"] body.postid-9622 .single-data p:has(> strong:first-child)::after {
    right: auto;
    left: 0;
    border-radius: 20px 0 0 20px;
}

html[lang^="en"] body.postid-9622 .single-data h4,
html[lang^="en"] body.postid-9622 .single-data h4 + ul,
html[lang^="en"] body.postid-9622 .single-data h4 + p {
    text-align: left !important;
}

html[lang^="en"] body.postid-9622 .single-data > div[style*="display: flex"] {
    direction: ltr !important;
    align-items: stretch;
}

html[lang^="en"] body.postid-9622 .single-data > div[style*="display: flex"] > div {
    flex: 1 1 280px;
    width: auto !important;
    max-width: 360px;
}

html[lang^="en"] body.postid-9622 .single-data [style*="position: absolute"][style*="right: 20px"] {
    right: auto !important;
    left: 20px !important;
}

@media (max-width: 767px) {
    html[lang^="en"] body.postid-9622 .single-data > h2:first-child {
        padding-inline: 20px;
    }

    html[lang^="en"] body.postid-9622 .single-data > div[style*="display: flex"] > div {
        flex-basis: 100%;
        max-width: none;
    }
}

/* Homepage article cards: stable image-first presentation in Arabic and English. */
body.home section.articls .item {
    display: flex;
    margin-bottom: 28px;
}

body.home section.articls .project-item {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #EADFCE;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(85, 55, 18, 0.08);
    transform: translateY(0);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

body.home section.articls .project-item .item-img {
    position: relative;
    display: block !important;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    overflow: hidden;
    background: #FFFAF2;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.home section.articls .project-item .item-img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(237, 151, 0, 0) 52%, rgba(237, 151, 0, 0.18) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}

body.home section.articls .project-item .item-img > a {
    display: block;
    width: 100%;
    height: 100%;
}

body.home section.articls .project-item .item-img img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    transform: scale(1);
    transition: transform 250ms ease;
}

body.home section.articls .project-item .item-info {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100% !important;
    height: auto !important;
    min-height: 178px;
    padding: 20px 20px 22px;
    background: #FFFFFF !important;
    color: #122F27 !important;
    text-align: start;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.home section.articls .project-item .item-info > a {
    display: block;
    color: #122F27;
    text-decoration: none;
}

body.home section.articls .project-item .item-info h4 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    margin: 0 0 10px;
    color: #122F27;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
    transition: color 250ms ease;
}

body.home section.articls .project-item .item-info h4::after {
    content: "←";
    flex: 0 0 auto;
    margin-top: 2px;
    color: #ED9700;
    font-size: 19px;
    line-height: 1;
}

html[lang^="en"] body.home section.articls .project-item .item-info h4::after {
    content: "→";
}

body.home section.articls .project-item .item-info p {
    display: -webkit-box;
    min-height: 82px;
    margin: 0;
    overflow: hidden;
    color: #626B67 !important;
    font-size: 15px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

html[lang^="en"] body.home section.articls .project-item .item-info {
    direction: ltr;
}

@media (hover: hover) and (pointer: fine) {
    body.home section.articls .project-item:hover,
    body.home section.articls .project-item:focus-within {
        border-color: #EADFCE;
        box-shadow: 0 14px 32px rgba(85, 55, 18, 0.13);
        transform: none;
    }

    body.home section.articls .project-item:hover .item-img::after,
    body.home section.articls .project-item:focus-within .item-img::after {
        opacity: 1;
    }

    body.home section.articls .project-item:hover .item-img img,
    body.home section.articls .project-item:focus-within .item-img img {
        transform: scale(1.03);
    }

    body.home section.articls .project-item:hover .item-info h4,
    body.home section.articls .project-item:focus-within .item-info h4 {
        color: #ED9700;
    }
}

@media (max-width: 991px) {
    body.home section.articls .item {
        margin-bottom: 22px;
    }

    body.home section.articls .project-item .item-info {
        min-height: 0;
    }

    body.home section.articls .project-item .item-info h4,
    body.home section.articls .project-item .item-info p {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    body.home section.articls {
        padding-bottom: 48px;
    }

    body.home section.articls .item {
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    body.home section.articls .project-item {
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(85, 55, 18, 0.09);
    }

    body.home section.articls .project-item .item-img {
        aspect-ratio: 1 / 1;
        height: auto !important;
        background: #FFFAF2;
    }

    body.home section.articls .project-item .item-img img {
        width: 100%;
        height: 100% !important;
        object-fit: contain;
        object-position: center;
    }

    body.home section.articls .project-item .item-info {
        padding: 18px;
    }

    body.home section.articls .project-item .item-info h4 {
        font-size: 17px;
    }

    body.home section.articls .project-item .item-info p {
        font-size: 14px;
        line-height: 1.75;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home section.articls .project-item,
    body.home section.articls .project-item .item-img::after,
    body.home section.articls .project-item .item-img img,
    body.home section.articls .project-item .item-info h4 {
        transition: none;
    }

    body.home section.articls .project-item:hover,
    body.home section.articls .project-item:focus-within,
    body.home section.articls .project-item:hover .item-img img,
    body.home section.articls .project-item:focus-within .item-img img {
        transform: none;
    }
}