/*
Theme Name: Foot Clinic Figma Exact
Theme URI: https://cornflowerblue-parrot-760946.hostingersite.com/
Author: Foot Clinic
Description: WordPress theme package reconstructed from the approved Figma-driven Foot Clinic frontend.
Version: 1.5.57
Text Domain: foot-clinic-figma-exact
*/

html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; }

body.page-body .inner-global-header {
  position: sticky !important;
  top: var(--wp-admin--admin-bar--height, 0px) !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 127px !important;
  z-index: 1000 !important;
}

@media (min-width: 801px) {
  body.is-english .about-figma-copy {
    align-items: flex-start;
  }

  body.is-english .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2) {
    align-self: flex-start;
    grid-template-columns: 74px minmax(0, 1fr);
    column-gap: 18px;
    width: min(100%, 720px);
    height: auto;
    min-height: 112px;
  }

  body.is-english .about-figma-value > div {
    grid-column: 2;
  }

  body.is-english .about-figma-icon {
    grid-column: 1;
  }

  body.is-english .about-figma-button {
    align-self: flex-start;
    margin-top: 4px;
  }

  body.is-english .contact-detail {
    direction: ltr;
    text-align: left;
  }

  body.is-english .contact-detail > div {
    direction: ltr;
    text-align: left;
  }

  body.is-english .footer {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(180px, .75fr) minmax(280px, 1fr);
    align-items: start;
    gap: 72px;
    padding: 42px 80px 32px;
    direction: ltr;
  }

  body.is-english .footer-brand,
  body.is-english .footer-links,
  body.is-english .footer-contact {
    position: static;
    width: auto;
    margin: 0;
    text-align: left;
  }

  body.is-english .footer-brand img,
  body.is-english .footer-brand p {
    position: static;
    width: auto;
    margin: 0;
  }

  body.is-english .footer-brand img {
    width: 150px;
    height: auto;
    margin-bottom: 12px;
  }

  body.is-english .footer-brand p {
    max-width: 360px;
    line-height: 1.55;
  }

  body.is-english .footer-links h3,
  body.is-english .footer-contact h3 {
    margin-top: 0;
  }

  body.is-english .footer-links a {
    display: block;
    width: max-content;
  }

  body.is-english .footer-contact-body,
  body.is-english .footer-social,
  body.is-english .footer-contact-grid {
    align-items: flex-start;
  }
}

/* English mobile layout refinements. */
@media (max-width: 800px) {
  body.is-english .menu-toggle {
    left: auto !important;
    right: 16px !important;
  }

  body.is-english .language-toggle {
    left: auto !important;
    right: 76px !important;
  }

  body.is-english .hero h1 {
    width: min(100%, 390px) !important;
    font-size: 19px !important;
    line-height: 1.18 !important;
  }

  body.is-english .hero h1 br {
    display: block !important;
  }

  body.is-english .ar-banner .ar-copy,
  body.is-english .ar-banner .ar-copy h2,
  body.is-english .ar-banner .ar-copy p {
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    text-align: center !important;
  }

  body.is-english .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: 42px max-content !important;
    justify-content: center !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    width: min(100%, 380px) !important;
    min-height: 0 !important;
    margin-inline: auto !important;
  }

  body.is-english .about-figma-value > div {
    display: contents !important;
  }

  body.is-english .about-figma-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 42px !important;
    height: 42px !important;
  }

  body.is-english .about-figma-value .about-figma-icon img:first-child {
    inset: 0 !important;
    width: 42px !important;
    height: 42px !important;
  }

  body.is-english .about-figma-vision-glyph,
  body.is-english .about-figma-mission-glyph {
    left: 5px !important;
    top: 6px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body.is-english .about-figma-value h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body.is-english .about-figma-value p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: min(100%, 360px) !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  body.is-english .about-figma-value:nth-of-type(2) {
    margin-top: 18px !important;
  }

  body.is-english .about-figma-button {
    align-self: center !important;
    width: max-content !important;
    min-width: 220px !important;
    height: 48px !important;
    padding-inline: 18px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.is-english .blog-figma-card h3 {
    display: -webkit-box !important;
    min-height: 42px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body.is-english .contact-detail {
    grid-template-columns: minmax(0, 1fr) 28px max-content minmax(0, 1fr) !important;
  }

  body.is-english .contact-detail > img {
    grid-column: 2 !important;
    transform: none !important;
  }

  body.is-english .contact-detail strong {
    grid-column: 3 !important;
    margin-right: 0 !important;
    transform: none !important;
    direction: ltr !important;
  }

  body.is-english .footer-contact-grid,
  body.is-english .footer-social {
    gap: 6px !important;
    width: auto !important;
  }

  body.is-english .foot-contact-item,
  body.is-english .footer-social .foot-social-item {
    display: flex !important;
    flex: 0 0 36px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: max-content !important;
    height: 36px !important;
    direction: ltr !important;
  }

  body.is-english .foot-contact-item i,
  body.is-english .footer-social .foot-social-item i {
    position: relative !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
}

/* Blog section — Figma node 17:904. */
.blog.blog-figma {
  display: block;
  padding: 0;
  background: #428dd1;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.blog-figma-layout {
  position: absolute;
  left: 110px;
  top: 53px;
  display: flex;
  width: 1699px;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.blog-figma-heading {
  display: flex;
  width: 834px;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-align: center;
}

.blog-figma-heading > div {
  display: flex;
  width: 175px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.blog-figma-heading h2 {
  width: 175px;
  height: 61px;
  margin: 0;
  font-size: 47.175px;
  font-weight: 700;
  line-height: 57.4px;
  white-space: nowrap;
}

.blog-figma-heading img {
  display: block;
  width: 166.568px;
  height: 14.827px;
}

.blog-figma-heading > p {
  width: 834px;
  height: 100.216px;
  margin: 0;
  color: rgba(255, 255, 255, .85);
  font-size: 32.005px;
  font-weight: 400;
  line-height: 44.679px;
}

.blog-figma-grid {
  display: grid;
  width: 1699px;
  height: 650.08px;
  grid-template-columns: repeat(2, 838.26px);
  grid-template-rows: repeat(2, 317.602px);
  gap: 14.876px 22.48px;
  direction: ltr;
}

.blog-figma-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border-radius: 14.876px;
  background: #fcfcfd;
  direction: ltr;
}

.blog-figma-card.image-right { flex-direction: row-reverse; }
.blog-figma-card.image-left { flex-direction: row; }

.blog-figma-card > picture {
  display: block;
  flex: 0 0 418.758px;
  width: 418.758px;
  height: 317.602px;
}

.blog-figma-card > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-figma-card > div {
  display: flex;
  box-sizing: border-box;
  flex: 0 0 419.502px;
  width: 419.502px;
  height: 317.602px;
  flex-direction: column;
  align-items: flex-start;
  padding: 39.42px 23.06px 28px;
  direction: rtl;
  text-align: right;
}

.blog-figma-card span {
  display: flex;
  box-sizing: border-box;
  width: 235.042px;
  height: 52.81px;
  align-items: center;
  justify-content: center;
  margin-inline-start: -23.06px;
  padding-inline-start: 23.06px;
  border-radius: 5.95px 0 0 5.95px;
  background: rgba(103, 56, 136, .07);
  color: #673888;
  font-size: 21.808px;
  font-weight: 700;
  line-height: 1.25;
}

.blog-figma-card h3 {
  width: 365.949px;
  margin: 12px 0 0;
  color: #717070;
  font-size: 18.59px;
  font-weight: 700;
  line-height: 23.437px;
}

.blog-figma-card p {
  width: 352.56px;
  margin: 7px 0 0;
  color: #a09f9f;
  font-size: 15.34px;
  font-weight: 400;
  line-height: 19.64px;
}

.blog-figma-card a {
  display: inline-flex;
  box-sizing: border-box;
  width: 132.396px;
  height: 39.374px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 49.218px;
  background: #428dd1;
  color: #fff;
  font-size: 17.653px;
  font-weight: 400;
  line-height: 18.197px;
  text-decoration: none;
}

.blog-figma-wave {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -5.44px;
  display: block;
  width: 1949.98px;
  height: 69.44px;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

body.is-english .blog-figma-card > div,
html[dir="ltr"] .blog-figma-card > div {
  align-items: flex-start;
  direction: ltr;
  text-align: left;
}

body.is-english .blog-figma-card span,
html[dir="ltr"] .blog-figma-card span {
  border-radius: 0 5.95px 5.95px 0;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .blog-figma-layout {
    left: 5.7292vw;
    top: 2.7604vw;
    width: 88.4896vw;
    gap: 1.4583vw;
  }

  .blog-figma-heading { width: 43.4375vw; gap: .46875vw; }
  .blog-figma-heading > div { width: 9.1146vw; gap: .5208vw; }
  .blog-figma-heading h2 { width: 9.1146vw; height: 3.1771vw; font-size: 2.457vw; line-height: 2.9896vw; }
  .blog-figma-heading img { width: 8.6754vw; height: .7722vw; }
  .blog-figma-heading > p { width: 43.4375vw; height: 5.2196vw; font-size: 1.6669vw; line-height: 2.327vw; }
  .blog-figma-grid { width: 88.4896vw; height: 33.8583vw; grid-template-columns: repeat(2, 43.6594vw); grid-template-rows: repeat(2, 16.5418vw); gap: .7748vw 1.1708vw; }
  .blog-figma-card { border-radius: .7748vw; }
  .blog-figma-card > picture { flex-basis: 21.8103vw; width: 21.8103vw; height: 16.5418vw; }
  .blog-figma-card > div { flex-basis: 21.8491vw; width: 21.8491vw; height: 16.5418vw; padding: 2.0531vw 1.201vw 1.4583vw; }
  .blog-figma-card span { width: 12.2417vw; height: 2.7505vw; margin-inline-start: -1.201vw; padding-inline-start: 1.201vw; border-radius: .3099vw 0 0 .3099vw; font-size: 1.1358vw; }
  .blog-figma-card h3 { width: 19.0598vw; margin-top: .625vw; font-size: .9682vw; line-height: 1.2207vw; }
  .blog-figma-card p { width: 18.3625vw; margin-top: .3646vw; font-size: .799vw; line-height: 1.0229vw; }
  .blog-figma-card a { width: 6.8956vw; height: 2.0507vw; border-radius: 2.5634vw; font-size: .9194vw; line-height: .9478vw; }
  .blog-figma-wave { bottom: -.2833vw; width: 101.5615vw; height: 3.6167vw; }
  body.is-english .blog-figma-card span,
  html[dir="ltr"] .blog-figma-card span { border-radius: 0 .3099vw .3099vw 0; }
}

@media (max-width: 1199px) {
  .blog.blog-figma {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(46px, 7vw, 72px) clamp(18px, 5vw, 56px) clamp(90px, 10vw, 120px) !important;
  }

  .blog-figma-layout {
    position: relative;
    inset: auto;
    width: 100%;
    gap: clamp(28px, 5vw, 44px);
  }

  .blog-figma-heading {
    width: min(100%, 834px);
    gap: 12px;
  }

  .blog-figma-heading > div {
    width: auto;
    gap: 7px;
  }

  .blog-figma-heading h2 {
    width: auto;
    height: auto;
    font-size: clamp(36px, 5vw, 47px);
    line-height: 1.35;
  }

  .blog-figma-heading img {
    width: clamp(132px, 18vw, 166.568px);
    height: auto;
  }

  .blog-figma-heading > p {
    width: min(100%, 680px);
    height: auto;
    font-size: clamp(19px, 3vw, 30px);
    line-height: 1.55;
  }

  .blog-figma-grid {
    width: min(100%, 900px);
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 18px;
  }

  .blog-figma-card {
    min-height: 470px;
    flex-direction: column !important;
  }

  .blog-figma-card > picture {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .blog-figma-card > div {
    flex: 1;
    width: 100%;
    height: auto;
    align-items: flex-start;
    padding: 24px 22px 22px;
  }

  .blog-figma-card span { width: auto; height: auto; min-height: 44px; margin-inline-start: -22px; padding: 8px 14px; padding-inline-start: 36px; }
  .blog-figma-card h3,
  .blog-figma-card p { width: 100%; }
  .blog-figma-card h3 { font-size: 18px; line-height: 1.5; }
  .blog-figma-card p { font-size: 14px; line-height: 1.65; }
  .blog-figma-card a { margin-top: 20px; }
  .blog-figma-wave { bottom: -1px; width: 104%; height: auto; }

  body.is-english .blog-figma-card > div,
  html[dir="ltr"] .blog-figma-card > div { align-items: flex-start; }
}

@media (max-width: 700px) {
  .story-images,
  .story-images.three {
    row-gap: 24px !important;
  }

  .footer-social .foot-social-item,
  .footer-contact-grid .foot-contact-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content !important;
    height: 36px;
    margin-inline: auto;
    direction: ltr;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .footer-social .foot-social-item span,
  .footer-contact-grid .foot-contact-item span {
    position: static !important;
    width: auto !important;
    height: auto !important;
  }

  .footer-social .foot-social-item i,
  .footer-contact-grid .foot-contact-item i {
    position: relative !important;
    flex: 0 0 36px;
    width: 36px !important;
    height: 36px !important;
  }

  .blog-figma-grid {
    width: min(100%, 460px);
    grid-template-columns: 1fr;
  }

  .blog-figma-card { min-height: 0; }
  .blog-figma-card > picture { height: clamp(190px, 57vw, 250px); }
  .blog-figma-card > div { min-height: 245px; }
}

/* About section — Figma node 466:138. */
.about.about-figma {
  display: block;
  padding: 0;
  background: #f2f7fc;
  overflow: hidden;
}

.about-figma-layout {
  position: absolute;
  left: 110px;
  top: 58px;
  display: flex;
  align-items: center;
  gap: 127px;
  width: 1700px;
  height: 670.695px;
  direction: ltr;
}

.about-figma-copy {
  display: flex;
  flex: 0 0 813px;
  flex-direction: column;
  align-items: flex-end;
  gap: 23px;
  width: 813px;
  direction: ltr;
  color: #787878;
  text-align: right;
}

.about-figma-heading,
.about-figma-lead {
  direction: rtl;
  text-align: right;
}

.about-figma-heading {
  display: flex;
  height: 92.306px;
  flex-direction: column;
  align-items: flex-end;
}

.about-figma-heading h2 {
  margin: 0;
  color: #307bc3;
  font-size: 45.455px;
  font-weight: 700;
  line-height: 65.111px;
  white-space: nowrap;
}

.about-figma-heading img {
  display: block;
  width: 146.58px;
  height: 18.581px;
  margin-top: 8.6px;
}

.about-figma-lead {
  width: 813px;
  min-height: 91.616px;
  margin: 0;
  color: #787878;
  font-size: 25.47px;
  font-weight: 400;
  line-height: 45.808px;
}

.about-figma-value {
  position: relative;
  display: grid;
  align-self: flex-end;
  grid-template-columns: 548.759px 78.984px;
  column-gap: 37.171px;
  width: 664.914px;
  height: 123.17px;
  direction: ltr;
}

.about-figma-value:nth-of-type(2) {
  grid-template-columns: 550px 82.192px;
  column-gap: 28.72px;
  width: 660.912px;
  height: 124.26px;
}

.about-figma-value > div {
  grid-column: 1;
  direction: rtl;
  text-align: right;
}

.about-figma-value h3 {
  margin: 0;
  color: #307bc3;
  font-size: 31.97px;
  font-weight: 700;
  line-height: 47.751px;
}

.about-figma-value p {
  margin: 3.42px 0 0;
  color: #787878;
  font-size: 19.31px;
  font-weight: 400;
  line-height: 35.8px;
}

.about-figma-value:nth-of-type(2) h3 {
  line-height: 46.736px;
}

.about-figma-value:nth-of-type(2) p {
  margin-top: 1.524px;
  line-height: 33.8px;
}

.about-figma-icon {
  position: relative;
  grid-column: 2;
  width: 100%;
  height: 100%;
}

.about-figma-icon img {
  position: absolute;
  display: block;
  max-width: none;
}

.about-figma-value:first-of-type .about-figma-icon img:first-child {
  left: 0;
  top: 14.87px;
  width: 78.984px;
  height: 78.984px;
}

.about-figma-vision-glyph {
  left: 0;
  top: 21.02px;
  width: 58.469px;
  height: 58.469px;
}

.about-figma-value:nth-of-type(2) .about-figma-icon img:first-child {
  left: 5.01px;
  top: 13.26px;
  width: 77.182px;
  height: 77.182px;
}

.about-figma-mission-glyph {
  left: 1.813px;
  top: 22.033px;
  width: 62.53px;
  height: 60.642px;
}

.about-figma-button {
  position: relative;
  display: inline-flex;
  align-self: flex-end;
  box-sizing: border-box;
  width: 192px;
  height: 63px;
  align-items: center;
  justify-content: center;
  border: 1px solid #307bc3;
  border-radius: 68.31px;
  color: #fff;
  font-size: 24.5px;
  font-weight: 400;
  line-height: 25.255px;
  text-decoration: none;
  isolation: isolate;
}

.about-figma-button::before {
  position: absolute;
  z-index: -1;
  inset: 4px;
  border-radius: inherit;
  background: #307bc3;
  content: "";
}

.about-figma-art {
  position: relative;
  flex: 0 0 760px;
  width: 760px;
  height: 670.695px;
}

.about-figma-artwork {
  display: block;
  width: 760px;
  height: 670.695px;
}

.about-figma-logo {
  position: absolute;
  left: 96px;
  top: 5.77px;
  width: 138.61px;
  height: 84.54px;
}

.about-figma-side-mark {
  position: absolute;
  left: 696.5px;
  top: 228.95px;
  width: 36px;
  height: 108px;
}

body.is-english .about-figma-copy,
html[dir="ltr"] .about-figma-copy {
  align-items: flex-start;
  direction: ltr;
  text-align: left;
}

body.is-english .about-figma-heading,
html[dir="ltr"] .about-figma-heading {
  align-items: flex-start;
  direction: ltr;
  text-align: left;
}

body.is-english .about-figma-lead,
html[dir="ltr"] .about-figma-lead {
  direction: ltr;
  text-align: left;
}

body.is-english .about-figma-value,
html[dir="ltr"] .about-figma-value {
  grid-template-columns: 78.984px 548.759px;
}

body.is-english .about-figma-value:nth-of-type(2),
html[dir="ltr"] .about-figma-value:nth-of-type(2) {
  grid-template-columns: 82.192px 550px;
}

body.is-english .about-figma-value > div,
html[dir="ltr"] .about-figma-value > div {
  grid-column: 2;
  direction: ltr;
  text-align: left;
}

body.is-english .about-figma-icon,
html[dir="ltr"] .about-figma-icon {
  grid-column: 1;
}

body.is-english .about-figma-button,
html[dir="ltr"] .about-figma-button {
  align-self: flex-start;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .about-figma-layout {
    left: 5.7292vw;
    top: 3.0208vw;
    gap: 6.6146vw;
    width: 88.5417vw;
    height: 34.932vw;
  }

  .about-figma-copy {
    flex-basis: 42.34375vw;
    gap: 1.1979vw;
    width: 42.34375vw;
  }

  .about-figma-heading { height: 4.8076vw; }
  .about-figma-heading h2 { font-size: 2.36745vw; line-height: 3.3912vw; }
  .about-figma-heading img { width: 7.6344vw; height: .9678vw; margin-top: .4479vw; }
  .about-figma-lead { width: 42.34375vw; min-height: 4.7717vw; font-size: 1.32656vw; line-height: 2.3858vw; }
  .about-figma-value { grid-template-columns: 28.5812vw 4.11375vw; column-gap: 1.936vw; width: 34.631vw; height: 6.4151vw; }
  .about-figma-value:nth-of-type(2) { grid-template-columns: 28.6458vw 4.2808vw; column-gap: 1.4958vw; width: 34.4225vw; height: 6.4719vw; }
  .about-figma-value h3 { font-size: 1.6651vw; line-height: 2.487vw; }
  .about-figma-value p { margin-top: .1781vw; font-size: 1.0057vw; line-height: 1.8646vw; }
  .about-figma-value:nth-of-type(2) h3 { line-height: 2.4342vw; }
  .about-figma-value:nth-of-type(2) p { margin-top: .0794vw; line-height: 1.7604vw; }
  .about-figma-value:first-of-type .about-figma-icon img:first-child { top: .7745vw; width: 4.11375vw; height: 4.11375vw; }
  .about-figma-vision-glyph { top: 1.0948vw; width: 3.0453vw; height: 3.0453vw; }
  .about-figma-value:nth-of-type(2) .about-figma-icon img:first-child { left: .2609vw; top: .6906vw; width: 4.0199vw; height: 4.0199vw; }
  .about-figma-mission-glyph { left: .0944vw; top: 1.1476vw; width: 3.2568vw; height: 3.1584vw; }
  .about-figma-button { width: 10vw; height: 3.28125vw; border-width: .0521vw; font-size: 1.276vw; line-height: 1.3154vw; }
  .about-figma-button::before { inset: .2083vw; }
  .about-figma-art { flex-basis: 39.5833vw; width: 39.5833vw; height: 34.932vw; }
  .about-figma-artwork { width: 39.5833vw; height: 34.932vw; }
  .about-figma-logo { left: 5vw; top: .3005vw; width: 7.2193vw; height: 4.4031vw; }
  .about-figma-side-mark { left: 36.276vw; top: 11.9245vw; width: 1.875vw; height: 5.625vw; }
  body.is-english .about-figma-value,
  html[dir="ltr"] .about-figma-value { grid-template-columns: 4.11375vw 28.5812vw; }
  body.is-english .about-figma-value:nth-of-type(2),
  html[dir="ltr"] .about-figma-value:nth-of-type(2) { grid-template-columns: 4.2808vw 28.6458vw; }
}

@media (max-width: 1199px) {
  .about.about-figma {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 56px) 0 !important;
  }

  .about-figma-layout {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: clamp(34px, 6vw, 60px);
  }

  .about-figma-copy {
    flex: none;
    width: min(100%, 813px);
    align-items: center;
    gap: clamp(18px, 3vw, 24px);
    text-align: center;
  }

  .about-figma-heading {
    width: auto;
    height: auto;
    align-items: center;
  }

  .about-figma-heading h2 {
    font-size: clamp(34px, 5vw, 45px);
    line-height: 1.4;
  }

  .about-figma-heading img {
    width: clamp(118px, 17vw, 146.58px);
    height: auto;
    margin-top: 4px;
  }

  .about-figma-lead {
    width: 100%;
    min-height: 0;
    font-size: clamp(18px, 2.8vw, 25px);
    line-height: 1.8;
  }

  .about-figma-value,
  .about-figma-value:nth-of-type(2) {
    grid-template-columns: minmax(0, 1fr) 66px;
    column-gap: 16px;
    width: min(100%, 665px);
    height: auto;
    min-height: 102px;
  }

  .about-figma-value h3,
  .about-figma-value:nth-of-type(2) h3 {
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.45;
  }

  .about-figma-value p,
  .about-figma-value:nth-of-type(2) p {
    margin-top: 2px;
    font-size: clamp(16px, 2.3vw, 19px);
    line-height: 1.75;
  }

  .about-figma-icon { height: 82px; }
  .about-figma-value:first-of-type .about-figma-icon img:first-child,
  .about-figma-value:nth-of-type(2) .about-figma-icon img:first-child {
    left: 0;
    top: 8px;
    width: 66px;
    height: 66px;
  }

  .about-figma-vision-glyph {
    left: 0;
    top: 13px;
    width: 49px;
    height: 49px;
  }

  .about-figma-mission-glyph {
    left: 2px;
    top: 15px;
    width: 54px;
    height: 52px;
  }

  .about-figma-button {
    align-self: center;
    width: 192px;
    height: 63px;
    font-size: 23px;
  }

  .about-figma-art {
    flex: none;
    width: min(760px, calc(100vw - 40px));
    height: auto;
    aspect-ratio: 760 / 670.695;
  }

  .about-figma-artwork {
    width: 100%;
    height: 100%;
  }

  .about-figma-logo {
    left: 12.632%;
    top: .86%;
    width: 18.238%;
    height: 12.604%;
  }

  .about-figma-side-mark {
    left: 91.645%;
    top: 34.137%;
    width: 4.737%;
    height: 16.103%;
  }

  body.is-english .about-figma-copy,
  html[dir="ltr"] .about-figma-copy,
  body.is-english .about-figma-heading,
  html[dir="ltr"] .about-figma-heading {
    align-items: center;
    text-align: center;
  }

  body.is-english .about-figma-value,
  html[dir="ltr"] .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2),
  html[dir="ltr"] .about-figma-value:nth-of-type(2) {
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .about.about-figma { padding-inline: 15px !important; }
  .about-figma-copy { gap: 20px; }

  .about-figma-value,
  .about-figma-value:nth-of-type(2) {
    align-self: center;
    display: block;
    width: min(397px, 100%);
    height: 192px;
    min-height: 192px;
    direction: ltr;
  }

  .about-figma-value > div,
  .about-figma-value:nth-of-type(2) > div {
    position: static;
    display: block;
    width: auto;
  }

  .about-figma-value h3,
  .about-figma-value:nth-of-type(2) h3 {
    position: absolute;
    top: 15.6px;
    right: calc(50% + 12px);
    width: max-content;
    margin: 0;
    font-size: 31.97px;
    line-height: 47.751px;
    direction: rtl;
    text-align: center;
  }

  .about-figma-value p,
  .about-figma-value:nth-of-type(2) p {
    position: absolute;
    top: 85.98px;
    left: 50%;
    width: min(335px, 100%);
    margin: 0;
    font-size: 19.31px;
    line-height: 35.8px;
    direction: rtl;
    text-align: center;
    transform: translateX(-50%);
    white-space: normal;
  }

  .about-figma-icon {
    position: absolute;
    left: calc(50% + 5px);
    top: 0;
    width: 78.984px;
    height: 78.984px;
  }

  .about-figma-value:first-of-type .about-figma-icon img:first-child,
  .about-figma-value:nth-of-type(2) .about-figma-icon img:first-child {
    left: 0;
    top: 0;
    width: 78.984px;
    height: 78.984px;
  }

  .about-figma-vision-glyph {
    left: 0;
    top: 6.15px;
    width: 58.469px;
    height: 58.469px;
  }

  .about-figma-mission-glyph {
    left: 1.8px;
    top: 8.77px;
    width: 62.53px;
    height: 60.642px;
  }

  body.is-english .about-figma-value,
  html[dir="ltr"] .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2),
  html[dir="ltr"] .about-figma-value:nth-of-type(2) {
    direction: ltr;
  }

  body.is-english .about-figma-value h3,
  html[dir="ltr"] .about-figma-value h3 {
    right: auto;
    left: calc(50% + 12px);
    direction: ltr;
  }

  body.is-english .about-figma-icon,
  html[dir="ltr"] .about-figma-icon {
    right: calc(50% + 5px);
    left: auto;
  }

  body.is-english .about-figma-value p,
  html[dir="ltr"] .about-figma-value p {
    direction: ltr;
    text-align: center;
  }
}

body.page-body .inner-global-header .nav-shell {
  position: relative !important;
}

body.page-body .inner-global-header .nav {
  z-index: 10 !important;
}

body.page-body .inner-global-header .language-toggle {
  z-index: 40 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

body.page-body .inner-global-footer {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 256px !important;
  min-height: 0 !important;
}

html[dir="ltr"] .logo-link,
body.is-english .logo-link,
body.page-body.is-english .inner-global-header .logo-link {
  left: 76px !important;
  right: auto !important;
}

html[dir="ltr"] .language-toggle,
body.is-english .language-toggle,
body.page-body.is-english .inner-global-header .language-toggle {
  left: auto !important;
  right: 14px !important;
  z-index: 40 !important;
}

html[dir="ltr"] .nav-tools,
body.is-english .nav-tools,
body.page-body.is-english .inner-global-header .nav-tools {
  left: auto !important;
  right: 86px !important;
}

html[dir="ltr"] .menu-toggle,
body.is-english .menu-toggle,
body.page-body.is-english .inner-global-header .menu-toggle {
  left: auto !important;
  right: 142px !important;
}

body.page-body .page-hero {
  padding-top: clamp(24px, 2.8vw, 46px);
}

body.page-body .blog-list {
  padding-bottom: clamp(24px, 2.5vw, 42px);
}

body.page-body .article-page,
body.page-body .legal-page,
body.page-body .search-results-section {
  padding-bottom: clamp(32px, 3.2vw, 52px);
}

body.page-body .blog-grid-page {
  align-items: stretch;
}

body.page-body .article-card {
  min-height: clamp(260px, 16.5vw, 318px);
}

@media (max-width: 800px) {
  body.page-body .page-hero {
    padding-top: 28px;
  }

  body.page-body .blog-list,
  body.page-body .article-page,
  body.page-body .legal-page,
  body.page-body .search-results-section {
    padding-bottom: 36px;
  }

  body.page-body .inner-global-footer {
    height: auto !important;
    min-height: 420px !important;
  }

  html[dir="ltr"] .logo-link,
  body.is-english .logo-link,
  body.page-body.is-english .inner-global-header .logo-link {
    left: 16px !important;
    right: auto !important;
  }

  html[dir="ltr"] .language-toggle,
  body.is-english .language-toggle,
  body.page-body.is-english .inner-global-header .language-toggle {
    left: auto !important;
    right: 22px !important;
  }

  html[dir="ltr"] .nav-tools,
  body.is-english .nav-tools,
  body.page-body.is-english .inner-global-header .nav-tools {
    left: auto !important;
    right: 76px !important;
  }

  html[dir="ltr"] .menu-toggle,
  body.is-english .menu-toggle,
  body.page-body.is-english .inner-global-header .menu-toggle {
    left: auto !important;
    right: 130px !important;
  }
}

.language-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Shared appointment action sizing across the Arabic homepage. */
.pill-btn,
.pill-btn.small,
.cta-copy .pill-btn {
  box-sizing: border-box;
  width: fit-content;
  min-width: 0;
  height: auto;
  padding: 8px;
  border-width: 8px;
  outline-offset: 7px;
  font-size: 32.65px;
  line-height: 1.15;
  white-space: nowrap;
}

.ar-copy .pill-btn {
  left: auto;
  right: 0;
  margin-right: 0;
}

.journey-step h3 {
  padding-top: 12px;
}

body.is-english .journey-arrow-1,
body.is-english .journey-arrowhead-1 {
  transform: scaleX(-1);
  transform-origin: center;
}

body.is-english .journey-arrow-2 {
  transform: scale(-1, -1);
  transform-origin: center;
}

body.is-english .journey-arrowhead-2 {
  transform: rotate(-68.34deg) scaleX(-1);
  transform-origin: center;
}

/* Keep the doctor section separator continuous with its light background. */
.doctor-one {
  background: #EEF2F9;
}

.featured-cursor {
  display: none !important;
}

.about-lead {
  padding-bottom: 12px;
}

body.is-english .services-heading p {
  padding-bottom: 12px;
}

/* The case-study arrow must leave the title and point toward the photos. */
html[dir="rtl"] .story-row h3::after {
  left: -60px;
  right: auto;
}

html[dir="rtl"] .story-row h3::before {
  left: -61px;
  right: auto;
}

.story-row h3 {
  z-index: 3;
}

.story-images {
  z-index: 2;
}

html[dir="rtl"] .row-b h3::after {
  left: -72px;
  top: 50%;
  width: 58px;
  height: 3px;
}

html[dir="rtl"] .row-b h3::before {
  left: -20px;
  top: calc(50% - 5px);
}

body.is-english .row-b h3::after {
  left: calc(100% + 12px);
  right: auto;
  top: 50%;
  width: 58px;
  height: 3px;
}

body.is-english .row-b h3::before {
  left: calc(100% + 70px);
  right: auto;
  top: calc(50% - 5px);
  border-right: 0;
  border-left: 8px solid #673888;
}

.contact-address p {
  max-width: 489px;
  white-space: normal;
}

@media (max-width: 1919px) and (min-width: 1200px) {
  .ar-copy .pill-btn,
  .about-copy .pill-btn,
  .cta-copy .pill-btn {
    width: fit-content;
    min-width: 0;
    height: auto;
    padding: 8px;
  }

  body.is-english .about-copy .pill-btn,
  body.is-english .about-copy .pill-btn.small,
  body.is-english .cta-copy .pill-btn {
    min-width: 205.335px;
    padding: 6.8445px 18.252px;
    font-size: 19.0125px;
    line-height: 1.15;
  }

  body.is-english .about-copy .pill-btn.small {
    top: 420px;
  }

  body.is-english .journey-arrowhead-1 {
    left: 67.34375vw;
  }

  body.is-english .journey-arrowhead-2 {
    left: 37.65625vw;
  }

  html[dir="rtl"] .about-copy .pill-btn.small,
  body.rtl:not(.is-english) .about-copy .pill-btn.small {
    min-width: 14.1146vw;
    height: 4.1146vw;
    padding: .4167vw;
    border-width: .4167vw;
    outline-offset: .3646vw;
    font-size: 1.7005vw;
  }

  body.is-english .services-visual {
    top: calc(14.7395833vw + 12px);
  }

  body.is-english .service-card-grid {
    top: calc(50.2083333vw + 12px);
  }

  .contact-hours {
    top: 15.25vw;
  }

  .contact-whatsapp {
    top: 22.15vw;
  }
}

@media (min-width: 1200px) {
  body.is-english .about-copy .pill-btn.small {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    float: none;
    margin-top: 24px;
  }

  body.is-english .story-row h3 {
    width: 14.7vw;
    font-size: clamp(17px, 1.38vw, 26px);
    line-height: 1.2;
  }

  body.is-english .foot-contact-item {
    width: 18.2vw;
  }

  body.is-english .foot-social-item,
  body.is-english .footer-social .foot-social-item {
    width: 10.8vw;
  }
}

.map-card {
  background: #dfeaf5;
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199px) and (min-width: 801px) {
  .pill-btn,
  .pill-btn.small,
  .cta-copy .pill-btn {
    width: 14.1146vw;
    min-width: 14.1146vw;
    height: 4.1146vw;
    padding: .4167vw;
    border-width: .4167vw;
    outline-offset: .3646vw;
    font-size: 1.7005vw;
  }
}

@media (max-width: 800px) {
  .pill-btn,
  .pill-btn.small,
  .cta-copy .pill-btn {
    width: 160px;
    min-width: 160px;
    height: 50px;
    padding: 5px;
    border-width: 5px;
    outline-offset: 4px;
    font-size: 22px;
  }

  body.is-english .pill-btn,
  body.is-english .pill-btn.small,
  body.is-english .cta-copy .pill-btn {
    width: fit-content;
    min-width: 0;
    max-width: calc(100vw - 48px);
    padding: 5px 12px;
    font-size: 18px;
  }

  body.is-english .footer-contact-grid,
  body.is-english .footer-social {
    align-items: center;
  }

  body.is-english .foot-contact-item,
  body.is-english .foot-social-item {
    flex-direction: row-reverse;
    gap: 12px;
  }

  body.is-english .foot-contact-item span,
  body.is-english .foot-social-item span {
    text-align: left;
  }

  body.is-english .vision-item h3,
  body.is-english .vision-item p {
    text-align: left;
  }

  body.is-english .footer-social {
    justify-items: center;
  }

  body.is-english .footer-social .foot-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-align: center;
  }

  body.is-english .footer-social .foot-social-item i,
  body.is-english .footer-social .foot-social-item span {
    position: static;
  }
}

@media (max-width: 480px) {
  .pill-btn,
  .pill-btn.small,
  .cta-copy .pill-btn {
    width: 145px;
    min-width: 145px;
    height: 46px;
    padding: 5px;
    border-width: 5px;
    outline-offset: 4px;
    font-size: 18px;
  }

  body.is-english .pill-btn,
  body.is-english .pill-btn.small,
  body.is-english .cta-copy .pill-btn {
    width: fit-content;
    min-width: 0;
    max-width: calc(100vw - 48px);
    padding: 5px 12px;
    font-size: 18px;
  }
}

/* Restored inner-page backup shell styles */
/* Keep the document itself scrollable on the frontend.  WordPress' generated
   global styles may apply `overflow:hidden` to the body; the approved static
   frame relies on the browser document scrollbar, so only horizontal overflow
   is clipped while vertical scrolling remains available. */
html { overflow-x: clip !important; overflow-y: auto !important; }
body { overflow-x: clip !important; overflow-y: visible !important; }

/* Inner templates use the exact homepage shell markup as well. The shell is
   kept in normal document flow outside the art-directed homepage frame. */
body.page-body .inner-global-header {
  position: sticky !important;
  inset: 0 auto auto 0;
  width: 100% !important;
}
body.page-body .inner-global-footer {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  width: 100% !important;
}

/* WordPress adds body classes such as `blog` and `page`. They are also names
   used by the homepage artboard, so neutralise those section rules on inner
   templates while retaining the normal page flow. */
body.page-body.blog,
body.page-body.page,
body.page-body.archive,
body.page-body.single,
body.page-body.search,
body.page-body.error404 {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

@media (min-width: 1600px) {
  body.page-body .inner-global-footer { height: 384px !important; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  body.page-body .inner-global-footer { width: 100vw !important; height: 20vw !important; min-height: 0 !important; }
}

/* English navigation follows the document's reading order. The approved
   Arabic artboard uses absolute RTL coordinates; a flex row is more robust
   for the translated menu and keeps every hit area aligned at intermediate
   desktop widths as well. */
@media (min-width: 801px) {
  html[dir="ltr"] .nav,
  body.is-english .nav {
    left: 19% !important;
    right: auto !important;
    top: 0 !important;
    width: 62% !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    gap: clamp(4px, 1.05vw, 22px) !important;
    direction: ltr !important;
  }
  html[dir="ltr"] .nav a,
  html[dir="ltr"] .nav a:nth-child(n),
  html[dir="ltr"] .nav a.active,
  body.is-english .nav a,
  body.is-english .nav a:nth-child(n),
  body.is-english .nav a.active {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.2 !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    font-size: clamp(17px, 1.45vw, 28px) !important;
    white-space: nowrap !important;
  }
}

.article-share-link > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  height: 1.25em;
  font: 700 1em/1 Arial, sans-serif;
}

.article-share-link > img {
  display: block;
  width: 46%;
  height: 46%;
  object-fit: contain;
}

/* Final global-shell polish. Every page uses the homepage header/footer, so
   these rules intentionally live in the theme stylesheet loaded everywhere. */
.language-toggle { cursor: pointer !important; opacity: 1 !important; padding: 0 9px !important; min-width: 58px; z-index: 15; text-decoration: none; }
.logo-link { position: absolute; right: 76px; top: 19px; display: block; width: 154px; height: 66px; z-index: 16; }
.logo-link .logo { position: static !important; inset: auto !important; display: block; width: 100% !important; height: 100% !important; }
.nav-tools { z-index: 15; }
.nav-tools .search-btn { padding: 4px !important; }
.nav-tools .search-btn img { width: 28px !important; height: 28px !important; transform: rotate(180deg); }
.nav a, .nav a.active { padding: 10px 18px !important; }
.hero-copy > p { white-space: normal; }
html[dir="rtl"] .hero-copy > p { white-space: nowrap; }
.about-copy .vision-item:nth-of-type(1) { top: 212px; }
.about-copy .vision-item:nth-of-type(2) { top: 365px; }
.about-copy .pill-btn { width: 220px !important; min-width: 220px !important; height: 64px !important; font-size: 22px !important; border-width: 5px !important; outline-offset: 5px !important; }
.vision-item .round-icon { width: 78px !important; height: 78px !important; }
.round-icon .icon-circle { width: 72px !important; height: 72px !important; }
.round-icon .vision-glyph { width: 52px !important; height: 52px !important; }
.round-icon .mission-glyph { width: 59px !important; height: 59px !important; }
.doctor-one, .doctor-two { background: #ECEFF5 !important; }
.team-heading-section { background: #EEF2F9 !important; }
  .service-card.featured > .feature-overlay h3, .service-card:not(.featured) > .feature-overlay h3 { font-size: 17px !important; line-height: 1.25 !important; white-space: nowrap !important; }
.service-card > picture, .service-card > picture img, .service-card.featured > picture, .service-card.featured > picture img { transition: transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease; }
.service-card:hover > picture img, .service-card:focus > picture img { transform: scale(1.035); }
.article-share { align-items: center; }
.article-share-label { width: auto !important; height: auto !important; font-size: 15px; font-weight: 700; white-space: nowrap; }

/* Premium motion fallback when the optional GSAP CDN is unavailable. */
.motion-visible { opacity: 1; transform: translate3d(0,0,0); }
.motion-ready .section-heading h2, .motion-ready .section-heading p, .motion-ready .journey-step, .motion-ready .ar-copy, .motion-ready .vision-item, .motion-ready .service-card, .motion-ready .doctor-box, .motion-ready .story-row, .motion-ready .partner-grid img, .motion-ready .faq-item, .motion-ready .blog-card, .motion-ready .contact-detail, .motion-ready .article-card, .motion-ready .article-content, .motion-ready .related-panel { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .motion-visible, .service-card > picture img, .service-card > picture { transition: none !important; transform: none !important; }
}

@media (max-width: 800px) {
  .nav a, .nav a.active { padding: 9px 12px !important; }
  /* Keep the three compact header controls in their own hit areas on
     phones: search, menu, then the EN/AR switch. */
  .nav-tools { left: 22px !important; top: 12px !important; transform: none !important; }
  .menu-toggle { left: 16px !important; top: 15px !important; }
  .language-toggle { left: 72px !important; top: 17px !important; }
  .logo-link { right: 16px; top: 10px; width: 120px; height: 50px; }
  .logo-link .logo { height: 50px !important; }
  /* Let the hero copy reflow inside the phone viewport.  The source title
     contains a desktop-only <br>; hiding it here prevents a forced line from
     overflowing and keeps both languages centred and fully readable. */
  .hero-copy,
  html[dir="ltr"] .hero-copy { text-align: center !important; }
  .hero h1,
  html[dir="ltr"] .hero h1 { width: 100% !important; text-align: center !important; white-space: normal !important; overflow-wrap: anywhere; }
  .hero h1 br { display: none; }
  .hero-copy > p,
  html[dir="ltr"] .hero-copy > p { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; font-size: clamp(12px, 3.1vw, 22px) !important; width: fit-content !important; max-width: calc(100vw - 32px) !important; height: auto !important; min-height: 0; line-height: 1.45; text-align: center !important; margin-inline: auto !important; padding-inline: 8px !important; box-sizing: border-box; }
  .about-copy .vision-item:nth-of-type(1), .about-copy .vision-item:nth-of-type(2) { top: auto; }
  .about-copy .pill-btn { width: 180px !important; min-width: 180px !important; height: 54px !important; font-size: 20px !important; }
  .vision-item .round-icon { width: 60px !important; height: 60px !important; }
  .round-icon .icon-circle { width: 58px !important; height: 58px !important; }
  .round-icon .vision-glyph { width: 48px !important; height: 48px !important; }
  .round-icon .mission-glyph { width: 52px !important; height: 52px !important; }
  .footer { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; text-align: center !important; gap: 24px !important; padding-inline: 20px !important; }
  .footer-brand, .footer-links, .footer-contact, .footer-social { width: min(100%, 360px) !important; margin-inline: auto !important; text-align: center !important; }
  .footer-brand img { width: 190px !important; margin-inline: auto !important; }
  .footer-brand p, .footer-links h3, .footer-contact h3, .footer-links a { text-align: center !important; }
  .footer-contact-grid, .footer-social { align-items: center !important; margin-inline: auto !important; }
  .foot-contact-item, .footer-social .foot-social-item { justify-content: center !important; gap: 14px !important; }
  .article-share { max-width: 100%; justify-content: center; }
  .article-share-label { white-space: normal; text-align: center; }
  .doctor-one .doctor-mobile-image { object-position: 65% center !important; }
  .doctor-two .doctor-mobile-image { object-position: 42% center !important; }
  .service-card.featured > .feature-overlay h3 {
    /* The long bilingual featured title must stay on one line in the
       two-column phone grid; keep it readable and prevent an overlay scroll. */
    font-size: clamp(10px, 2.3vw, 17px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
    display: block;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .logo-link { left: 88.0208333vw; right: auto; top: .9843229vw; width: 8.0208333vw; height: 3.4375vw; }
}

/* On narrow screens keep the explanatory label separate from the five
   equally sized actions. This prevents the copy-link control from wrapping
   alone and makes the first/last controls immediately recognisable. */
@media (max-width: 800px) {
  .article-share {
    width: min(100%, 420px) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(34px, 40px));
    justify-content: center;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }
  .article-share-label { grid-column: 1 / -1; line-height: 1.45; }
  .article-share-link { width: 36px !important; height: 36px !important; }
}

/* Directional controls for the enabled English mode. */
html[dir="ltr"] body { direction: ltr; }
html[dir="ltr"] .nav, html[dir="ltr"] .footer, html[dir="ltr"] .article-layout { direction: ltr; }
html[dir="ltr"] .hero-copy, html[dir="ltr"] .about-copy, html[dir="ltr"] .doctor-box, html[dir="ltr"] .article-inner, html[dir="ltr"] .article-body { direction: ltr; text-align: left; }
html[dir="ltr"] .about-copy .section-heading, html[dir="ltr"] .section-heading { text-align: center; }
html[dir="ltr"] .vision-item div, html[dir="ltr"] .vision-item p { text-align: left; }
html[dir="ltr"] .footer-links, html[dir="ltr"] .footer-contact, html[dir="ltr"] .footer-social { text-align: left; }
html[dir="ltr"] .journey-steps,
html[dir="ltr"] .service-card-grid,
html[dir="ltr"] .blog-grid,
html[dir="ltr"] .blog-grid-page,
html[dir="ltr"] .story-row,
html[dir="ltr"] .vision-item { direction: ltr; }
html[dir="ltr"] .journey-arrow-1,
html[dir="ltr"] .journey-arrowhead-1 { transform: scaleX(-1); }
html[dir="ltr"] .journey-arrow-2 { transform: scaleX(-1) scaleY(-1); }
html[dir="ltr"] .journey-arrowhead-2 { transform: rotate(68.34deg) scaleX(-1); }
html[dir="ltr"] .faq-answer,
html[dir="ltr"] .faq-item button,
html[dir="ltr"] .search-results-grid,
html[dir="ltr"] .article-share { direction: ltr; }
html[dir="ltr"] .article-share-label { text-align: left; }
html[dir="ltr"] .nav { direction: ltr !important; }
html[dir="ltr"] .ar-copy,
html[dir="ltr"] .cta-copy,
html[dir="ltr"] .contact-card,
html[dir="ltr"] .contact-detail,
html[dir="ltr"] .doctor-two-copy { text-align: left; }
html[dir="ltr"] .ar-copy { right: auto; left: 93px; }
html[dir="ltr"] .cta-copy { right: auto; left: 4.47%; }
html[dir="ltr"] .about-copy { text-align: left; }
html[dir="ltr"] .about-copy .section-heading { text-align: left; }
html[dir="ltr"] .vision-item .round-icon { right: auto; left: 0; }
html[dir="ltr"] .vision-item div { right: auto; left: 76px; }
html[dir="ltr"] .vision-item h3,
html[dir="ltr"] .vision-item p,
html[dir="ltr"] .service-card h3,
html[dir="ltr"] .service-card p,
html[dir="ltr"] .service-card > .feature-overlay,
html[dir="ltr"] .service-card > .feature-overlay h3,
html[dir="ltr"] .service-card > .feature-overlay .feature-copy { text-align: left; }
html[dir="ltr"] .faq-item button { text-align: left; padding-left: 80px; padding-right: 80px; }
html[dir="ltr"] .faq-item button i { right: auto; left: 40px; }
html[dir="ltr"] .faq-answer p { text-align: left; padding-left: 0; padding-right: 80px; }
html[dir="ltr"] .story-row h3 { right: auto; left: 0; text-align: left; }
html[dir="ltr"] .story-images { left: auto; right: 0; direction: ltr; }
html[dir="ltr"] .blog-card { direction: ltr; }
html[dir="ltr"] .blog-card > div { text-align: left; align-items: flex-start; }
html[dir="ltr"] .footer-brand,
html[dir="ltr"] .footer-links,
html[dir="ltr"] .footer-contact,
html[dir="ltr"] .footer-social { text-align: left; }

/* The approved desktop shell stores nav links at fixed artboard coordinates.
   Reverse those coordinates in English so DOM order reads Home → Contact from
   left to right instead of inheriting the Arabic visual order. */
@media (min-width: 1600px) {
  /* The Home item is the Figma reference: every nav item shares its
     vertical baseline and hit-area dimensions, including active states. */
  .nav a, .nav a.active {
    top: 29.364px !important;
    height: 41.558px !important;
    line-height: 41.558px !important;
    padding: 0 !important;
  }
  .nav a.active { padding-inline: 8px !important; }
  html[dir="ltr"] .nav a:nth-child(1) { left: 553px; }
  html[dir="ltr"] .nav a:nth-child(2) { left: 693px; }
  html[dir="ltr"] .nav a:nth-child(3) { left: 793px; }
  html[dir="ltr"] .nav a:nth-child(4) { left: 1045.385px; }
  html[dir="ltr"] .nav a:nth-child(5) { left: 1152.817px; }
  html[dir="ltr"] .nav a:nth-child(6) { left: 1259.786px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .nav a, .nav a.active {
    top: 1.529375vw !important;
    height: 2.1645vw !important;
    line-height: 2.1645vw !important;
    padding: 0 !important;
  }
  .nav a.active { padding-inline: .4167vw !important; }
  html[dir="ltr"] .nav a:nth-child(1) { left: 28.8021vw; }
  html[dir="ltr"] .nav a:nth-child(2) { left: 36.09375vw; }
  html[dir="ltr"] .nav a:nth-child(3) { left: 41.3021vw; }
  html[dir="ltr"] .nav a:nth-child(4) { left: 54.44714vw; }
  html[dir="ltr"] .nav a:nth-child(5) { left: 60.04255vw; }
  html[dir="ltr"] .nav a:nth-child(6) { left: 65.613854vw; }
}

/* Header interaction repair: the nav shell stays transparent and only links
   receive hover/active styling, matching the Arabic menu treatment. */
.global-header .nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: 10 !important;
}

.global-header .nav a {
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.global-header .nav a.active {
  color: var(--blue2, #307bc3) !important;
  background: rgba(48, 123, 195, .15) !important;
}

.global-header .nav a.active::before {
  content: none !important;
}

.global-header .nav a:hover,
.global-header .nav a:focus-visible {
  color: var(--purple, #673888) !important;
  background: rgba(103, 56, 136, .08) !important;
  transform: scale(1.05) !important;
}

.global-header .language-toggle {
  position: absolute !important;
  z-index: 80 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

html[dir="rtl"] .global-header .language-toggle,
body.rtl .global-header .language-toggle {
  left: 14px !important;
  right: auto !important;
}

@media (max-width: 800px) {
  html[dir="rtl"] .global-header .language-toggle,
  body.rtl .global-header .language-toggle {
    left: 72px !important;
    right: auto !important;
  }

  html[dir="ltr"] .global-header .language-toggle,
  body.is-english .global-header .language-toggle {
    left: auto !important;
    right: 22px !important;
  }
}

/* English section repairs kept last so older proportional artboard rules cannot
   push text into icons or clip long translated labels. */
@media (min-width: 1200px) {
  body.is-english .about-copy .vision-item,
  body.is-english .about-copy .vision-item:nth-of-type(1),
  body.is-english .about-copy .vision-item:nth-of-type(2) {
    left: 0 !important;
    width: min(720px, 100%) !important;
  }

  body.is-english .about-copy .vision-item .round-icon {
    left: 0 !important;
    right: auto !important;
  }

  body.is-english .about-copy .vision-item div,
  body.is-english .about-copy .vision-item:nth-of-type(1) div {
    left: 0 !important;
    right: auto !important;
    width: min(610px, calc(100% - 86px)) !important;
  }

  body.is-english .about-copy .pill-btn.small {
    left: 0 !important;
    right: auto !important;
    width: max-content !important;
    min-width: 284px !important;
    padding-inline: 18px !important;
    font-size: clamp(20px, 1.2vw, 22px) !important;
  }

  body.is-english .faq-answer p {
    padding: 5px 80px 38px !important;
    text-align: left !important;
  }

  body.is-english .footer-social .foot-social-item span {
    left: 67px !important;
    right: auto !important;
    width: 105px !important;
    text-align: left !important;
  }

  body.is-english .footer-social .foot-social-item i {
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 1199px) {
  body.is-english .about-copy .pill-btn.small {
    width: max-content !important;
    min-width: 260px !important;
    padding-inline: 18px !important;
  }

  body.is-english .faq-answer p {
    padding-inline: 42px !important;
    text-align: left !important;
  }
}

body.page-body.is-english .legal-card,
body.page-body.is-english .legal-card h1,
body.page-body.is-english .legal-card h2,
body.page-body.is-english .legal-card h3,
body.page-body.is-english .legal-card p,
body.page-body.is-english .legal-card li,
body.page-body.is-english .article-inner,
body.page-body.is-english .article-body,
body.page-body.is-english .article-body h1,
body.page-body.is-english .article-body h2,
body.page-body.is-english .article-body h3,
body.page-body.is-english .article-body p,
body.page-body.is-english .article-body li,
body.page-body.is-english .search-result > a > span {
  direction: ltr !important;
  text-align: left !important;
}

body.page-body.is-english .legal-card ul,
body.page-body.is-english .article-body ul {
  direction: ltr !important;
  padding-left: 1.4em !important;
  padding-right: 0 !important;
  text-align: left !important;
}

/* Requested Arabic pass: keep these narrow overrides isolated from the rest of
   the artboard so later English fixes do not move Arabic elements again. */
.global-header .account-btn,
.global-header .nav-tools-divider {
  display: none !important;
}

.global-header .nav-tools {
  width: 40px !important;
}

html[dir="rtl"] .about-copy .vision-item div,
html[dir="rtl"] .about-copy .vision-item:nth-of-type(1) div,
body.rtl:not(.is-english) .about-copy .vision-item div,
body.rtl:not(.is-english) .about-copy .vision-item:nth-of-type(1) div {
  right: 90px !important;
  width: calc(100% - 90px) !important;
}

@media (min-width: 1600px) {
  html[dir="rtl"] .about-copy .pill-btn.small,
  body.rtl:not(.is-english) .about-copy .pill-btn.small {
    top: 560px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  html[dir="rtl"] .about-copy .pill-btn.small,
  body.rtl:not(.is-english) .about-copy .pill-btn.small {
    top: 32.1vw !important;
  }
}

@media (max-width: 800px) {
  .global-header .nav-tools,
  .global-header .search-btn {
    display: none !important;
  }

  .global-header .menu-toggle {
    z-index: 60 !important;
    pointer-events: auto !important;
  }

  body.nav-open .global-header .nav {
    z-index: 55 !important;
    pointer-events: auto !important;
  }

  html[dir="rtl"] .ar-copy .pill-btn,
  body.rtl:not(.is-english) .ar-copy .pill-btn {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    width: max-content !important;
    margin: 18px auto 0 !important;
    transform: none !important;
  }

}

@media (min-width: 801px) {
  body.is-english .footer-contact-grid,
  body.is-english .footer-social {
    gap: 12px !important;
    height: auto !important;
  }
}

@media (max-width: 800px) {
  body.is-english .ar-banner .ar-copy,
  body.is-english .ar-banner .ar-copy h2,
  body.is-english .ar-banner .ar-copy p {
    direction: ltr !important;
    text-align: center !important;
  }

  body.is-english .ar-banner .ar-copy h2,
  body.is-english .ar-banner .ar-copy p {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.is-english .ar-banner .ar-copy .pill-btn,
  body.is-english .about-copy .pill-btn.small {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    display: inline-flex !important;
    width: max-content !important;
    max-width: calc(100vw - 72px) !important;
    min-width: 0 !important;
    margin: 18px auto 0 !important;
    padding-inline: 18px !important;
    transform: none !important;
  }

  body.is-english .about-copy,
  body.is-english .about-copy .section-heading,
  body.is-english .about-copy .section-heading h2,
  body.is-english .about-copy .section-heading p {
    text-align: center !important;
  }

  body.is-english .about-copy .section-heading .heading-mark {
    margin-inline: auto !important;
    left: 0 !important;
  }

  body.is-english .footer-contact-grid,
  body.is-english .footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: max-content !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  body.is-english .foot-contact-item,
  body.is-english .footer-social .foot-social-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.2 !important;
  }

  body.is-english .foot-contact-item span,
  body.is-english .footer-social .foot-social-item span,
  body.is-english .foot-contact-item i,
  body.is-english .footer-social .foot-social-item i {
    position: static !important;
  }

  body.is-english .foot-contact-item span,
  body.is-english .footer-social .foot-social-item span {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  body.is-english .foot-contact-item i,
  body.is-english .footer-social .foot-social-item i {
    flex: 0 0 52px !important;
  }
}

@media (max-width: 1100px) {
  body.nav-open .global-header .nav {
    background: #fff !important;
  }
}

/* Local header pass: remove the exported blue top strip and keep the shell balanced. */
:root {
  --fc-header-strip-offset: 37.101px;
  --fc-header-nav-height: 90.899px;
  --fc-header-side-space: 76px;
  --fc-header-logo-width: 130px;
  --fc-header-logo-height: 56px;
}

.global-header.header {
  height: var(--fc-header-nav-height) !important;
}

.global-header .header-strip {
  display: none !important;
}

.global-header .nav-shell {
  top: 0 !important;
  height: var(--fc-header-nav-height) !important;
}

.global-header ~ .section {
  transform: translateY(calc(-1 * var(--fc-header-strip-offset)));
}

.page {
  height: calc(15908px - var(--fc-header-strip-offset)) !important;
}

.global-header .search-panel {
  top: var(--fc-header-nav-height) !important;
}

html[dir="rtl"] .global-header .language-toggle,
body.rtl .global-header .language-toggle {
  left: var(--fc-header-side-space) !important;
  right: auto !important;
  top: 26px !important;
}

.global-header .nav-tools {
  left: calc(var(--fc-header-side-space) + 88px) !important;
  top: 25px !important;
}

.global-header .logo-link {
  left: auto !important;
  right: var(--fc-header-side-space) !important;
  top: 17px !important;
  width: var(--fc-header-logo-width) !important;
  height: var(--fc-header-logo-height) !important;
}

.global-header .logo-link .logo {
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  :root {
    --fc-header-strip-offset: 1.9323438vw;
    --fc-header-nav-height: 4.7343229vw;
    --fc-header-side-space: 3.9583333vw;
    --fc-header-logo-width: 6.7708333vw;
    --fc-header-logo-height: 2.9166667vw;
  }

  .page {
    height: calc((100vw * 8.285416667) - var(--fc-header-strip-offset)) !important;
  }

  html[dir="rtl"] .global-header .language-toggle,
  body.rtl .global-header .language-toggle {
    top: 1.3541667vw !important;
  }

  .global-header .nav-tools {
    left: calc(var(--fc-header-side-space) + 4.5833333vw) !important;
    top: 1.3020833vw !important;
  }

  .global-header .logo-link {
    top: .8854167vw !important;
  }
}

@media (min-width: 801px) and (max-width: 1199px) {
  :root {
    --fc-header-strip-offset: 10px;
    --fc-header-nav-height: 72px;
    --fc-header-side-space: clamp(18px, 4vw, 48px);
  }

  .page {
    height: calc(100vw * 8.285416667 - var(--fc-header-strip-offset)) !important;
  }
}

@media (max-width: 800px) {
  :root {
    --fc-header-strip-offset: 10px;
    --fc-header-nav-height: 66px;
    --fc-header-side-space: 16px;
  }

  .page {
    height: auto !important;
  }

  .global-header .nav-tools {
    left: 22px !important;
    top: 12px !important;
  }

  html[dir="rtl"] .global-header .language-toggle,
  body.rtl .global-header .language-toggle {
    left: 72px !important;
    top: 17px !important;
  }

  .global-header .logo-link {
    right: 16px !important;
    top: 10px !important;
    width: 108px !important;
    height: 46px !important;
  }
}

.global-header .nav a {
  isolation: isolate;
  overflow: visible !important;
}

.global-header .nav a,
.global-header .nav a.active,
.global-header .nav a:hover,
.global-header .nav a:focus-visible {
  background: transparent !important;
}

.global-header .nav a::after {
  content: "";
  position: absolute;
  inset: 0 -4px;
  z-index: -1;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}

.global-header .nav a.active::after {
  background: rgba(48, 123, 195, .15);
}

.global-header .nav a:hover::after,
.global-header .nav a:focus-visible::after {
  background: rgba(103, 56, 136, .08);
}

@media (min-width: 801px) {
  .global-header .nav a,
  .global-header .nav a:nth-child(n),
  .global-header .nav a.active {
    width: max-content !important;
    min-width: max-content !important;
    padding-inline: 8px !important;
    background-clip: padding-box;
  }

  .global-header .nav a.active {
    background: rgba(48, 123, 195, .15) !important;
  }

  .global-header .nav a:hover,
  .global-header .nav a:focus-visible {
    background: rgba(103, 56, 136, .08) !important;
  }

  .global-header .nav a::after {
    content: none !important;
  }
}

.journey-heading p {
  color: #575757 !important;
}

.journey-heading .heading-mark {
  display: block !important;
  position: relative !important;
  width: 143.57px !important;
  height: 14.31px !important;
  margin: -2px auto 8px !important;
  color: var(--purple, #673888) !important;
  overflow: visible !important;
}

.journey-heading .heading-mark-svg {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  color: inherit !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .journey-heading .heading-mark {
    width: 7.4777vw !important;
    height: .7453vw !important;
    margin: -.1042vw auto .4167vw !important;
  }
}

@media (min-width: 801px) {
  .ar-banner .ar-copy .pill-btn {
    min-width: 224px !important;
    height: auto !important;
    padding: 12px 42px !important;
    border-width: 8px !important;
    border-radius: 999px !important;
    outline: 2px solid var(--blue2, #307bc3) !important;
    outline-offset: 7px !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
  }
}

.journey-heading .heading-mark {
  width: 144px !important;
  height: 16px !important;
  margin: 0 auto 8px !important;
  color: var(--purple, #673888) !important;
}

.journey-heading .heading-mark-svg {
  display: none !important;
}

.journey-heading .heading-mark::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 3px !important;
  background: currentColor !important;
}

.journey-heading .heading-mark::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: -1px !important;
  width: 13px !important;
  height: 13px !important;
  border-right: 3px solid currentColor !important;
  border-bottom: 3px solid currentColor !important;
  background: transparent !important;
  transform: translateX(-50%) rotate(45deg) !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .journey-heading .heading-mark {
    width: 7.5vw !important;
    height: .8333vw !important;
    margin: 0 auto .4167vw !important;
  }

  .journey-heading .heading-mark::before {
    height: .15625vw !important;
  }

  .journey-heading .heading-mark::after {
    top: -.0521vw !important;
    width: .6771vw !important;
    height: .6771vw !important;
    border-right-width: .15625vw !important;
    border-bottom-width: .15625vw !important;
  }
}

.journey-heading .heading-mark {
  width: 251px !important;
  height: 16px !important;
  margin: 0 auto 8px !important;
  background: url("./assets/svg/journey-heading-mark.svg") center / contain no-repeat !important;
}

.journey-heading .heading-mark-svg,
.journey-heading .heading-mark::before,
.journey-heading .heading-mark::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .journey-heading .heading-mark {
    width: 13.0729vw !important;
    height: .8333vw !important;
    margin: 0 auto .4167vw !important;
  }
}

.about-copy .section-heading .heading-mark {
  display: block !important;
  position: relative !important;
  width: 147px !important;
  height: 19px !important;
  margin: 0 0 8px auto !important;
  background: url("./assets/svg/about-heading-mark.svg") center / contain no-repeat !important;
  color: var(--purple, #673888) !important;
  overflow: visible !important;
}

.about-copy .section-heading .heading-mark-svg,
.about-copy .section-heading .heading-mark::before,
.about-copy .section-heading .heading-mark::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .about-copy .section-heading .heading-mark {
    width: 7.65625vw !important;
    height: .9896vw !important;
    margin: 0 0 .4167vw auto !important;
  }
}

.page,
.stage,
body {
  background: #EEF2F9 !important;
}

.doctor-one,
.doctor-two,
.doctor-one::before,
.doctor-two::after {
  background: #EEF2F9 !important;
}

.about-copy .pill-btn.small {
  box-sizing: border-box !important;
  width: 148px !important;
  min-width: 148px !important;
  height: 44px !important;
  padding: 0 !important;
  border-width: 4px !important;
  outline-offset: 3px !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.services-heading .heading-mark {
  display: block !important;
  position: relative !important;
  left: auto !important;
  width: 268px !important;
  height: 18px !important;
  margin: 0 auto 8px !important;
  background: url("./assets/svg/services-heading-mark.svg") center / contain no-repeat !important;
  color: #fff !important;
  overflow: visible !important;
}

.services-heading .heading-mark-svg,
.services-heading .heading-mark::before,
.services-heading .heading-mark::after {
  content: none !important;
  display: none !important;
}

.team-main-heading .heading-mark {
  display: block !important;
  position: relative !important;
  width: 148px !important;
  height: 18px !important;
  margin: 0 auto 8px !important;
  background: url("./assets/svg/team-heading-mark.svg") center / contain no-repeat !important;
  color: var(--purple, #673888) !important;
  overflow: visible !important;
}

.team-main-heading .heading-mark-svg,
.team-main-heading .heading-mark::before,
.team-main-heading .heading-mark::after {
  content: none !important;
  display: none !important;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .about-copy .pill-btn.small {
    width: 7.7083vw !important;
    min-width: 7.7083vw !important;
    height: 2.2917vw !important;
    border-width: .2083vw !important;
    outline-offset: .15625vw !important;
    font-size: .8333vw !important;
  }

  .services-heading .heading-mark {
    width: 13.9583vw !important;
    height: .9375vw !important;
    margin: 0 auto .4167vw !important;
  }

  .team-main-heading .heading-mark {
    width: 7.7083vw !important;
    height: .9375vw !important;
    margin: 0 auto .4167vw !important;
  }
}

@media (min-width: 801px) {
  .about-copy .vision-item:nth-of-type(1) {
    top: 178px !important;
  }

  .about-copy .vision-item:nth-of-type(2) {
    top: 318px !important;
  }

  .about-copy .pill-btn.small {
    right: 0 !important;
    top: 446px !important;
    width: 170px !important;
    min-width: 170px !important;
    height: 50px !important;
    padding: 0 !important;
    border-width: 5px !important;
    outline-offset: 4px !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .story-images figure {
    width: 240px !important;
    height: 240px !important;
    flex: 0 0 240px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .story-images figure > img,
  .story-images .story-media {
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%) !important;
    overflow: hidden !important;
  }

  .story-images b {
    left: 89px !important;
  }

  html[dir="rtl"] .story-row h3::after,
  body.rtl:not(.is-english) .story-row h3::after {
    content: "" !important;
    position: absolute !important;
    left: -70px !important;
    right: auto !important;
    top: 50% !important;
    width: 58px !important;
    height: 3px !important;
    background: #673888 !important;
    transform: translateY(-50%) !important;
  }

  html[dir="rtl"] .story-row h3::before,
  body.rtl:not(.is-english) .story-row h3::before {
    content: "" !important;
    position: absolute !important;
    left: -78px !important;
    right: auto !important;
    top: calc(50% - 5px) !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 5px solid transparent !important;
    border-bottom: 5px solid transparent !important;
    border-left: 0 !important;
    border-right: 8px solid #673888 !important;
    background: transparent !important;
  }

  .cta-copy .pill-btn {
    min-width: 204px !important;
    height: 58px !important;
    padding: 6px 28px !important;
    border-width: 7px !important;
    outline-offset: 6px !important;
    font-size: 24px !important;
    line-height: 1.15 !important;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .about-copy .vision-item:nth-of-type(1) {
    top: 9.2708vw !important;
  }

  .about-copy .vision-item:nth-of-type(2) {
    top: 16.5625vw !important;
  }

  .about-copy .pill-btn.small {
    top: 23.2292vw !important;
    width: 8.8542vw !important;
    min-width: 8.8542vw !important;
    height: 2.6042vw !important;
    border-width: .2604vw !important;
    outline-offset: .2083vw !important;
    font-size: .9375vw !important;
  }

  .story-images figure {
    width: 12.5vw !important;
    height: 12.5vw !important;
    flex-basis: 12.5vw !important;
  }

  .story-images b {
    left: 4.6354vw !important;
  }

  html[dir="rtl"] .story-row h3::after,
  body.rtl:not(.is-english) .story-row h3::after {
    left: -3.6458vw !important;
    width: 3.0208vw !important;
    height: .15625vw !important;
  }

  html[dir="rtl"] .story-row h3::before,
  body.rtl:not(.is-english) .story-row h3::before {
    left: -4.0625vw !important;
    top: calc(50% - .2604vw) !important;
    border-top-width: .2604vw !important;
    border-bottom-width: .2604vw !important;
    border-right-width: .4167vw !important;
  }

  .cta-copy .pill-btn {
    min-width: 10.625vw !important;
    height: 3.0208vw !important;
    padding: .3125vw 1.4583vw !important;
    border-width: .3646vw !important;
    outline-offset: .3125vw !important;
    font-size: 1.25vw !important;
  }
}

/* Local polish round: about spacing, stories, blog typography, contact rhythm and footer links. */
@media (min-width: 801px) {
  .about-copy .vision-item:nth-of-type(1) {
    top: 206px !important;
  }

  .about-copy .vision-item:nth-of-type(2) {
    top: 346px !important;
  }

  .about-copy .pill-btn.small {
    top: 420px !important;
  }

  .team-main-heading .heading-mark {
    width: 190px !important;
    height: 23px !important;
  }

  .story-images {
    left: -100px !important;
  }

  .story-images.three {
    left: 486px !important;
  }

  .blog-card span {
    width: auto !important;
    min-width: 160px !important;
    height: auto !important;
    padding: 7px 14px !important;
    margin-right: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  .blog-card h3 {
    font-size: 18px !important;
    line-height: 1.45 !important;
    margin: 12px 0 8px !important;
    color: #575757 !important;
  }

  .blog-card p {
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: #767676 !important;
  }

  .blog-card a {
    min-width: 132px !important;
    height: 40px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    line-height: 1 !important;
  }

  .contact-card {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    gap: 30px !important;
    padding: 54px 72px !important;
  }

  .contact-card h2 {
    position: static !important;
    margin: 0 0 12px !important;
    width: 100% !important;
    text-align: right !important;
  }

  .contact-detail,
  .contact-address,
  .contact-hours,
  .contact-whatsapp {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 22px !important;
    direction: rtl !important;
    text-align: right !important;
  }

  .contact-detail > img,
  .contact-address > img,
  .contact-hours > img,
  .contact-whatsapp > img {
    position: static !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
  }

  .contact-detail > div {
    position: static !important;
    width: auto !important;
    flex: 1 1 auto !important;
  }

  .contact-detail strong {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }

  .contact-detail p {
    margin-top: 8px !important;
    font-size: 23px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
  }

}

@media (min-width: 1200px) and (max-width: 1599px) {
  .about-copy .vision-item:nth-of-type(1) {
    top: 10.7292vw !important;
  }

  .about-copy .vision-item:nth-of-type(2) {
    top: 18.0208vw !important;
  }

  .about-copy .pill-btn.small {
    top: 21.875vw !important;
  }

  .team-main-heading .heading-mark {
    width: 9.8958vw !important;
    height: 1.1979vw !important;
  }

  .story-images {
    left: -5.2083vw !important;
  }

  .story-images.three {
    left: 25.3125vw !important;
  }

  .blog-card span {
    min-width: 8.3333vw !important;
    padding: .3646vw .7292vw !important;
    font-size: .8333vw !important;
  }

  .blog-card h3 {
    font-size: .9375vw !important;
    line-height: 1.45 !important;
    margin: .625vw 0 .4167vw !important;
  }

  .blog-card p {
    font-size: .7292vw !important;
    line-height: 1.75 !important;
  }

  .blog-card a {
    min-width: 6.875vw !important;
    height: 2.0833vw !important;
    padding: 0 1.1458vw !important;
    font-size: .78125vw !important;
  }

  .contact-card {
    padding: 2.8125vw 3.75vw !important;
    gap: 1.5625vw !important;
  }

  .contact-card h2 {
    margin-bottom: .625vw !important;
  }

  .contact-detail,
  .contact-address,
  .contact-hours,
  .contact-whatsapp {
    gap: 1.1458vw !important;
  }

  .contact-detail > img,
  .contact-address > img,
  .contact-hours > img,
  .contact-whatsapp > img {
    flex-basis: 2.2917vw !important;
    width: 2.2917vw !important;
    height: 2.2917vw !important;
  }

  .contact-detail strong {
    font-size: 1.5625vw !important;
  }

  .contact-detail p {
    margin-top: .4167vw !important;
    font-size: 1.1979vw !important;
  }

}

@media (max-width: 800px) {
  .header {
    position: fixed !important;
    inset: 0 0 auto !important;
    z-index: 1000 !important;
  }

  .hero {
    margin-top: 76px !important;
  }

  .about-figma-lead {
    text-align: center !important;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer {
    gap: 14px !important;
    height: auto !important;
    min-height: 0 !important;
    padding-block: 32px !important;
  }

  .footer-contact-body,
  .footer-social,
  .footer-contact-grid {
    gap: 6px !important;
  }

  .footer-contact-body {
    margin-top: 10px !important;
  }

  .footer-social .foot-social-item,
  .footer-contact-grid .foot-contact-item {
    height: 36px !important;
    flex-basis: 36px !important;
  }

  .contact-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 28px 24px !important;
    text-align: center !important;
  }

  .contact-card h2 {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    text-align: center !important;
  }

  .contact-detail,
  .contact-address,
  .contact-hours,
  .contact-whatsapp {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content 28px minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 0 !important;
    row-gap: 4px !important;
    width: min(100%, 360px) !important;
    min-height: 0 !important;
    direction: ltr !important;
    text-align: center !important;
  }

  .contact-detail > img,
  .contact-address > img,
  .contact-hours > img,
  .contact-whatsapp > img {
    position: static !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 28px !important;
    height: 28px !important;
    transform: translateX(29px) !important;
  }

  .contact-detail > div {
    display: contents !important;
  }

  .contact-detail strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    color: var(--blue2) !important;
    text-align: center !important;
    width: max-content !important;
    margin-right: 10px !important;
    transform: translateX(29px) !important;
    direction: rtl !important;
  }

  .contact-detail p {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    width: min(320px, 100%) !important;
    justify-self: center !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: center !important;
  }

  .doctor-mobile-picture {
    position: static !important;
    display: block !important;
    order: 4;
    width: min(100%, 390px) !important;
    margin: 0 auto 18px !important;
  }

  .doctor-mobile-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .doctor-one .doctor-mobile-picture {
    order: 1;
  }

  .doctor-one h2 {
    order: 2;
  }

  .doctor-two .doctor-mobile-picture {
    order: 1;
  }

  .doctor-two-copy h2 {
    order: 2;
  }

  .doctor-bio-slider {
    display: flex;
    order: 3;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 20px 14px;
    box-sizing: border-box;
  }

  .doctor-bio-slider::-webkit-scrollbar {
    display: none;
  }

  .doctor-bio-slider .doctor-box {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    flex: 0 0 calc(100% - 36px);
    width: auto !important;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow: visible !important;
    scroll-snap-align: center;
    transform: none !important;
  }

  .doctor-bio-slider .doctor-box::after {
    content: none !important;
  }

  .medical-warning .exact-warning {
    width: min(160px, 36vw) !important;
  }
}

@media (max-width: 700px) {
  .blog-figma-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .blog-figma-card > picture {
    height: clamp(125px, 30vw, 165px);
  }

  .blog-figma-card > div {
    min-height: 0;
    padding: 14px 10px;
  }

  .blog-figma-card span {
    min-height: 32px;
    margin-inline-start: -10px;
    padding: 5px 8px;
    padding-inline-start: 18px;
    font-size: 15px;
  }

  .blog-figma-card h3 {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .blog-figma-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    line-height: 1.55;
  }

  .blog-figma-card a {
    width: 100%;
    height: 36px;
    margin-top: 14px;
    font-size: 14px;
  }
}

/* Keep English mobile overrides after every legacy responsive rule. */
@media (max-width: 800px) {
  body.is-english .global-header .menu-toggle { left: auto !important; right: 16px !important; }
  body.is-english .global-header .language-toggle { left: auto !important; right: 76px !important; }
  body.is-english .hero h1 { width: calc(100% - 24px) !important; font-size: 16.5px !important; line-height: 1.18 !important; }
  body.is-english .hero h1 br { display: block !important; }
  body.is-english .ar-banner .ar-copy { left: 20px !important; right: 20px !important; width: auto !important; text-align: center !important; }
  body.is-english .ar-banner .ar-copy h2,
  body.is-english .ar-banner .ar-copy p { text-align: center !important; }

  body.is-english .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2) { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; gap: 8px !important; width: min(100%, 380px) !important; height: auto !important; min-height: 0 !important; margin-inline: auto !important; }
  body.is-english .about-figma-value > div { display: contents !important; }
  body.is-english .about-figma-icon { position: relative !important; inset: auto !important; order: 1 !important; width: 42px !important; height: 42px !important; }
  body.is-english .about-figma-value .about-figma-icon img:first-child { inset: 0 !important; width: 42px !important; height: 42px !important; }
  body.is-english .about-figma-vision-glyph,
  body.is-english .about-figma-mission-glyph { left: 5px !important; top: 6px !important; width: 32px !important; height: 32px !important; }
  body.is-english .about-figma-value h3 { position: static !important; inset: auto !important; order: 2 !important; margin: 0 !important; max-width: none !important; font-size: 23px !important; line-height: 1.2 !important; text-align: center !important; }
  body.is-english .about-figma-value p { position: static !important; inset: auto !important; transform: none !important; order: 3 !important; flex-basis: 100% !important; width: min(100%, 360px) !important; max-width: none !important; margin: 0 !important; font-size: 16px !important; line-height: 1.55 !important; text-align: center !important; }
  body.is-english .about-figma-value:nth-of-type(2) { margin-top: 18px !important; }
  body.is-english .about-figma-button { align-self: center !important; width: max-content !important; min-width: 220px !important; height: 48px !important; padding-inline: 18px !important; font-size: 18px !important; line-height: 1 !important; white-space: nowrap !important; }

  body.is-english .blog-figma-card h3 { display: -webkit-box !important; min-height: 42px !important; overflow: hidden !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; }
  body.is-english .contact-detail { grid-template-columns: minmax(0, 1fr) 28px max-content minmax(0, 1fr) !important; }
  body.is-english .contact-detail.contact-hours { column-gap: 8px !important; }
  body.is-english .contact-detail > img { grid-column: 2 !important; transform: none !important; }
  body.is-english .contact-detail strong { grid-column: 3 !important; margin-right: 0 !important; transform: none !important; direction: ltr !important; }

  body.is-english .footer-contact-grid,
  body.is-english .footer-social { gap: 6px !important; width: auto !important; }
  body.is-english .foot-contact-item,
  body.is-english .footer-social .foot-social-item { display: flex !important; flex: 0 0 36px !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: max-content !important; height: 36px !important; direction: ltr !important; }
  body.is-english .foot-contact-item i,
  body.is-english .footer-social .foot-social-item i { position: relative !important; flex: 0 0 36px !important; width: 36px !important; height: 36px !important; }
}

@media (min-width: 801px) {
  body.is-english .about-figma-copy { align-items: flex-start !important; }
  body.is-english .about-figma-value,
  body.is-english .about-figma-value:nth-of-type(2) { align-self: flex-start !important; grid-template-columns: 74px minmax(0, 1fr) !important; column-gap: 18px !important; width: min(100%, 720px) !important; height: auto !important; min-height: 112px !important; }
  body.is-english .about-figma-value > div { grid-column: 2 !important; }
  body.is-english .about-figma-icon { grid-column: 1 !important; grid-row: 1 !important; align-self: center !important; }
  body.is-english .about-figma-button { align-self: flex-start !important; width: 220px !important; height: 52px !important; margin-top: 4px !important; font-size: 18px !important; line-height: 1 !important; white-space: nowrap !important; }

  body.is-english .contact-detail,
  body.is-english .contact-detail > div { direction: ltr !important; text-align: left !important; }

  body.is-english .footer { display: grid !important; grid-template-columns: minmax(280px, 1.2fr) minmax(180px, .75fr) minmax(280px, 1fr) !important; align-items: start !important; gap: 72px !important; padding: 42px 80px 32px !important; direction: ltr !important; }
  body.is-english .footer > picture { position: absolute !important; inset: 0 !important; }
  body.is-english .footer-brand,
  body.is-english .footer-links,
  body.is-english .footer-contact { position: static !important; width: auto !important; margin: 0 !important; text-align: left !important; }
  body.is-english .footer-brand img,
  body.is-english .footer-brand p { position: static !important; width: auto !important; margin: 0 !important; }
  body.is-english .footer-brand img { width: 150px !important; height: auto !important; margin-bottom: 12px !important; }
  body.is-english .footer-brand p { max-width: 360px !important; line-height: 1.55 !important; }
  body.is-english .footer-links h3,
  body.is-english .footer-contact h3 { margin-top: 0 !important; }
  body.is-english .footer-links a { display: block !important; width: max-content !important; }
  body.is-english .footer-contact-body,
  body.is-english .footer-social,
  body.is-english .footer-contact-grid { align-items: flex-start !important; }
}

/* Final English desktop spacing pass from the review markers. */
@media (min-width: 801px) {
  /* Match the logo's left breathing room on the opposite side of the header. */
  body.is-english .global-header .language-toggle {
    right: 76px !important;
  }

  body.is-english .global-header .nav-tools {
    left: auto !important;
    right: 152px !important;
  }

  /* Keep the AR call-to-action compact without changing its label. */
  body.is-english .ar-banner .ar-copy .pill-btn {
    min-width: 205px !important;
    padding: 8px 28px !important;
    border-width: 6px !important;
    outline-offset: 4px !important;
  }

  /* Review adjustment: move the medical-care image down by 24px. */
  body.is-english #services .services-visual {
    transform: translateY(24px) !important;
  }

  /* Put each case-study image group after its English title. */
  body.is-english #stories .row-a .story-images,
  body.is-english #stories .row-b .story-images,
  body.is-english #stories .row-c .story-images,
  body.is-english #stories .row-d .story-images {
    left: calc(14.7vw + 24px) !important;
    right: auto !important;
  }

  /* Extend row A's arrow back to the end of the second title line. */
  body.is-english #stories .row-a h3::after {
    left: 5.73vw !important;
    right: -30px !important;
    width: auto !important;
  }

  body.is-english #contact-title {
    text-align: center !important;
  }

  body.is-english .partners-heading p {
    padding-bottom: 24px !important;
  }

  body.is-english .faq-answer p {
    padding-bottom: 18px !important;
  }

  body.is-english .faq-item.open .faq-answer {
    height: auto !important;
  }

  body.is-english .footer-links h3 {
    width: max-content !important;
    white-space: nowrap !important;
  }

  body.is-english .footer-contact h3 {
    transform: translateX(-80px) !important;
  }
}

/* Shared shell contract: the same header and footer geometry is used by the
   homepage, blog, articles, legal pages, search and 404 routes. */
.global-header.header,
body.page-body .inner-global-header {
  min-height: var(--fc-header-nav-height) !important;
  height: var(--fc-header-nav-height) !important;
}

body.page-body .inner-global-header .nav-shell {
  height: var(--fc-header-nav-height) !important;
}

/* Stories are cleaner without the decorative connector arrows between the
   case title and its image group. */
.story-row h3::before,
.story-row h3::after {
  display: none !important;
}

/* English blog cards read left-to-right: image on the left, copy on the
   right. Arabic cards keep their existing RTL composition. */
body.page-body.is-english .article-card {
  direction: ltr !important;
}

body.page-body.is-english .article-card-content {
  direction: ltr !important;
  text-align: left !important;
  align-items: flex-start !important;
}

/* Keep blog card copy compact and predictable across desktop widths. */
body.page-body .article-card h2 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

body.page-body .article-card p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}

body.page-body .article-card .read-more {
  margin-top: 8px !important;
}

body.page-body .blog-list {
  padding-bottom: 64px !important;
}

/* Inner pages use the footer in normal document flow; the homepage artboard
   offset must not pull it upward and leave a white strip below it. */
body.page-body .inner-global-header ~ .inner-global-footer {
  transform: none !important;
}

/* The homepage footer is artboard-positioned. On inner pages it must stay in
   normal flow so it cannot create a large empty area below the content. */
body.page-body .global-footer {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

/* Inner-page content starts below the shared homepage header instead of being
   hidden underneath its artboard overlay. */
body.page-body .global-header {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

body.page-body.is-english .global-header .logo-link {
  left: 76px !important;
  right: auto !important;
}
body.page-body.rtl .global-header .logo-link {
  left: auto !important;
  right: 76px !important;
}

@media (min-width: 801px) {
  .footer-contact-body { gap: 24px !important; }
}

@media (min-width: 801px) {
  body.page-body.is-english .inner-global-header .logo-link {
    left: auto !important;
    right: var(--fc-header-side-space) !important;
  }

  body.page-body.is-english .inner-global-header .language-toggle {
    left: auto !important;
    right: var(--fc-header-side-space) !important;
  }

  body.page-body.is-english .inner-global-header .nav-tools {
    left: auto !important;
    right: 152px !important;
  }
}

@media (max-width: 800px) {
  body.page-body .inner-global-header .logo-link {
    right: 16px !important;
    left: auto !important;
    top: 10px !important;
    width: 108px !important;
    height: 46px !important;
  }

  body.page-body .inner-global-header .language-toggle {
    top: 17px !important;
  }
}

@media (max-width: 800px) {
  .contact-detail {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    column-gap: 8px !important;
  }

  .contact-detail > img {
    position: static !important;
    flex: 0 0 28px !important;
    transform: none !important;
  }

  .contact-detail > div {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .contact-detail strong,
  .contact-detail p {
    width: 100% !important;
    margin-inline: 0 !important;
    transform: none !important;
  }

  html[dir="rtl"] .contact-detail {
    direction: rtl !important;
    text-align: right !important;
  }

  html[dir="rtl"] .contact-detail strong,
  html[dir="rtl"] .contact-detail p {
    text-align: right !important;
  }

  body.is-english .contact-detail {
    direction: ltr !important;
    text-align: left !important;
  }

  body.is-english .contact-detail strong,
  body.is-english .contact-detail p {
    text-align: left !important;
  }

  .service-card.is-expanded > .feature-overlay {
    overflow: hidden !important;
    overflow-x: hidden !important;
  }

  .service-card.is-expanded > .feature-overlay h3,
  .service-card.is-expanded > .feature-overlay .feature-copy,
  .service-card.is-expanded > .feature-overlay .feature-copy p {
    box-sizing: border-box;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .blog-figma-card > div {
    align-items: center;
    text-align: center;
  }

  .blog-figma-card span {
    margin-inline: 0;
  }

  .blog-figma-card h3,
  .blog-figma-card p {
    text-align: center;
  }

  body.page-body.is-english .inner-global-header .logo-link {
    left: 16px !important;
    right: auto !important;
  }

  body.nav-open .global-header .nav {
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .98) !important;
  }

  body.nav-open .global-header .nav a::after {
    content: none !important;
  }

  body.nav-open .global-header .nav a::before {
    content: none !important;
  }

  body.nav-open .global-header .nav a,
  body.nav-open .global-header .nav a.active {
    background: transparent !important;
  }

}

.article-share-link:hover > img,
.article-share-link:focus-visible > img {
  filter: brightness(0) invert(1);
}


/* === Mobile art-directed banners: last word ==============================
   style.css is the last sheet the theme enqueues and it is full of !important
   English/RTL overrides, so the rules that have to beat those live here rather
   than in responsive.css.

   The copy window is measured off the Arabic exports, which is where the
   designer allowed text to sit: on the AR banner the heading starts at 10.8%
   of the card and the button ends at 36.7%; on the CTA the heading starts at
   70.3% and the button ends at 95.6%. The English text is live, so it is
   pinned into the same window and sized to fit inside it instead of running
   over the photography underneath. */
@media (max-width: 800px) {
  /* Arabic: the copy is drawn into the artwork, and style.css forces this
     button visible with !important, so the hide has to outrank that. */
  html .ar-banner.mobile-art-ar .ar-copy .pill-btn,
  html .cta.mobile-art-ar .cta-copy .pill-btn { display: none !important; }

  /* --- English hero: window 11.3% -> 38% (heading plus the name pill) --- */
  html .hero.mobile-art-en .hero-copy {
    left: 5% !important;
    right: 5% !important;
    width: auto !important;
    top: 11.3% !important;
    transform: none !important;
    text-align: center !important;
  }

  html .hero.mobile-art-en .hero-copy h1 {
    width: auto !important;
    margin: 0 !important;
    font-size: clamp(14px, 4.4vw, 19px) !important;
    line-height: 1.2 !important;
  }

  html .hero.mobile-art-en .hero-copy p {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 7px auto 0 !important;
    padding: 5px 12px !important;
    font-size: clamp(10px, 3.1vw, 13.5px) !important;
    line-height: 1.35 !important;
  }

  /* --- English AR banner: window 10.8% -> 36.7% --- */
  html .ar-banner.mobile-art-en .ar-copy {
    left: 5% !important;
    right: 5% !important;
    width: auto !important;
    top: 10.8% !important;
    bottom: auto !important;
    text-align: center !important;
  }

  html .ar-banner.mobile-art-en .ar-copy h2 {
    margin: 0 !important;
    font-size: clamp(15px, 4.6vw, 20px) !important;
    line-height: 1.18 !important;
  }

  html .ar-banner.mobile-art-en .ar-copy p {
    width: auto !important;
    margin: 4px 0 0 !important;
    font-size: clamp(10px, 3.15vw, 13.5px) !important;
    line-height: 1.34 !important;
  }

  html .ar-banner.mobile-art-en .ar-copy .pill-btn {
    display: flex !important;
    width: max-content !important;
    min-width: 0 !important;
    height: clamp(30px, 8.6vw, 38px) !important;
    margin: 6px auto 0 !important;
    padding: 0 18px !important;
    border-width: 3px !important;
    outline-offset: 3px !important;
    font-size: clamp(11.5px, 3.5vw, 16px) !important;
  }

  /* --- English CTA: window 70.3% -> 95.6%, anchored to the bottom --- */
  html .cta.mobile-art-en .cta-copy {
    left: 5% !important;
    right: 5% !important;
    width: auto !important;
    top: auto !important;
    bottom: 4.6% !important;
    text-align: center !important;
  }

  html .cta.mobile-art-en .cta-copy h2 {
    margin: 0 0 5px !important;
    font-size: clamp(12.5px, 4.05vw, 18px) !important;
    line-height: 1.22 !important;
  }

  html .cta.mobile-art-en .cta-copy .pill-btn {
    display: flex !important;
    width: max-content !important;
    min-width: 0 !important;
    height: clamp(30px, 8.6vw, 38px) !important;
    margin: 0 auto !important;
    padding: 0 18px !important;
    border-width: 3px !important;
    outline-offset: 3px !important;
    font-size: clamp(12px, 3.65vw, 16px) !important;
  }
}
