/* Bsouria V44 — redesigned internal pathways section; official-links block removed in PHP. */
.ws-pathways-v44{padding-top:72px;padding-bottom:72px;background:linear-gradient(180deg,#f8fbf9 0%,#f3f8f5 100%)}
.ws-pathways-v44 .ws-pathways-shell{position:relative;overflow:hidden;padding:46px;border:1px solid #dfeae4;border-radius:30px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(249,252,250,.96));box-shadow:0 22px 60px rgba(15,67,46,.08)}
.ws-pathways-v44 .ws-pathways-head{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) minmax(260px,360px);gap:24px;align-items:start;margin-bottom:38px;min-height:170px}
.ws-pathways-heading-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:22px;background:linear-gradient(145deg,#e7f6ee,#f4fbf7);box-shadow:inset 0 0 0 1px rgba(24,139,85,.08)}
.ws-pathways-heading-icon svg{width:34px;height:34px;stroke:#087f49;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ws-pathways-copy>span{display:inline-flex;margin:0 0 8px;color:#087f49;font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.ws-pathways-copy h2{max-width:760px;margin:0;color:#13291f;font-size:clamp(30px,3.2vw,50px);font-weight:650;line-height:1.14;letter-spacing:-.035em;text-wrap:balance}
.ws-pathways-copy p{max-width:700px;margin:16px 0 0;color:#607269;font-size:16px;line-height:1.75}
.ws-pathways-art{position:relative;justify-self:end;align-self:start;width:min(360px,100%);height:170px;display:flex;align-items:flex-start;justify-content:flex-end;pointer-events:none;margin-top:-4px;margin-inline-end:8px}
.ws-pathways-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:right center;background:transparent!important;filter:drop-shadow(0 14px 24px rgba(35,89,63,.08));opacity:.96}
.ws-pathways-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ws-pathway-card{position:relative;isolation:isolate;display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;min-height:210px;padding:24px 24px 22px;overflow:hidden;border:1px solid #dce8e1;border-radius:22px;background:#fff;color:#15261e;text-decoration:none!important;box-shadow:0 10px 28px rgba(24,68,49,.05);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.ws-pathway-card:hover{transform:translateY(-5px);border-color:#9acdaf;box-shadow:0 22px 48px rgba(19,83,55,.11)}
.ws-pathway-card,.ws-pathway-card *{text-decoration:none!important}
.ws-pathway-icon{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:#e9f6ef;color:#07804a;box-shadow:inset 0 0 0 1px rgba(8,128,74,.06)}
.ws-pathway-icon svg{width:29px;height:29px;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ws-pathway-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.ws-pathway-content h3{margin:1px 0 8px;color:#14271e;font-size:19px;font-weight:650;line-height:1.28;letter-spacing:-.018em;text-wrap:balance}
.ws-pathway-content p{max-width:360px;margin:0;color:#617169;font-size:14px;font-weight:400;line-height:1.6}
.ws-pathway-action{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:10px 16px;border-radius:12px;background:#08864f;color:#fff;font-size:13px;font-weight:650;box-shadow:0 8px 18px rgba(8,134,79,.15)}
.ws-pathway-action svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.ws-pathway-card:hover .ws-pathway-action svg{transform:translateX(3px)}
html[dir="rtl"] .ws-pathway-action svg{transform:scaleX(-1)}
html[dir="rtl"] .ws-pathway-card:hover .ws-pathway-action svg{transform:scaleX(-1) translateX(3px)}
.ws-pathway-decoration{position:absolute;z-index:0;inset-inline-end:-28px;bottom:-28px;width:130px;height:100px;opacity:.34}
.ws-pathway-decoration span{position:absolute;display:block;border-radius:20px;background:linear-gradient(150deg,rgba(47,164,103,.05),rgba(47,164,103,.17))}
.ws-pathway-thumb{position:absolute;z-index:1;inset-inline-end:16px;bottom:14px;width:118px;max-width:28%;pointer-events:none;opacity:.96}
.ws-pathway-thumb img{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 18px rgba(32,92,63,.08))}
html[dir="rtl"] .ws-pathway-thumb{inset-inline-end:auto;inset-inline-start:16px}
.ws-pathway-decoration span:nth-child(1){inset-inline-end:15px;bottom:10px;width:78px;height:112px;transform:rotate(-5deg)}
.ws-pathway-decoration span:nth-child(2){inset-inline-end:78px;bottom:6px;width:58px;height:78px;transform:rotate(8deg)}
.ws-pathway-decoration span:nth-child(3){inset-inline-end:122px;bottom:4px;width:42px;height:52px;transform:rotate(-8deg)}
.ws-pathway-card-1 .ws-pathway-decoration span{border-radius:12px 12px 2px 2px}.ws-pathway-card-3 .ws-pathway-decoration span{border-radius:50% 50% 12px 12px}.ws-pathway-card-4 .ws-pathway-decoration{opacity:.45}
html[data-theme="dark"] .ws-pathways-v44{background:linear-gradient(180deg,#071a12,#0a2017)}
html[data-theme="dark"] .ws-pathways-v44 .ws-pathways-shell{background:linear-gradient(145deg,#10251a,#0d2117);border-color:#294337;box-shadow:none}
html[data-theme="dark"] .ws-pathways-copy h2,html[data-theme="dark"] .ws-pathway-content h3{color:#f1faf5}
html[data-theme="dark"] .ws-pathways-copy p,html[data-theme="dark"] .ws-pathway-content p{color:#a8bdb2}
html[data-theme="dark"] .ws-pathway-card{background:#132b1e;border-color:#2b4739;color:#f2faf6;box-shadow:none}
html[data-theme="dark"] .ws-pathway-card:hover{border-color:#4e8f6d;background:#163222}
html[data-theme="dark"] .ws-pathway-icon,html[data-theme="dark"] .ws-pathways-heading-icon{background:#183a27;color:#65d198}
@media(max-width:1000px){.ws-pathways-v44 .ws-pathways-shell{padding:36px}.ws-pathways-v44 .ws-pathways-head{grid-template-columns:64px minmax(0,1fr)}.ws-pathways-art{display:none}.ws-pathway-card{min-height:195px;padding:22px}.ws-pathway-thumb{width:102px;max-width:26%}}
@media(max-width:760px){.ws-pathways-v44{padding:42px 0}.ws-pathways-v44 .ws-pathways-shell{padding:24px 16px;border-radius:22px}.ws-pathways-v44 .ws-pathways-head{display:block;min-height:0;margin-bottom:24px}.ws-pathways-heading-icon{width:54px;height:54px;border-radius:16px;margin-bottom:16px}.ws-pathways-heading-icon svg{width:27px;height:27px}.ws-pathways-copy h2{font-size:29px;line-height:1.2}.ws-pathways-copy p{font-size:14px;line-height:1.65;margin-top:12px}.ws-pathways-grid{grid-template-columns:1fr;gap:12px}.ws-pathway-card{grid-template-columns:44px minmax(0,1fr);gap:12px;min-height:0;padding:16px 16px 14px;border-radius:18px}.ws-pathway-icon{width:42px;height:42px;border-radius:13px}.ws-pathway-icon svg{width:21px;height:21px}.ws-pathway-content h3{font-size:17px;margin-top:0;margin-bottom:6px}.ws-pathway-content p{max-width:none;font-size:13px;line-height:1.5;padding-inline-end:90px}.ws-pathway-action{margin-top:14px;padding:9px 13px;font-size:12.5px}.ws-pathway-thumb{width:84px;max-width:none;inset-inline-end:10px;bottom:10px}.html[dir="rtl"] .ws-pathway-thumb{inset-inline-start:10px}.ws-pathway-decoration{width:88px;height:72px;opacity:.24}}

html[dir="rtl"] .ws-pathways-art{justify-self:start;justify-content:flex-start;margin-inline-end:0;margin-inline-start:8px}
html[data-theme="dark"] .ws-pathways-art img{background:transparent!important;mix-blend-mode:normal;opacity:.88;filter:brightness(.95) saturate(.88) contrast(1.02) drop-shadow(0 14px 24px rgba(0,0,0,.22))}
html[data-theme="dark"] .ws-pathway-thumb{opacity:.12}
@media(max-width:1200px){.ws-pathways-v44 .ws-pathways-head{grid-template-columns:72px minmax(0,1fr) minmax(220px,300px)}.ws-pathways-art{width:300px;height:148px;margin-inline-end:0}}
@media(max-width:1000px){.ws-pathways-v44 .ws-pathways-head{grid-template-columns:64px minmax(0,1fr)}.ws-pathways-art{display:none!important}}


/* V58 RTL positioning fix for the pathways hero image */
html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{grid-template-columns:minmax(280px,360px) minmax(0,1fr) 76px}
html[dir="rtl"] .ws-pathways-heading-icon{grid-column:3;justify-self:end}
html[dir="rtl"] .ws-pathways-copy{grid-column:2;text-align:right}
html[dir="rtl"] .ws-pathways-art{grid-column:1;justify-self:start;justify-content:flex-start;margin-inline-start:0;margin-inline-end:0}
html[dir="rtl"] .ws-pathways-art img{object-position:left center}
@media(max-width:1200px){html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{grid-template-columns:minmax(220px,300px) minmax(0,1fr) 72px}}
@media(max-width:1000px){html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{grid-template-columns:64px minmax(0,1fr)}}


/* V64 — stable physical placement for desktop LTR and RTL */
.ws-pathways-v44 .ws-pathways-head{
  grid-template-areas:"icon copy art";
}
.ws-pathways-heading-icon{grid-area:icon}
.ws-pathways-copy{grid-area:copy}
.ws-pathways-art{grid-area:art}

html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{
  direction:ltr;
  grid-template-columns:minmax(280px,360px) minmax(0,1fr) 76px;
  grid-template-areas:"art copy icon";
  align-items:start;
}
html[dir="rtl"] .ws-pathways-heading-icon{
  grid-area:icon;
  justify-self:end;
  direction:rtl;
}
html[dir="rtl"] .ws-pathways-copy{
  grid-area:copy;
  direction:rtl;
  text-align:right;
  justify-self:stretch;
}
html[dir="rtl"] .ws-pathways-art{
  grid-area:art;
  direction:ltr;
  justify-self:start;
  align-self:center;
  justify-content:flex-start;
  width:min(350px,100%);
  height:175px;
  margin:0;
}
html[dir="rtl"] .ws-pathways-art img{
  object-position:left center;
}
html[dir="rtl"] .ws-pathway-card{
  direction:rtl;
  grid-template-columns:58px minmax(0,1fr);
}
html[dir="rtl"] .ws-pathway-content{
  align-items:flex-start;
  text-align:right;
}
html[dir="rtl"] .ws-pathway-content p{
  max-width:420px;
}

@media(max-width:1200px){
  html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{
    grid-template-columns:minmax(220px,300px) minmax(0,1fr) 72px;
  }
  html[dir="rtl"] .ws-pathways-art{
    width:290px;
    height:150px;
  }
}

@media(max-width:1000px){
  .ws-pathways-v44 .ws-pathways-head,
  html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{
    display:grid;
    direction:inherit;
    grid-template-columns:64px minmax(0,1fr);
    grid-template-areas:"icon copy";
  }
  .ws-pathways-art,
  html[dir="rtl"] .ws-pathways-art{display:none!important}
}

@media(max-width:760px){
  .ws-pathways-v44 .ws-pathways-head,
  html[dir="rtl"] .ws-pathways-v44 .ws-pathways-head{
    display:block;
  }
}
