/* ============================================================
   AL-HABIB REAL ESTATE — ABOUT PAGE CSS (Arabic / RTL)
   Sections: Breadcrumbs · Hero · Mission · History · Vision ·
             Values · Team Intro · Board · Management · News
   All sections use .mah-pg-* BEM prefix.
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --about-dark-blue:      #0c3144;
  --about-nav-blue:       #103c55;
  --about-mid-blue:       #16506e;
  --about-gold-label:     #7f6f33;
  --about-gold-text:      #cdb68e;
  --about-bg-light:       #f8fafc;
  --about-body-text:      #282828;
  --about-white:          #ffffff;
  --about-section-px:     96px;
  --about-section-py:     96px;
  --about-section-py-md:  64px;
  --about-section-py-sm:  48px;
  --about-radius:         16px;
  --about-radius-sm:      8px;
  --about-transition:     0.3s ease;
  --about-card-h:         408px;
  --about-chairman-w:     282px;
  --about-sm-card-w:      298px;
  --about-history-img-w:  612px;
  --about-history-img-h:  400px;
  --about-text-col-w:     400px;
  --about-quote-col-w:    612px;
}

/* ============================================================
   SHARED HELPERS
   ============================================================ */
.mah-pg-section-label {
  display: block;
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--about-gold-label);
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.25;
}

.mah-pg-section-label--right { text-align: right; }

.mah-pg-stat-number {
  font-family: 'Greta Arabic', '29LT Zarid', system-ui, sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: var(--about-dark-blue);
  line-height: 1;
  margin: 0 0 0 0;
  letter-spacing: -2px;
}

.mah-pg-stat-label {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #282828;
  margin: 0;
  line-height: 1.5;
}

/* Body wrapper */
.mah-pg-body {
  background: var(--about-bg-light);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   BREADCRUMBS — .mah-pg-breadcrumbs
   ============================================================ */
.mah-pg-breadcrumbs {
  background-color: var(--about-nav-blue);
  padding: 12px var(--about-section-px);
  direction: rtl;
}

.mah-pg-breadcrumbs__inner {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
}

.mah-pg-breadcrumbs__current {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #86b8d1;
  padding: 16px 8px;
}

.mah-pg-breadcrumbs__sep {
  color: #86b8d1;
  opacity: 0.6;
  flex-shrink: 0;
  transform: scaleX(-1);
}

.mah-pg-breadcrumbs__link {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #b4d2e1;
  text-decoration: none;
  padding: 16px 8px;
  opacity: 0.8;
  transition: opacity var(--about-transition);
}

.mah-pg-breadcrumbs__link:hover {
  opacity: 1;
  color: #b4d2e1;
}

/* ============================================================
   1. HERO SECTION — .mah-pg-hero
   ============================================================ */
.mah-pg-hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  z-index: 5;
}

.mah-pg-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mah-pg-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mah-pg-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* Decorative page pattern */
.mah-pg-top-area {
  position: relative;
  /* overflow: visible so mission pattern bleeds into the history section below */
}

.mah-pg-deco-pattern {
  position: absolute;
  left: 0;
  top: -290px;
  width: 485px;
  height: 627px;
  z-index: 6;
  pointer-events: none;
  overflow: hidden;
  /* render the (light-gray) pattern as #0000004D = black at ~30% opacity */
  filter: brightness(0);
  opacity: 0.3;
}

/* Hero pattern split into column pieces (matches the Figma "Pattern" frame) */
.mah-pg-deco-col {
  position: absolute;
}

.mah-pg-deco-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: fill;
}

.mah-pg-hero__inner { display: block; }

.mah-pg-hero__title {
  position: absolute;
  right: 111px;
  top: 40%;
  transform: translateY(-40%);
  z-index: 3;
  font-family: 'Greta Arabic', '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(36px, 5.3vw, 76px);
  color: var(--about-white);
  text-align: right;
  line-height: 1.25;
  letter-spacing: -2.5px;
  margin: 0;
  white-space: nowrap;
}

/* ============================================================
   2. MISSION BANNER — .mah-pg-mission
   ============================================================ */
.mah-pg-mission {
  position: relative;
  background-color: var(--about-dark-blue);
  /* no z-index: overflowing pattern stays behind history content (DOM order wins) */
}

.mah-pg-mission__pattern {
  position: absolute;
  top: 275px;
  left: 0;
  width: 485px;
  height: 627px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.2; /* light column pieces, subtle over the dark mission background */
}

.mah-pg-mission__pattern img {
  width: 100%;
  height: 100%;
  display: block;
}

.mah-pg-mission__inner {
  padding: 96px var(--about-section-px);
  text-align: center;
  position: relative;
  z-index: 2;
}

.mah-pg-mission__text {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--about-gold-text);
  letter-spacing: -2px;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 915px;
  text-align: center;
}

/* ============================================================
   3. HISTORY — .mah-pg-history
   Figma: image absolutely positioned on LEFT,
   text content (400px wide) aligned RIGHT.
   ============================================================ */
.mah-pg-history {
  background: var(--about-bg-light);
}

.mah-pg-history__label-row {
  padding: 24px var(--about-section-px);
  text-align: right;
  direction: rtl;
}

.mah-pg-history__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px var(--about-section-px) 96px;
  min-height: calc(var(--about-history-img-h) + 96px);
}

.mah-pg-history__text {
  width: var(--about-text-col-w);
  max-width: 100%;
  text-align: right;
  margin-left: auto;
}

.mah-pg-history__heading {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--about-mid-blue);
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -1.5px;
}

.mah-pg-history__body {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--about-body-text);
  margin: 0;
  direction: rtl;
}

.mah-pg-history__stat {
  width: var(--about-text-col-w);
  max-width: 100%;
  text-align: right;
  direction: rtl;
  margin-left: auto;
}

.mah-pg-history__stat .mah-pg-stat-number {
  margin-bottom: -4px;
}

.mah-pg-history__stat-body {
  padding-bottom: 32px;
}

.mah-pg-history__divider {
  border: none;
  border-top: 1px solid rgba(22, 80, 110, 0.2);
  margin: 24px 0;
}

.mah-pg-history__desc {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606060;
  margin: 0;
  opacity: 0.8;
  text-align: right;
}

.mah-pg-history__img {
  position: absolute;
  left: var(--about-section-px);
  top: 40%;
  transform: translateY(-40%);
  width: var(--about-history-img-w);
  height: var(--about-history-img-h);
  border-radius: var(--about-radius);
  overflow: hidden;
}

.mah-pg-history__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   4. VISION — .mah-pg-vision
   Figma: flex-column, text+stats (400px) on PHYSICAL LEFT via margin-right:auto,
   Saudi Arabia map (740px) positioned absolute at right:96px, top:-87px
   (map right edge 96px from section right = map spans x≈604–1344 in 1440px layout).
   direction:ltr on content ensures margin-right:auto works physically.
   ============================================================ */
.mah-pg-vision {
  background: var(--about-bg-light);
  position: relative; /* map is absolute relative to this */
  overflow: visible; /* allow map top bleed */
}

.mah-pg-vision__content {
  /* no position: relative here — map is relative to .mah-pg-vision */
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px var(--about-section-px) 96px;
  min-height: 523px; /* accommodates 610px map that starts -87px above */
  direction: ltr; /* LTR for flex layout: margin-right:auto pushes text to physical LEFT */
}

/* Heading "الرؤية" — 40px bold blue, not the gold section-label */
.mah-pg-vision__heading {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--about-mid-blue);
  line-height: 1.25;
  letter-spacing: -1.5px;
  margin: 0 0 16px;
  text-align: right;
  direction: rtl;
}

.mah-pg-vision__text {
  width: var(--about-text-col-w);
  max-width: 100%;
  text-align: right;
  direction: rtl;
  margin-right: auto; /* push to physical LEFT */
  position: relative;
  z-index: 1;
}

.mah-pg-vision__body {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--about-body-text);
  margin: 0;
  direction: rtl;
}

.mah-pg-vision__stat {
  width: var(--about-text-col-w);
  max-width: 100%;
  text-align: right;
  direction: rtl;
  margin-right: auto; /* push to physical LEFT */
  position: relative;
  z-index: 1;
}

.mah-pg-vision__stat .mah-pg-stat-number {
  margin-bottom: -4px;
}

.mah-pg-vision__stat-body {
  padding-bottom: 32px;
}

.mah-pg-vision__divider {
  border: none;
  border-top: 1px solid rgba(22, 80, 110, 0.2);
  margin: 24px 0;
}

.mah-pg-vision__desc {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606060;
  margin: 0;
  opacity: 0.8;
  text-align: right;
}

/* ── Saudi Arabia map decoration ── */
/* Map positioned relative to .mah-pg-vision (the section),
   right edge 96px from section right, starts at x≈604 in 1440px layout */
.mah-pg-vision__map {
  position: absolute;
  right: var(--about-section-px); /* 96px from right = map at x: width-96-740 */
  top: -87px;
  width: 740px;
  height: 609.76px;
  pointer-events: none;
  z-index: 0;
}

/* Solid fill shaped by the map mask */
.mah-pg-vision__map-bg {
  position: absolute;
  inset: 0;
  background: #f1f5f9;
  -webkit-mask-image: url('/Content/site/assets/images/about/map-mask.png');
  mask-image: url('/Content/site/assets/images/about/map-mask.png');
  -webkit-mask-size: 740px 609.76px;
  mask-size: 740px 609.76px;
  -webkit-mask-position: 0px -27px;
  mask-position: 0px -27px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Pattern columns clipped to the same map shape */
.mah-pg-vision__map-pattern {
  position: absolute;
  left: 457px;
  top: 199px;
  width: 316px;
  height: 408px;
  overflow: hidden;
  -webkit-mask-image: url('/Content/site/assets/images/about/map-mask.png');
  mask-image: url('/Content/site/assets/images/about/map-mask.png');
  -webkit-mask-size: 740px 609.76px;
  mask-size: 740px 609.76px;
  -webkit-mask-position: -457px -226px;
  mask-position: -457px -226px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.mah-pg-vision__map-col {
  position: absolute;
}

.mah-pg-vision__map-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
  object-fit: fill;
}

/* ============================================================
   5. VALUES — .mah-pg-values
   ============================================================ */
.mah-pg-values {
  background: var(--about-bg-light);
  position: relative;
}

.mah-pg-values__pattern {
  position: absolute;
  left: 0;
  bottom: 45%;
  width: 300px;
  pointer-events: none;
}

.mah-pg-values__pattern img {
  display: block;
  width: 100%;
  height: auto;
}

.mah-pg-values__label-row {
  padding: 24px var(--about-section-px);
  text-align: right;
  direction: rtl;
}

.mah-pg-values__grid {
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: center;
  padding: 32px var(--about-section-px);
  direction: rtl;
}

/* Image column — on the LEFT in RTL (second in DOM = left visually) */
.mah-pg-values__img-col {
  flex: 1 0 0;
  min-width: 0;
  order: 2;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

/* List column — on the RIGHT in RTL (first in DOM = right visually) */
.mah-pg-values__list {
  order: 1;
  width: var(--about-text-col-w);
  flex-shrink: 0;
}

.mah-pg-values__img-wrap {
  position: relative;
  border-radius: var(--about-radius);
  overflow: hidden;
  flex: 1 0 0;
  min-height: 0;
  min-width: 0;
}

.mah-pg-values__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Crossfade between value images: the "next" layer fades in over the base image */
.mah-pg-values__img-wrap .js-values-image,
.mah-pg-values__img-wrap .js-values-image-next {
  transition: opacity 0.45s ease;
}
.mah-pg-values__img-wrap .js-values-image-next {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}
.mah-pg-values__img-caption {
  transition: opacity 0.45s ease;
}

.mah-pg-values__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,49,68,0) 67%, rgba(11,49,68,1) 100%),
              linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.2) 100%);
  z-index: 1;
}

.mah-pg-values__img-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 24px;
  max-width: 700px;
  font-family: 'Greta Arabic', '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(20px, 2.5vw, 40px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -2.5px;
  color: #ffffff;
  text-align: right;
  margin: 0;
  z-index: 2;
  direction: rtl;
}

/* Value rows — name RIGHT, icon LEFT in RTL */
.mah-pg-values__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid #dcdcdc;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--about-transition);
  outline: none;
  direction: rtl;
  gap: 16px;
}

.mah-pg-values__row:hover,
.mah-pg-values__row:focus { opacity: 0.75; }

.mah-pg-values__row--active {
  opacity: 1;
}

.mah-pg-values__name {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--about-mid-blue);
  letter-spacing: -1.5px;
  line-height: 1.25;
}

.mah-pg-values__row--active .mah-pg-values__name {
  color: var(--about-mid-blue);
}

.mah-pg-values__row:not(.mah-pg-values__row--active) .mah-pg-values__name {
  color: #606060;
}

.mah-pg-values__icon {
  display: inline-block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  order: -1;
  background-color: #0B3144;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

[data-value="trust"]      .mah-pg-values__icon { -webkit-mask-image: url('/Content/site/assets/images/about/icons/icon-trust.svg');      mask-image: url('/Content/site/assets/images/about/icons/icon-trust.svg'); }
[data-value="quality"]    .mah-pg-values__icon { -webkit-mask-image: url('/Content/site/assets/images/about/icons/icon-quality.svg');    mask-image: url('/Content/site/assets/images/about/icons/icon-quality.svg'); }
[data-value="passion"]    .mah-pg-values__icon { -webkit-mask-image: url('/Content/site/assets/images/about/icons/icon-passion.svg');    mask-image: url('/Content/site/assets/images/about/icons/icon-passion.svg'); }
[data-value="innovation"] .mah-pg-values__icon { -webkit-mask-image: url('/Content/site/assets/images/about/icons/icon-innovation.svg'); mask-image: url('/Content/site/assets/images/about/icons/icon-innovation.svg'); }
[data-value="commitment"] .mah-pg-values__icon { -webkit-mask-image: url('/Content/site/assets/images/about/icons/icon-commitment.svg'); mask-image: url('/Content/site/assets/images/about/icons/icon-commitment.svg'); }

.mah-pg-values__row--active .mah-pg-values__icon {
  background: linear-gradient(to bottom, #C3B38D 0%, #0B3144 100%);
}

/* ============================================================
   6. TEAM INTRO — .mah-pg-team-intro
   Figma: stats (400px) LEFT, quote+body (612px) RIGHT — flex row
   ============================================================ */
.mah-pg-team-intro {
  background: var(--about-bg-light);
}

.mah-pg-team-intro__label-row {
  padding: 24px var(--about-section-px);
  text-align: right;
  direction: rtl;
}

.mah-pg-team-intro__row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  padding: 24px var(--about-section-px) 48px;
  direction: rtl;
}

/* Quote column — RIGHT in RTL (first in DOM = right visually) */
.mah-pg-team-intro__quote {
  width: var(--about-quote-col-w);
  flex-shrink: 0;
  text-align: right;
  order: 1;
}

/* Stat column — LEFT in RTL (second in DOM = left visually) */
.mah-pg-team-intro__stat {
  width: var(--about-text-col-w);
  flex-shrink: 0;
  text-align: right;
  order: 2;
}

.mah-pg-team-intro__heading {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--about-mid-blue);
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 0 0 16px;
  direction: rtl;
}

.mah-pg-team-intro__body {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--about-body-text);
  margin: 0;
  direction: rtl;
}

.mah-pg-team-intro__stat .mah-pg-stat-number {
  margin-bottom: -4px;
}

.mah-pg-team-intro__stat-body {
  padding-bottom: 32px;
}

.mah-pg-team-intro__divider {
  border: none;
  border-top: 1px solid rgba(22, 80, 110, 0.2);
  margin: 24px 0;
}

.mah-pg-team-intro__desc {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606060;
  margin: 0;
  opacity: 0.8;
  text-align: right;
}

/* ============================================================
   7. BOARD OF DIRECTORS — .mah-pg-board
   Figma: flex row, 408px height cards,
   first 3 flex-1, last (chairman) fixed 282px
   ============================================================ */
.mah-pg-board {
  background: var(--about-bg-light);
}

.mah-pg-board__label-row {
  padding: 0 var(--about-section-px) 32px;
}

.mah-pg-board__heading {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--about-mid-blue);
  text-align: right;
  margin: 0;
  letter-spacing: -1.5px;
}

.mah-pg-board__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
  padding: 0 var(--about-section-px) 48px;
  direction: rtl;
}

/* ============================================================
   8. MANAGEMENT TEAM — .mah-pg-mgmt
   Figma: two rows — row1: 4 cards (3 flex + 1 fixed 282px),
   row2: 2 centered cards (both 298px)
   ============================================================ */
.mah-pg-mgmt {
  background: var(--about-bg-light);
  padding-bottom: var(--about-section-py);
}

.mah-pg-mgmt__label-row {
  padding: 0 var(--about-section-px) 32px;
}

.mah-pg-mgmt__heading {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--about-mid-blue);
  text-align: right;
  margin: 0;
  letter-spacing: -1.5px;
}

.mah-pg-mgmt__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
  padding: 0 var(--about-section-px) 24px;
  direction: rtl;
}

.mah-pg-mgmt__row--secondary {
  justify-content: center;
  padding-bottom: 0;
}

/* ── Shared card styles for board + mgmt ── */
.mah-pg-board__card,
.mah-pg-mgmt__card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: var(--about-card-h);
  border-radius: var(--about-radius);
  overflow: hidden;
  background: var(--about-dark-blue);
  cursor: default;
  transition: transform var(--about-transition);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px 32px;
}

.mah-pg-board__card:hover,
.mah-pg-mgmt__card:hover {
  transform: translateY(-4px);
}

/* Chairman card — fixed narrower width (board section only) */
.mah-pg-board__card--chairman {
  flex: none;
  width: var(--about-chairman-w);
}

/* CEO card — same flex as all other mgmt cards (all 4 equal) */
.mah-pg-mgmt__card--ceo {
  flex: 1;
}

/* Secondary row small cards — match each primary mgmt card (1/4 of row with 3 gaps) */
.mah-pg-mgmt__card--sm {
  flex: none;
  width: calc((100% - 72px) / 4);
}

.mah-pg-board__photo,
.mah-pg-mgmt__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mah-pg-board__gradient,
.mah-pg-mgmt__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.9) 100%);
  z-index: 1;
}

.mah-pg-board__info,
.mah-pg-mgmt__info {
  position: relative;
  z-index: 2;
  text-align: right;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  direction: rtl;
}

.mah-pg-board__name,
.mah-pg-mgmt__name {
  font-family: '29LT Zarid', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--about-white);
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.mah-pg-board__role,
.mah-pg-mgmt__role {
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.75;
}

/* ============================================================
   9. NEWS & INSIGHTS  (Do NOT modify)
   ============================================================ */
.mah-news {
  background: #f0f6f9;
  padding: 96px 0;
}

.mah-news .container-xl {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 40px;
  row-gap: 40px;
  align-items: end;
}

.mah-news .row { grid-column: 1 / -1; }

.mah-news__titles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mah-news__label {
  font-family: '29LT Zarid', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #7f6f33;
  margin: 0;
  line-height: 1.25;
}

.mah-news__heading {
  font-family: '29LT Zarid', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0c3144;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.mah-news__viewall {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: '29LT Zarid', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #0c3144;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 8px;
  grid-column: 2;
  grid-row: 1;
  transition: color 0.25s ease;
}

.mah-news__viewall:hover { color: #1f688f; }

.mah-news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.mah-news-card__img-wrap {
  width: 100%;
  height: 256px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 8px;
}

.mah-news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mah-news-card:hover .mah-news-card__img { transform: scale(1.04); }

.mah-news-card__body {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  text-align: right;
}

.mah-news-card__title-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mah-news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  color: #1f688f;
}

.mah-news-card__readtime {
  font-family: '29LT Zarid', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9A9A9A;
}

.mah-news-card__readtime strong { font-weight: 700; }

.mah-news-card__source-group {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.mah-news-card__source,
.mah-news-card__date {
  font-family: '29LT Zarid', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #9A9A9A;
}

.mah-news-card__title {
  font-family: '29LT Zarid', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: #16506e;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.03em;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mah-news-card__excerpt {
  font-family: '29LT Zarid', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #0c3144;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.mah-news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  flex-shrink: 0;
}

.mah-news-card__tag {
  display: inline-flex;
  align-items: center;
  font-family: '29LT Zarid', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #606060;
  background: #e2e8f0;
  border-radius: 9999px;
  padding: 2px 10px;
  height: 24px;
  transition: background 0.25s ease;
}

.mah-news-card__tag:hover { background: #cdd6e0; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --about-section-px: 48px;
    --about-section-py: 64px;
    --about-history-img-w: 440px;
    --about-history-img-h: 340px;
    --about-text-col-w: 320px;
    --about-quote-col-w: 100%;
    --about-card-h: 340px;
    --about-chairman-w: 240px;
    --about-sm-card-w: 240px;
  }

  .mah-pg-hero { height: 320px; }

  .mah-pg-breadcrumbs { padding: 12px 48px; }

  .mah-pg-history__content {
    min-height: calc(var(--about-history-img-h) + 80px);
  }

  .mah-pg-vision__content {
    min-height: 420px;
  }
  .mah-pg-vision__map {
    width: 500px;
    height: 411px;
    right: var(--about-section-px);
  }

  .mah-pg-values__grid {
    flex-direction: column;
    gap: 40px;
  }
  .mah-pg-values__img-col { order: 1; }
  .mah-pg-values__list { order: 2; width: 100%; }

  .mah-pg-team-intro__row {
    flex-direction: column;
    gap: 40px;
  }
  .mah-pg-team-intro__quote,
  .mah-pg-team-intro__stat { width: 100%; order: unset; }

  .mah-pg-board__row,
  .mah-pg-mgmt__row {
    flex-wrap: wrap;
  }
  .mah-pg-board__card,
  .mah-pg-mgmt__card {
    flex: 0 1 calc(50% - 12px);
    min-width: 0;
  }
  .mah-pg-board__card--chairman,
  .mah-pg-mgmt__card--ceo,
  .mah-pg-mgmt__card--sm {
    width: calc(50% - 12px);
    flex: 0 1 calc(50% - 12px);
  }

  .mah-pg-mission__text {
    font-size: clamp(18px, 3vw, 36px);
    letter-spacing: -1px;
  }

  .mah-pg-deco-pattern {
    width: 320px;
    height: 420px;
    top: -140px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --about-section-px: 24px;
    --about-section-py: 48px;
    --about-card-h: 300px;
    --about-chairman-w: 100%;
    --about-sm-card-w: 100%;
  }

  .mah-pg-hero { height: 260px; }

  .mah-pg-hero__title {
    font-size: 32px;
    right: 24px;
    white-space: normal;
    width: calc(100% - 48px);
  }

  .mah-pg-breadcrumbs { padding: 12px 24px; }

  .mah-pg-deco-pattern {
    width: 260px;
    height: 340px;
    top: -100px;
  }

  .mah-pg-history__content {
    padding-top: 48px;
    padding-bottom: 40px;
    min-height: unset;
  }

  .mah-pg-history__img {
    position: relative;
    left: unset;
    top: unset;
    transform: none;
    width: 100%;
    height: 260px;
    margin: 0 auto;
  }

  .mah-pg-history__text,
  .mah-pg-history__stat {
    width: 100%;
    margin-left: 0;
  }

  .mah-pg-vision__text,
  .mah-pg-vision__stat {
    width: 100%;
    margin-left: 0;
  }
  .mah-pg-vision__map {
    display: none;
  }

  .mah-pg-stat-number { font-size: 48px; }
  .mah-pg-stat-label  { font-size: 24px; }

  .mah-pg-mission__text {
    font-size: clamp(16px, 4.5vw, 24px);
    letter-spacing: -0.01em;
  }

  .mah-pg-board__row,
  .mah-pg-mgmt__row {
    flex-wrap: wrap;
  }

  .mah-pg-board__card,
  .mah-pg-mgmt__card {
    flex: 0 1 calc(50% - 12px);
    height: 280px;
  }

  .mah-pg-board__card--chairman,
  .mah-pg-mgmt__card--ceo,
  .mah-pg-mgmt__card--sm {
    width: calc(50% - 12px);
    flex: 0 1 calc(50% - 12px);
    height: 280px;
  }

  .mah-pg-board__name,
  .mah-pg-mgmt__name { font-size: 18px; }

  .mah-pg-board__role,
  .mah-pg-mgmt__role { font-size: 13px; }

  .mah-pg-board__heading,
  .mah-pg-mgmt__heading { font-size: 24px; }

  .mah-news { padding: 48px 0; }

  .mah-news .container-xl {
    display: flex;
    flex-direction: column;
    align-items: unset;
  }

  .mah-news__header  { order: 1; }
  .mah-news .row     { order: 2; }

  .mah-news__viewall {
    order: 3;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    grid-column: unset;
    grid-row: unset;
  }

  .mah-news__heading   { font-size: clamp(24px, 6vw, 32px); }
  .mah-news-card__body { padding: 0 8px; gap: 16px; }
  .mah-news-card__title { font-size: 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 576px)
   ============================================================ */
@media (max-width: 576px) {
  .mah-pg-hero { height: 220px; }

  .mah-pg-board__card,
  .mah-pg-mgmt__card,
  .mah-pg-board__card--chairman,
  .mah-pg-mgmt__card--ceo,
  .mah-pg-mgmt__card--sm {
    flex: 1 1 100%;
    width: 100%;
  }

  .mah-pg-values__row { padding: 16px 0; }
  .mah-pg-values__name { font-size: 22px; }
}

/* ============================================================
   AWARDS SECTION (project-details news style — replaces News)
   RTL: title sits at the right, link at the left (grid follows
   page direction); arrow is mirrored. Header uses
   .mah-pd-section-title__heading per design.
   ============================================================ */
.mah-pd-news {
  max-width: 1440px;
  margin-inline: auto;
  padding: 96px var(--about-section-px);
}
.mah-pd-related {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 8px;
}
.mah-pd-section-title {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  padding-block: 12px;
}
.mah-pd-section-title__heading {
  margin: 0;
  font-family: '29LT Zarid', 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: #7f6f33;
}
.mah-pd-section-title__link {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #7f6f33;
  text-decoration: none;
  white-space: nowrap;
}
.mah-pd-section-title__link:hover { text-decoration: none; }
.mah-pd-section-title__arrow { flex-shrink: 0; order: 1; transform: scaleX(-1); } /* arrow after text, mirrored for RTL */
.mah-pd-related__grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: 24px;
}
@media (max-width: 1024px) {
  .mah-pd-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .mah-pd-related { grid-template-columns: 1fr; }
  .mah-pd-section-title { grid-column: 1; grid-row: auto; order: 1; }
  .mah-pd-related__grid { grid-column: 1; grid-row: auto; order: 2; grid-template-columns: 1fr; }
  .mah-pd-section-title__link {
    grid-column: 1; grid-row: auto; order: 3;
    justify-self: stretch; justify-content: center;
    width: 100%; margin-top: 8px;
  }
}
