@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-hairline.otf') format('opentype');font-weight:100;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-extralight.otf') format('opentype');font-weight:200;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-light.otf') format('opentype');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-text.otf') format('opentype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-semibold.otf') format('opentype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-bold.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Brando Arabic';src:url('fonts/brando-arabic/brando-arabic-black.otf') format('opentype');font-weight:800 900;font-style:normal;font-display:swap}

html[lang="ar"]{direction:rtl;scroll-behavior:smooth}
html[lang="ar"]{--font:'Brando Arabic';--font-display:'Brando Arabic';--font-mono:'Brando Arabic';--mono:'Brando Arabic'}
html[lang="ar"] body{direction:rtl;text-align:right;font-family:'Brando Arabic';letter-spacing:0;overflow-x:hidden}
html[lang="ar"] body *,html[lang="ar"] body *::before,html[lang="ar"] body *::after{font-family:'Brando Arabic'!important}
html[lang="ar"] :is(h1,h2,h3,h4,h5,h6,.title,.display,.hero-title){letter-spacing:0;line-height:1.35}
html[lang="ar"] :is(p,.lead,li,blockquote,label,input,select,textarea,button,a){letter-spacing:0}
html[lang="ar"] :is(.eyebrow,.meta,.breadcrumbs,.footer-title,.footer-apps-title){letter-spacing:0}
/* No Arabic text is smaller than 12px. Shared styles and Elementor sizes floor at this value; the English site leaves it unset (0px). */
:root{--alod-min-font:12px}
/* The background logo sits on the left, mirrored from English; its window shows the emblem, as in English, not the cut-off wordmark. */
html[lang="ar"] .brand-watermark{direction:ltr}

/* Keep Arabic section subtitles comfortably readable across the site. */
html[lang="ar"] :is(.lead,.section-subtitle,.subtitle,.section-description,.section-heading .lead,.section-head > p:last-child,.hero-content > .lead){
  font-size:clamp(16px,1.35vw,19px)!important;
  line-height:1.8!important;
}

/* About: preserve centered headings while the content itself follows RTL. */
html[lang="ar"][data-english-page="about-us.html"] :is([data-od-id="our-values"],[data-od-id="sustainability"]){
  direction:rtl!important;
  text-align:right!important;
}
html[lang="ar"][data-english-page="about-us.html"] :is(.values-grid,.sustain-grid){
  direction:rtl!important;
}
html[lang="ar"][data-english-page="about-us.html"] :is(.value,.s-card){
  direction:rtl!important;
  text-align:right!important;
}
html[lang="ar"][data-english-page="about-us.html"] :is(.value,.s-card) > div,
html[lang="ar"][data-english-page="about-us.html"] :is(.value,.s-card) :is(h3,strong,p){
  text-align:right!important;
}
html[lang="ar"][data-english-page="about-us.html"] :is(.value,.s-card) .icon{
  margin-right:0!important;
  margin-left:auto!important;
}
html[lang="ar"][data-english-page="about-us.html"] :is(.values-head,.values-sustainability-head),
html[lang="ar"][data-english-page="about-us.html"] :is(.values-head,.values-sustainability-head) :is(.eyebrow,.title,.lead){
  direction:rtl!important;
  text-align:center!important;
}
html[lang="ar"][data-english-page="about-us.html"] .values-sustainability-head .lead{
  font-size:clamp(16px,1.35vw,19px)!important;
  line-height:1.8!important;
}
html[lang="ar"][data-english-page="about-us.html"] [data-od-id="about-cta"] .actions{
  width:100%;
  justify-content:center!important;
  align-items:center!important;
}

/* Project details: section titles and supporting copy stay precisely centered. */
html[lang="ar"][data-english-page="development-details.html"] .section-head{
  display:block!important;
  width:100%!important;
  direction:rtl!important;
  text-align:center!important;
}
html[lang="ar"][data-english-page="development-details.html"] .section-head > div,
html[lang="ar"][data-english-page="development-details.html"] .section-head :is(.eyebrow,h2),
html[lang="ar"][data-english-page="development-details.html"] .section-head > p{
  max-width:720px!important;
  margin-inline:auto!important;
  text-align:center!important;
}
html[lang="ar"][data-english-page="development-details.html"] .section-head > p{
  margin-top:12px!important;
  font-size:clamp(16px,1.35vw,19px)!important;
  line-height:1.8!important;
}
html[lang="ar"][data-english-page="development-details.html"] .map iframe{
  position:relative;
  z-index:1;
  pointer-events:auto!important;
  filter:none!important;
}
html[lang="ar"][data-english-page="development-details.html"] .map-open-link{
  position:absolute;
  z-index:3;
  left:14px;
  bottom:14px;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--accent);
  box-shadow:0 8px 24px rgba(37,3,48,.18);
  font-size:13px;
  font-weight:700;
}
html[lang="ar"] :is(input,select,textarea){direction:rtl;text-align:right;font-family:'Brando Arabic';unicode-bidi:plaintext}
html[lang="ar"] input[type="email"]{text-align:right;unicode-bidi:plaintext}
/* A phone number is written left to right, kept on the right edge like the other fields. */
html[lang="ar"] input[type="tel"],html[lang="ar"] input[type="tel"]::placeholder{direction:ltr;text-align:right!important;unicode-bidi:normal}
html[lang="ar"] :is(.phone-value,[href^="tel:"],[href^="mailto:"]){unicode-bidi:plaintext} /* a phone or email card keeps its own alignment */
html[lang="ar"] select{direction:rtl;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23792a8e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:left 14px center!important;background-size:18px!important;padding-left:46px!important;padding-right:16px!important}
html[lang="ar"] select::-ms-expand{margin-left:10px;margin-right:auto}

/* One clear language action on Arabic pages. */
html[lang="ar"] .language-btn{direction:ltr;min-width:58px;text-align:center;font-size:12px!important;font-weight:700!important;letter-spacing:.08em!important}
html[lang="ar"] .language-btn .language-active,html[lang="ar"] .language-btn .language-globe{display:block!important}
html[lang="ar"] .brand-logo{width:180px!important;height:58px!important}
html[lang="ar"] .brand-logo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;filter:none!important}
html[lang="ar"] .shared-footer-brand .footer-logo{display:block;width:220px!important;height:auto!important;object-fit:contain!important;filter:none!important}
@media(max-width:900px){html[lang="ar"] .brand-logo{width:150px!important}}

html[lang="ar"] .topnav-inner{direction:rtl}
html[lang="ar"] .brand-logo{margin-right:0;margin-left:auto}
html[lang="ar"] .nav-actions{direction:rtl}
html[lang="ar"] .topnav nav a{font-size:12px!important;font-weight:600!important;line-height:1.4!important}
html[lang="ar"] .topnav .nav-register{font-size:12px!important;font-weight:600!important;line-height:1.4!important}
html[lang="ar"] .language-btn .language-active{opacity:.5}
html[lang="ar"] .language-btn .language-inactive{opacity:1;color:inherit;font-weight:800}
html[lang="ar"] .breadcrumbs{direction:rtl}
html[lang="ar"] .breadcrumbs :is(svg,.arrow),html[lang="ar"] :is(.project-link,.read-link,.btn) svg{transform:scaleX(-1)}

html[lang="ar"][data-english-page="media-center.html"] .section-head{display:block!important;width:100%;text-align:center!important}
html[lang="ar"][data-english-page="media-center.html"] .section-head>*{margin-inline:auto!important;text-align:center!important}
html[lang="ar"][data-english-page="media-center.html"] .news-toolbar{align-items:center!important;text-align:center!important}
html[lang="ar"] :is(.story-grid,.chairman-grid,.about-grid,.contact-grid,.approved-grid){direction:rtl}
html[lang="ar"] .field label{display:block;text-align:right}
html[lang="ar"] .form-row{direction:rtl}
html[lang="ar"] :is(form,.form,.contact-form,.career-form,.register-card,.search-form-body,.advanced-fields,.form-grid,.career-fields){direction:rtl;text-align:right}
html[lang="ar"] :is(.field,.career-field,.search-control){position:relative;text-align:right}
html[lang="ar"] :is(.field,.career-field,.search-control)>label,html[lang="ar"] .career-field>span:first-child{display:block;text-align:right}
html[lang="ar"] :is(input,select,textarea,.input,.select,.textarea,.search-select,.search-input){width:100%;text-align:right!important}
html[lang="ar"] :is(input,textarea)::placeholder{text-align:right;direction:rtl}
html[lang="ar"] :is(.field,.career-field,.search-control,.benefit,.contact-option,.download-card) :is(.icon,.field-icon,.method-icon,.benefit-icon,svg):first-child{margin-left:10px;margin-right:0}
html[lang="ar"] :is(.benefit,.contact-option,.download-card,.form-heading,.whatsapp-contact,.whatsapp-form)>:is(svg,.icon,.method-icon,.benefit-icon,.form-icon){order:-1;margin:0 0 0 12px}
html[lang="ar"] .career-select-trigger{direction:rtl;text-align:right;padding-right:16px;padding-left:46px}
html[lang="ar"] .career-select-trigger>span{margin-left:auto;margin-right:0}
html[lang="ar"] .career-select-trigger>svg{position:absolute;left:16px;right:auto;margin:0;transform:none}
html[lang="ar"] .career-select-menu{direction:rtl;left:0;right:0;text-align:right}
html[lang="ar"] .career-select-option{text-align:right}
html[lang="ar"] .file-upload{direction:rtl;text-align:right}
html[lang="ar"] .file-copy{margin-left:auto;margin-right:0;text-align:right}
html[lang="ar"] :is(.destination-info,.map-project-card,.map-project-card__link,.map-project-card__body,.map-project-card__heading,.map-project-card__highlights,.side-scroll,.side-chips,.side-chip){direction:rtl;text-align:right}
html[lang="ar"] .map-project-status{right:22px;left:auto}
html[lang="ar"] .map-project-card__cta{direction:rtl;text-align:right}
html[lang="ar"] .map-project-card__cta svg{transform:scaleX(-1)}
html[lang="ar"] .side-chip__icon{margin:0 0 0 10px}
html[lang="ar"] .stat .stat-icon{margin-right:0;margin-left:auto}
html[lang="ar"] .whatsapp-form{display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;direction:rtl}
html[lang="ar"] .whatsapp-form svg{order:-1;margin:0 0 0 10px!important}

/* Match the English CTA geometry while compensating for Brando Arabic's smaller optical size. */
html[lang="ar"] :is(.btn,.nav-register,.submit-btn,.form-submit,.career-submit,.side-cta,.community-cta-actions a,.masterplan-actions a,.masterplan-actions button,.shared-submit,.newsletter button,.department-button,.unit-tabs button){font-size:12px!important;font-weight:600!important;line-height:1.4!important}
html[lang="ar"] .newsletter{direction:rtl}
html[lang="ar"] form.newsletter input{border-radius:0 999px 999px 0!important}
html[lang="ar"] form.newsletter button{border-radius:999px 0 0 999px!important}

html[lang="ar"] .shared-footer-grid{direction:rtl}
html[lang="ar"] .shared-footer-brand .footer-about,html[lang="ar"] .shared-footer-contact,html[lang="ar"] .shared-footer-pages,html[lang="ar"] .shared-footer-destinations{text-align:right}
html[lang="ar"] .shared-footer-links a{width:auto}
html[lang="ar"] .footer-app-links{direction:ltr}
html[lang="ar"] .footer-app-link{direction:ltr;text-align:left}
html[lang="ar"] .footer-bottom{direction:rtl}

html[lang="ar"] .shared-search-shell,html[lang="ar"] .search-shell{direction:rtl;text-align:right}
html[lang="ar"] .shared-search-close,html[lang="ar"] .search-close{margin-right:auto;margin-left:0}
html[lang="ar"] .shared-search-result svg,html[lang="ar"] .search-result svg{transform:scaleX(-1)}
html[lang="ar"] .shared-search-field svg,html[lang="ar"] .search-field svg{right:auto;left:16px}

html[lang="ar"] [data-od-id="company-timeline"] .timeline{direction:rtl}
html[lang="ar"] [data-od-id="company-timeline"] .timeline:after{left:auto;right:10%}
html[lang="ar"] [data-od-id="company-timeline"] .milestone{text-align:center}
html[lang="ar"] [data-od-id="company-timeline"] .milestone span{font-size:12px;line-height:1.8}
html[lang="ar"] .timeline-wrap{direction:rtl}

html[lang="ar"] :is(.map-info,.destination-panel,.modal-map-caption,.project-status,.status-badge){direction:rtl}
html[lang="ar"] :is(.social-rail,.fixed-whatsapp){direction:ltr}
html[lang="ar"] .faq summary{padding-left:34px;padding-right:0;text-align:right}
html[lang="ar"] .faq summary:after{right:auto;left:0}
html[lang="ar"] .legal-nav{right:auto;left:clamp(18px,4vw,64px)}
html[lang="ar"] .legal-content{text-align:right}
html[lang="ar"] .contact-list,html[lang="ar"] address{font-style:normal}

@media(max-width:920px){
  html[lang="ar"] :is(#shared-site-nav,[data-alod-original-id="shared-site-nav"]),html[lang="ar"] .topnav nav{left:var(--gutter);right:var(--gutter);text-align:right}
}

@media(max-width:600px){
  html[lang="ar"] :is(h1,.page-hero h1,.hero h1){font-size:clamp(34px,11vw,48px);line-height:1.3}
  html[lang="ar"] .footer-bottom{align-items:flex-start!important}
}

/* Arabic type. Brando Arabic's kerning pushes the letter before a final ح, ج or خ away from it, and any
   tracking breaks the joins between connected letters, so Arabic pages use neither. */
html[lang="ar"] body,html[lang="ar"] body *{font-kerning:none}
html[lang="ar"] body *:not(#_){letter-spacing:0!important} /* outranks any section's own tracking */
/* Labels drawn by the styles themselves read in Arabic. */
html[lang="ar"] .download.is-locked:after{content:'مقفل';font-size:12px;font-weight:600;text-transform:none}
html[lang="ar"][data-english-page="project-details.html"] .masterplan:after{content:'مخطط رئيسي تفاعلي';font-size:12px;font-weight:600;text-transform:none}
html[lang="ar"] .map-stage::after{content:'مكاتبنا · المملكة العربية السعودية';font-size:12px}
/* Project pages for Kunoz Madinah and O Residence Khamis Mushait: the Arabic page styles lack the English
   location section, so its map collapsed to 150px. Same rules, mirrored where they place things. */
html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .project-location{padding:0 0 82px}
html[lang="ar"][data-english-page="o-residence-khamis-mushait.html"] .project-location{background:#fff}
html[lang="ar"][data-english-page="o-residence-khamis-mushait.html"] .project-location .section-heading{margin-bottom:30px}
html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .project-location .section-heading p:last-child{max-width:650px;margin:12px auto 0;color:var(--muted);font-size:14px;line-height:1.8}
html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .project-map{position:relative;height:440px;border:1px solid rgba(121,42,142,.14);border-radius:24px;overflow:hidden;background:var(--soft);box-shadow:0 22px 60px rgba(37,17,44,.1)}
html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .project-map iframe{width:100%;height:100%;border:0;display:block}
html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .map-open-link{position:absolute;z-index:2;left:16px;bottom:16px;min-height:44px;padding:11px 18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--purple);box-shadow:0 10px 26px rgba(37,17,44,.2);font-size:12px;font-weight:700}
@media(max-width:560px){
  html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .project-map{height:360px;border-radius:18px}
  html[lang="ar"]:is([data-english-page="kunoz-madinah.html"],[data-english-page="o-residence-khamis-mushait.html"]) .map-open-link{left:12px;bottom:12px;right:12px}
}
