/*
Theme Name: راعی گروپ
Theme URI: https://wp-sell.ir/
Description: قالب اختصاصی فارسی راعی گروپ برای آموزش، دوره‌های مشاوره، فروش پکیج‌ها و رادیو راعی؛ سازگار با ووکامرس
Author: فرشید نبی پور
Author URI: https://wp-sell.ir/
Template: nexo
Version: 1.2.6
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: nexo-child
*/

/*
 * Nexo owns typography, grids and component states. No global paragraph
 * max-width, heading-size, Elementor overlay, or hover transforms here:
 * those earlier overrides were conflicting with migrated Elementor content.
 */
html{scroll-padding-top:88px}
:focus-visible{outline:3px solid #126da6;outline-offset:3px}
.nx-skip-link:focus{top:8px!important}
.screen-reader-text:not(:focus){
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.nx-back-to-top{
  position:fixed;z-index:90;
  bottom:calc(16px + env(safe-area-inset-bottom));left:16px;
  width:44px;height:44px;
  border:1px solid rgba(225,236,247,.2);
  border-radius:50%;
  color:#fff;background:#092644;
  box-shadow:0 7px 20px rgba(9,38,68,.17);
  display:grid;place-items:center;
  opacity:0;transform:translateY(12px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,background .2s ease;
}
.nx-back-to-top.is-visible{opacity:1;transform:none;pointer-events:auto}
.nx-back-to-top:hover{background:#126da6}
.nx-back-to-top svg{width:20px;height:20px}
@media(max-width:768px){
  .nx-bnav a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .nx-back-to-top{transition:none}
}
@media print{.nx-header,.nx-bnav,.nx-layer,.nx-back-to-top{display:none!important}}


/* Raei header: enabled offer and verified social links */
#nx-header .nx-header__deal{
 color:#102747;
 background:linear-gradient(115deg,#fff3dd,#eff5fc);
 border:1px solid #f1dec0;
 padding:5px 13px 5px 7px;
 font-size:12px;
 font-weight:850;
}
#nx-header .nx-header__deal-icon{
 background:#ce9140;
 color:#102747;
 animation:none;
}
#nx-header .nx-header__actions>.nx-hsocial{
 color:#0d4d88;
}
#nx-header .nx-header__actions>.nx-hsocial:hover{
 background:#ecf4fc;
 color:#102747;
}
@media(min-width:768px) and (max-width:1199px){
 #nx-header .nx-header__actions>.nx-hsocial--telegram,
 #nx-header .nx-header__actions>.nx-hsocial--instagram {
  display:inline-grid!important;
  place-items:center!important;
  width:37px!important;height:37px!important;min-width:37px!important;min-height:37px!important;
  flex:0 0 37px!important;
  border-radius:9px!important;
 }
}
@media(max-width:767px){
 #nx-header .nx-header__actions>.nx-hsocial--telegram{
  display:inline-grid!important;
  place-items:center!important;
  width:34px!important;height:34px!important;
  min-width:34px!important;min-height:34px!important;
  flex:0 0 34px!important;
 }
}
/* Mobile/tablet: respect Nexo's default header behavior. The special offer
   remains in the desktop navigation row, but does not create a second row
   below the compact mobile header. */

/* RAEI_MOBILE_LOGO_CENTERING_20261114
   Mobile header only: gently enlarge the official logo, move it 9px toward
   the left and align its visible box with the vertically centered header.
   No logo asset is modified and no desktop header is affected. */
@media (max-width:767px) {
  #nx-header .nx-header__inner > .nx-header__brand {
    display:flex;
    align-items:center;
    justify-content:center;
    align-self:center;
    transform:translateX(-9px);
  }
  #nx-header .nx-header__brand > .nx-logo {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    line-height:0;
  }
  #nx-header .nx-header__brand .nx-logo__img {
    display:block;
    width:auto!important;
    height:44px!important;
    max-height:44px!important;
    object-fit:contain!important;
  }
  #nx-header.is-stuck .nx-header__brand .nx-logo__img {
    height:42px!important;
    max-height:42px!important;
  }
}
