.hnc-section{
 background:#050505;
 padding:12px 18px 22px;
 overflow:hidden;
 color:#eee9df;
}
.hnc-map{
 position:relative;
 width:min(100%,1200px);
 height:640px;
 margin:0 auto;
}
.hnc-connectors{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 z-index:1;
 overflow:visible;
 pointer-events:none;
}
.hnc-neuron{
 fill:none;
 stroke:#d1a45f;
 stroke-width:1.15;
 opacity:.68;
 stroke-dasharray:2 7;
 stroke-linecap:round;
 animation:hnc-dash-flow 8s linear infinite;
}
.hnc-neuron-right{animation-direction:reverse}
.hnc-origin{
 fill:#f5d69d;
 opacity:.95;
 filter:drop-shadow(0 0 4px rgba(239,188,105,.95));
}
.hnc-end{
 fill:#d9ad6d;
 opacity:.88;
 filter:drop-shadow(0 0 3px rgba(214,166,94,.8));
}
.hnc-center{
 position:absolute;
 z-index:2;
 left:50%;
 top:50%;
 transform:translate(-50%,-50%);
 width:142px;
 height:114px;
 display:grid;
 place-items:center;
 pointer-events:none;
}
.hnc-center img{
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
 background:transparent;
 filter:drop-shadow(0 0 8px rgba(220,165,83,.16));
}
.hnc-list{
 position:absolute;
 z-index:3;
 top:38px;
 bottom:38px;
 width:42%;
 display:flex;
 flex-direction:column;
 justify-content:space-between;
}
.hnc-left{left:0;text-align:right}
.hnc-right{right:0;text-align:right}
.hnc-topic{
 position:relative;
 min-height:28px;
 display:flex;
 align-items:center;
 padding:2px 8px;
 background:transparent;
 border:0;
}
.hnc-topic span{
 font-size:13px;
 line-height:1.55;
 color:#e8e0d3;
 font-weight:400;
 text-shadow:0 1px 5px #000,0 0 3px #000;
}
.hnc-left .hnc-topic{justify-content:flex-start;text-align:right}
.hnc-right .hnc-topic{justify-content:flex-start;text-align:right}
@keyframes hnc-dash-flow{
 to{stroke-dashoffset:-90}
}
@media(max-width:760px){
 .hnc-section{padding:12px 14px 22px}
 .hnc-map{
  height:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
 }
 .hnc-connectors{display:none}
 .hnc-center{
  position:relative;
  left:auto;
  top:auto;
  transform:none;
  width:118px;
  height:96px;
  margin:0 auto 4px;
 }
 .hnc-list{
  position:relative;
  top:auto;
  bottom:auto;
  left:auto;
  right:auto;
  width:100%;
  gap:5px;
 }
 .hnc-topic{
  min-height:28px;
  padding:3px 8px;
  text-align:right;
  justify-content:flex-start!important;
 }
 .hnc-topic:after{
  right:0!important;
  left:auto!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .hnc-neuron{animation:none}
}

/* v4: balanced right-side branches, longer reach, and leading topic bullets */
.hnc-topic span{
 display:block;
 width:100%;
 text-align:right;
 position:relative;
 padding-right:12px;
}
.hnc-topic span:before{
 content:"·";
 position:absolute;
 right:0;
 top:0;
 color:#e7bd7d;
 font-size:20px;
 line-height:1.15;
 text-shadow:0 0 7px rgba(225,177,103,.75);
}
.hnc-neuron{stroke-width:1.05;stroke-dasharray:2 8;opacity:.72}
@media(max-width:760px){
 .hnc-topic span{padding-right:12px;text-align:right}
}

/* v5: mirrored left/right branches and consistent RTL label alignment */
.hnc-neuron-left,
.hnc-neuron-right{
 stroke-width:1.05;
 stroke-dasharray:2 8;
 stroke-linecap:round;
 opacity:.72;
}
.hnc-left .hnc-topic,
.hnc-right .hnc-topic{
 direction:rtl;
 text-align:right;
}
.hnc-left .hnc-topic span,
.hnc-right .hnc-topic span{
 direction:rtl;
 text-align:right;
}

/* v6: put the expertise labels beyond the dotted branches, not underneath them */
.hnc-list{
 width:22%;
}
.hnc-left{
 left:0;
 right:auto;
 text-align:right;
}
.hnc-right{
 right:0;
 left:auto;
 text-align:right;
}
.hnc-left .hnc-topic,
.hnc-right .hnc-topic{
 width:100%;
 justify-content:flex-start;
 direction:rtl;
 text-align:right;
}
.hnc-topic span{
 width:100%;
 text-align:right;
 white-space:normal;
}
@media(max-width:760px){
 .hnc-list{width:100%}
}

/* v7: equal side spacing and a subtle typography increase */
.hnc-list{
 width:23%;
 box-sizing:border-box;
}
.hnc-left{
 left:1.5%;
 right:auto;
}
.hnc-right{
 right:1.5%;
 left:auto;
}
.hnc-left .hnc-topic,
.hnc-right .hnc-topic{
 box-sizing:border-box;
 padding:2px 10px;
}
.hnc-topic span{
 font-size:13.5px;
 line-height:1.6;
}
@media(max-width:760px){
 .hnc-list{
  width:100%;
  left:auto;
  right:auto;
 }
 .hnc-topic span{
  font-size:13.5px;
 }
}

/* v8: branches touch the brain perimeter and finish at the topic markers */
.hnc-neuron{
 stroke:#d6a85f;
 stroke-width:1.2;
 stroke-dasharray:2 7;
 stroke-linecap:round;
 opacity:.82;
}
.hnc-branch-node{
 fill:#f0c77f;
 stroke:#f0c77f;
 stroke-width:1;
 filter:drop-shadow(0 0 4px rgba(239,188,105,.95));
}
.hnc-list{
 width:23%;
}
.hnc-left{left:1.5%;right:auto}
.hnc-right{right:1.5%;left:auto}
.hnc-left .hnc-topic,
.hnc-right .hnc-topic{
 position:relative;
 box-sizing:border-box;
 padding:2px 12px;
}
.hnc-left .hnc-topic:after,
.hnc-right .hnc-topic:after{
 content:"";
 position:absolute;
 top:50%;
 width:4px;
 height:4px;
 border-radius:50%;
 background:#f0c77f;
 box-shadow:0 0 7px rgba(239,188,105,.9);
 transform:translateY(-50%);
}
.hnc-left .hnc-topic:after{right:0}
.hnc-right .hnc-topic:after{left:0}
.hnc-topic span{
 font-size:13.8px;
 line-height:1.6;
}
@media(max-width:760px){
 .hnc-connectors{display:none}
 .hnc-left .hnc-topic:after,
 .hnc-right .hnc-topic:after{right:auto;left:0}
 .hnc-topic span{font-size:13.8px}
}

/* v9: increase vertical spacing for the 11-item left expertise column */
.hnc-left{
  gap: 18px !important;
}
.hnc-left .hnc-topic{
  margin-block: 5px !important;
  min-height: 34px;
  display:flex;
  align-items:center;
}
@media(max-width:760px){
  .hnc-left{
    gap: 10px !important;
  }
  .hnc-left .hnc-topic{
    margin-block: 2px !important;
    min-height: 32px;
  }
}

/* v10: remove added label bullets/nodes; create clear space between text and branches */
.hnc-topic span{
  padding-right:0 !important;
}
.hnc-topic span:before,
.hnc-left .hnc-topic:after,
.hnc-right .hnc-topic:after,
.hnc-branch-node{
  display:none !important;
  content:none !important;
}
.hnc-list{
  width:21.5% !important;
}
.hnc-left{left:1.5% !important;right:auto !important}
.hnc-right{right:1.5% !important;left:auto !important}
@media(max-width:760px){
  .hnc-list{width:100% !important}
}

/* v11: move only the left text column slightly farther left; keep branches fixed */
@media(min-width:761px){
  .hnc-left{
    transform:translateX(-28px) !important;
  }
}

/* v12: move the left text column farther left */
@media(min-width:761px){
  .hnc-left{
    transform:translateX(-65px) !important;
  }
}

/* v13: add a small gold bullet at the beginning of every RTL topic label */
@media(min-width:761px){
  .hnc-topic span{
    position:relative;
    padding-right:13px !important;
  }
  .hnc-topic span:before{
    content:"·" !important;
    display:block !important;
    position:absolute;
    right:0;
    top:0;
    color:#e7bd7d;
    font-size:19px;
    line-height:1.25;
    text-shadow:0 0 6px rgba(225,177,103,.7);
  }
}
@media(max-width:760px){
  .hnc-topic span{
    position:relative;
    padding-right:13px !important;
  }
  .hnc-topic span:before{
    content:"·" !important;
    display:block !important;
    position:absolute;
    right:0;
    top:0;
    color:#e7bd7d;
    font-size:19px;
    line-height:1.25;
    text-shadow:0 0 6px rgba(225,177,103,.7);
  }
}

/* v14: small section label at the upper-right, matching the supplied reference */
.hnc-kicker{
 position:absolute;
 z-index:5;
 top:2px;
 right:1.5%;
 color:#e8d4b4;
 font-size:14px;
 line-height:1.6;
 font-weight:400;
 text-align:right;
 direction:rtl;
 white-space:nowrap;
}
@media(max-width:760px){
 .hnc-kicker{
  position:relative;
  top:auto;
  right:auto;
  align-self:flex-end;
  margin:0 8px 2px;
  font-size:13px;
 }
}

/* v15: raise and slightly emphasize the upper-right section label */
.hnc-kicker{
  top:-7px !important;
  font-size:15.5px !important;
  font-weight:600 !important;
}
@media(max-width:760px){
  .hnc-kicker{
    margin-top:-5px !important;
    font-size:14.5px !important;
    font-weight:600 !important;
  }
}

/* v16: lighter title weight, slightly larger type, and higher placement */
.hnc-kicker{
  top:-17px !important;
  font-size:16px !important;
  font-weight:500 !important;
}
@media(max-width:760px){
  .hnc-kicker{
    margin-top:-11px !important;
    font-size:15px !important;
    font-weight:500 !important;
  }
}

/* v17: lift the section label further, enlarge it, and increase breathing room above topics */
.hnc-kicker{
  top:-25px !important;
  font-size:18px !important;
  font-weight:500 !important;
}
@media(max-width:760px){
  .hnc-kicker{
    margin-top:-16px !important;
    margin-bottom:8px !important;
    font-size:16px !important;
    font-weight:500 !important;
  }
}


/* Final requested refinement: remove the golden brain and give the expertise heading/section room. */
.hnc-section{
  padding:58px 22px 64px !important;
  min-height:780px;
}
.hnc-map{
  height:700px !important;
}
.hnc-kicker{
  top:4px !important;
  right:1.5% !important;
  font-size:19px !important;
  line-height:1.8 !important;
  font-weight:500 !important;
}
.hnc-center{display:grid !important;width:260px !important;height:190px !important;}
@media(max-width:760px){
  .hnc-section{padding:34px 14px 42px !important;min-height:0;}
  .hnc-map{height:auto !important;min-height:0;}
  .hnc-kicker{
    top:auto !important;right:auto !important;
    align-self:flex-end;
    margin:0 8px 14px !important;
    font-size:17px !important;
    line-height:1.8 !important;
  }
}


/* User refinement: move the expertise title higher without changing other layout. */
@media(min-width:761px){
  .hnc-kicker{top:-27px !important;}
}
@media(max-width:760px){
  .hnc-kicker{margin-top:-24px !important;margin-bottom:14px !important;}
}


/* Centered golden brain visual in the expertise map — no frame or panel */
.hnc-center{
 position:absolute !important;left:50% !important;top:50% !important;
 transform:translate(-50%,-50%) !important;
 width:260px !important;height:190px !important;
 display:grid !important;place-items:center !important;
 background:transparent !important;border:0 !important;border-radius:0 !important;
 box-shadow:none !important;overflow:visible !important;
}
.hnc-center img{width:100% !important;height:100% !important;object-fit:contain !important;
 background:transparent !important;border:0 !important;border-radius:0 !important;
 filter:drop-shadow(0 0 13px rgba(220,165,83,.18)) !important;}
@media(max-width:760px){
 .hnc-center{position:relative !important;left:auto !important;top:auto !important;
  transform:none !important;width:190px !important;height:145px !important;
  margin:0 auto 4px !important;}
}

/* Final refinement: slightly enlarge the centered brain while keeping it clear of the branches. */
@media (min-width:761px){
 .hnc-center{width:180px !important;height:140px !important;}
}
@media (max-width:760px){
 .hnc-center{width:150px !important;height:120px !important;}
}

/* Typography refinement requested: bold expertise labels and gold section kickers */
.hnc-kicker,
.story-copy .section-kicker{
  color:#d6ad70 !important;
  font-weight:700 !important;
}
.hnc-topic span{
  font-weight:700 !important;
}
/* English expertise labels: keep the content fully translated and readable in LTR. */
.lang-en .hnc-section{direction:ltr}
/* English expertise kicker: pin the label to the far-left edge of the section. */
.lang-en .hnc-kicker{direction:ltr;text-align:left;left:1.5% !important;right:auto !important;}
@media(max-width:760px){.lang-en .hnc-kicker{align-self:flex-start;margin-left:8px !important;margin-right:0 !important;left:auto !important;right:auto !important;}}
.lang-en .hnc-left{left:0;right:auto;text-align:right}
.lang-en .hnc-right{right:0;left:auto;text-align:left}
.lang-en .hnc-left .hnc-topic{justify-content:flex-end;text-align:right}
.lang-en .hnc-right .hnc-topic{justify-content:flex-start;text-align:left}
.lang-en .hnc-topic span{direction:ltr}


/* MOBILE FINAL OVERRIDES — expertise list must never overlap */
@media(max-width:760px){
  .hnc-section{display:block !important;width:100% !important;height:auto !important;min-height:0 !important;padding:48px 18px 56px !important;overflow:visible !important}
  .hnc-map{position:relative !important;display:flex !important;flex-direction:column !important;align-items:stretch !important;gap:0 !important;width:100% !important;height:auto !important;min-height:0 !important}
  .hnc-kicker{position:relative !important;inset:auto !important;display:block !important;align-self:flex-end !important;margin:0 0 22px !important;padding:0 !important;transform:none !important}
  .hnc-center,.hnc-connectors{display:none !important}
  .hnc-list,.hnc-left,.hnc-right{
    position:relative !important;inset:auto !important;left:auto !important;right:auto !important;top:auto !important;
    display:flex !important;flex-direction:column !important;align-items:stretch !important;
    width:100% !important;max-width:100% !important;height:auto !important;min-height:0 !important;
    margin:0 !important;padding:0 !important;transform:none !important;gap:10px !important;
  }
  .hnc-left{order:1 !important}
  .hnc-right{order:2 !important;margin-top:10px !important}
  .hnc-topic,.hnc-left .hnc-topic,.hnc-right .hnc-topic{
    position:relative !important;inset:auto !important;display:flex !important;align-items:flex-start !important;
    justify-content:flex-start !important;width:100% !important;max-width:100% !important;height:auto !important;min-height:0 !important;
    margin:0 !important;padding:13px 14px !important;transform:none !important;white-space:normal !important;
    border:1px solid rgba(200,169,107,.22) !important;border-radius:7px !important;
    background:rgba(255,255,255,.025) !important;text-align:right !important;direction:rtl !important;
  }
  .hnc-topic span,.hnc-left .hnc-topic span,.hnc-right .hnc-topic span{
    display:block !important;position:relative !important;width:100% !important;max-width:100% !important;
    padding:0 17px 0 0 !important;margin:0 !important;font-size:14px !important;line-height:1.9 !important;
    text-align:right !important;direction:rtl !important;white-space:normal !important;overflow-wrap:anywhere !important;
    transform:none !important;
  }
  .lang-en .hnc-kicker{align-self:flex-start !important;text-align:left !important}
  .lang-en .hnc-topic,.lang-en .hnc-left .hnc-topic,.lang-en .hnc-right .hnc-topic{direction:ltr !important;text-align:left !important}
  .lang-en .hnc-topic span,.lang-en .hnc-left .hnc-topic span,.lang-en .hnc-right .hnc-topic span{direction:ltr !important;text-align:left !important;padding:0 0 0 17px !important}
}


/* English mobile: exactly the Persian mobile card geometry, with left-to-right text */
@media(max-width:760px){
 body.lang-en .hnc-section{width:100%!important;height:auto!important;min-height:0!important;padding:48px 18px 56px!important;overflow:visible!important}
 body.lang-en .hnc-map{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;height:auto!important;min-height:0!important}
 body.lang-en .hnc-kicker{position:relative!important;inset:auto!important;align-self:flex-start!important;margin:0 0 22px!important;transform:none!important}
 body.lang-en .hnc-center,body.lang-en .hnc-connectors{display:none!important}
 body.lang-en .hnc-left,body.lang-en .hnc-right{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;transform:none!important;gap:10px!important}
 body.lang-en .hnc-left{order:1!important}
 body.lang-en .hnc-right{order:2!important;margin-top:10px!important}
 body.lang-en .hnc-topic,body.lang-en .hnc-left .hnc-topic,body.lang-en .hnc-right .hnc-topic{position:relative!important;inset:auto!important;display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:13px 14px!important;transform:none!important;white-space:normal!important;direction:ltr!important;text-align:left!important}
 body.lang-en .hnc-topic span,body.lang-en .hnc-left .hnc-topic span,body.lang-en .hnc-right .hnc-topic span{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;padding:0 0 0 17px!important;margin:0!important;font-size:14px!important;line-height:1.9!important;text-align:left!important;direction:ltr!important;white-space:normal!important;overflow-wrap:anywhere!important;transform:none!important}
 body.lang-en .hnc-topic span:before{left:0!important;right:auto!important}
}
