/* Vehar 1.0.9 - scoped article & popup fixes; no changes to the homepage layout. */

/* Paragraph alignment was overridden by later styles and in-editor sizing.
   Keep centred captions/headings/media as published, justify normal reading text. */
body.single .vs-single-page .vs-content{
  --vehar-reading-size:16px;
  font-size:var(--vehar-reading-size)!important;
  line-height:2.16;
  text-align:justify!important;
  text-justify:inter-word;
  direction:rtl;
  overflow-wrap:break-word;
}
body.single .vs-single-page .vs-content :where(p,li,blockquote){
  font-size:inherit!important;
  text-align:justify!important;
  text-justify:inter-word;
  line-height:inherit;
  overflow-wrap:break-word;
}
body.single .vs-single-page .vs-content :where(p span,p strong,p em,p a,li span,li strong,li a){font-size:inherit!important}
body.single .vs-single-page .vs-content :where(h2,h3,h4){text-align:right!important;}
body.single .vs-single-page .vs-content h2{font-size:calc(var(--vehar-reading-size) * 1.18)!important}
body.single .vs-single-page .vs-content h3{font-size:calc(var(--vehar-reading-size) * 1.08)!important}
body.single .vs-single-page .vs-content h4{font-size:var(--vehar-reading-size)!important}
body.single .vs-single-page .vs-content :where(figcaption,.wp-caption-text, .has-text-align-center){text-align:center!important}
body.single .vs-single-page .vs-content :where(pre,code){direction:ltr;text-align:left!important;white-space:pre-wrap;overflow-wrap:anywhere}
body.single .vs-single-page .vs-reading-tools button.vs-reading-btn:disabled{opacity:.45!important;cursor:not-allowed!important}

/* One compact, readable recommendation popup, always with an actual close button.
   Keep it separate from the article action bar on the right. */
body.single #we3-suggest.we3-suggest{
  box-sizing:border-box!important;position:fixed!important;left:18px!important;right:auto!important;
  bottom:max(16px,env(safe-area-inset-bottom))!important;top:auto!important;
  width:min(326px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;
  padding:0!important;border:1px solid #d6e7d9!important;border-radius:15px!important;
  background:#fff!important;box-shadow:0 12px 34px rgba(0,37,14,.23)!important;
  overflow:hidden!important;isolation:isolate!important;direction:rtl!important;
  z-index:10010!important;opacity:0;visibility:hidden;pointer-events:none!important;
  transform:translateY(18px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
}
body.single #we3-suggest.we3-suggest.show{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;
}
body.single #we3-suggest .vehar-v109-suggest-head{
  min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:7px 12px 7px 7px;background:#eef8f0;border-bottom:1px solid #d8e8db;
  font-size:12px;line-height:1.6;font-weight:800;font-family:inherit;color:#17562e;
}
body.single #we3-suggest .vehar-v109-suggest-head span{font-size:12px;font-weight:850;color:#14562c}
body.single #we3-suggest button.close{
  all:unset;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 34px!important;position:relative!important;
  top:auto!important;right:auto!important;left:auto!important;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border-radius:9px!important;background:#fff!important;color:#164c28!important;
  border:1px solid #bfd9c6!important;box-shadow:none!important;
  font:900 18px/1 Arial,sans-serif!important;cursor:pointer!important;
  pointer-events:auto!important;z-index:30!important;
}
body.single #we3-suggest button.close:hover{background:#e0eee2!important;color:#083b1b!important}
body.single #we3-suggest button.close:focus-visible{outline:3px solid #1b8549!important;outline-offset:2px!important}
body.single #we3-suggest #we3-suggest-link{
  display:block!important;position:relative!important;z-index:1!important;padding:0!important;
  width:100%!important;min-width:0!important;max-width:100%!important;float:none!important;
  text-decoration:none!important;pointer-events:auto!important;color:#213a28!important;
}
body.single #we3-suggest .we3-s-row{
  display:grid!important;grid-template-columns:94px minmax(0,1fr)!important;gap:12px!important;
  align-items:center!important;padding:12px!important;background:#fff!important;
  position:relative!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;margin:0!important;float:none!important;
}
body.single #we3-suggest .thumb,body.single #we3-suggest .thumb img,
body.single #we3-suggest .thumb .vs-img-placeholder{
  display:block;width:94px!important;height:74px!important;object-fit:cover;
  overflow:hidden!important;border-radius:9px!important;background:#e7f1e8!important;
}
body.single #we3-suggest .we3-s-body{
  box-sizing:border-box!important;position:static!important;display:block!important;transform:none!important;
  top:auto!important;right:auto!important;left:auto!important;bottom:auto!important;
  width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;
  margin:0!important;padding:0!important;float:none!important;overflow-wrap:anywhere!important;
  background:transparent!important;text-align:right!important;
}
body.single #we3-suggest .we3-s-label{font-size:11px;line-height:1.6;font-weight:800;font-family:inherit;color:#286c3f;margin:0 0 3px}
body.single #we3-suggest .we3-s-title{
  color:#163e23!important;font-weight:800!important;font-size:12.5px!important;line-height:1.8!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden!important;
}
@media(max-width:560px){
  body.single #we3-suggest.we3-suggest{left:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:min(326px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}
  body.single #we3-suggest .we3-s-row{grid-template-columns:78px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
  body.single #we3-suggest .thumb,body.single #we3-suggest .thumb img,body.single #we3-suggest .thumb .vs-img-placeholder{width:78px!important;height:68px!important}
}
@media(prefers-reduced-motion:reduce){body.single #we3-suggest.we3-suggest{transition:none!important}}

/* Verification seal/footer custom code — only inside the original footer. */
.vehar-footer .vehar-footer__seals{
  position:relative;z-index:1;box-sizing:border-box;display:flex;align-items:center;
  justify-content:center;flex-wrap:wrap;gap:14px;width:min(1140px,calc(100% - 28px));
  margin:0 auto;padding:15px 12px 23px;text-align:center;direction:rtl;
  border-top:1px solid rgba(255,255,255,.22);
}
.vehar-footer .vehar-footer__seals :where(img,iframe,object,svg){max-width:100%;height:auto}
.vehar-footer .vehar-footer__seals a{display:inline-block;max-width:100%;color:#fff}
