/* Generated by src/build.js (rtlcss) from css/components/about-page.css — LTR version, do not edit: edit css/components/about-page.css and rebuild */
/* ==========================================================================
   about-page.css — «من نحن»: page head (as the guidance page head) and the
   vision / mission card — the site's shell (as the material details card)
   holding the vision on a brand panel (the logo's arch mark as its
   watermark) and the mission beside it. The partner banners band follows
   (partner-banners.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Head backdrop — pulled up behind the sticky header
   -------------------------------------------------------------------------- */
.ab-hero {
  position: relative;
  margin-top: -88px;
  padding-top: 88px;
  background: linear-gradient(-180deg, var(--color-cream-200) 0%, var(--color-sky-50) 55%, var(--color-white) 100%);
}

/* --------------------------------------------------------------------------
   Page head: breadcrumb, title, one line under it
   -------------------------------------------------------------------------- */
.ab-head {
  position: relative;
  overflow-x: clip;
}

/* faint calligraphy watermark */
.ab-head__pattern {
  position: absolute;
  z-index: 0;
  bottom: -60px;
  right: -80px;
  width: 380px;
  height: auto;
  opacity: .06;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
}

.ab-head__inner {
  position: relative;
  max-width: var(--cw, 1180px);
  margin: 0 auto;
  padding: var(--page-head-space) 24px; /* equal space above and below (css/base.css) */
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.ab-crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--color-ink-500);
}

.ab-crumbs__link,
.ab-crumbs__link:hover {
  color: var(--color-blue-500);
  font-weight: 700;
}

.ab-head__title {
  margin: 0;
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: var(--fs-page-title);
  line-height: 1.2;
  color: var(--color-navy-700);
  text-wrap: balance;
}

.ab-head__accent {
  color: var(--color-blue-500);
}

.ab-head__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.8;
  color: var(--color-ink-600);
}

/* --------------------------------------------------------------------------
   Vision and mission
   -------------------------------------------------------------------------- */
.ab-about {
  background: var(--color-white);
}

/* 24px under the card: the partner banners box comes right after, as on the
   material pages (partner-banners.css) */
.ab-wrap {
  box-sizing: border-box;
  max-width: var(--cww, 1320px);
  margin: 0 auto;
  padding: 0 24px 24px;
}

.ab-shell {
  padding: 16px;
  border-radius: 42px;
  background: linear-gradient(-180deg, var(--color-cream-200) 0%, var(--color-sky-50) 100%);
}

.ab-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  padding: 24px;
  border-radius: 32px;
  background: var(--color-white);
}

/* The vision on a brand panel, where the photo was. Its watermark is the
   logo's arch mark (never mirrored): white, faint and larger than the panel,
   at the end side away from the text, cut by the panel's edge and bottom. */
.ab-vision {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 300px;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(-155deg, var(--color-blue-500) 0%, var(--color-blue-700) 45%, var(--color-navy-700) 100%);
  color: var(--color-white);
}

.ab-vision__mark {
  position: absolute;
  z-index: -1;
  top: 22px;
  right: -48px;
  height: 140%;
  width: auto;
  fill: currentColor;
  opacity: .12;
  pointer-events: none;
}

.ab-vision .ab-card__label {
  color: var(--color-cream-400);
}

.ab-vision .ab-card__icon {
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
  color: var(--color-white);
}

.ab-vision__text {
  margin: 0;
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: var(--fs-media-title);
  line-height: 1.45;
  color: var(--color-white);
  text-wrap: balance;
}

.ab-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  border-radius: 24px;
  background: var(--color-sky-50);
  border: 1px solid var(--color-line-soft);
}

.ab-card__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-blue-500);
}

.ab-card__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 1px var(--color-line);
  color: var(--color-blue-500);
}

.ab-card__icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ab-card__text {
  margin: 0;
  font-size: 20px;
  line-height: 2;
  color: var(--color-navy-700);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .ab-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-vision {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .ab-head__inner {
    padding: var(--page-head-space) 16px;
  }

  .ab-head__lead {
    font-size: 17px;
  }

  .ab-wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ab-shell {
    padding: 10px;
    border-radius: 30px;
  }

  .ab-inner {
    gap: 16px;
    padding: 14px;
    border-radius: 22px;
  }

  .ab-vision {
    gap: 12px;
    min-height: 220px;
    padding: 28px 20px;
    border-radius: 18px;
  }

  .ab-vision__mark {
    top: 18px;
    right: -40px;
  }

  .ab-card {
    gap: 12px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .ab-card__label {
    font-size: 18px;
  }

  .ab-card__icon {
    width: 40px;
    height: 40px;
  }

  .ab-card__text {
    font-size: 17px;
    line-height: 1.9;
  }
}
