
/* SALMAN UNIFIED NAV + JOURNEY V2 */
.salman-unified-header{
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid #ebe4d9;
  position:sticky;top:0;z-index:200;
}
.salman-unified-header .navbar{min-height:72px;display:flex;align-items:center;gap:18px}
.salman-unified-header .brand img{max-height:38px;width:auto}
.salman-unified-header .nav-links{display:flex;align-items:center;gap:5px;flex:1;justify-content:center}
.salman-unified-header .nav-links a{
  color:#25344b;text-decoration:none;padding:9px 11px;border-radius:10px;font-weight:700;font-size:14px;
  white-space:nowrap;transition:.2s ease
}
.salman-unified-header .nav-links a:hover{background:#f8f3ec;color:#9f2348}
.salman-unified-header .nav-links a.active{color:#a5224b;background:#faedf2}
.salman-member-entry{
  display:inline-flex!important;align-items:center;gap:7px;background:#a5224b!important;color:#fff!important;
  text-decoration:none;border-radius:11px;padding:9px 13px!important;white-space:nowrap;font-weight:800
}
.salman-member-entry:hover{transform:translateY(-1px)}
.salman-unified-header .menu-toggle{display:none;background:#fff;border:1px solid #e5ddd2;border-radius:10px;padding:8px 11px;color:#26354b}
.salman-member-header{
  background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e8e1d7;position:sticky;top:0;z-index:190;
  backdrop-filter:blur(14px)
}
.salman-member-header .member-nav-wrap{min-height:66px}
.salman-member-header .member-nav a.active{background:#f8e9ef;color:#a5224b}
.member-menu-toggle{display:none;border:1px solid #e5ddd2;background:#fff;border-radius:10px;padding:7px 10px}
.member-content-page .wrap,.member-content-page>.container{margin-top:28px!important}
.salman-login-minihead{
  position:fixed;top:16px;right:20px;left:20px;display:flex;justify-content:space-between;z-index:20;
  pointer-events:none
}
.salman-login-minihead a{pointer-events:auto;text-decoration:none;color:#26354b;background:rgba(255,255,255,.84);border:1px solid #e6dfd4;border-radius:999px;padding:7px 12px}
.salman-login-minihead a:first-child span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#a5224b;color:#fff;margin-left:4px}

/* Branching discovery journey */
.sj-route-section{padding:76px 0;background:linear-gradient(180deg,#fffdf9,#f5f8f1)}
.sj-route-head{max-width:760px;margin:0 auto 26px;text-align:center}
.sj-route-head h2{font-size:clamp(28px,5vw,44px);margin:.3em 0;color:#203149}
.sj-route-head p{color:#687587;line-height:2}
.sj-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sj-route-card{
  appearance:none;text-align:right;border:1px solid #e6dfd4;border-radius:20px;background:#fff;padding:22px;
  color:#24354c;cursor:pointer;box-shadow:0 10px 30px rgba(46,60,48,.05);transition:.22s ease
}
.sj-route-card:hover,.sj-route-card.is-selected{transform:translateY(-3px);border-color:#cbd9c2;box-shadow:0 16px 38px rgba(46,60,48,.09)}
.sj-route-card.is-selected{background:#fbfdf9}
.sj-route-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f2f6ee;color:#728c63;font-size:22px;margin-bottom:13px}
.sj-route-card strong{display:block;font-size:18px;margin-bottom:5px}
.sj-route-card small{color:#738092;line-height:1.8}
.sj-route-result{max-width:820px;margin:22px auto 0;background:#fff;border:1px solid #e5ddd1;border-radius:22px;padding:25px;box-shadow:0 14px 38px rgba(45,58,48,.06)}
.sj-result-kicker{color:#789269;font-weight:800;font-size:13px}
.sj-route-result h3{font-size:25px;margin:.35em 0;color:#22334a}
.sj-route-result p{color:#657286;line-height:2}
.sj-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.sj-route-primary,.sj-route-secondary{display:inline-block;text-decoration:none;padding:10px 15px;border-radius:11px;font-weight:800}
.sj-route-primary{background:#a5224b;color:#fff}.sj-route-secondary{border:1px solid #d9d1c5;color:#25354b;background:#fff}
.sj-witness-question{margin-top:18px;padding:13px 15px;border-radius:14px;background:#f8f3eb;color:#5e554b}

@media(max-width:980px){
  .salman-unified-header .menu-toggle{display:block}
  .salman-unified-header .nav-links{
    display:none;position:absolute;top:72px;right:12px;left:12px;background:#fff;border:1px solid #e7dfd4;
    border-radius:16px;padding:10px;box-shadow:0 16px 40px rgba(35,48,40,.12);flex-direction:column;align-items:stretch
  }
  .salman-unified-header .nav-links.is-open{display:flex}
  .salman-unified-header .nav-links a{width:100%;text-align:right}
  .salman-unified-header .header-actions{margin-right:auto}
}
@media(max-width:760px){
  .salman-unified-header .navbar{min-height:64px}
  .salman-unified-header .brand img{max-height:32px}
  .salman-unified-header .nav-links{top:64px}
  .salman-member-header .member-menu-toggle{display:block}
  .salman-member-header .member-nav{display:none;position:absolute;top:60px;right:12px;left:12px;background:#fff;border:1px solid #e5ddd2;border-radius:15px;padding:9px;box-shadow:0 16px 36px rgba(40,50,42,.12);z-index:20}
  .salman-member-header .member-nav.is-open{display:flex;flex-direction:column;align-items:stretch}
  .salman-member-header .member-nav a{padding:10px 12px;border-radius:9px}
  .sj-route-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .salman-member-entry{font-size:12px;padding:8px 10px!important}
  .sj-result-actions{flex-direction:column}.sj-route-primary,.sj-route-secondary{text-align:center}
}


/* SALMAN HEADER MOBILE GAP FIX V7
   Keep "ورود اعضا" visually attached to the hamburger on the left side
   across tablet/mobile widths, instead of letting flex spacing push them apart. */
@media (max-width:980px){
  .salman-unified-header .navbar{
    display:grid!important;
    grid-template-columns:auto 1fr auto auto!important;
    grid-template-areas:"brand spacer actions toggle"!important;
    align-items:center!important;
    column-gap:8px!important;
  }
  .salman-unified-header .brand{
    grid-area:brand!important;
  }
  .salman-unified-header .header-actions{
    grid-area:actions!important;
    margin:0!important;
    justify-self:end!important;
  }
  .salman-unified-header .menu-toggle{
    grid-area:toggle!important;
    margin:0!important;
    justify-self:end!important;
  }
  .salman-unified-header .nav-links{
    grid-column:1/-1!important;
  }
}

@media (max-width:640px){
  .salman-unified-header .navbar{
    grid-template-columns:auto 1fr auto auto!important;
    column-gap:6px!important;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .salman-unified-header .header-actions{
    margin-left:0!important;
  }
  .salman-unified-header .salman-member-entry{
    margin:0!important;
  }
  .salman-unified-header .menu-toggle{
    margin:0!important;
  }
}

@media (max-width:420px){
  .salman-unified-header .navbar{
    column-gap:5px!important;
  }
  .salman-unified-header .salman-member-entry{
    padding:8px 9px!important;
    font-size:11.5px!important;
  }
  .salman-unified-header .menu-toggle{
    padding:8px 10px!important;
  }
}
