/* V31: final additive polish, preserving the approved V30 composition. */
:root{--finish31-ink:#181713;--finish31-gold:#d3aa53}
/* Prevent accidental overflow from long bilingual headlines and foreign-language URLs. */
.page-hero .shell,.team-directory-v27,.article-layout,.contact-grid,.team-v29-shell{min-width:0}
.page-hero .display,.legal-blog-consult .display{font-size:clamp(2rem,4.3vw,4.15rem)!important;line-height:1.15!important;letter-spacing:-.025em;max-width:27ch;text-wrap:balance;overflow-wrap:break-word}
.page-hero p,.legal-blog-consult p{line-height:1.8;max-width:68ch}
html[dir="rtl"] .page-hero .display,html[dir="rtl"] .legal-blog-consult .display{font-size:clamp(1.8rem,3.9vw,3.7rem)!important;line-height:1.55!important;letter-spacing:normal;max-width:32ch}
html[dir="rtl"] .page-hero p{line-height:2;letter-spacing:normal}
.legal-blog-consult-card{gap:clamp(18px,3vw,42px)}
.legal-blog-consult-icon{flex:0 0 auto}
/* Real, consistent approved member imagery; covers diverse original portrait proportions. */
.team-directory-media-v27,.team-profile-media-v27{overflow:hidden}
.team-directory-media-v27 img,.team-profile-media-v27 img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 12%;aspect-ratio:4/5}
.team-directory-card-v27,.team-v29-card{min-width:0}
.team-directory-copy-v27 h2,.team-profile-copy-v27 h2{overflow-wrap:anywhere}
/* Sabah is a clearly labelled digital team member rather than an invented fifth staff photograph. */
.team-sabah-v31{display:grid;grid-template-columns:minmax(180px,270px) minmax(0,1fr);gap:clamp(24px,5vw,76px);align-items:center;width:min(1190px,calc(100% - 48px));margin:10px auto clamp(65px,7vw,108px);padding:clamp(24px,4vw,46px);border-radius:30px;border:1px solid rgba(188,151,65,.25);background:linear-gradient(125deg,#fff,#f4efe5 58%,#ece3d0);box-shadow:0 24px 70px rgba(38,28,10,.08);color:var(--finish31-ink)}
.team-sabah-illustration{min-height:240px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(165deg,#e8dbbd,#fcf8ee);overflow:hidden}
.team-sabah-illustration img{display:block;width:min(90%,220px);height:auto;max-height:280px;object-fit:contain}
.team-sabah-copy h2{font-size:clamp(1.8rem,3vw,2.8rem)!important;line-height:1.25;color:var(--finish31-ink);margin:12px 0 17px;max-width:22ch}
.team-sabah-copy p{max-width:60ch;line-height:1.85;color:#514b40;margin-bottom:13px}
.team-sabah-note{font-size:.85rem;color:#6e675b!important}
.team-sabah-copy button{margin-top:12px;cursor:pointer}
html[dir="rtl"] .team-sabah-copy h2{font-family:Tahoma,"Segoe UI",sans-serif;font-size:clamp(1.65rem,2.7vw,2.6rem)!important;line-height:1.5}
/* Branded social buttons with accessible visible text. */
.footer-social-v31{display:flex!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin-top:12px;margin-bottom:22px}
.footer-social-v31 .footer-social-link-v31{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 14px;color:#efdfc4!important;border:1px solid rgba(228,196,119,.25);border-radius:999px;background:rgba(255,255,255,.035);font-size:.77rem;font-weight:720;text-decoration:none;line-height:1.2;transition:background .2s,color .2s,border-color .2s,transform .2s}
.footer-social-v31 .footer-social-link-v31:hover,.footer-social-v31 .footer-social-link-v31:focus-visible{background:#d3aa53;color:#17130a!important;border-color:#d3aa53;transform:translateY(-2px)}
.footer-social-v31 svg{flex:0 0 auto;display:block}
/* Keep bot-trap inputs invisible across forms and breakpoints, including the chat window. */
.hp-field{display:none!important;visibility:hidden!important;position:absolute!important;inset-inline-start:-9999px!important;width:1px!important;height:1px!important;pointer-events:none!important}
@media(max-width:767px){
 .team-sabah-v31{width:calc(100% - 30px);grid-template-columns:1fr;gap:15px;padding:22px;border-radius:22px}
 .team-sabah-illustration{min-height:180px;max-height:220px}
 .team-sabah-illustration img{max-height:205px}
 .team-sabah-copy h2{font-size:clamp(1.55rem,7vw,2.05rem)!important}
 .page-hero .display,.legal-blog-consult .display{font-size:clamp(1.7rem,7.6vw,2.4rem)!important;letter-spacing:-.02em;max-width:100%}
 html[dir="rtl"] .page-hero .display,html[dir="rtl"] .legal-blog-consult .display{font-size:clamp(1.65rem,7vw,2.25rem)!important;line-height:1.55!important;max-width:100%}
 .legal-blog-consult-card{display:grid;grid-template-columns:1fr;padding:25px 19px!important}
 .footer-social-v31{gap:7px}
 .footer-social-v31 .footer-social-link-v31{padding:10px 12px;font-size:.75rem}
 
}
@media(max-width:370px){.team-sabah-v31{width:calc(100% - 20px);padding:18px}.footer-social-v31 .footer-social-link-v31{font-size:.7rem;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.footer-social-v31 .footer-social-link-v31{transition:none}.footer-social-v31 .footer-social-link-v31:hover{transform:none}}
/* The floating hamburger previously sat above the drawer close control (z-index 1702 vs 1600). */
@media(max-width:1100px){
 body.nav-open .site-header .nav-toggle{pointer-events:none!important;visibility:hidden!important;opacity:0!important}
 .site-header .mobile-nav-close{pointer-events:auto!important}
}


/* V32 — Waafa 30 Sep client changes: five-member team, Sabah within staff, WhatsApp consultation. */
@media(min-width:1241px){.team-v29-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1240px) and (min-width:1021px){.team-v29-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.team-v29-card-sabah .team-v29-photo img{object-position:center 24%!important}
.team-v29-card-sabah .team-v29-photo-shade{background:linear-gradient(180deg,rgba(18,18,14,0) 38%,rgba(18,17,13,.12) 54%,rgba(19,18,14,.68) 77%,rgba(16,15,12,.95) 100%)!important}
.team-directory-card-v27.is-sabah-card .team-directory-media-v27 img,.team-profile-media-v27.is-sabah-profile img{object-position:center 26%!important}

.events-social-actions-v32{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}
@media(min-width:901px){.team-directory-grid-v27 .is-sabah-card:last-child{grid-column:1/-1;width:calc(50% - 9px);justify-self:center}}
@media(max-width:900px){.team-directory-grid-v27 .is-sabah-card:last-child{width:100%}}
@media(max-width:760px){.events-social-actions-v32{display:grid;grid-template-columns:1fr;width:100%}.events-social-actions-v32 .button{width:100%}}




/* V33 — Home team slider + footer credit + floating action consistency */
.team-v29-slider{--team-gap:clamp(14px,1.35vw,22px);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-top:clamp(14px,1.8vw,24px)}
.team-v29-viewport{min-width:0;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;padding:6px 2px 26px;scroll-snap-type:x mandatory}
.team-v29-viewport::-webkit-scrollbar{display:none}
.team-v29-slider .team-v29-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - (var(--team-gap) * 3)) / 4)!important;gap:var(--team-gap)!important;align-items:stretch!important}
.team-v29-slider .team-v29-card{scroll-snap-align:start;min-width:0}
.team-v29-nav{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(188,151,65,.28);border-radius:50%;background:#171612;color:#e2bc67;box-shadow:0 12px 28px rgba(0,0,0,.12);cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease,opacity .2s ease}
.team-v29-nav span{display:block;font-size:1.8rem;line-height:1;transform:translateY(-1px)}
.team-v29-nav:hover,.team-v29-nav:focus-visible{background:#d3aa53;color:#17120a;transform:translateY(-2px)}
.team-v29-nav[disabled]{opacity:.32;pointer-events:none;transform:none}
.team-v29-slider.is-static .team-v29-nav{display:none}
.footer-bottom{align-items:center;flex-wrap:wrap;row-gap:10px}
.footer-credit-v33{display:inline-flex;align-items:center;gap:7px;font-weight:700}
.footer-credit-v33 a{color:#e2bc67!important;text-decoration:none}
.footer-credit-v33 a:hover,.footer-credit-v33 a:focus-visible{text-decoration:underline}
.floating-contact{width:58px!important;height:58px!important;display:grid!important;place-items:center!important;bottom:max(100px,calc(88px + env(safe-area-inset-bottom)))!important}
.floating-contact svg{width:28px!important;height:28px!important}




@media(max-width:1280px){.team-v29-slider .team-v29-grid{grid-auto-columns:calc((100% - (var(--team-gap) * 2)) / 3)!important}}
@media(max-width:1024px){.team-v29-slider{grid-template-columns:auto minmax(0,1fr) auto}.team-v29-slider .team-v29-grid{grid-auto-columns:calc((100% - var(--team-gap)) / 2)!important}.team-v29-nav{width:50px;height:50px}}
@media(max-width:700px){.team-v29-slider{grid-template-columns:1fr;gap:10px}.team-v29-slider .team-v29-grid{grid-auto-columns:100%!important}.team-v29-nav{display:none!important}.team-v29-viewport{padding-bottom:18px}.floating-contact{width:56px!important;height:56px!important;bottom:max(84px,calc(74px + env(safe-area-inset-bottom)))!important}.floating-contact svg{width:27px!important;height:27px!important}.footer-credit-v33{width:100%}}

/* V34 — icon geometry + consistent WhatsApp floating action across EN/AR */
.ui-arrow.ui-arrow-ne{
  position:relative!important;
  display:inline-block!important;
  flex:0 0 16px!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  margin-inline-start:8px!important;
  vertical-align:-2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  overflow:visible!important;
}
.ui-arrow.ui-arrow-ne::before{
  content:""!important;
  position:absolute!important;
  top:1px!important;
  right:1px!important;
  left:auto!important;
  bottom:auto!important;
  width:7px!important;
  height:7px!important;
  border-top:2px solid currentColor!important;
  border-right:2px solid currentColor!important;
  border-bottom:0!important;
  border-left:0!important;
  border-radius:0!important;
  background:transparent!important;
  transform:none!important;
}
.ui-arrow.ui-arrow-ne::after{
  content:""!important;
  position:absolute!important;
  left:2px!important;
  top:7px!important;
  right:auto!important;
  bottom:auto!important;
  width:12px!important;
  height:2px!important;
  border:0!important;
  border-radius:999px!important;
  background:currentColor!important;
  transform:rotate(-45deg)!important;
  transform-origin:center!important;
}
/* Practice-card icon gets a deliberate 38px circular button; the arrow itself remains centered. */
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  margin:0!important;
  display:block!important;
  border:1px solid #dfd4bc!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#17140e!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{
  top:9px!important;
  right:9px!important;
  width:8px!important;
  height:8px!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::after{
  left:11px!important;
  top:18px!important;
  width:16px!important;
}
.expertise-v7-card:hover .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  border-color:#caa24c!important;
  background:#17140e!important;
  color:#e4bd61!important;
}
/* A clean directional arrow on team-card buttons, with predictable RTL behavior. */
.team-v29-arrow{
  position:relative!important;
  display:inline-block!important;
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
}
.team-v29-arrow::before{
  content:""!important;
  position:absolute!important;
  left:1px!important;
  top:6.5px!important;
  width:12px!important;
  height:1.8px!important;
  border:0!important;
  border-radius:999px!important;
  background:currentColor!important;
  transform:none!important;
}
.team-v29-arrow::after{
  content:""!important;
  position:absolute!important;
  right:1px!important;
  top:3.5px!important;
  width:6px!important;
  height:6px!important;
  border-top:1.8px solid currentColor!important;
  border-right:1.8px solid currentColor!important;
  border-bottom:0!important;
  border-left:0!important;
  background:transparent!important;
  transform:rotate(45deg)!important;
}
html[dir="rtl"] .team-v29-arrow{transform:scaleX(-1)!important}
/* WhatsApp floating action: one fixed visual size in both language directions. */
.floating-contact{
  right:auto!important;
  left:auto!important;
  inset-inline-end:22px!important;
  bottom:max(92px,calc(82px + env(safe-area-inset-bottom)))!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:50%!important;
  background:#25D366!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(0,0,0,.20)!important;
  font-size:0!important;
  line-height:0!important;
  aspect-ratio:1/1!important;
  z-index:11950!important;
  overflow:hidden!important;
}
.floating-contact:hover,.floating-contact:focus-visible{
  background:#20bd5a!important;
  transform:translateY(-2px)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.25)!important;
}
.floating-contact svg{
  display:block!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  stroke-width:1.9!important;
}
html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{
  width:52px!important;
  height:52px!important;
}
@media(max-width:700px){
  .floating-contact{
    inset-inline-end:14px!important;
    bottom:max(78px,calc(68px + env(safe-area-inset-bottom)))!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
  }
  html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{width:48px!important;height:48px!important}
  .floating-contact svg{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important}
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex-basis:36px!important}
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{top:8px!important;right:8px!important}
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne::after{left:10px!important;top:17px!important;width:15px!important}
}

/* V35 — final proportional polish for practice arrows and WhatsApp/Sabah floating actions */
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  border:1px solid #dfd4bc!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#17140e!important;
  box-shadow:none!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{
  top:7px!important;
  right:7px!important;
  width:6px!important;
  height:6px!important;
  border-top-width:1.6px!important;
  border-right-width:1.6px!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::after{
  left:8px!important;
  top:14px!important;
  width:13px!important;
  height:1.6px!important;
}
.expertise-v7-card:hover .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  border-color:#d1b56f!important;
  background:#f7f2e8!important;
  color:#17140e!important;
  transform:translateY(-1px)!important;
}
.expertise-v7-feature-copy b .ui-arrow.ui-arrow-ne{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  margin-inline-start:7px!important;
  vertical-align:-2px!important;
}
.expertise-v7-feature-copy b .ui-arrow.ui-arrow-ne::before{
  top:1px!important;
  right:1px!important;
  width:6px!important;
  height:6px!important;
  border-top-width:1.7px!important;
  border-right-width:1.7px!important;
}
.expertise-v7-feature-copy b .ui-arrow.ui-arrow-ne::after{
  left:2px!important;
  top:6px!important;
  width:11px!important;
  height:1.7px!important;
}
.floating-contact{
  inset-inline-end:24px!important;
  bottom:max(112px,calc(102px + env(safe-area-inset-bottom)))!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  border:0!important;
  background:#20c763!important;
  box-shadow:0 10px 26px rgba(21,126,68,.24),0 0 0 1px rgba(255,255,255,.78)!important;
}
html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{
  width:48px!important;
  height:48px!important;
}
.floating-contact svg{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  stroke-width:1.95!important;
}
.floating-contact:hover,.floating-contact:focus-visible{
  background:#18b858!important;
  transform:translateY(-2px)!important;
  box-shadow:0 13px 30px rgba(21,126,68,.30),0 0 0 1px rgba(255,255,255,.88)!important;
}


@media(max-width:700px){
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
    flex-basis:29px!important;
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    min-height:29px!important;
  }
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{top:7px!important;right:7px!important;width:6px!important;height:6px!important}
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne::after{left:8px!important;top:13.5px!important;width:12px!important}
  .floating-contact{
    inset-inline-end:14px!important;
    bottom:max(80px,calc(70px + env(safe-area-inset-bottom)))!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    min-height:46px!important;
  }
  html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{width:46px!important;height:46px!important}
  .floating-contact svg{width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important}
  
  
}


/* V36 — authoritative icon rendering + compact floating action dock */
/* Use one real vector arrow shape everywhere; no pseudo-element line geometry. */
.ui-arrow.ui-arrow-ne{
  position:relative!important;display:inline-grid!important;place-items:center!important;
  width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
  flex:0 0 16px!important;margin-inline-start:7px!important;vertical-align:-2px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:inherit!important;overflow:visible!important;transform:none!important;
}
.ui-arrow.ui-arrow-ne::before{
  content:""!important;position:static!important;display:block!important;width:14px!important;height:14px!important;
  border:0!important;border-radius:0!important;background:currentColor!important;transform:none!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M8 7h9v9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M8 7h9v9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
.ui-arrow.ui-arrow-ne::after{content:none!important;display:none!important}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;flex-basis:32px!important;
  margin:0!important;border:1px solid #ded4bf!important;border-radius:999px!important;background:#fff!important;
  color:#17140e!important;box-shadow:0 4px 14px rgba(40,30,12,.035)!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{width:15px!important;height:15px!important}
.expertise-v7-card:hover .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{
  border-color:#d0ad58!important;background:#17140e!important;color:#e7c66f!important;transform:none!important;
}
.expertise-v7-feature-copy b .ui-arrow.ui-arrow-ne{width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;flex-basis:15px!important}
.expertise-v7-feature-copy b .ui-arrow.ui-arrow-ne::before{width:13px!important;height:13px!important}

/* Compact, non-obstructive floating actions. Both languages use identical geometry. */







.floating-contact,html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{
  position:fixed!important;right:auto!important;left:auto!important;inset-inline-end:18px!important;
  bottom:max(86px,calc(68px + env(safe-area-inset-bottom)))!important;
  width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
  padding:0!important;margin:0!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:50%!important;background:#25D366!important;color:#fff!important;
  box-shadow:0 10px 24px rgba(12,120,61,.25),0 0 0 1px rgba(255,255,255,.9)!important;
  aspect-ratio:1/1!important;z-index:11990!important;overflow:hidden!important;line-height:0!important;font-size:0!important;
}
.floating-contact svg{display:block!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;fill:currentColor!important;stroke:none!important}
.floating-contact:hover,.floating-contact:focus-visible{background:#20c960!important;transform:translateY(-1px)!important;box-shadow:0 13px 28px rgba(12,120,61,.3),0 0 0 1px rgba(255,255,255,.95)!important}

@media(max-width:700px){
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important}
  .expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{width:14px!important;height:14px!important}
  
  
  
  
  .floating-contact,html[dir="ltr"] .floating-contact,html[dir="rtl"] .floating-contact{
    inset-inline-end:12px!important;bottom:max(78px,calc(66px + env(safe-area-inset-bottom)))!important;
    width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  }
  .floating-contact svg{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
}
