/* ARABIDS v1.2.104 — strictly scoped amendments to ORIGINAL v1.2.102.
   Official brand palette: burgundy #420B07; gold #A4865D;
   green #143328; deep green #03120D; ivory #EFE6D8; gray #DFDFDF.
   No global color/layout changes and no extra pattern watermark. */

/* The supplied Arabic logo appears only in Arabic and the existing Latin
   official logo remains in English, across desktop/mobile and legal pages. */
html body .arabids-brand-image-ar { display: block !important; }
html body .arabids-brand-image-en { display: none !important; }
html[data-language="en"] body .arabids-brand-image-ar,
html[lang="en"] body .arabids-brand-image-ar { display: none !important; }
html[data-language="en"] body .arabids-brand-image-en,
html[lang="en"] body .arabids-brand-image-en { display: block !important; }

html body :is(header a.site-logo,header a.source-logo,header a.navbar-brand,
  header a.custom-logo-link,.arabids-auth-global-logo,
  .mobile-header a.site-logo,.header-mobile a.site-logo) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;
}

/* The supplied artwork is vertical, so allow enough height to display its
   Arabic lettering without stretching or squeezing the actual image. */
html body :is(header a.site-logo,header a.source-logo,header a.navbar-brand,
  header a.custom-logo-link,.arabids-auth-global-logo,
  .mobile-header a.site-logo,.header-mobile a.site-logo)
  .arabids-brand-image-ar {
  display: block !important;
  width: 78px !important;
  max-width: 78px !important;
  height: 74px !important;
  max-height: 74px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  flex: 0 0 auto !important;
}
html[data-language="en"] body :is(header a.site-logo,header a.source-logo,
  header a.navbar-brand,header a.custom-logo-link,.arabids-auth-global-logo,
  .mobile-header a.site-logo,.header-mobile a.site-logo)
  .arabids-brand-image-ar,
html[lang="en"] body :is(header a.site-logo,header a.source-logo,
  header a.navbar-brand,header a.custom-logo-link,.arabids-auth-global-logo,
  .mobile-header a.site-logo,.header-mobile a.site-logo)
  .arabids-brand-image-ar { display: none !important; }

html body .arabids-global-footer .top-logo a.logo .arabids-brand-image-ar {
  display: block !important;
  width: 136px !important;
  max-width: 136px !important;
  height: 132px !important;
  max-height: 132px !important;
  object-fit: contain !important;
  filter: none !important;
}
html[data-language="en"] body .arabids-global-footer .top-logo a.logo .arabids-brand-image-ar,
html[lang="en"] body .arabids-global-footer .top-logo a.logo .arabids-brand-image-ar {
  display: none !important;
}
html[data-language="en"] body .arabids-global-footer .top-logo a.logo .arabids-brand-image-en,
html[lang="en"] body .arabids-global-footer .top-logo a.logo .arabids-brand-image-en {
  display: block !important;
  width: 205px !important;
  max-width: 205px !important;
  height: auto !important;
  max-height: 54px !important;
  object-fit: contain !important;
}

/* Exactly the five headings the client selected; leave all other green/gold
   treatments, page structures and card designs from v1.2.102 untouched. */
html body.home .hero .arabids-hero-copy h1.title,
html body[data-page="home"] .hero .arabids-hero-copy h1.title,
html body .arabids-elementor-source .hero .arabids-hero-copy h1.title {
  color: #420b07 !important;
  -webkit-text-fill-color: #420b07 !important;
  background-image: none !important;
}
html body.home .core_benefits_section h2.title,
html body[data-page="home"] .core_benefits_section h2.title,
html body .arabids-elementor-source .core_benefits_section h2.title,
html body.home .how_it_works_section h2.title,
html body[data-page="home"] .how_it_works_section h2.title,
html body .arabids-elementor-source .how_it_works_section h2.title,
html body.home .who_its_for_section h2.title,
html body[data-page="home"] .who_its_for_section h2.title,
html body .arabids-elementor-source .who_its_for_section h2.title,
html body.home .faq_section h2.title,
html body[data-page="home"] .faq_section h2.title,
html body .arabids-elementor-source .faq_section h2.title {
  color: #420b07 !important;
  -webkit-text-fill-color: #420b07 !important;
}

@media (max-width: 991px) {
  html body :is(header a.site-logo,header a.source-logo,header a.navbar-brand,
    header a.custom-logo-link,.arabids-auth-global-logo,
    .mobile-header a.site-logo,.header-mobile a.site-logo)
    .arabids-brand-image-ar {
    width: 61px !important;
    max-width: 61px !important;
    height: 58px !important;
    max-height: 58px !important;
  }
  html body .arabids-global-footer .top-logo a.logo .arabids-brand-image-ar {
    width: 116px !important;
    max-width: 116px !important;
    height: 110px !important;
    max-height: 110px !important;
  }
}

@media (max-width: 390px) {
  html body :is(header a.site-logo,header a.source-logo,header a.navbar-brand,
    header a.custom-logo-link,.arabids-auth-global-logo,
    .mobile-header a.site-logo,.header-mobile a.site-logo)
    .arabids-brand-image-ar {
    width: 55px !important;
    max-width: 55px !important;
    height: 53px !important;
    max-height: 53px !important;
  }
}
