/* القالب المعتمد: 05 | ملف التنسيق المركزي وأيقونة التبويب ؛ 10 | البانر الرئيسي ؛ 12.05 | صورة المقال ووصفها ؛ 17 | التواصل ؛ 20 | وصف الصور الرئيسي */
/* On small screens keep the banner filled, retain its physical left edge
   in either language, and crop any horizontal excess from the right. */
@media (max-width: 768px) {
  html body .hero[aria-hidden="true"]:not([data-article-art]) {
    background-position: center, left center;
  }
}
.whitepoint-article-photo {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin: clamp(24px, 5vw, 40px) auto;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgb(20 24 25 / 10%), 0 12px 28px rgb(20 24 25 / 15%);
}
.cta.whitepoint-cta-single {
  min-height: 0;
  padding: clamp(20px, 4vw, 34px) 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.whitepoint-cta-single > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
}

/* Editorial typography shared by Arabic and English keyword pages. */
html main #article > h1,
html .review-title h1 {
  font-size: clamp(1.375rem, 1.15rem + 0.72vw, 1.75rem);
  line-height: 1.4;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
main #article {
  --whitepoint-article-section-gap: 1.9rem;
  line-height: 1.9;
}
main #article :is(p, li) {
  line-height: inherit;
}
main #article > h1 + p,
main #article :is(h2, h3, h4) + :is(p, ul, ol) {
  margin-block-start: 0.375rem;
}
main #article :is(p, ul, ol, div, figure, table) + :is(h2, h3, h4),
main #article p + p,
main #article > .note + .note {
  margin-block-start: var(--whitepoint-article-section-gap);
}

/* Shared rule: keep the entire image, then bound its size instead of cutting it.
   Article markup: .hero[data-article-art] containing img.whitepoint-hero-photo.
   Fixed-page markup: body.utility .hero containing its own title and art.
   Home .home-hero is deliberately outside both rules. */
html body .hero[data-article-art] {
  display:flex;
  justify-content:center;
  align-items:center;
  box-sizing:border-box;
  height:auto;
  min-height:0;
  max-height:none;
  background:#fff;
  background-image:none;
  overflow:visible;
}
html body .hero[data-article-art] > .wrap {display:none}
html body .hero[data-article-art] > img.whitepoint-hero-photo {
  display:block;
  position:static;
  inset:auto;
  width:auto;
  height:auto;
  min-width:0;
  max-width:100%;
  max-height:min(68vh,580px);
  aspect-ratio:auto;
  margin:0;
  object-fit:contain;
  object-position:center;
}
@media (max-width: 768px) {
  html body .hero[data-article-art] > img.whitepoint-hero-photo {
    width:auto;
    max-height:none;
  }
}
