/*!
Theme Name: سایت‌ساز نیماد
Theme URI: https://Nimadco.ir
Author: Nimad Co
Author URI: https://Nimad24.com
Description: سرویس سایت ساز و فروشگاه ساز حرفه ای نیماد نسخه 2025
Version: 3.0
Template: blocksy
 */
 @font-face{font-family:"IRANYekanXVF";src:url("assets/fonts/fonts/IRANYekanXVFaNumVF.woff");font-style:normal;font-display:swap}
 @font-face{font-family:"IRANYekanXVF";src:url("assets/fonts/IRANYekanXVFaNumVF.woff2");font-style:normal;font-display:swap}
 
 :root{
    --main-color: #29387b;
    --secend-color: #b0adf3;
    --hsecend-color: #ffa502;
    --hover-color: #dd4c12;
    --white:#ffffff;
    --green:#00cd7a;
    --light-blue:#188fff;
    --blue:#1f6ae9;
    --darkblue:#0a1d4e;
    --red:#ff4f4f;
    --orange:#ffa801;
    --yellow:#ffd32a;
    --dark-black:#1e272e;
    --black:#2f3640;
    --light-black:#3d3d3d;
    --lighter-black:#4b6584;
    --dark-silver:#4b6584;
    --silver:#808e9b;
    --light-silver:#a4b0be;
    --lighter-silver:#e0e4e9;
    --verylight-silver:#f1f2f6;
    --theme-font-family:IRANYekanXVF !important;

 }
 /* WP PANEL*/
body.rtl, body.rtl .press-this a.wp-switch-editor,.block-editor-block-list__layout .block-editor-block-list__block,h1,h2,h3,h4,h5,h6,textarea,input,select,p,label,li a,a{font-family: IRANYekanXVF !important;}
body, #wpadminbar *:not([class="ab-icon"]), .wp-core-ui, .media-menu, .media-frame *, .media-modal *{font-family:IRANYekanXVF,Tahoma !important;}
/*ELEMENTOR*/
.elementor-panel, .elementor-editor-active .elementor-panel .elementor-control-input-wrapper,.elementor-panel-heading-title,#elementor-editor-wrapper p,#elementor-editor-wrapper a,#elementor-editor-wrapper h2,#elementor-editor-wrapper h3,#elementor-editor-wrapper h4,#elementor-editor-wrapper input,#elementor-editor-wrapper select,#elementor-editor-wrapper,#elementor-editor-wrapper button,
.wp-editor,.elementor-loading-title,.elementor-add-section-drag-title{font-family: IRANYekanXVF, tahoma !important; font-style: normal !important; letter-spacing: 0 !important;}

 h1,h2,h3,h4,h5,h6{letter-spacing: -0.2px !important;}
 p{text-align: justify !important;}
.text-green{color: var(--green);}
.text-red{color: var(--red);}
.text-blue{color: var(--blue);}
.text-yellow{color: var(--yellow);}
.text-orange{color: var(--orange);}
.text-main{color: var(--main-color);}
.text-sec{color: var(--sec-color);}

.bg-green{background: var(--green);}
.bg-red{background: var(--red);}
.bg-blue{background: var(--blue);}
.bg-yellow{background: var(--yellow);}
.bg-orange{background: var(--orange);}
.bg-main{background: var(--main-color);}
.bg-sec{background: var(--sec-color);}


.heding-one{border-bottom: 2px solid rgba(0, 0, 0, 0.02); padding-bottom: 12px;}
 /* List */
ul li::marker{color: var(--main-color); font-weight: 700;}
 /* Number List */
ol li{line-height: 36px;}
ol li::marker{color: var(--main-color); font-weight: 700;}
ul.imoji-lst li{
  position: relative;
  list-style: none;
  padding-right: 1.5rem;
  line-height: 32px;
}
/* Imoji List */
ul.imoji-lst li::before {
  content: '✅'; 
  position: absolute;
  right: 0;
  top: 0;
}
/* Inline List */
ul.inline{display: block;}
ul.inline li{display: inline-block; margin-left: 1rem;}
/* NOTE BOX */
.note-box {
  padding: 1rem;
  margin: 1.2rem 0;
  border-radius: 2px;
}
.success {
  background-color: #d4edda; 
  color: #155724;
  border: 1px solid #c3e6cb;
}
.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
.danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb; 
}
.info {
  background-color: #d1ecf1; 
  color: #0c5460; 
  border: 1px solid #bee5eb;
}
/* Note Title */
.note-title{background: #efefef; padding-bottom: 1rem; display: block; margin: 1rem 0;}
.note-title h2,.note-title h3,.note-title h4,.note-title h5{padding: 0.3rem 1rem;}
.note-title p{padding: 0.5rem 1.2rem; line-height: 34px;}
/* LINKS */
p.bg-link a{color: var(--main-color); background-color: var(--lmain-color); text-decoration: none; padding: 2px 4px; margin: 0 2px; transition: 0.3s; border-radius: 3px;}
p.bg-link a:hover{background-color: var(--main-color); color: var(--lmain-color); transition: 0.3s;}
/* LINK UNDERLINE */
p.dotted a {
  color: var(--main-color);
  text-decoration: none;
  border-bottom: 2px dotted var(--main-color); 
padding-bottom: 5px;
}
p.dotted a:hover{color: var(--hover-color); border-bottom: 2px dotted var(--hover-color); }
/* TOC */
.wp-block-rank-math-toc-block{background: rgba(0, 0, 0, 0.02); border-radius: 4px; padding: 1rem;}
.wp-block-rank-math-toc-block div{font-weight: 500; color: var(--main-color); padding-bottom: 10px; border-bottom: 2px solid rgba(0, 0, 0, 0.04);}
.wp-block-rank-math-toc-block li a{color: var(--lighter-black)}
/* BRD BOX*/
.brd-box{border-right: 3px solid #666; padding: 1rem; border-radius: 4px;}

/* CTA BOX*/
.cta-box{position: relative; padding-right: 5rem; background: #efefef;}
.cta-box::before{position: absolute; content: ''; right: 0; background: red; width: 18px; border-radius: 10px 0 0 10px; height: 100%;}

/* PALLETS*/
.green-pallet{color:var(--green); border-color: var(--green); background: var(--lgreen);}
.blue-pallet{color:var(--blue); border-color: var(--blue); background: var(--lblue);}
.yellow-pallet{color:var(--yellow); border-color: var(--yellow); background: var(--lyellow);}
.orange-pallet{color:var(--orange); border-color: var(--orange); background: var(--lorange);}
.red-pallet{color:var(--red); border-color: var(--red); background: var(--lred);}
/* FAQs*/
.rank-math-list{background: #fff; padding: 1.6rem 1rem; border-radius: 1rem; border: 1px solid rgba(0, 0, 0, 0.04);}
.rank-math-question{border-bottom: 2px solid rgba(0, 0, 0, 0.04); padding-bottom: 0.6rem; font-weight: 600; font-size: 1rem; color: var(--main-color);}
.rank-math-question::before{content: '?'; width: 42px; height: 42px; color: var(--main-color); border-radius: 5px; background: var(--lmain-color); display: inline-flex; margin-left: 0.5rem; text-align: center; line-height: 42px; justify-content: center;}
.rank-math-list-item{margin-bottom: 1.6rem;}
.switch-langs{position:relative}
.switch-lang {
    border: 1px solid var(--verylight-silver);
    width: 90px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    z-index: 5;
    border-radius: 2px;
    position: absolute;
    top: 20px;
    left: 20px;
  }
  .switch-lang:hover .lang-dropdown {
    display: block;
  }
  .switcher-link {
    color: var(--silver);
  }
  .switcher-link:hover {
    color: var(--hsecend-color);
  }
  .current-lang {
    background: var(--white);
    padding: 3px 5px 0px 5px;
  }
  .lang-flag {
    width: 18px;
    float: left;
    margin: 5px 5px 0 2px;
  }
  .lang-text {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    margin-top: 2px;
  }
  .lang-dropdown {
    transition:0.3s;
    display: none;
    background: var(--white);
    border-radius: 5px;
    margin-top: 2px;
  }
  .selecting-lang {
    padding: 3px 5px 3px 5px;
    cursor: pointer;
  }
  .selecting-lang:hover {
    background: var(--verylight-silver);
  }
@media screen and (max-width: 767px) {
.wp-block-heading{text-align: center; width: 100%;}
.rank-math-question{font-size: 0.88rem; font-weight: 500;}
}
