 @font-face {
    font-family: 'irnsxv';
    src: url('../fonts/IRANSansXV.woff') format('woff-variations'),
    /* will be the standard and works in Safari now */
    url('../fonts/IRANSansXV.woff') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 1000;
    font-display: fallback;
}
#sp-page-builder .sppb-section-title {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
body{
       font-family: 'irnsxv';
           font-variation-settings: "wght" 300, "DOTS" 7;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
 
}
p.com-content-category-blog__counter.counter.float-md-end.pt-3.pe-2 {
    float: right !important;
}
.ltr{
    direction:ltr;
}
.rtl{
    direction:rtl;
}
.article-info>span,.article-info>span a {
    color: #8CA098;
        font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
}
.article-info {
    margin-bottom: 1.5rem;
}

.mod-banners__item.banneritem {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

h2.article-title .english-name{
    font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
    font-size: 14px;
    text-align: center;
    display: block;
    margin-top: -7px;
    text-transform: capitalize;
}
.page-header h2.english-name {
    font-family: 'irnsxv';
    font-variation-settings: "wght" 400, "DOTS" 7;
    font-size: 1.2rem;
        text-transform: capitalize;
}
.page-header {
    padding-bottom: 5px;
}
div#sp-menu > .rtl {
    justify-content: flex-start !important;
}
aside#sp-right .sp-module {
    padding: 0;
}
.mod-banners.bannergroup img {
    width: 100%;
}
.sp-module-content-bottom a.sppb-article-img-wrap {
    display: none;
}
.sp-module-content-bottom .sppb-article-info-wrap {
    border: none;
    padding: 0 !important;
}
.sp-module-content-bottom .sppb-addon-articles .sppb-addon-article {
    margin-bottom: 0;
}
.sp-module-content-bottom .sppb-article-info-wrap h3 a{
                font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
    
}
.sp-module-content-bottom .sppb-article-info-wrap > h3 {
    line-height: 0;
}
#sp-logo .rtl {
    justify-content: end;
}
#sp-bottom .sp-module .tagspopular ul>li {
    display: inline-block;
    margin: 0 !important;
    padding: 0;
    float: right;
    height: auto;
}
#sp-footer, #sp-bottom {
    font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
}
#sp-bottom .sp-module .tagspopular ul>li a {
    margin: 4px 2px;
    display: inline-block;
    padding: 0px 13px;
    border-radius: 5px;
    font-size: 14px !important;
    line-height: 30px;
    font-weight: 400;
    background: #ffffff;
    border: 1px solid #647870;
    color: #3C5048;
}
.imgplnt .sppb-carousel-extended-item img {
    width: 100%;
    object-fit: cover;
    height: auto;
    border-radius: 10px;
}
.imgplnt .sppb-carousel-extended-nav-control .nav-control.prev-control {
    margin-left: -20px;
}
.imgplnt .sppb-carousel-extended-nav-control .nav-control.next-control {
    margin-right: -20px;
}
.imgplnt .sppb-carousel-extended-outer-stage {
    height: auto !important;
}
.article-details .article-header h1, .article-details .article-header h2 {
    font-size: 30px;
    font-family: 'irnsxv';
    font-variation-settings: "wght" 700, "DOTS" 7;
}
div#sp-search > div {
    justify-content: end;
}
div .logo-image-phone {
    height: 30px;
}
.sp-megamenu-parent>li:first-child>a {
    padding-right: 0;
}
.com-content-category-blog__item.blog-item,.result__item.itmfind {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px 1px #f1f1f1;
}
.com-content-category-blog__item.blog-item .article-header a,.result__title-text {
    font-size: 16px;
    text-align: center;
    display: block;
    padding: 15px 5px 10px;
}
.ftw300{
    font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
}
.ftw700,.h2, h2{
        font-family: 'irnsxv';
    font-variation-settings: "wght" 700, "DOTS" 7;
}
.ftw500,h3,.h3{
        font-family: 'irnsxv';
    font-variation-settings: "wght" 500, "DOTS" 7;
}
#sp-main-body {
    padding: 30px 0;
}
.h1, h1 {
        font-size: 2rem;
}
.tags>li a {
    background: #f8f6f0;
}
.sppb-addon.sppb-addon-header.titlepln span.clgb {
            font-family: 'irnsxv';
    font-variation-settings: "wght" 300, "DOTS" 7;
    color:#3C5048;
    font-size:16px;
    margin-top: 5px;
    display: block;
    text-transform: capitalize;
}

.sppb-addon.sppb-addon-header.titlepln {
    display: flex;
    justify-content: center;
    height: 110px;
    align-items: center;
    background: #F8F6F0;
    box-shadow: 0 0 4px 0px #e8e8e8;
    border-radius: 10px;
    margin-bottom: 5px;
}
.ftplantd .sppb-addon-content h3 {
    font-size: 16px;
    display: inline-block;
    margin-left: 10px;
}
.titlepln{
    position:relative;
    overflow:hidden;
    border-radius:12px;
    padding:20px;
    transition:all .4s ease;

}
body.rtl .offcanvas-menu .offcanvas-inner .sp-module ul>li ul {
    margin-right: 10px;
    background: #F8F6F0;
    padding: 15px;
    border-radius: 10px;
}
.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
    font-size: 16px;
    padding: 4px 0px;
    line-height: 34px;
    font-weight: 400;
}
.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li>a {
    padding: 15px 10px 15px 10px;
}
.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li {
    border-bottom: none;
}
body.rtl.offcanvs-position-left.offcanvas-active .offcanvas-menu {
    right: 10px;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width:auto;
    height: auto;
    border-radius: 10px;
}
body.rtl.offcanvs-position-left.offcanvas-active div.body-wrapper {
    right: 0;
}
div .sppb-addon-articles {
    margin-bottom: 0;
}
.titlepln::before{
    content:"";
    position:absolute;
    inset:-920%;
    background:conic-gradient(
        transparent 0deg,
        transparent 340deg,
        rgba(5,160,100,.2) 0deg,
        #05A064 360deg
    );

    animation:spin 8s linear infinite;
    transition:all 2s ease;
    filter:blur(0.5px);
}

.titlepln::after{
    content:"";
    position:absolute;
    inset:2px;
    background:#F8F6F0;
    border-radius:10px;
    z-index:1;
    transition:all .3s ease;
}
.titlepln:hover::after{
    background:#ffffff;
}

.titlepln > *{
    position:relative;
    z-index:2;
}
@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}
@media (max-width: 768px) {
div .ftplantd .sppb-addon-content h3 {
    float: none;
}
div#sp-logo .rtl {
    justify-content: space-between;
}
    
}

@media (max-width:768px){

    .search-input{
        font-size:16px !important;
    }
    .mod-banners.bannergroup {
    display: none;
}
.imgplnt .sppb-carousel-extended-item {
    padding: 0 5px;
    margin: 0 0px !important;
}
div .h1,div h1 {
    font-size: 1.2rem;
}
div .page-header h2.english-name {
    font-size: 1.0rem;
}
.page-header, .article-info {
    padding-right: 15px;
}

}
/* =====================================================================
   Google-style Search Styles (Unified)
   شامل: فرم جستجوی صفحه‌ی نتایج (com_finder / search_form.php)
         و ماژول جستجوی هدر (mod_finder / default.php)
   ===================================================================== */

:root {
    --gfs-blue: #1a73e8;
    --gfs-blue-hover: #1765cc;
    --gfs-border: #dfe1e5;
    --gfs-border-light: #e8eaed;
    --gfs-text: #202124;
    --gfs-muted: #9aa0a6;
}

.awesomplete {
    width: 100%;
}
.gfs-wrapper {
    max-width: 100%;
    margin: 0 auto;
    font-family: var(--gfs-font);
}

.gfs-wrapper .com-finder__search {
    border: 0;
    margin: 0;
    padding: 0;
}

.gfs-wrapper .form-inline {
    display: flex;
    align-items: center;
}

.gfs-wrapper .form-inline label {
    display: none; /* keep for accessibility via visually-hidden style below if needed */
}

.gfs-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid var(--gfs-border);
    border-radius: 999px;
    padding: 6px 8px 6px 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow .18s ease, border-color .18s ease;
}

.gfs-input-group:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.18);
    border-color: transparent;
}

.gfs-input-group:focus-within {
    box-shadow: 0 1px 8px rgba(32, 33, 36, 0.24);
    border-color: transparent;
}

.gfs-icon-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gfs-muted);
    font-size: 18px;
    margin-inline-end: 12px;
    flex-shrink: 0;
}

.gfs-wrapper input.js-finder-search-query {
    flex: 1 1 auto;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    font-size: 16px;
    color: var(--gfs-text);
    padding: 15px 30px 15px 15px;
    height: auto;
}

.gfs-wrapper input.js-finder-search-query::placeholder {
    color: var(--gfs-muted);
}

.gfs-wrapper .btn-primary {
    background: var(--gfs-blue);
    border: none;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: 6px;
    transition: background .15s ease, box-shadow .15s ease;
    white-space: nowrap;
}

.gfs-wrapper .btn-primary:hover {
    background: var(--gfs-blue-hover);
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}

.gfs-wrapper .btn-secondary {
    background: transparent;
    border: 1px solid transparent;
    color: var(--gfs-blue);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    margin-inline-start: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease;
    white-space: nowrap;
}

.gfs-wrapper .btn-secondary:hover {
    background: rgba(26, 115, 232, 0.06);
}

/* Advanced search panel */
.gfs-wrapper .com-finder__advanced {
    margin-top: 14px;
    border: 1px solid var(--gfs-border-light);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
    overflow: hidden;
}

.gfs-wrapper .com-finder__tips {
    border: 0;
    border-bottom: 1px solid var(--gfs-border-light);
    border-radius: 0;
    background: #f8f9fa;
    margin-bottom: 0;
}

.gfs-wrapper .com-finder__tips .card-body {
    padding: 14px 20px;
    font-size: 13px;
    color: #5f6368;
    line-height: 1.9;
}

.gfs-wrapper #finder-filter-window {
    padding: 18px 20px;
}

.gfs-wrapper #finder-filter-window select,
.gfs-wrapper #finder-filter-window input {
    border-radius: 10px;
    border: 1px solid var(--gfs-border);
}

.gfs-wrapper #finder-filter-window select:focus,
.gfs-wrapper #finder-filter-window input:focus {
    border-color: var(--gfs-blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

@media (max-width: 576px) {
    .gfs-wrapper .btn-primary span:not(.icon-search),
    .gfs-wrapper .btn-secondary span:not([class*="icon-"]) {
        display: none;
    }
    .gfs-wrapper .btn-primary,
    .gfs-wrapper .btn-secondary {
        padding: 10px 14px;
    }
}

/* ---------------------------------------------------------------------
   2) ماژول جستجوی هدر (.header-search)
   --------------------------------------------------------------------- */
.header-search {
    font-family: var(--gfs-font);
}

.header-search .search {
    width: 100%;
}

.header-search .search-content {
    width: 100%;
}

.header-search form.mod-finder {
    width: 100%;
}

.header-search .search-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid var(--gfs-border);
    border-radius: 999px;
    padding: 4px 6px 4px 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow .18s ease, border-color .18s ease;
}

.header-search .search-field-wrapper:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.18);
    border-color: transparent;
}

.header-search .search-field-wrapper:focus-within {
    box-shadow: 0 1px 8px rgba(32, 33, 36, 0.24);
    border-color: transparent;
}

.header-search .search-icon {
    color: var(--gfs-muted);
    font-size: 15px;
    margin-inline-end: 12px;
    flex-shrink: 0;
}

.header-search .search-input {
    flex: 1 1 auto;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    font-size: 15px;
    color: var(--gfs-text);
    padding: 15px 30px 15px 15px;
    height: auto;
}

.header-search .search-input::placeholder {
    color: var(--gfs-muted);
}

.header-search .search-submit {
    background: var(--gfs-blue);
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: background .15s ease, box-shadow .15s ease;
}

.header-search .search-submit:hover {
    background: var(--gfs-blue-hover);
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}

.header-search .search-submit:active {
    transform: translateY(0.5px);
}

@media (max-width: 576px) {
    .header-search .search {
        max-width: 100%;
    }
    .header-search .search-submit {
        padding: 8px 14px;
        font-size: 0;
    }
    .header-search .search-submit::after {
        content: "\f002";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
    }
}

/* ---------------------------------------------------------------------
   3) پیشنهادات جستجو / Awesomplete (مشترک بین هر دو بخش)
   --------------------------------------------------------------------- */
.gfs-wrapper .awesomplete > ul,
.header-search .awesomplete > ul {
    border-radius: 16px !important;
    border: 1px solid var(--gfs-border-light) !important;
    box-shadow: 0 4px 16px rgba(32, 33, 36, 0.18) !important;
    margin-top: 8px !important;
    overflow: hidden;
}

.gfs-wrapper .awesomplete > ul > li,
.header-search .awesomplete > ul > li {
    padding: 10px 20px !important;
    font-size: 14px;
    color: var(--gfs-text);
}

.gfs-wrapper .awesomplete > ul > li:hover,
.gfs-wrapper .awesomplete > ul > li[aria-selected="true"],
.header-search .awesomplete > ul > li:hover,
.header-search .awesomplete > ul > li[aria-selected="true"] {
    background: #f1f3f4 !important;
}