/* =====================================================================
   Page group "about" (من نحن / أثرنا):
   board, governance, FAQ, news (+ details), gallery, achievements,
   our reports, numbers & stats.
   Every rule is scoped under an .ab-* section class (or a kept page ID),
   so nothing leaks into other pages. Tokens come from hikma.css.
   ===================================================================== */

/* ---------- shared within the group ---------- */
.ab-span-all { grid-column: 1 / -1; }
.ab-pre { white-space: pre-line; }
.ab-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: rgba(2, 61, 57, .08); color: var(--hk-green); font-size: .75rem; font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1;
}

/* segmented filter (news categories, gallery types) — #pills-tab is already restyled in hikma.css */
.ab-tabs-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.ab-tabs-wrap #pills-tab.ab-tabs {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; max-width: 100%; padding: 5px; list-style: none;
  margin: 0 !important; background: var(--hk-ivory); border: 1px solid var(--hk-line) !important; border-radius: 16px;
}
.ab-tabs-wrap #pills-tab .nav-item { margin: 0 !important; }
.ab-tabs-wrap #pills-tab .nav-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.ab-tabs-wrap #pills-tab .nav-link:hover { color: var(--hk-green) !important; }
.ab-tabs-wrap #pills-tab .nav-link i { color: var(--hk-gold-2); font-size: .9rem; }
.ab-tabs-wrap #pills-tab .nav-link.active .ab-count { background: var(--hk-ivory); }
.ab-news #pills-tabContent, .ab-gallery #pills-tabContent { width: auto; margin: 0; }

/* downloadable documents (governance, gallery files) */
.ab-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-docs--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ab-doc {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 14px; background: #fff;
  border: 1px solid var(--hk-line-w); border-radius: 14px; color: var(--hk-ink); text-decoration: none;
  transition: border-color .18s, background .18s;
}
.ab-doc:hover { border-color: var(--hk-gold); background: #fffcf6; color: var(--hk-ink); }
.ab-doc__icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: var(--hk-ivory); color: var(--hk-green); font-size: 1.05rem; }
.ab-doc__name { flex: 1; min-width: 0; font-weight: 600; font-size: .95rem; line-height: 1.6; }
.ab-doc__act { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--hk-green-2); white-space: nowrap; }
.ab-doc:hover .ab-doc__act { color: var(--hk-green); }
@media (max-width: 767.98px) { .ab-docs--grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .ab-doc__act span { display: none; } }

/* =====================================================================
   Board of directors (/whoweare/boardof-director)
   ===================================================================== */
#mission-vision.ab-board .ab-board__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1080px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
#mission-vision.ab-board .ab-member {
  width: calc((100% - 48px) / 3); display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm);
}
#mission-vision.ab-board .ab-member__photo { aspect-ratio: 4 / 5; background: var(--hk-ivory); overflow: hidden; }
#mission-vision.ab-board .ab-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
#mission-vision.ab-board .ab-member__body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 20px 22px; text-align: center; }
#mission-vision.ab-board .ab-member__name { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.5; color: var(--hk-green); }
#mission-vision.ab-board .ab-member__role {
  margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px;
  background: var(--hk-ivory); border: 1px solid var(--hk-line); color: var(--hk-ink); font-size: .86rem; font-weight: 600; line-height: 1.5;
}
#mission-vision.ab-board .ab-member__photo { background: var(--hk-green); }
#mission-vision.ab-board .ab-member__bio { margin: 4px 0 0; color: var(--hk-muted); font-size: .92rem; line-height: 1.85; }
#mission-vision.ab-board .ab-member__bio.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
#mission-vision.ab-board .ab-member__more { margin-top: -4px; padding: 4px 6px; border: 0; background: none; color: var(--hk-gold-2); font-size: .86rem; font-weight: 700; cursor: pointer; }
#mission-vision.ab-board .ab-member__more:hover { color: var(--hk-green); text-decoration: underline; }
#mission-vision.ab-board .ab-member__links { list-style: none; margin: auto 0 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#mission-vision.ab-board .ab-member__links a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--hk-green-tint, rgba(2, 61, 57, .07)); color: var(--hk-green); font-size: 1rem; text-decoration: none; transition: background .2s, color .2s; }
#mission-vision.ab-board .ab-member__links a:hover, #mission-vision.ab-board .ab-member__links a:focus-visible { background: var(--hk-green); color: var(--hk-gold); }
@media (max-width: 991.98px) { #mission-vision.ab-board .ab-member { width: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) {
  #mission-vision.ab-board .ab-board__list { gap: 12px; }
  #mission-vision.ab-board .ab-member { width: 100%; flex-direction: row; align-items: center; }
  #mission-vision.ab-board .ab-member__photo { flex: 0 0 104px; align-self: stretch; aspect-ratio: auto; min-height: 128px; }
  #mission-vision.ab-board .ab-member__body { align-items: flex-start; text-align: start; padding: 14px 16px; gap: 8px; }
  #mission-vision.ab-board .ab-member { align-items: stretch; }
  #mission-vision.ab-board .ab-member__links { justify-content: flex-start; gap: 6px; }
  #mission-vision.ab-board .ab-member__links a { width: 40px; height: 40px; font-size: .92rem; }
}

/* =====================================================================
   Governance (/whoweare/governance)
   ===================================================================== */
.ab-gov .ab-gov__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.ab-gov .hk-panel__title { align-items: flex-start; line-height: 1.6; }
.ab-gov .hk-panel__title .ab-count { margin-inline-start: auto; margin-top: 10px; flex: 0 0 auto; }
.ab-gov .ab-gov__text { margin: 0; white-space: pre-line; color: var(--hk-ink); line-height: 2; text-align: start; }
@media (max-width: 991.98px) { .ab-gov .ab-gov__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ (/whoweare/faq) — vertical topic tabs + accessible accordion
   ===================================================================== */
.ab-faq .ab-faq__layout {
  display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "nav panes" "help panes"; gap: 20px 36px; align-items: start;
}
.ab-faq .ab-faq__nav { grid-area: nav; }
.ab-faq .ab-faq__panes { grid-area: panes; }
.ab-faq .ab-faq__help { grid-area: help; }
.ab-faq .ab-faq__label { margin: 0 0 10px; font-size: .85rem; font-weight: 600; color: var(--hk-muted); }
.ab-faq #v-pills-tab { display: grid; gap: 8px; }
.ab-faq #v-pills-tab .nav-link {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 10px 16px; margin: 0;
  border: 1px solid var(--hk-line-w); border-radius: 14px; background: #fff; color: var(--hk-ink); font-weight: 600; text-align: start;
  transition: border-color .18s, background .18s;
}
.ab-faq #v-pills-tab .nav-link:hover { border-color: var(--hk-gold); }
.ab-faq #v-pills-tab .nav-link i { width: 20px; text-align: center; color: var(--hk-gold-2); }
.ab-faq #v-pills-tab .nav-link .ab-count { margin-inline-start: auto; }
.ab-faq #v-pills-tab .nav-link.active { border-color: var(--hk-green); }
.ab-faq #v-pills-tab .nav-link.active i { color: var(--hk-gold); }
.ab-faq #v-pills-tab .nav-link.active .ab-count { background: rgba(255, 255, 255, .16); color: #fff; }
.ab-faq .ab-faq__help { padding: 22px; }
.ab-faq .ab-faq__help-title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; color: var(--hk-green); }
.ab-faq .ab-faq__help p { margin: 0 0 14px; color: var(--hk-muted); font-size: .92rem; line-height: 1.8; }
.ab-faq .ab-faq__pane-title { margin: 0 0 18px; font-size: 1.25rem; font-weight: 800; color: var(--hk-green); }

.ab-faq .accordion { display: grid; gap: 12px; --bs-accordion-bg: #fff; --bs-accordion-border-color: var(--hk-line-w); --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--hk-green); }
.ab-faq .accordion-item { border: 1px solid var(--hk-line-w); border-radius: 16px !important; overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.ab-faq .accordion-item:not(:first-of-type) { border-top: 1px solid var(--hk-line-w); }
.ab-faq .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: var(--hk-gold); box-shadow: var(--hk-shadow-sm); }
.ab-faq .accordion-header { margin: 0; }
.ab-faq .accordion-button {
  gap: 16px; padding: 18px 20px; border-radius: 0 !important; background: #fff; color: var(--hk-ink);
  font-size: 1rem; font-weight: 600; line-height: 1.7; text-align: start; box-shadow: none;
}
.ab-faq .accordion-button:not(.collapsed) { color: var(--hk-green); background: #fff; box-shadow: none; }
.ab-faq .accordion-button:focus { box-shadow: none; border-color: transparent; }
.ab-faq .accordion-button:focus-visible { outline-offset: -3px; }
.ab-faq .accordion-button::after {
  content: "+"; flex: 0 0 32px; width: 32px; height: 32px; margin: 0; margin-inline-start: auto; display: grid; place-items: center;
  border-radius: 50%; background: var(--hk-ivory); color: var(--hk-green); font-size: 1.25rem; font-weight: 500; line-height: 1; transform: none;
}
.ab-faq .accordion-button:not(.collapsed)::after { content: "\2212"; background: var(--hk-gold); color: var(--hk-green); transform: none; }
.ab-faq .accordion-body { padding: 0 20px 20px; border: 0; background: #fff; color: var(--hk-ink); line-height: 2; white-space: pre-line; }
/* neutralise the legacy global accordion skin in style_ar.css (filters, green fill, hover scale) */
.ab-faq .accordion-item { margin-bottom: 0; }
.ab-faq .accordion-button:hover { background: #fffcf6; color: var(--hk-green); transform: none; }
.ab-faq .accordion-button:not(.collapsed) { background-color: #fff !important; color: var(--hk-green) !important; }
.ab-faq .accordion-button:focus { border-color: transparent !important; }
.ab-faq .accordion-button::after, .ab-faq .accordion-button:not(.collapsed)::after { filter: none; margin-left: 0 !important; transition: background .18s; }
@media (max-width: 991.98px) {
  .ab-faq .ab-faq__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "nav" "panes" "help"; gap: 24px; }
  .ab-faq #v-pills-tab { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .ab-faq #v-pills-tab .nav-link { padding: 10px 12px; gap: 8px; font-size: .92rem; }
  .ab-faq .accordion-button { padding: 16px; font-size: .95rem; }
  .ab-faq .accordion-body { padding: 0 16px 18px; }
}

/* =====================================================================
   News list (/whoweare/news) — cards come from data/news_data via AJAX
   ===================================================================== */
.ab-news #newsdata { min-height: 220px; }
.ab-news .ab-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ab-newscard {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); transition: transform .2s, box-shadow .2s;
}
.ab-newscard:hover { transform: translateY(-3px); box-shadow: var(--hk-shadow); }
.ab-newscard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hk-ivory); display: grid; place-items: center; color: var(--hk-gold); font-size: 2rem; }
.ab-newscard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ab-newscard:hover .ab-newscard__media img { transform: scale(1.04); }
.ab-newscard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.ab-newscard__meta { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--hk-muted); font-size: .82rem; }
.ab-newscard__meta i { color: var(--hk-gold-2); }
.ab-newscard__title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.65; }
.ab-newscard__title a { color: var(--hk-green); text-decoration: none; }
.ab-newscard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ab-newscard__title a:focus-visible { outline: 0 !important; }
.ab-newscard:has(.ab-newscard__title a:focus-visible) { outline: 2px solid var(--hk-gold); outline-offset: 2px; }
.ab-newscard__excerpt {
  margin: 0; color: var(--hk-muted); font-size: .92rem; line-height: 1.9;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ab-newscard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--hk-green-2); font-weight: 700; font-size: .92rem; }
.ab-newscard:hover .ab-newscard__more { color: var(--hk-green); }

/* =====================================================================
   News details (/whoweare/newsdetails/{id}/{type})
   ===================================================================== */
.ab-article .ab-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.ab-article .ab-article__figure { margin: 0 0 20px; border-radius: var(--hk-radius); overflow: hidden; background: var(--hk-ivory); box-shadow: var(--hk-shadow-sm); }
.ab-article .ab-article__figure img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.ab-article .ab-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--hk-line-w); color: var(--hk-muted); font-size: .9rem; }
.ab-article .ab-share__label { margin-inline-end: 4px; font-weight: 600; }
.ab-article .ab-share a {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  border: 1px solid var(--hk-line-w); color: var(--hk-green); text-decoration: none; transition: background .18s, border-color .18s;
}
.ab-article .ab-share a:hover { background: var(--hk-green-tint); border-color: var(--hk-green-tint); }
.ab-article .ab-article__body { max-width: none; }
.ab-article .ab-article__body h1, .ab-article .ab-article__body h2 { font-size: 1.4rem; }
.ab-article .ab-article__body h3 { font-size: 1.2rem; }
.ab-article .ab-article__body h4, .ab-article .ab-article__body h5, .ab-article .ab-article__body h6 { font-size: 1.05rem; color: var(--hk-green); }
.ab-article .ab-aside { position: sticky; top: calc(var(--hk-head-h) + 24px); }
.ab-article .ab-aside__title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid var(--hk-gold-tint); font-size: 1.15rem; font-weight: 800; color: var(--hk-green); }
.ab-article .ab-aside__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.ab-article .ab-mini { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 14px; color: inherit; text-decoration: none; transition: background .18s; }
.ab-article .ab-mini:hover { background: var(--hk-ivory); }
.ab-article .ab-mini__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--hk-ivory); display: grid; place-items: center; color: var(--hk-gold); }
.ab-article .ab-mini__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-article .ab-mini__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ab-article .ab-mini time { font-size: .78rem; color: var(--hk-muted); }
.ab-article .ab-mini__title {
  margin: 0; font-size: .92rem; font-weight: 700; line-height: 1.6; color: var(--hk-green);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 991.98px) {
  .ab-article .ab-article__layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ab-article .ab-aside { position: static; }
}

/* =====================================================================
   Media gallery (/whoweare/gallery)
   ===================================================================== */
.ab-gallery .ab-media {
  margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm);
}
.ab-gallery .ab-media__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hk-green); }
.ab-gallery .ab-media__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ab-gallery .ab-media__frame--photo { aspect-ratio: 4 / 3; background: var(--hk-ivory); }
.ab-gallery .ab-media__frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ab-gallery a.ab-media__frame:hover img { transform: scale(1.04); }
.ab-gallery .ab-media figcaption { padding: 14px 18px 16px; color: var(--hk-green); font-weight: 600; font-size: .95rem; line-height: 1.6; }

/* =====================================================================
   Achievements (/whoweare/achievements) — own sections only;
   the harvest + impact includes are self-styled.
   ===================================================================== */
.ab-done .hk-sec__head { max-width: 780px; }
.ab-done .done-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden; text-decoration: none;
  border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); transition: transform .2s, box-shadow .2s;
}
.ab-done .done-card:hover { transform: translateY(-3px); box-shadow: var(--hk-shadow); }
.ab-done .done-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hk-ivory); }
.ab-done .done-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ab-done .done-card:hover .done-card-img img { transform: scale(1.04); }
.ab-done .done-card-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 999px; background: var(--hk-gold); color: var(--hk-green); font-size: .8rem; font-weight: 700; box-shadow: var(--hk-shadow-sm);
}
.ab-done .done-card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 18px; }
.ab-done .done-card-title { color: var(--hk-green); font-weight: 700; font-size: 1.02rem; line-height: 1.6; }
.ab-done .done-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.ab-done .done-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--hk-muted); font-size: .88rem; }
.ab-done .done-card-meta strong { color: var(--hk-green); font-weight: 700; }

.ab-ach .ab-achcard { padding: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.ab-ach .ab-achcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--hk-ivory); }
.ab-ach .ab-achcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-ach .ab-achcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.ab-ach .ab-achcard__title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.6; color: var(--hk-green); }
.ab-ach .ab-achcard__text { margin: 0; white-space: pre-line; color: var(--hk-ink); font-size: .95rem; line-height: 1.95; }
.ab-ach .ab-achcard__date { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--hk-line-w); display: flex; align-items: center; gap: 8px; color: var(--hk-muted); font-size: .82rem; }
.ab-ach .ab-achcard__date i { color: var(--hk-gold-2); }
.ab-impact { padding-bottom: 56px; }

/* =====================================================================
   Our reports (/our-reports)
   ===================================================================== */
.ab-reports .our-report-card {
  height: 100%; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); transition: box-shadow .2s;
}
.ab-reports .our-report-card:hover { box-shadow: var(--hk-shadow); }
.ab-reports .our-report-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hk-green); }
.ab-reports .our-report-media > a { display: block; height: 100%; }
.ab-reports .our-report-media img, .ab-reports .our-report-video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; background: var(--hk-green); }
.ab-reports .our-report-media iframe.our-report-video { object-fit: unset; }
.ab-reports .our-report-media-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--hk-gold); font-size: 2rem; }
.ab-reports .our-report-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; pointer-events: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(2, 61, 57, .88); color: #fff; font-size: .78rem; font-weight: 700; backdrop-filter: blur(4px);
}
.ab-reports .our-report-badge i { color: var(--hk-gold); }
.ab-reports .our-report-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; }
.ab-reports .our-report-title { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.6; }
.ab-reports .our-report-title a { color: var(--hk-green); text-decoration: none; }
.ab-reports .our-report-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--hk-gold); }
.ab-reports .our-report-kicker { display: flex; align-items: center; gap: 8px; color: var(--hk-muted); font-size: .84rem; font-weight: 600; }
.ab-reports .our-report-kicker::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 2px; background: var(--hk-gold); transform: rotate(45deg); }
.ab-reports .our-report-impact-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-reports .our-report-impact {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 6px; padding-inline-end: 12px;
  border-radius: 12px; background: var(--hk-gold-tint); color: var(--hk-green);
}
.ab-reports .our-report-impact em {
  font-style: normal; font-weight: 800; min-height: 32px; padding: 0 10px; border-radius: 9px; display: inline-flex; align-items: center;
  white-space: nowrap; background: var(--hk-gold); color: var(--hk-green);
}
.ab-reports .our-report-impact span { font-size: .78rem; font-weight: 600; line-height: 1.4; max-width: 160px; }
.ab-reports .our-report-impact-people { background: var(--hk-green-tint); }
.ab-reports .our-report-impact-people em { background: var(--hk-green); color: #fff; }
.ab-reports .our-report-summary { margin: 0; color: var(--hk-muted); font-size: .9rem; line-height: 1.85; }
.ab-reports .our-report-media-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ab-reports .our-report-media-links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 13px; border-radius: 999px;
  background: var(--hk-ivory); border: 1px solid var(--hk-line); color: var(--hk-green); font-size: .8rem; font-weight: 600; text-decoration: none;
  transition: border-color .18s, background .18s;
}
.ab-reports .our-report-media-links a i { color: var(--hk-gold-2); }
.ab-reports .our-report-media-links a:hover { border-color: var(--hk-gold); background: #fff; }
.ab-reports .our-report-cta { margin-top: auto; }
@media (max-width: 767.98px) { .ab-reports .our-report-media-links a { min-height: 44px; } }

/* =====================================================================
   Numbers & stats (/numbers-stats) — chart classes are read by the page JS
   ===================================================================== */
.ab-stats .ab-stats__totals { padding: 44px 0 48px; }
.ab-stats .rs-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto 28px; }
.ab-stats .rs-total-card {
  display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: var(--hk-radius);
  background: var(--hk-green); color: #dfe9e6; box-shadow: var(--hk-shadow);
}
.ab-stats .rs-total-card__ico { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--hk-gold); font-size: 1.45rem; }
.ab-stats .rs-total-card em { display: block; font-style: normal; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; color: var(--hk-gold); text-align: right; }
.ab-stats .rs-total-card span:not(.rs-total-card__ico) { display: block; margin-top: 6px; font-size: .92rem; }
.ab-stats .rs-total-card--gold { background: var(--hk-gold); color: var(--hk-green); }
.ab-stats .rs-total-card--gold em { color: var(--hk-green); }
.ab-stats .rs-total-card--gold .rs-total-card__ico { background: rgba(2, 61, 57, .1); color: var(--hk-green); }
.ab-stats .ab-stats__cta { display: flex; justify-content: center; }

.ab-stats .rs-nav-wrap { position: sticky; top: var(--hk-head-h); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-block: 1px solid var(--hk-line-w); }
.ab-stats .rs-type-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 10px 0; }
.ab-stats .rs-type-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--hk-line);
  background: var(--hk-ivory); color: var(--hk-green); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .18s, color .18s;
}
.ab-stats .rs-type-link:hover, .ab-stats .rs-type-link.is-active { background: var(--hk-green); border-color: var(--hk-green); color: #fff; }
.ab-stats .rs-chart-section { scroll-margin-top: calc(var(--hk-head-h) + 72px); }
.ab-stats .rs-chart-head { margin-bottom: 20px; }

.ab-stats .rs-mode-row { display: flex; justify-content: center; margin-bottom: 24px; }
.ab-stats .rs-mode { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--hk-ivory); border: 1px solid var(--hk-line); }
.ab-stats .hk-sec--ivory .rs-mode { background: #fff; }
.ab-stats .rs-mode-btn { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: transparent; color: var(--hk-muted); font-weight: 600; cursor: pointer; transition: background .18s, color .18s; }
.ab-stats .rs-mode-btn:hover { color: var(--hk-green); }
.ab-stats .rs-mode-btn.is-active { background: var(--hk-green); color: #fff; }

/* horizontal bars */
.ab-stats .rs-chart { background: #fff; border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); padding: 14px 24px; box-shadow: var(--hk-shadow-sm); }
.ab-stats .rs-row {
  display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) minmax(120px, 150px); gap: 18px; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed var(--hk-line-w);
}
.ab-stats .rs-row:last-child { border-bottom: 0; }
.ab-stats .rs-row-label { font-weight: 600; color: var(--hk-ink); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: start; }
.ab-stats .rs-row-track { position: relative; height: 12px; border-radius: 999px; background: var(--hk-green-tint); direction: rtl; }
.ab-stats .rs-row-bar {
  position: relative; height: 100%; width: 0; border-radius: 999px; background: var(--rs-color, var(--hk-green));
  transition: width 1.1s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rs-delay, 0ms);
}
.ab-stats .rs-row-dot {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--hk-green); border: 2px solid var(--rs-color, var(--hk-green));
  font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.ab-stats .rs-row-value { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; white-space: nowrap; }
.ab-stats .rs-row-value strong { font-weight: 800; color: var(--hk-green); font-variant-numeric: tabular-nums; }
.ab-stats .rs-row-value small { color: var(--hk-muted); font-size: .75rem; }

/* vertical bars */
.ab-stats .rs-vbars { display: flex; gap: 12px; align-items: flex-end; overflow-x: auto; min-height: 280px; padding: 24px 16px 16px; background: #fff; border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); }
.ab-stats .rs-vbar { flex: 0 0 76px; text-align: center; }
.ab-stats .rs-vbar-col { height: 180px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 12px 12px 6px 6px; background: var(--hk-green-tint); }
.ab-stats .rs-vbar-fill { width: 100%; height: 0; border-radius: 12px 12px 0 0; background: var(--rs-color, var(--hk-green)); transition: height 1.1s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rs-delay, 0ms); }
.ab-stats .rs-vbar strong { display: block; margin-top: 8px; font-size: .82rem; color: var(--hk-green); font-variant-numeric: tabular-nums; }
.ab-stats .rs-vbar span { display: block; max-height: 2.8em; overflow: hidden; color: var(--hk-muted); font-size: .74rem; line-height: 1.4; }

/* donut */
.ab-stats .rs-donut-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: center; padding: 28px; background: #fff; border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); }
.ab-stats .rs-donut-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.ab-stats .rs-donut-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ab-stats .rs-donut-track { fill: none; stroke: var(--hk-green-tint); stroke-width: 14; }
.ab-stats .rs-donut-seg { fill: none; stroke-width: 14; stroke-linecap: butt; transition: stroke-dasharray 1s ease; transition-delay: var(--rs-delay, 0ms); }
.ab-stats .rs-donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ab-stats .rs-donut-center strong { font-size: 1.5rem; font-weight: 800; color: var(--hk-green); font-variant-numeric: tabular-nums; }
.ab-stats .rs-donut-center small { color: var(--hk-muted); }

/* legends (donut + map) */
.ab-stats .rs-donut-legend, .ab-stats .rs-map-legend { list-style: none; margin: 0; padding: 0; }
.ab-stats .rs-donut-legend li, .ab-stats .rs-map-legend li {
  display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px;
  border-bottom: 1px solid var(--hk-line-w); font-size: .92rem;
}
.ab-stats .rs-donut-legend i, .ab-stats .rs-map-legend i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ab-stats .rs-donut-legend strong, .ab-stats .rs-map-legend strong { color: var(--hk-green); font-weight: 700; font-variant-numeric: tabular-nums; }

/* metric cards */
.ab-stats .rs-metric-card { height: 100%; padding: 20px 14px; text-align: center; background: #fff; border: 1px solid var(--hk-line-w); border-top: 4px solid var(--rs-color, var(--hk-green)); border-radius: 16px; box-shadow: var(--hk-shadow-sm); }
.ab-stats .rs-metric-card em { display: block; font-style: normal; font-weight: 800; font-size: 1.5rem; color: var(--hk-green); font-variant-numeric: tabular-nums; }
.ab-stats .rs-metric-card span { display: block; margin-top: 4px; font-weight: 600; color: var(--hk-ink); }
.ab-stats .rs-metric-card small { color: var(--hk-muted); }

/* map */
.ab-stats .rs-map-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .8fr); gap: 20px; padding: 16px; background: #fff; border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); }
.ab-stats .rs-map-panel { position: relative; min-height: 420px; border-radius: 16px; overflow: hidden; background: var(--hk-green-tint); }
.ab-stats .rs-map { width: 100%; height: 420px; }
.ab-stats .rs-map-hint { position: absolute; inset-inline: 10px; bottom: 10px; z-index: 500; padding: 6px 10px; border-radius: 10px; background: rgba(2, 61, 57, .86); color: #fff; font-size: .78rem; text-align: center; pointer-events: none; }
.ab-stats .rs-map-legend { max-height: 420px; overflow: auto; }
.ab-stats .rs-map-legend li { cursor: pointer; border-radius: 8px; }
.ab-stats .rs-map-legend li:hover, .ab-stats .rs-map-legend li.is-active { background: var(--hk-ivory); }
.ab-stats .rs-map-popup { font-family: var(--hk-font); text-align: right; min-width: 150px; }
.ab-stats .rs-map-popup strong { display: block; margin-bottom: 4px; color: var(--hk-green); }
.ab-stats .rs-map-popup span { display: block; font-size: .85rem; color: var(--hk-ink); }

/* per-group totals + home summary */
.ab-stats .rs-group-totals { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.ab-stats .rs-group-totals > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--hk-line-w); color: var(--hk-muted); font-size: .9rem; }
.ab-stats .rs-group-totals b { color: var(--hk-green); font-weight: 800; }
.ab-stats .ns-card { height: 100%; padding: 26px 16px; text-align: center; background: #fff; border: 1px solid var(--hk-line-w); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-sm); }
.ab-stats .ns-num { display: block; margin-bottom: 6px; font-style: normal; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--hk-green); }
.ab-stats .ns-label { color: var(--hk-muted); font-size: .92rem; }

@media (max-width: 991.98px) {
  .ab-stats .rs-map-layout { grid-template-columns: minmax(0, 1fr); }
  .ab-stats .rs-map, .ab-stats .rs-map-panel { height: 360px; min-height: 360px; }
  .ab-stats .rs-map-legend { max-height: 280px; }
}
@media (max-width: 767.98px) {
  .ab-stats .ab-stats__totals { padding: 28px 0 36px; }
  .ab-stats .rs-totals { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ab-stats .rs-total-card { padding: 20px; }
  .ab-stats .rs-chart { padding: 8px 16px; }
  .ab-stats .rs-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "track track"; gap: 8px 12px; padding: 12px 0 14px; }
  .ab-stats .rs-row-label { grid-area: label; white-space: normal; }
  .ab-stats .rs-row-value { grid-area: value; }
  .ab-stats .rs-row-track { grid-area: track; margin-inline-end: 14px; }
  .ab-stats .rs-row-dot { width: 24px; height: 24px; font-size: .64rem; }
  .ab-stats .rs-donut-layout { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .ab-stats .rs-type-link { padding: 0 14px; font-size: .88rem; }
}

/* news details: headlines are long sentences, so the page head scales down for them */
.hk-pagehead:has(+ #newsinner_Page.ab-article) .hk-pagehead__title { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.5; max-width: 30em; }
.hk-pagehead:has(+ #newsinner_Page.ab-article) .hk-crumbs [aria-current] { max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* report cards («تقاريرنا»): content centred */
.ab-reports .our-report-body { text-align: center; }
.ab-reports .our-report-kicker, .ab-reports .our-report-impact-row, .ab-reports .our-report-media-links { justify-content: center; }
.ab-reports .our-report-kicker { display: flex; align-items: center; gap: 6px; }
.ab-reports .our-report-impact { justify-content: center; text-align: center; }
.ab-reports .our-report-media-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* news categories as chips (only those with news, with counts); wrap on phones so every chip stays visible */
.ab-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 32px; max-width: 900px; }
.ab-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding-block: 6px; padding-inline: 16px 7px; border: 1px solid var(--hk-line); border-radius: 999px; background: #fff; color: var(--hk-green); font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.ab-chip small { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--hk-ivory); color: var(--hk-muted); font-size: .75rem; font-weight: 700; text-align: center; }
.ab-chip:hover { border-color: var(--hk-gold); }
.ab-chip.is-active { border-color: var(--hk-green); background: var(--hk-green); color: #fff; }
.ab-chip.is-active small { background: rgba(255, 255, 255, .16); color: #fff; }
.ab-chip:focus-visible { outline: 2px solid var(--hk-gold); outline-offset: 2px; }
#newsdata { transition: opacity .2s; }
#newsdata.is-loading { opacity: .5; }
@media (max-width: 575.98px) {
  .ab-chips { gap: 7px; margin-bottom: 22px; }
  .ab-chip { min-height: 38px; gap: 6px; padding-inline: 12px 5px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) { .ab-chip, #newsdata { transition: none; } }
.ab-gallery .hk-empty__title { margin-bottom: 4px; color: var(--hk-green); font-size: 1.15rem; font-weight: 800; }
.ab-gallery .hk-empty a { color: var(--hk-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
