/* ==========================================================================
   OJS 3.3 - Universal Default Theme
   CLEAN RTL / LTR VERSION
   Modern Header + Logo + Title
   Persian + English
   ========================================================================== */


/* ==========================================================================
   1. FONTS & IMPORTS
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


/* ==========================================================================
   2. GLOBAL
   ========================================================================== */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #333333;
    background-color: #f7f9fa;
    line-height: 1.8;
}


/* ==========================================================================
   3. RTL / PERSIAN
   ========================================================================== */

html[lang^="fa"] body,
html[dir="rtl"] body,
body:lang(fa),
body[dir="rtl"] {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    direction: rtl !important;
    text-align: right;
}


/* ==========================================================================
   4. LTR / ENGLISH
   ========================================================================== */

html[lang^="en"] body,
html[dir="ltr"] body,
body:lang(en),
body[dir="ltr"] {
    direction: ltr !important;
    text-align: left;
}


/* ==========================================================================
   5. UNIVERSAL JUSTIFY
   ========================================================================== */

p,
.abstract,
.article_abstract,
.section_abstract,
.item .value,
.obj_article_summary .abstract,
.obj_article_summary .description,
.obj_article_details .abstract,
.obj_article_details .item .value,
.pkp_structure_main p,
.pkp_structure_main .abstract,
.pkp_structure_main .article_abstract,
.pkp_structure_main .section_abstract,
.pkp_structure_main .item .value {
    text-align: justify !important;
}


/* ==========================================================================
   6. FORCE JUSTIFY IN PERSIAN
   ========================================================================== */

html[lang^="fa"] p,
html[lang^="fa"] .abstract,
html[lang^="fa"] .article_abstract,
html[lang^="fa"] .section_abstract,
html[lang^="fa"] .item .value,
html[lang^="fa"] .obj_article_summary .abstract,
html[lang^="fa"] .obj_article_summary .description,
html[lang^="fa"] .obj_article_details .abstract,
html[lang^="fa"] .obj_article_details .item .value,
html[lang^="fa"] .pkp_structure_main p,
html[lang^="fa"] .pkp_structure_main .abstract,
html[lang^="fa"] .pkp_structure_main .article_abstract,
html[lang^="fa"] .pkp_structure_main .section_abstract,
html[lang^="fa"] .pkp_structure_main .item .value,

body[dir="rtl"] p,
body[dir="rtl"] .abstract,
body[dir="rtl"] .article_abstract,
body[dir="rtl"] .section_abstract,
body[dir="rtl"] .item .value,
body[dir="rtl"] .obj_article_summary .abstract,
body[dir="rtl"] .obj_article_summary .description,
body[dir="rtl"] .obj_article_details .abstract,
body[dir="rtl"] .obj_article_details .item .value,
body[dir="rtl"] .pkp_structure_main p,
body[dir="rtl"] .pkp_structure_main .abstract,
body[dir="rtl"] .pkp_structure_main .article_abstract,
body[dir="rtl"] .pkp_structure_main .section_abstract,
body[dir="rtl"] .pkp_structure_main .item .value {
    text-align: justify !important;
}


/* ==========================================================================
   7. LINKS
   ========================================================================== */

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #003d82;
    text-decoration: underline;
}

a:focus-visible,
.pkp_navigation_primary > li > a:focus-visible,
.pkp_navigation_user > li > a:focus-visible {
    outline: 2px solid #d4af37 !important;
    outline-offset: 2px !important;
}


/* ==========================================================================
   8. HEADER - MODERN 3-TIER LAYOUT
   ========================================================================== */

.pkp_structure_head {
    position: relative !important;
    z-index: 1000 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    background: #16213e !important;
    border-bottom: 3px solid #d4af37 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
}

.pkp_structure_head::before,
.pkp_structure_head::after {
    display: none !important;
}


/* ==========================================================================
   9. HEADER INNER WRAPPER — COMPACT BANNER
   ========================================================================== */

.pkp_head_wrapper {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.pkp_site_name_wrapper {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 40px 20px 12px 20px !important;
    text-align: center !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.pkp_site_name {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    text-align: center !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
}

.pkp_site_name > a,
.pkp_site_name .is_text {
    display: inline-block !important;
    max-width: 100% !important;
    color: #ffffff !important;
    font-size: clamp(20px, 2.2vw, 30px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.18) !important;
}

.pkp_site_name > a {
    cursor: pointer !important;
}

.pkp_site_name > a:hover {
    text-decoration: none !important;
    opacity: 0.88 !important;
}


/* ==========================================================================
   9-A. LOGO + SITE TITLE
   ========================================================================== */

.pkp_site_name .is_img {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 0 0 auto !important;
    text-decoration: none !important;
}

.pkp_site_name .is_img img {
    max-height: 48px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.pkp_site_name .is_img::after {
    content: "اندیشه" !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-family: 'Vazirmatn', sans-serif !important;
    font-size: clamp(20px, 2.2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.18) !important;
    direction: rtl !important;
    text-align: center !important;
}

html[lang^="en"] .pkp_site_name .is_img::after,
html[dir="ltr"] .pkp_site_name .is_img::after,
body[dir="ltr"] .pkp_site_name .is_img::after {
    content: "Andisheh" !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    direction: ltr !important;
}


/* ==========================================================================
   10. PERSIAN JOURNAL TITLE
   ========================================================================== */

html[lang^="fa"] .pkp_site_name,
html[lang^="fa"] .pkp_site_name a,
html[lang^="fa"] .pkp_site_name .is_text,
html[dir="rtl"] .pkp_site_name,
html[dir="rtl"] .pkp_site_name a,
html[dir="rtl"] .pkp_site_name .is_text,
body[dir="rtl"] .pkp_site_name,
body[dir="rtl"] .pkp_site_name a,
body[dir="rtl"] .pkp_site_name .is_text {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    direction: rtl !important;
    text-align: center !important;
    white-space: normal !important;
}


/* ==========================================================================
   11. ENGLISH JOURNAL TITLE — RESPONSIVE FIT
   ========================================================================== */

html[lang^="en"] .pkp_site_name,
html[lang^="en"] .pkp_site_name a,
html[lang^="en"] .pkp_site_name .is_text,
html[dir="ltr"] .pkp_site_name,
html[dir="ltr"] .pkp_site_name a,
html[dir="ltr"] .pkp_site_name .is_text,
body[dir="ltr"] .pkp_site_name,
body[dir="ltr"] .pkp_site_name a,
body[dir="ltr"] .pkp_site_name .is_text {
    direction: ltr !important;
    text-align: center !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    white-space: normal !important;
    max-width: calc(100vw - 60px) !important;
    width: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: clamp(18px, 2.2vw, 28px) !important;
    line-height: 1.22 !important;
    color: #ffffff !important;
}


/* ==========================================================================
   12. USER MENU — TOP STRIP
   ========================================================================== */

.pkp_structure_head .pkp_navigation_user_wrapper {
    position: absolute !important;
    top: 12px !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100% - 40px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    transform: none !important;
    z-index: 1000000 !important;
}

html[lang^="en"] .pkp_structure_head .pkp_navigation_user_wrapper,
html[dir="ltr"] .pkp_structure_head .pkp_navigation_user_wrapper,
body[dir="ltr"] .pkp_structure_head .pkp_navigation_user_wrapper {
    right: 20px !important;
    left: auto !important;
}

html[lang^="fa"] .pkp_structure_head .pkp_navigation_user_wrapper,
html[dir="rtl"] .pkp_structure_head .pkp_navigation_user_wrapper,
body[dir="rtl"] .pkp_structure_head .pkp_navigation_user_wrapper {
    left: 20px !important;
    right: auto !important;
}

.pkp_structure_head .pkp_navigation_user {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
    white-space: nowrap !important;
}

.pkp_structure_head .pkp_navigation_user > li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.pkp_structure_head .pkp_navigation_user > li > a {
    display: inline-block !important;
    padding: 5px 10px !important;
    color: #d9e1ec !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}

.pkp_structure_head .pkp_navigation_user > li > a:hover,
.pkp_structure_head .pkp_navigation_user > li > a:focus {
    color: #ffffff !important;
    background: rgba(212,175,55,0.14) !important;
    border-color: rgba(212,175,55,0.45) !important;
    text-decoration: none !important;
}


/* ==========================================================================
   13. USER DROPDOWN
   ========================================================================== */

.pkp_structure_head .pkp_navigation_user > li > ul,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    margin: 5px 0 0 0 !important;
    padding: 7px 0 !important;
    min-width: 190px !important;
    max-width: 300px !important;
    background: #ffffff !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 7px !important;
    box-shadow:
        0 14px 35px rgba(0,0,0,0.22),
        0 3px 8px rgba(0,0,0,0.10) !important;
    list-style: none !important;
    z-index: 1000001 !important;
    overflow: visible !important;
    text-align: left !important;
}

.pkp_structure_head .pkp_navigation_user > li > ul.show,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu.show,
.pkp_structure_head .pkp_navigation_user > li > a[aria-expanded="true"] + ul,
.pkp_structure_head .pkp_navigation_user > li > a[aria-expanded="true"] + .dropdown-menu {
    display: block !important;
}

html[lang^="en"] .pkp_structure_head .pkp_navigation_user > li > ul,
html[lang^="en"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu,
html[dir="ltr"] .pkp_structure_head .pkp_navigation_user > li > ul,
html[dir="ltr"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu,
body[dir="ltr"] .pkp_structure_head .pkp_navigation_user > li > ul,
body[dir="ltr"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    direction: ltr !important;
    text-align: left !important;
}

html[lang^="fa"] .pkp_structure_head .pkp_navigation_user > li > ul,
html[lang^="fa"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu,
html[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > ul,
html[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu,
body[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > ul,
body[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu {
    right: auto !important;
    left: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.pkp_structure_head .pkp_navigation_user > li > ul > li,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.pkp_structure_head .pkp_navigation_user > li > ul > li + li,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu > li + li {
    border-top: 1px solid #f0f2f4 !important;
}

.pkp_structure_head .pkp_navigation_user > li > ul a,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 9px 15px !important;
    color: #263238 !important;
    background: #ffffff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.pkp_structure_head .pkp_navigation_user > li > ul a:hover,
.pkp_structure_head .pkp_navigation_user > li > .dropdown-menu a:hover {
    color: #0056b3 !important;
    background: #f2f6fa !important;
    text-decoration: none !important;
}

html[lang^="fa"] .pkp_structure_head .pkp_navigation_user > li > ul a,
html[lang^="fa"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu a,
html[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > ul a,
html[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu a,
body[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > ul a,
body[dir="rtl"] .pkp_structure_head .pkp_navigation_user > li > .dropdown-menu a {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}


/* ==========================================================================
   14. SITE NAVIGATION CONTAINER
   ========================================================================== */

.pkp_site_nav_menu {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    z-index: 2000 !important;
}


/* ==========================================================================
   15. PRIMARY NAVIGATION ROW — STICKY
   ========================================================================== */

.pkp_navigation_primary_row {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #16213e !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18) !important;
}


/* ==========================================================================
   16. PRIMARY NAVIGATION WRAPPER
   ========================================================================== */

.pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}


/* ==========================================================================
   17. PRIMARY MENU
   ========================================================================== */

.pkp_navigation_primary {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
}

html[lang^="fa"] .pkp_navigation_primary,
html[dir="rtl"] .pkp_navigation_primary,
body[dir="rtl"] .pkp_navigation_primary {
    direction: rtl !important;
    justify-content: flex-start !important;
}

html[lang^="en"] .pkp_navigation_primary,
html[dir="ltr"] .pkp_navigation_primary,
body[dir="ltr"] .pkp_navigation_primary {
    direction: ltr !important;
    justify-content: flex-start !important;
}

.pkp_navigation_primary > li {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

.pkp_navigation_primary > li > a {
    display: block !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    border-bottom: 2px solid transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    letter-spacing: 0.1px !important;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease !important;
}

html[lang^="en"] .pkp_navigation_primary > li > a,
html[dir="ltr"] .pkp_navigation_primary > li > a,
body[dir="ltr"] .pkp_navigation_primary > li > a {
    font-size: 13px !important;
    padding: 14px 15px !important;
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus {
    color: #ffffff !important;
    background: rgba(212,175,55,0.12) !important;
    border-bottom-color: #d4af37 !important;
    text-decoration: none !important;
    outline: none !important;
}


/* ==========================================================================
   18. DROPDOWN BASE
   ========================================================================== */

.pkp_navigation_primary > li > ul,
.pkp_navigation_primary > li > .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    min-width: 230px !important;
    max-width: 330px !important;
    margin: 0 !important;
    padding: 7px 0 !important;
    background: #ffffff !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 8px !important;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.16),
        0 2px 6px rgba(0,0,0,0.06) !important;
    list-style: none !important;
    z-index: 100000 !important;
    overflow: visible !important;
}

.pkp_navigation_primary > li:hover > ul,
.pkp_navigation_primary > li:focus-within > ul,
.pkp_navigation_primary > li:hover > .dropdown-menu,
.pkp_navigation_primary > li:focus-within > .dropdown-menu {
    display: block !important;
}


/* ==========================================================================
   19. DROPDOWN ITEMS
   ========================================================================== */

.pkp_navigation_primary > li > ul > li,
.pkp_navigation_primary .dropdown-menu > li {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_navigation_primary > li > ul > li + li,
.pkp_navigation_primary .dropdown-menu > li + li {
    border-top: 1px solid #f0f2f4 !important;
}

.pkp_navigation_primary > li > ul a,
.pkp_navigation_primary .dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 10px 17px !important;
    color: #263238 !important;
    background: #ffffff !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    white-space: normal !important;
    transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease !important;
}

.pkp_navigation_primary > li > ul a:hover,
.pkp_navigation_primary > li > ul a:focus,
.pkp_navigation_primary .dropdown-menu a:hover,
.pkp_navigation_primary .dropdown-menu a:focus {
    color: #0056b3 !important;
    background: #f2f6fa !important;
    text-decoration: none !important;
    outline: none !important;
}


/* ==========================================================================
   20. PERSIAN DROPDOWN
   ========================================================================== */

html[lang^="fa"] .pkp_navigation_primary > li > ul,
html[lang^="fa"] .pkp_navigation_primary > li > .dropdown-menu,
html[dir="rtl"] .pkp_navigation_primary > li > ul,
html[dir="rtl"] .pkp_navigation_primary > li > .dropdown-menu,
body[dir="rtl"] .pkp_navigation_primary > li > ul,
body[dir="rtl"] .pkp_navigation_primary > li > .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    direction: rtl !important;
    text-align: right !important;
}

html[lang^="fa"] .pkp_navigation_primary > li > ul a,
html[lang^="fa"] .pkp_navigation_primary .dropdown-menu a,
html[dir="rtl"] .pkp_navigation_primary > li > ul a,
html[dir="rtl"] .pkp_navigation_primary .dropdown-menu a,
body[dir="rtl"] .pkp_navigation_primary > li > ul a,
body[dir="rtl"] .pkp_navigation_primary .dropdown-menu a {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}


/* ==========================================================================
   21. PERSIAN SECOND LEVEL
   ========================================================================== */

html[lang^="fa"] .pkp_navigation_primary > li > ul li > ul,
html[lang^="fa"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu,
html[dir="rtl"] .pkp_navigation_primary > li > ul li > ul,
html[dir="rtl"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu,
body[dir="rtl"] .pkp_navigation_primary > li > ul li > ul,
body[dir="rtl"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: -8px !important;
    right: 100% !important;
    left: auto !important;
    margin-right: 5px !important;
    margin-left: 0 !important;
    min-width: 230px !important;
    background: #ffffff !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 8px !important;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.16),
        0 2px 6px rgba(0,0,0,0.06) !important;
    z-index: 100001 !important;
}

html[lang^="fa"] .pkp_navigation_primary > li > ul li:hover > ul,
html[lang^="fa"] .pkp_navigation_primary > li > ul li:focus-within > ul,
html[lang^="fa"] .pkp_navigation_primary .dropdown-menu li:hover > .dropdown-menu,
html[lang^="fa"] .pkp_navigation_primary .dropdown-menu li:focus-within > .dropdown-menu,
html[dir="rtl"] .pkp_navigation_primary > li > ul li:hover > ul,
html[dir="rtl"] .pkp_navigation_primary > li > ul li:focus-within > ul,
body[dir="rtl"] .pkp_navigation_primary > li > ul li:hover > ul,
body[dir="rtl"] .pkp_navigation_primary > li > ul li:focus-within > ul,
body[dir="rtl"] .pkp_navigation_primary .dropdown-menu li:hover > .dropdown-menu,
body[dir="rtl"] .pkp_navigation_primary .dropdown-menu li:focus-within > .dropdown-menu {
    display: block !important;
}


/* ==========================================================================
   22. ENGLISH DROPDOWN
   ========================================================================== */

html[lang^="en"] .pkp_navigation_primary > li > ul,
html[lang^="en"] .pkp_navigation_primary > li > .dropdown-menu,
html[dir="ltr"] .pkp_navigation_primary > li > ul,
html[dir="ltr"] .pkp_navigation_primary > li > .dropdown-menu,
body[dir="ltr"] .pkp_navigation_primary > li > ul,
body[dir="ltr"] .pkp_navigation_primary > li > .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    direction: ltr !important;
    text-align: left !important;
}

html[lang^="en"] .pkp_navigation_primary > li > ul a,
html[lang^="en"] .pkp_navigation_primary .dropdown-menu a,
html[dir="ltr"] .pkp_navigation_primary > li > ul a,
html[dir="ltr"] .pkp_navigation_primary .dropdown-menu a,
body[dir="ltr"] .pkp_navigation_primary > li > ul a,
body[dir="ltr"] .pkp_navigation_primary .dropdown-menu a {
    direction: ltr !important;
    text-align: left !important;
}


/* ==========================================================================
   23. ENGLISH SECOND LEVEL
   ========================================================================== */

html[lang^="en"] .pkp_navigation_primary > li > ul li > ul,
html[lang^="en"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu,
html[dir="ltr"] .pkp_navigation_primary > li > ul li > ul,
html[dir="ltr"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu,
body[dir="ltr"] .pkp_navigation_primary > li > ul li > ul,
body[dir="ltr"] .pkp_navigation_primary .dropdown-menu li > .dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: -8px !important;
    left: 100% !important;
    right: auto !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
    min-width: 230px !important;
    background: #ffffff !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 8px !important;
    box-shadow:
        0 12px 30px rgba(0,0,0,0.16),
        0 2px 6px rgba(0,0,0,0.06) !important;
    z-index: 100001 !important;
}

html[lang^="en"] .pkp_navigation_primary > li > ul li:hover > ul,
html[lang^="en"] .pkp_navigation_primary > li > ul li:focus-within > ul,
html[lang^="en"] .pkp_navigation_primary .dropdown-menu li:hover > .dropdown-menu,
html[lang^="en"] .pkp_navigation_primary .dropdown-menu li:focus-within > .dropdown-menu,
html[dir="ltr"] .pkp_navigation_primary > li > ul li:hover > ul,
html[dir="ltr"] .pkp_navigation_primary > li > ul li:focus-within > ul,
body[dir="ltr"] .pkp_navigation_primary > li > ul li:hover > ul,
body[dir="ltr"] .pkp_navigation_primary > li > ul li:focus-within > ul,
body[dir="ltr"] .pkp_navigation_primary .dropdown-menu li:hover > .dropdown-menu,
body[dir="ltr"] .pkp_navigation_primary .dropdown-menu li:focus-within > .dropdown-menu {
    display: block !important;
}


/* ==========================================================================
   24. SEARCH — ALIGNED EDGE
   ========================================================================== */

.pkp_navigation_search_wrapper {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    z-index: 100000 !important;
}

.pkp_navigation_search_wrapper .pkp_search {
    display: block !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    color: #ffffff !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: background 0.22s ease, border-color 0.22s ease !important;
}

html[lang^="en"] .pkp_navigation_search_wrapper .pkp_search,
html[dir="ltr"] .pkp_navigation_search_wrapper .pkp_search,
body[dir="ltr"] .pkp_navigation_search_wrapper .pkp_search {
    font-size: 13px !important;
    padding: 14px 15px !important;
}

.pkp_navigation_search_wrapper .pkp_search:hover,
.pkp_navigation_search_wrapper .pkp_search:focus {
    color: #ffffff !important;
    background: rgba(212,175,55,0.12) !important;
    border-bottom-color: #d4af37 !important;
    text-decoration: none !important;
}

html[lang^="en"] .pkp_navigation_search_wrapper,
html[dir="ltr"] .pkp_navigation_search_wrapper,
body[dir="ltr"] .pkp_navigation_search_wrapper {
    order: 999 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[lang^="fa"] .pkp_navigation_search_wrapper,
html[dir="rtl"] .pkp_navigation_search_wrapper,
body[dir="rtl"] .pkp_navigation_search_wrapper {
    order: 999 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
}
/* ==========================================================================
   25. ARTICLE SUMMARY — PREMIUM JOURNAL ARTICLE CARDS
   ========================================================================== */

.obj_article_summary,
.section .obj_article_summary,
.current_issue .obj_article_summary,
.issues_iterator .obj_article_summary,
.search_results .obj_article_summary,
.pkp_section .obj_article_summary {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 0 22px 0 !important;
    padding: 24px 25px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fcfdff 100%) !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 13px rgba(22, 33, 62, 0.045) !important;
    overflow: hidden !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* نوار تزئینی کنار باکس */

.obj_article_summary::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #d4af37, #b58b24) !important;
    opacity: 0.85 !important;
    transition: width 0.25s ease, opacity 0.25s ease !important;
}

html[dir="ltr"] .obj_article_summary::before,
body[dir="ltr"] .obj_article_summary::before {
    right: auto !important;
    left: 0 !important;
}

/* افکت هاور */

.obj_article_summary:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 7px 20px rgba(22, 33, 62, 0.085) !important;
}

.obj_article_summary:hover::before {
    width: 6px !important;
    opacity: 1 !important;
}

/* عنوان مقاله */

.obj_article_summary .title {
    margin: 0 0 12px 0 !important;
    line-height: 1.9 !important;
}

.obj_article_summary .title a {
    display: inline !important;
    color: #16213e !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.9 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.obj_article_summary .title a:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
}

/* مشخصات مقاله */

.obj_article_summary .meta {
    margin-top: 10px !important;
    color: #718096 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

/* نام نویسندگان */

.obj_article_summary .authors {
    margin-top: 8px !important;
    color: #34445a !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 2 !important;
}

/* چکیده و توضیحات */

.obj_article_summary .abstract,
.obj_article_summary .description {
    margin-top: 13px !important;
    color: #596579 !important;
    font-size: 13px !important;
    line-height: 2 !important;
    text-align: justify !important;
}

/* دکمه‌های دریافت مقاله */

.obj_article_summary .galleys,
.obj_article_summary .item.galleys {
    margin-top: 15px !important;
}

/* موبایل */

@media (max-width: 768px) {
    .obj_article_summary,
    .section .obj_article_summary,
    .current_issue .obj_article_summary,
    .issues_iterator .obj_article_summary,
    .search_results .obj_article_summary,
    .pkp_section .obj_article_summary {
        padding: 19px 17px !important;
        margin-bottom: 17px !important;
        border-radius: 9px !important;
    }

    .obj_article_summary .title a {
        font-size: 16px !important;
    }
}


/* ==========================================================================
   26. ORCID
   ========================================================================== */

.obj_article_summary .authors .orcid,
.author_name .orcid,
.authors span.orcid,
a.orcidIcon,
.orcid-icon,
span.orcid,
.pkp_author_orcid {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin-inline-start: 6px !important;
    margin-inline-end: 6px !important;
}

a.orcidIcon img,
.orcid-icon img,
.orcid img,
.pkp_author_orcid img,
span.orcid img {
    width: 15px !important;
    height: 15px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    opacity: 0.95 !important;
}


/* ==========================================================================
   27. CURRENT ISSUE
   ========================================================================== */

.cmp_homepage_image {
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cmp_homepage_image img {
    width: 100%;
    height: auto;
}

.current_issue {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    margin-bottom: 35px;
}

.current_issue .heading {
    border-bottom: 2px solid #0056b3;
    padding-bottom: 10px;
    margin-bottom: 25px;
    color: #0056b3;
    font-size: 22px;
    font-weight: 700;
}

.current_issue_cover img {
    max-width: 180px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body[dir="rtl"] .current_issue_cover {
    float: right;
    margin-left: 25px;
    margin-bottom: 15px;
}

body[dir="ltr"] .current_issue_cover {
    float: left;
    margin-right: 25px;
    margin-bottom: 15px;
}


/* ==========================================================================
   28. SIDEBAR — PROFESSIONAL DESIGN + MORE SEPARATION
   ========================================================================== */

.pkp_structure_sidebar {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    vertical-align: top !important;
    align-self: flex-start !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-width: 0 !important;
}

/* فاصله سایدبار از بدنه اصلی */

html[dir="rtl"] .pkp_structure_sidebar,
body[dir="rtl"] .pkp_structure_sidebar {
    padding-right: 20px !important;
    padding-left: 0 !important;
}

html[dir="ltr"] .pkp_structure_sidebar,
body[dir="ltr"] .pkp_structure_sidebar {
    padding-left: 20px !important;
    padding-right: 0 !important;
}

/* طراحی و افزایش عرض باکس‌های سایدبار */

.pkp_structure_sidebar .pkp_block {
    position: relative !important;
    width: calc(100% + 37px) !important;
    max-width: none !important;
    margin: 0 0 22px 0 !important;
    padding: 19px 18px !important;
    background: linear-gradient(145deg, #ffffff 0%, #fbfcfe 100%) !important;
    border: 1px solid #e3e9f0 !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 14px rgba(22, 33, 62, 0.065) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* گسترش باکس‌ها در نسخه فارسی */

html[dir="rtl"] .pkp_structure_sidebar .pkp_block,
body[dir="rtl"] .pkp_structure_sidebar .pkp_block {
    margin-right: 0 !important;
    margin-left: -37px !important;
}

/* گسترش باکس‌ها در نسخه انگلیسی */

html[dir="ltr"] .pkp_structure_sidebar .pkp_block,
body[dir="ltr"] .pkp_structure_sidebar .pkp_block {
    margin-left: 0 !important;
    margin-right: -37px !important;
}

/* افکت هاور */

.pkp_structure_sidebar .pkp_block:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 7px 20px rgba(22, 33, 62, 0.10) !important;
}

/* عنوان بلوک‌ها */

.pkp_structure_sidebar .pkp_block .title {
    position: relative !important;
    margin: 0 0 15px 0 !important;
    padding: 0 0 11px 0 !important;
    color: #16213e !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.8 !important;
    border-bottom: 1px solid #e9edf2 !important;
    text-transform: none !important;
}

/* خط طلایی زیر عنوان */

.pkp_structure_sidebar .pkp_block .title::after {
    content: "" !important;
    position: absolute !important;
    bottom: -1px !important;
    right: 0 !important;
    width: 45px !important;
    height: 2px !important;
    background: #d4af37 !important;
    border-radius: 2px !important;
}

html[dir="ltr"] .pkp_structure_sidebar .pkp_block .title::after,
body[dir="ltr"] .pkp_structure_sidebar .pkp_block .title::after {
    right: auto !important;
    left: 0 !important;
}

/* فهرست‌ها */

.pkp_structure_sidebar .pkp_block ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.pkp_structure_sidebar .pkp_block ul li {
    margin: 0 !important;
    padding: 9px 2px !important;
    border-bottom: 1px dashed #e8edf2 !important;
    line-height: 1.8 !important;
    transition: padding 0.2s ease, background 0.2s ease !important;
}

.pkp_structure_sidebar .pkp_block ul li:last-child {
    border-bottom: none !important;
}

html[dir="rtl"] .pkp_structure_sidebar .pkp_block ul li:hover,
body[dir="rtl"] .pkp_structure_sidebar .pkp_block ul li:hover {
    padding-right: 8px !important;
    background: #f8fafc !important;
}

html[dir="ltr"] .pkp_structure_sidebar .pkp_block ul li:hover,
body[dir="ltr"] .pkp_structure_sidebar .pkp_block ul li:hover {
    padding-left: 8px !important;
    background: #f8fafc !important;
}

/* لینک‌ها */

.pkp_structure_sidebar .pkp_block a {
    color: #34516f !important;
    font-size: 13px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.pkp_structure_sidebar .pkp_block a:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
}

/* فونت و جهت فارسی سایدبار */

html[lang^="fa"] .pkp_structure_sidebar,
html[dir="rtl"] .pkp_structure_sidebar,
body[dir="rtl"] .pkp_structure_sidebar {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    direction: rtl !important;
    text-align: right !important;
}

/* جهت انگلیسی سایدبار */

html[lang^="en"] .pkp_structure_sidebar,
html[dir="ltr"] .pkp_structure_sidebar,
body[dir="ltr"] .pkp_structure_sidebar {
    direction: ltr !important;
    text-align: left !important;
}

/* موبایل */

@media (max-width: 768px) {
    .pkp_structure_sidebar {
        margin-top: 20px !important;
        padding: 0 !important;
    }

    .pkp_structure_sidebar .pkp_block {
        width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 15px !important;
    }
}


/* ==========================================================================
   29. GALLEY BUTTONS
   ========================================================================== */

.cmp_galley_link {
    display: inline-block !important;
    padding: 8px 16px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.cmp_galley_link.pdf {
    background-color: #d9534f !important;
    color: #ffffff !important;
}

.cmp_galley_link.pdf:hover {
    background-color: #c9302c !important;
    text-decoration: none !important;
}

body[dir="rtl"] .cmp_galley_link {
    margin-left: 6px;
}

body[dir="ltr"] .cmp_galley_link {
    margin-right: 6px;
}


/* ==========================================================================
   30. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {

    .pkp_head_wrapper {
        padding-top: 0 !important;
    }

    .pkp_site_name_wrapper {
        padding: 40px 15px 12px 15px !important;
    }

    .pkp_site_name {
        gap: 12px !important;
    }

    .pkp_site_name > a,
    .pkp_site_name .is_text {
        font-size: clamp(18px, 3.8vw, 26px) !important;
    }

    .pkp_site_name .is_img {
        gap: 12px !important;
    }

    .pkp_site_name .is_img img {
        max-height: 40px !important;
    }

    .pkp_site_name .is_img::after {
        font-size: clamp(18px, 3.6vw, 24px) !important;
    }

    html[lang^="en"] .pkp_site_name > a,
    html[lang^="en"] .pkp_site_name .is_text,
    html[dir="ltr"] .pkp_site_name > a,
    html[dir="ltr"] .pkp_site_name .is_text,
    body[dir="ltr"] .pkp_site_name > a,
    body[dir="ltr"] .pkp_site_name .is_text {
        font-size: clamp(16px, 3.4vw, 22px) !important;
        max-width: calc(100vw - 30px) !important;
        color: #ffffff !important;
    }

    .pkp_navigation_user_wrapper {
        top: 10px !important;
    }

    html[lang^="en"] .pkp_navigation_user_wrapper,
    body[dir="ltr"] .pkp_navigation_user_wrapper {
        right: 10px !important;
    }

    html[lang^="fa"] .pkp_navigation_user_wrapper,
    body[dir="rtl"] .pkp_navigation_user_wrapper {
        left: 10px !important;
    }

    .pkp_navigation_user > li > a {
        padding: 5px 9px !important;
        font-size: 12px !important;
    }

    .pkp_navigation_primary {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .pkp_navigation_primary::-webkit-scrollbar {
        display: none !important;
    }

    .pkp_navigation_primary > li > a {
        padding: 12px 14px !important;
        font-size: 13px !important;
    }

    .pkp_navigation_primary > li > ul,
    .pkp_navigation_primary > li > .dropdown-menu {
        min-width: 200px !important;
    }
}


@media (max-width: 480px) {

    .pkp_head_wrapper {
        padding-top: 0 !important;
    }

    .pkp_site_name_wrapper {
        padding: 36px 12px 10px 12px !important;
    }

    .pkp_site_name {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .pkp_site_name .is_img {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .pkp_site_name .is_img img {
        max-height: 34px !important;
    }

    .pkp_site_name .is_img::after {
        font-size: clamp(16px, 4.4vw, 22px) !important;
    }

    .pkp_site_name > a,
    .pkp_site_name .is_text {
        font-size: clamp(16px, 4.5vw, 22px) !important;
    }

    html[lang^="en"] .pkp_site_name > a,
    html[lang^="en"] .pkp_site_name .is_text,
    html[dir="ltr"] .pkp_site_name > a,
    html[dir="ltr"] .pkp_site_name .is_text,
    body[dir="ltr"] .pkp_site_name > a,
    body[dir="ltr"] .pkp_site_name .is_text {
        font-size: clamp(14px, 4vw, 18px) !important;
        max-width: calc(100vw - 20px) !important;
        color: #ffffff !important;
    }

    .pkp_navigation_user_wrapper {
        top: 7px !important;
    }

    .pkp_navigation_user > li > a {
        padding: 4px 7px !important;
        font-size: 11px !important;
    }
}


/* ==========================================================================
   31. CSS-ONLY STICKY NAVIGATION SAFETY
   ========================================================================== */

.pkp_structure_head,
.pkp_head_wrapper,
.pkp_site_nav_menu {
    overflow: visible !important;
}

.pkp_navigation_primary_row {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}


/* ==========================================================================
   32. ADNISHA — OJS 3.3 PROFESSIONAL FOOTER
   FULL WIDTH & HOVER EFFECTS
   ========================================================================== */

/* حذف حاشیه‌های بیرونی و تنظیم فوتر */

.pkp_structure_footer_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-top: none !important;
    border-bottom: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.pkp_structure_footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: right !important;
    box-sizing: border-box !important;
    direction: rtl !important;
}

.pkp_footer_content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: right !important;
    direction: rtl !important;
    box-sizing: border-box !important;
}

.pkp_brand_footer {
    display: none !important;
}

.pkp_structure_footer > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* استایل فوتر سفارشی */

#ghalib-custom-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #263b4d !important;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
}

#ghalib-custom-footer *,
#ghalib-custom-footer *::before,
#ghalib-custom-footer *::after {
    box-sizing: border-box !important;
}

#ghalib-custom-footer p {
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    line-height: 1.8 !important;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}

#ghalib-custom-footer ul,
#ghalib-custom-footer ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ghalib-custom-footer li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#ghalib-custom-footer h1,
#ghalib-custom-footer h2,
#ghalib-custom-footer h3,
#ghalib-custom-footer h4,
#ghalib-custom-footer h5,
#ghalib-custom-footer h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    text-align: right !important;
    line-height: 1.8 !important;
}

#ghalib-custom-footer img {
    max-width: 100% !important;
    border: 0 !important;
    vertical-align: middle !important;
}


/* افکت هاور برای لینک‌های متنی */

#ghalib-custom-footer .ghalib-footer-link {
    color: #aebfd0 !important;
    font-size: 13px !important;
    line-height: 2.25 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
}

#ghalib-custom-footer .ghalib-footer-link:hover {
    color: #f1d88a !important;
    padding-right: 6px !important;
    text-decoration: none !important;
}


/* عناوین ستون‌ها */

#ghalib-custom-footer .ghalib-footer-title {
    display: inline-block !important;
    margin: 0 0 14px !important;
    padding: 0 0 7px !important;
    color: #f1d88a !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    border-bottom: 2px solid rgba(212,175,55,0.35) !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-footer-column:hover .ghalib-footer-title {
    border-bottom-color: #d4af37 !important;
    color: #ffffff !important;
}


/* گرید و ستون‌ها */

#ghalib-custom-footer .ghalib-footer-grid {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr 1fr !important;
    gap: 38px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
}

#ghalib-custom-footer .ghalib-footer-column {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}


/* باکس لوگو */

#ghalib-custom-footer .ghalib-logo-box {
    display: inline-block !important;
    margin: 0 0 15px !important;
    padding: 8px 14px !important;
    background: #ffffff !important;
    border: 1px solid #e1e5e9 !important;
    border-radius: 7px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-logo-box:hover {
    box-shadow: 0 5px 15px rgba(212,175,55,0.3) !important;
    transform: translateY(-2px) !important;
}

#ghalib-custom-footer .ghalib-logo-box img {
    display: block !important;
    width: auto !important;
    height: 55px !important;
    max-width: 180px !important;
}


/* اطلاعات تماس */

#ghalib-custom-footer .ghalib-contact {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    color: #aebfd0 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

#ghalib-custom-footer .ghalib-contact:hover {
    color: #ffffff !important;
}

#ghalib-custom-footer .ghalib-contact-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(212,175,55,0.13) !important;
    border: 1px solid rgba(212,175,55,0.25) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-contact:hover .ghalib-contact-icon {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    transform: scale(1.1) !important;
}

#ghalib-custom-footer .ghalib-contact-icon img {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-contact:hover .ghalib-contact-icon img {
    filter: brightness(0) !important;
}


/* شبکه‌های اجتماعی */

#ghalib-custom-footer .ghalib-social {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 22px !important;
    direction: ltr !important;
}

#ghalib-custom-footer .ghalib-social a {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-social a:hover {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 12px rgba(212,175,55,0.3) !important;
}

#ghalib-custom-footer .ghalib-social img {
    width: 16px !important;
    height: 16px !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer .ghalib-social a:hover img {
    filter: brightness(0) !important;
}


/* فرم خبرنامه و کپی‌رایت */

#ghalib-custom-footer .ghalib-newsletter-text {
    margin: 0 0 11px !important;
    color: #60788b !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
}

#ghalib-custom-footer input[type="email"] {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    margin: 0 0 8px !important;
    padding: 8px 12px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-size: 12px !important;
    text-align: right !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer input[type="email"]:focus {
    border-color: #d4af37 !important;
}

#ghalib-custom-footer button {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    background: #d4af37 !important;
    border: 1px solid #c19d28 !important;
    border-radius: 6px !important;
    color: #17344b !important;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#ghalib-custom-footer button:hover {
    background: #f1d88a !important;
    transform: translateY(-1px) !important;
}

#ghalib-custom-footer .ghalib-copyright {
    width: 100% !important;
    margin: 40px 0 0 !important;
    padding: 20px 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.13) !important;
    text-align: center !important;
    color: #aebfd0 !important;
    font-size: 12px !important;
    line-height: 2 !important;
}

#ghalib-custom-footer .ghalib-copyright strong {
    display: block !important;
    margin-top: 5px !important;
    color: #d4af37 !important;
    font-weight: 600 !important;
}


/* ==========================================================================
   33. RESPONSIVE FOOTER
   ========================================================================== */

@media (max-width: 900px) {
    .pkp_structure_footer {
        max-width: 100% !important;
    }

    #ghalib-custom-footer .ghalib-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 600px) {
    #ghalib-custom-footer .ghalib-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 27px !important;
    }

    #ghalib-custom-footer .ghalib-footer-column {
        width: 100% !important;
    }

    #ghalib-custom-footer .ghalib-copyright {
        margin-top: 25px !important;
    }
}


/* ==========================================================================
   34. HEADER BACKGROUND PATTERN
   ========================================================================== */

.pkp_structure_head {
    background-color: #16213e !important;
    background-image:
        radial-gradient(circle, rgba(212, 175, 55, 0.34) 1.25px, transparent 1.7px),
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 30px,
            rgba(255, 255, 255, 0.065) 30px,
            rgba(255, 255, 255, 0.065) 31px,
            transparent 31px,
            transparent 62px
        ),
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 30px,
            rgba(212, 175, 55, 0.055) 30px,
            rgba(212, 175, 55, 0.055) 31px,
            transparent 31px,
            transparent 62px
        ) !important;
    background-size: 24px 24px, 62px 62px, 62px 62px !important;
    background-position: center center, center center, center center !important;
    background-repeat: repeat, repeat, repeat !important;
}


/* ==========================================================================
   35. GLOBAL PERSIAN FONT — VAZIRMATN
   Persian interface only
   ========================================================================== */

/* فونت عمومی عناصر فارسی */

html[lang^="fa"] body,
html[dir="rtl"] body,
body:lang(fa),
body[dir="rtl"],
html[lang^="fa"] input,
html[lang^="fa"] textarea,
html[lang^="fa"] select,
html[lang^="fa"] button,
body[dir="rtl"] input,
body[dir="rtl"] textarea,
body[dir="rtl"] select,
body[dir="rtl"] button {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* عنوان مجله */

html[lang^="fa"] .pkp_site_name,
html[lang^="fa"] .pkp_site_name a,
html[lang^="fa"] .pkp_site_name .is_text,
html[dir="rtl"] .pkp_site_name,
html[dir="rtl"] .pkp_site_name a,
html[dir="rtl"] .pkp_site_name .is_text,
body[dir="rtl"] .pkp_site_name,
body[dir="rtl"] .pkp_site_name a,
body[dir="rtl"] .pkp_site_name .is_text {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* منوها */

html[dir="rtl"] .pkp_navigation_primary,
html[dir="rtl"] .pkp_navigation_primary a,
html[dir="rtl"] .pkp_navigation_user,
html[dir="rtl"] .pkp_navigation_user a,
html[dir="rtl"] .pkp_navigation_search_wrapper,
body[dir="rtl"] .pkp_navigation_primary,
body[dir="rtl"] .pkp_navigation_primary a,
body[dir="rtl"] .pkp_navigation_user,
body[dir="rtl"] .pkp_navigation_user a,
body[dir="rtl"] .pkp_navigation_search_wrapper {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* محتوای اصلی فارسی */

html[lang^="fa"] .pkp_structure_main,
html[dir="rtl"] .pkp_structure_main,
body[dir="rtl"] .pkp_structure_main {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* سایدبار فارسی */

html[lang^="fa"] .pkp_structure_sidebar,
html[dir="rtl"] .pkp_structure_sidebar,
body[dir="rtl"] .pkp_structure_sidebar {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* فوتر فارسی */

html[lang^="fa"] #ghalib-custom-footer,
html[dir="rtl"] #ghalib-custom-footer,
body[dir="rtl"] #ghalib-custom-footer {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif !important;
}


/* ==========================================================================
   36. FORCE VAZIRMATN IN ISSUE ARTICLE BOXES
   OJS 3.3 — IMPORTANT FONT FIX
   ========================================================================== */

/* خود باکس مقاله */

html[lang^="fa"] .obj_article_summary,
html[dir="rtl"] .obj_article_summary,
body[dir="rtl"] .obj_article_summary,
html[lang^="fa"] .obj_issue_toc .obj_article_summary,
html[dir="rtl"] .obj_issue_toc .obj_article_summary,
body[dir="rtl"] .obj_issue_toc .obj_article_summary,
html[lang^="fa"] .current_issue .obj_article_summary,
html[dir="rtl"] .current_issue .obj_article_summary,
body[dir="rtl"] .current_issue .obj_article_summary {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* عنوان مقاله و لینک عنوان */

html[lang^="fa"] .obj_article_summary .title,
html[lang^="fa"] .obj_article_summary .title a,
html[dir="rtl"] .obj_article_summary .title,
html[dir="rtl"] .obj_article_summary .title a,
body[dir="rtl"] .obj_article_summary .title,
body[dir="rtl"] .obj_article_summary .title a,
html[dir="rtl"] .obj_issue_toc .obj_article_summary .title,
html[dir="rtl"] .obj_issue_toc .obj_article_summary .title a,
body[dir="rtl"] .obj_issue_toc .obj_article_summary .title,
body[dir="rtl"] .obj_issue_toc .obj_article_summary .title a {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* نام نویسندگان */

html[lang^="fa"] .obj_article_summary .authors,
html[dir="rtl"] .obj_article_summary .authors,
body[dir="rtl"] .obj_article_summary .authors,
html[dir="rtl"] .obj_issue_toc .obj_article_summary .authors,
body[dir="rtl"] .obj_issue_toc .obj_article_summary .authors {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* اطلاعات و مشخصات مقاله */

html[lang^="fa"] .obj_article_summary .meta,
html[lang^="fa"] .obj_article_summary .pages,
html[lang^="fa"] .obj_article_summary .published,
html[lang^="fa"] .obj_article_summary .subtitle,
html[dir="rtl"] .obj_article_summary .meta,
html[dir="rtl"] .obj_article_summary .pages,
html[dir="rtl"] .obj_article_summary .published,
html[dir="rtl"] .obj_article_summary .subtitle,
body[dir="rtl"] .obj_article_summary .meta,
body[dir="rtl"] .obj_article_summary .pages,
body[dir="rtl"] .obj_article_summary .published,
body[dir="rtl"] .obj_article_summary .subtitle {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* چکیده و توضیحات */

html[lang^="fa"] .obj_article_summary .abstract,
html[lang^="fa"] .obj_article_summary .description,
html[dir="rtl"] .obj_article_summary .abstract,
html[dir="rtl"] .obj_article_summary .description,
body[dir="rtl"] .obj_article_summary .abstract,
body[dir="rtl"] .obj_article_summary .description {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* لینک‌ها و دکمه‌های داخل باکس */

html[lang^="fa"] .obj_article_summary .galleys a,
html[lang^="fa"] .obj_article_summary .galleys_links a,
html[dir="rtl"] .obj_article_summary .galleys a,
html[dir="rtl"] .obj_article_summary .galleys_links a,
body[dir="rtl"] .obj_article_summary .galleys a,
body[dir="rtl"] .obj_article_summary .galleys_links a {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

/* چیدمان راست‌به‌چپ باکس‌های فارسی */

html[lang^="fa"] .obj_article_summary,
html[dir="rtl"] .obj_article_summary,
body[dir="rtl"] .obj_article_summary {
    direction: rtl !important;
    text-align: right !important;
}


/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */