@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap");
/* زبان‌ها عمومی */
.language-switcher {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.language-switcher .language-current {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    height: 36px;
    cursor: pointer;
    transition: background 0.3s;
    list-style: none;
}

.language-switcher .language-current::-webkit-details-marker {
    display: none;
}

.language-switcher .language-current::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-inline-start: 4px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.language-switcher[open] .language-current::after {
    transform: translateY(2px) rotate(225deg);
}

.language-switcher .language-current:hover,
.language-switcher[open] .language-current {
    background-color: #e9ecef;
}

.language-switcher .flag-icon {
    width: 24px;
    height: 24px;
    object-fit: cover;
}

.language-switcher .lang-text {
    line-height: 1;
    font-size: 14px;
    font-weight: 500;
}

.language-switcher .language-menu {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-end: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    min-width: 100%;
    padding: 4px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
}

.language-switcher .language-item {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
}

.language-switcher .language-item:hover,
.language-switcher .language-item:focus-visible {
    background-color: #e9ecef;
}

/* موبایل */
@media (max-width: 991px) {
    .language-switcher .language-current .lang-text,
    .language-switcher .language-item .lang-text {
        font-size: 11px;
        font-weight: 300;
    }
}

/* Logo */

.site_logo .logo {
  max-width: 150px;
  /* width: 100%; */
  padding: 5px;
}

p{
    /*text-align: justify !important;*/
 }
/* Oxin Ariana typography */
:root{--oa-font:"Mona Sans",Arial,sans-serif;--oa-body-size:17px;--oa-body-leading:1.6;--oa-heading-leading:1.2;--oa-title:clamp(30px,5vw,48px);--oa-section-title:clamp(24px,3.6vw,34px);--oa-subtitle:clamp(19px,2.5vw,22px)}
html:is([lang="fa"],[lang="fa-AF"],[lang="prs"],[lang="pa"],[lang="ps"]){--oa-font:"Vazirmatn",Tahoma,Arial,sans-serif;--oa-body-size:18px;--oa-body-leading:1.8;--oa-heading-leading:1.4}
body{font-family:var(--oa-font);font-size:var(--oa-body-size);line-height:var(--oa-body-leading)}
body :is(h1,h2,h3,h4,h5,h6,p,.mainmenu a,.blog-text li,figcaption,button,input,textarea,select){font-family:var(--oa-font)}
body :is(h1,.tj-page-title,.banner-title){font-size:var(--oa-title);font-weight:700;line-height:var(--oa-heading-leading)}
body :is(h2,.sec-title,.post-details-wrapper > .title){font-size:var(--oa-section-title);font-weight:700;line-height:var(--oa-heading-leading)}
body :is(h3:not(.banner-title),h4){font-size:var(--oa-subtitle);font-weight:600;line-height:1.45}
body :is(p,.blog-text li){font-size:var(--oa-body-size);line-height:var(--oa-body-leading)}
.blog-text p{margin-block:0 16px}
.blog-text :is(h2,h3,h4):not(:first-child){margin-block-start:clamp(24px,3vw,32px)}
.blog-text :is(p,li) :is(span[style*="font-family"],font[face]){font-family:inherit!important}
.blog-text :is(p,li) span[style*="font-size"]{font-size:inherit!important;line-height:inherit!important}
.blog-text :is(strong,b){font-weight:600}
body :is(.mainmenu a,button,.tj-primary-btn){font-size:16px;font-weight:600;line-height:1.45}
body figcaption{font-size:15px;line-height:1.6}
.blog-text [dir="ltr"]{unicode-bidi:isolate}
@media(max-width:767px){:root{--oa-body-size:16px;--oa-title:clamp(30px,5.5vw,34px);--oa-section-title:clamp(24px,4.5vw,28px)}html:is([lang="fa"],[lang="fa-AF"],[lang="prs"],[lang="pa"],[lang="ps"]){--oa-body-size:17px}}

