/* SSA Legal V37 - final Remaining Changes / QA pass (30 Sep 2026) */

/* 1) One non-obstructive floating action dock. Identical geometry in EN/AR. */






.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(90px,calc(76px + 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}

/* 2) One arrow family across cards, resources, team links and CTAs. */
.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;
  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:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;flex-basis:30px!important;
  margin:0!important;border:1px solid #ded4bf!important;border-radius:999px!important;background:#fff!important;color:#17140e!important;
}
.expertise-v7-card-top i.ui-arrow.ui-arrow-ne::before{width:14px!important;height:14px!important}

/* 3) Contact details - strong label/value separation in EN and AR. */
.office-detail-v5{display:grid!important;gap:7px!important}
.office-detail-v5.two-col-v5{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.office-detail-v5.two-col-v5>div{display:grid!important;align-content:start!important;gap:6px!important;min-width:0!important}
.office-detail-v5 small{display:block!important;margin:0!important;line-height:1.35!important}
.office-detail-v5 a,.office-detail-v5 strong,.office-detail-v5 p{display:block!important;overflow-wrap:anywhere!important;word-break:normal!important}

/* 4) Footer semantic separators and stable social row. */
.footer-bottom{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
.footer-separator-v37{opacity:.55!important;user-select:none!important}
.footer-social-v31{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}
.footer-social-link-v31{display:inline-flex!important;align-items:center!important;gap:7px!important}

/* 5) Polished empty/resource states instead of unfinished placeholders. */
.resource-empty-state,.legal-updates-empty-note{
  border:1px solid #e3dbc9;
  border-radius:24px;
  background:#fbfaf6;
  padding:clamp(22px,3vw,34px);
}
.resource-empty-copy{max-width:780px;margin-bottom:20px}
.resource-empty-copy h3,.legal-updates-empty-note strong{display:block;font-size:clamp(1.2rem,2vw,1.7rem);line-height:1.25;color:#1e1b15;margin:6px 0 8px}
.resource-empty-copy p,.legal-updates-empty-note p{margin:0;color:#696257;line-height:1.7}
.resource-empty-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.resource-empty-grid>a{position:relative;display:grid;gap:5px;min-height:118px;padding:18px 44px 18px 18px;border:1px solid #e1d7c3;border-radius:18px;background:#fff;color:#1d1913;text-decoration:none}
html[dir="rtl"] .resource-empty-grid>a{padding:18px 18px 18px 44px}
.resource-empty-grid>a>span{font-size:.78rem;color:#746d61;line-height:1.5}
.resource-empty-grid>a>.ui-arrow{position:absolute!important;inset-inline-end:16px;top:18px;margin:0!important}

.legal-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:34px}
.legal-resource-card{display:flex;flex-direction:column;align-items:flex-start;min-height:260px;padding:clamp(22px,3vw,34px);border:1px solid #e2d8c3;border-radius:24px;background:#fff}
.legal-resource-card h2{margin:8px 0 10px;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.15}
.legal-resource-card p{margin:0 0 22px;color:#6c655b;line-height:1.7}
.legal-resource-card .button{margin-top:auto}
.legal-resource-card.is-pending{background:#fbfaf6}
.legal-updates-published-head{margin-top:10px}

/* Honeypots must never be visible or focusable in the visual flow. */
.hp-field,[name="website"]{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:760px){
  
  
  
  
  .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}
  .office-detail-v5.two-col-v5{grid-template-columns:1fr!important;gap:14px!important}
  .resource-empty-grid,.legal-resource-grid{grid-template-columns:1fr}
  .footer-separator-v37{display:none!important}
}

/* V37 semantic stat/value separation */
.stat-pair-v37 .stat-value-v37,
.objective .stat-value-v37{display:inline-block}
.stat-pair-v37 .stat-label-v37,
.objective .stat-label-v37{display:inline-block}

/* Standardize legacy text-link arrows to the same external-arrow SVG family. */
.text-link::after,
html[dir="rtl"] .text-link::after{
  content:""!important;
  display:inline-block!important;
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  background:currentColor!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;
}
