/* The Arabic family matches the Maghreb Nutrition reference article. */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-arabic/regular.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-arabic/medium.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-arabic/bold.ttf') format('truetype');
}

/* Case-profile additions only; shared homepage cards keep their existing layout. */
.partnership-story .client-identity {
  margin-block-start: 64px;
  padding-block-start: 28px;
  border-top: 1px solid #14141230;
}
.partnership-story .client-identity h2 {
  margin-block-end: 18px;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.3;
}
.partnership-story .client-identity-text {
  max-width: none;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  overflow-wrap: anywhere;
  unicode-bidi: isolate;
}
.page-case-ar {
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  line-height: 1.9;
}
.page-case-ar :is(h1, h2, h3, .display, .nav-links, .eyebrow) {
  font-family: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}
.page-case-ar :is(h1, h2, h3) {
  font-weight: 700;
}
.page-case-ar .page-hero h1 {
  font-size: clamp(44px, 7.5vw, 112px);
  line-height: 1.4;
}
.page-case-ar .page-hero p {
  line-height: 1.9;
}
.page-case-ar .partnership-story-grid > * {
  min-width: 0;
}
.page-case-ar .prose h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.6;
}
.page-case-ar .prose p {
  line-height: 2;
}
.page-case-ar .partner-site-bottom > span:first-child {
  direction: ltr;
  unicode-bidi: isolate;
}
.page-case-ar .client-identity-text {
  font-family: 'IBM Plex Sans', Arial, sans-serif;
}
@media (max-width: 600px) {
  .partnership-story .client-identity {
    margin-block-start: 42px;
  }
  .page-case-ar .text-link {
    gap: 18px;
    line-height: 1.9;
  }
}

.page-case-ar .site-header { letter-spacing: normal; }

/* Both case-study languages use one centered reading column. */
.page-inner .partnership-story {
  padding-inline: max(var(--pad), calc((100% - 840px) / 2));
}
.page-inner .partnership-story-grid {
  display: block;
}
.partnership-story .prose p {
  max-width: none;
}
