/* V55 — client PDFs 1 + 2 content-fit and responsive safeguards */

/* Long approved hero copy must remain inside the video frame in EN + AR. */
#main .hero-v55-title{
  max-width:18ch!important;
  font-size:clamp(2.7rem,4.35vw,4.9rem)!important;
  line-height:1.03!important;
  letter-spacing:-.035em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance;
}
#main .hero-v55-title span{display:inline;color:#e7c265}
html[dir="rtl"] #main .hero-v55-title{
  max-width:16ch!important;
  font-size:clamp(2.55rem,4vw,4.35rem)!important;
  line-height:1.34!important;
  letter-spacing:0!important;
}
html[dir="rtl"] #main .hero-v55-title span{display:inline}

/* Homepage mission/approach: approved copy is longer than the previous text. */
#main .mission-approach-v55 .split-copy,
#main .mission-approach-v55 .media-caption{min-width:0}
#main .mission-approach-v55 .split-copy .display{font-size:clamp(2rem,3.1vw,3rem)!important}
#main .mission-approach-v55 .split-copy .lead{max-width:68ch;line-height:1.85!important}
#main .mission-approach-v55 .mission-panel p{max-width:68ch;line-height:1.75!important}
#main .mission-approach-v55 .media-caption strong{overflow-wrap:anywhere;word-break:normal}

/* PDF 1 team heading/subheading. */
#main .team-v55-heading{max-width:1120px!important;margin-inline:auto!important;text-align:center}
#main .team-v55-heading h2{
  max-width:24ch;
  margin:10px auto 12px!important;
  font-size:clamp(2rem,3.35vw,3.5rem)!important;
  line-height:1.16!important;
  letter-spacing:-.03em!important;
  text-wrap:balance;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
html[dir="rtl"] #main .team-v55-heading h2{
  max-width:27ch;
  line-height:1.48!important;
  letter-spacing:0!important;
}
#main .team-v55-subheading{
  max-width:78ch!important;
  margin:0 auto!important;
  padding:0!important;
  font-size:clamp(.96rem,1.05vw,1.08rem)!important;
  line-height:1.8!important;
  color:#77736a!important;
  text-align:center;
}
html[dir="rtl"] #main .team-v55-subheading{line-height:2!important}

/* About page approved long section headings. */
#main .about-goals-v55 .section-head>div,
#main .about-operations-v55 .section-head>div{max-width:850px!important;min-width:0}
#main .about-goals-v55 .section-head h2,
#main .about-operations-v55 .section-head h2{
  font-size:clamp(2rem,3.3vw,3.55rem)!important;
  line-height:1.2!important;
  text-wrap:balance;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
html[dir="rtl"] #main .about-goals-v55 .section-head h2,
html[dir="rtl"] #main .about-operations-v55 .section-head h2{line-height:1.48!important}
#main .about-operations-v55 .section-head>p{max-width:62ch!important;line-height:1.85!important}

/* Team page: Sabeihah's new profile heading/subheading from PDF 1 page 5. */
#main .team-profile-name-v55{
  display:block;
  margin-bottom:8px;
  color:#9a772c;
  font-size:.78rem;
  line-height:1.5;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
html[dir="rtl"] #main .team-profile-name-v55{letter-spacing:0;text-transform:none;font-size:.86rem}
#main .team-profile-heading-v55{
  max-width:19ch!important;
  margin:0 0 14px!important;
  font-size:clamp(2.05rem,3.2vw,3.45rem)!important;
  line-height:1.1!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  text-wrap:balance;
}
html[dir="rtl"] #main .team-profile-heading-v55{max-width:22ch!important;line-height:1.48!important}
#main .team-profile-subheading-v55{
  max-width:64ch!important;
  margin:0 0 18px!important;
  color:#776f62!important;
  font-size:clamp(.98rem,1.05vw,1.08rem)!important;
  line-height:1.8!important;
  font-weight:600;
}
html[dir="rtl"] #main .team-profile-subheading-v55{line-height:2!important}

/* Long team titles must wrap naturally rather than spill out of cards. */
#main .team-title-v52,
#main .team-profile-title-v52,
#main .team-v29-card-copy p{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

@media(max-width:900px){
  #main .hero-v55-title{max-width:17ch!important;font-size:clamp(2.35rem,7vw,3.55rem)!important}
  html[dir="rtl"] #main .hero-v55-title{max-width:15ch!important;font-size:clamp(2.2rem,6.5vw,3.15rem)!important}
  #main .team-v55-heading h2{max-width:29ch;font-size:clamp(1.8rem,4.8vw,2.7rem)!important}
  #main .about-goals-v55 .section-head h2,#main .about-operations-v55 .section-head h2{font-size:clamp(1.85rem,5vw,2.65rem)!important}
}

@media(max-width:640px){
  #main .hero-v55-title{
    max-width:100%!important;
    font-size:clamp(2rem,9.7vw,2.65rem)!important;
    line-height:1.12!important;
    margin:10px 0 14px!important;
  }
  #main .hero-v55-title span{display:inline}
  html[dir="rtl"] #main .hero-v55-title{
    max-width:100%!important;
    font-size:clamp(1.9rem,8.8vw,2.45rem)!important;
    line-height:1.5!important;
  }
  #main .mission-approach-v55 .split-copy .display{font-size:1.75rem!important;line-height:1.35!important}
  #main .mission-approach-v55 .media-caption{inset-inline:14px!important;bottom:14px!important;padding:14px 15px!important}
  #main .mission-approach-v55 .media-caption strong{font-size:.82rem!important;line-height:1.55!important}
  #main .team-v55-heading{margin-bottom:30px!important}
  #main .team-v55-heading h2{
    max-width:100%!important;
    font-size:clamp(1.55rem,7vw,2rem)!important;
    line-height:1.35!important;
    margin:8px auto 10px!important;
  }
  html[dir="rtl"] #main .team-v55-heading h2{line-height:1.65!important}
  #main .team-v55-subheading{font-size:.94rem!important;line-height:1.78!important;padding-inline:2px!important}
  #main .about-goals-v55 .section-head h2,
  #main .about-operations-v55 .section-head h2{
    font-size:clamp(1.55rem,7vw,2rem)!important;
    line-height:1.38!important;
  }
  html[dir="rtl"] #main .about-goals-v55 .section-head h2,
  html[dir="rtl"] #main .about-operations-v55 .section-head h2{line-height:1.65!important}
  #main .about-operations-v55 .section-head>p{font-size:.94rem!important;line-height:1.82!important}
  #main .team-profile-heading-v55{
    max-width:100%!important;
    font-size:clamp(1.75rem,8vw,2.25rem)!important;
    line-height:1.24!important;
  }
  html[dir="rtl"] #main .team-profile-heading-v55{line-height:1.62!important}
  #main .team-profile-subheading-v55{font-size:.96rem!important;line-height:1.82!important}
}

@media(max-width:380px){
  #main .hero-v55-title{font-size:1.9rem!important}
  html[dir="rtl"] #main .hero-v55-title{font-size:1.82rem!important}
  #main .team-v55-heading h2,#main .about-goals-v55 .section-head h2,#main .about-operations-v55 .section-head h2{font-size:1.5rem!important}
  #main .team-profile-heading-v55{font-size:1.68rem!important}
}
