@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@charset 'utf-8';

/* ========================================================
   1. BASE STYLES, RESET & BUG FIXES
   ======================================================== */
body {
    background: #e6efff;
    font-family: tahoma, sans-serif;
    font-size: 12px;
    direction: ltr;
    color: #000000;
}
.clr { 
    clear: both; 
    display: block; 
}
hr, .top_line, body > hr, #body_sub_div > hr { 
    display: none !important; 
    height: 0 !important; 
    border: none !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    visibility: hidden !important;
}
#header, #body_main_div, #body_sub_div {
    border-top: none !important;
}

/* ========================================================
   2. HEADER & LOGO
   ======================================================== */
.header_logo {
    float: left;
    margin: 17px 0 0 17px;
}
.header_logo img {
    float: left;
    height: 108px !important;
}
.header_logo span {
    float: right;
    margin: 23px 0 0 0;
    text-align: justify;
    line-height: 22px;
    color: #2b3575;
}
.header_logo2 {
    float: right;
    margin: 12px 30px 0 0;
}

/* ========================================================
   3. ULTRA-MODERN LOGIN AREA
   ======================================================== */
#login_area {
    width: 360px !important;
    float: right;
    margin-top: 25px !important;
}
#top_date {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    color: #2b3575 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
    text-align: right;
    padding-right: 5px !important;
}
#user_style, #pass_style {
    background: #ffffff !important;
    color: #2b3575 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) inset !important;
    height: 34px !important;
    padding: 0 12px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    width: 125px !important;
    transition: all 0.3s ease !important;
    float: left;
    margin-left: 5px;
}
#user_style:focus, #pass_style:focus {
    border-color: #03b9d6 !important;
    box-shadow: 0 0 0 3px rgba(3, 185, 214, 0.15) !important;
    outline: none !important;
    direction: ltr;
}
.submit_login_top {
    float: right;
    background: linear-gradient(135deg, #2b3575 0%, #1e244d 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    height: 34px !important;
    padding: 0 20px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(43, 53, 117, 0.2) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}
.submit_login_top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(43, 53, 117, 0.35) !important;
}
#login_box ul {
    width: 100% !important;
    margin-top: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}
#login_box ul li {
    background: none !important;
    padding: 0 !important;
    margin: 0 0 0 15px !important;
}
#login_box ul li a, #login_chk_txt {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
#login_box ul li a:hover {
    color: #03b9d6 !important;
}
#login_chkbox {
    margin: 0 5px 0 0 !important;
    vertical-align: middle !important;
    cursor: pointer;
}

/* ========================================================
   4. ELEGANT MENU STYLING (DESKTOP)
   ======================================================== */
#menu_back {
    background: #2b3575 !important;
    border-bottom: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    display: block !important;
    clear: both !important; /* جلوگیری از رفتن منو به داخل هدر */
    position: relative;
    z-index: 9999;
    min-height: 65px !important; /* ارتفاع دقیق نوار آبی */
}
ul#awt_navmenu {
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    max-width: 1200px;
    height: 65px !important;
}
ul#awt_navmenu > li {
    position: relative;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
}
ul#awt_navmenu > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 0 15px !important;
    
    /* تراز کردن متن‌ها دقیقاً در مرکز کادر */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 65px !important; /* پر کردن دقیق ارتفاع */
    line-height: 1.4 !important;
    
    transition: all 0.3s ease;
    background: transparent !important;
}
ul#awt_navmenu > li:hover > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* --- استایل زیرمنوها (کشویی) --- */
ul#awt_navmenu ul {
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #2b3575 !important;
    border-radius: 0 0 4px 4px !important;
    min-width: 250px;
    padding: 0 !important;
    margin-top: 0 !important;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    top: 65px !important; /* باز شدن دقیقاً از لبه پایینی نوار */
}
ul#awt_navmenu > li:hover > ul {
    visibility: visible;
    opacity: 1;
}
ul#awt_navmenu ul li {
    width: 100%;
    display: block !important;
    float: none !important;
    height: auto !important;
}
ul#awt_navmenu ul li a {
    color: #4a5568 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 12px 18px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-transform: none;
    transition: all 0.2s ease;
    
    /* بازگردانی زیرمنوها به حالت عادی چپ‌چین */
    display: block !important;
    height: auto !important;
    line-height: normal !important;
    text-align: left !important;
    background: transparent !important;
}
ul#awt_navmenu ul li a:hover {
    background-color: #f8fafc !important;
    color: #2b3575 !important;
    padding-left: 24px !important;
}
ul#awt_navmenu ul li:last-child a {
    border-bottom: none !important;
}
/* ========================================================
   5. LAYOUT HEIGHT FIXES & BLOCKS
   ======================================================== */
#content {
    display: block;
    clear: both;
    overflow: hidden; 
}
#co_center, #co_side_right {
    height: auto !important;
    min-height: 100%;
}
#co_side_right {
    float: left;
    width: 310px;
    padding-top: 25px;
}
#co_center {
    border-left: 3px solid #03b9d6;
    width: 859.5px;
    float: right;
    padding-left: 10px;
    padding-bottom: 0 !important;
}
.block {
    margin: 0 25px 30px 0 !important; 
    border: 1px solid #03b9d6;
    padding: 25px !important;
    border-radius: 6px !important;
}
.block2 {
    margin-left: 25px;
}
.block_t {
    width: 100%;
}
.block_t h2 {
    font-family: 'Montserrat', arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #2d333b;
    padding: 0 0 0 40px;
    line-height: 30px;
    margin: 0 0 10px 0;
    height: 40px;
    border-bottom: 2px solid #03b9d6;
    position: relative;
}
.block_t h2:after {
    content: '';
    background: url(../images/arrow5_en.png);
    width: 28px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
}
.block_b {
    text-align: justify;
    padding: 15px 5px;
    line-height: 20px;
}
.boxes { margin: 10px 0; }
.box {
    width: 275px;
    height: 275px;
    float: right;
    margin: 10px 5px 0 0;
    position: relative;
}
.box2 { float: left; margin: 10px 0 0 5px !important; }
.grid { overflow: hidden; position: relative; text-align: center; }

/* ========================================================
   6. SEARCH & SOCIAL
   ======================================================== */
#search_social { padding-left: 0px; padding-right: 25px; }
#social_bar { margin: 15px 0; text-align: center; }
.social_btn {
    background: url(../images/icons.png) no-repeat top left;
    width: 24px;
    height: 24px;
    margin: 0 0 0 5px;
    display: inline-block;
}
.social_btn:hover { opacity: 0.8; }
.social_face { background-position: 0 0; }
.social_mail { background-position: -223px 0; }
.social_goo { background-position: -74px 0; }
.social_tw { background-position: -149px 0; }
.social_rss { background-position: -297px 0; }
.social_in { background-position: -371px 0; }
.social_xml { background-position: -445px 0; }
#search { margin: 20px 0 30px; }
#search_input {
    background: transparent;
    width: 83%;
    height: 25px;
    float: right;
    padding: 4px 10px 3px 5px;
    margin: 0 5px 0 0;
    border: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px;
    color: #2b3575 !important;
}
input.search_btn {
    background: url(../images/search.png) no-repeat;
    border: 0;
    float: left;
    width: 27px;
    height: 29px;
    cursor: pointer;
    padding: 0; 
    margin: -1px 0 0 0;
    border-radius: 5px 0 0 5px;
}

/* ========================================================
   7. SLIDER & FORMS
   ======================================================== */
.bx-wrapper .bx-prev, .bx-wrapper .bx-next {
    background-image: url(../images/controls.png) !important;
}
.bx-wrapper { margin: 20px auto 30px !important; }
.bx-wrapper .bx-viewport {
    background: none !important;
    border: 0 !important;
    box-shadow: 0 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateZ(0px) !important;
}
#hemayat .bx-viewport { direction: ltr; }
#hemayat .bx-wrapper { margin: 10px auto 20px !important; }
#hemayat .bx-wrapper .bx-next { right: -55px; }
#hemayat .bx-wrapper .bx-prev { left: -55px; }
#mail_style {
    background: url(../images/mail_en.png) right no-repeat;
    width: 90%;
    height: 30px;
    padding: 2px 35px 3px 10px;
    margin: 15px 5px 0 0;
    font-family: tahoma;
    font-size: 12px;
    color: #81abf1;
    direction: ltr;
    border: 1px solid #bab9bb;
    border-radius: 5px;
    box-shadow: inset 0px 0px 3px #e3e3e3;
}

/* ========================================================
   8. FOOTER
   ======================================================== */
#footer {
    clear: both;
    margin-top: 10px !important;
    display: block;
    width: 100%;
}
.box_footer {
    float: left;
    width: 250px;
    margin: 10px 25px 0 5px;
    line-height: 20px;
    color: #000000;
    font-size: 12px;
}
.box_footer h4 {
    font-family: 'Montserrat', arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000000;
    margin: 5px 0 15px 0;
}
.box_footer a { color: #000000; text-decoration: none; }
.box_footer a:hover { color: #03b9d6; }
.footer_logo {
    float: right;
    width: 310px;
    height: 120px;
    margin: 30px 20px 0 0;
}
#f2_right { float: right; margin: 20px 0 0; font-size: 11px; line-height: 20px; }
#f2_left { float: left; margin: 20px 0 0; font-size: 11px; direction: ltr; line-height: 20px; }
#totop {
    background: url(../images/to_top.png) no-repeat;
    display: block;
    position: fixed;
    left: 10px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 999;
}

/* ========================================================
   9. TYPOGRAPHY
   ======================================================== */
.list_style { margin: 15px; text-align: justify; }
.list_style li { background: url(../images/arrow2_en.png) left no-repeat; margin: 20px 10px; padding: 0 0 0 15px; }
.yw_text, .yw_text table tbody td tr, .yw_text a, .yw_text p, .yw_text table tbody tr td {
    font-family: tahoma; font-size: 14px; line-height: 26px; margin: 10px 0 0 0;
}
.yw_text_small, .yw_text_small table tbody td tr, .yw_text_small a, .yw_text_small p, .yw_text_small table tbody tr td {
    font-family: tahoma; font-size: 12px; line-height: 26px; margin: 10px 0 0 0;
}

/* ========================================================
   10. RESPONSIVE MEDIA QUERIES
   ======================================================== */
@media only screen and (min-width: 1016px) and (max-width: 1190px) {
    #top_box_b, #header_block, #awt_top_menu, #footer_block, #footer2_block { width: 996px; }
    #co_center { width: 685px; }
    .bx-wrapper { width: 650px !important; }
    .box { width: 217px; height: 217px; }
    #hemayat .bx-wrapper { width: 400px !important; }
    .footer_logo, .header_logo2 { display: none; }
}

@media only screen and (max-width: 1015px) {
    ul#awt_navmenu { display: none !important; }
    .slicknav_menu {
        display: block !important;
        background: #2b3575 !important;
        padding: 10px 15px !important;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .slicknav_btn {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 4px;
        margin: 0 !important;
        padding: 8px !important;
    }
    .slicknav_menu .slicknav_icon-bar {
        background-color: #ffffff !important;
        box-shadow: none !important;
    }
    .slicknav_menu .slicknav_menutxt {
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 600 !important;
        text-shadow: none !important;
        margin-right: 5px;
    }
    .slicknav_nav {
        background: #ffffff !important;
        margin-top: 12px !important;
        border-radius: 4px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
        overflow: hidden;
    }
    .slicknav_nav a {
        color: #4a5568 !important;
        font-family: 'Montserrat', sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 12px 15px !important;
        margin: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .slicknav_nav a:hover, .slicknav_nav .slicknav_row:hover {
        background: #f8fafc !important;
        color: #2b3575 !important;
    }
    .slicknav_nav ul { background: #f8fafc !important; margin: 0 !important; }
    .slicknav_nav ul a { padding-left: 30px !important; font-size: 13px !important; }
}

@media only screen and (min-width: 778px) and (max-width: 1015px) {
    #top_box_b, #header_block, #awt_top_menu, #footer_block, #footer2_block { width: 758px; }
    .slicknav_menu { width: 758px !important; }
    #co_side_right { width: 220px; }
    #co_center { width: 535px; }
    .bx-wrapper { width: 510px !important; margin: 15px auto 30px !important; }
    .footer_logo, .header_logo2 { display: none; }
    .box_footer { width: 220px; }
    .box { width: 250px; height: 250px; }
    #hemayat .bx-wrapper { width: 400px !important; }
    .box2 { margin: 0 0 0 140px !important; }
    .block { margin: 0 5px 30px 0; padding: 15px !important; }
}

@media only screen and (max-width: 777px) {
    #login_area {
        width: 100% !important;
        margin: 20px auto 25px !important;
        float: none !important;
        display: block !important;
    }
    #top_date { text-align: center !important; margin-bottom: 15px !important; padding: 0 !important; }
    #login_box form { display: flex; flex-direction: column; align-items: center; gap: 10px; }
    #user_style, #pass_style { width: 90% !important; max-width: 320px !important; height: 40px !important; margin: 0 !important; }
    .submit_login_top { width: 90% !important; max-width: 320px !important; margin: 5px 0 0 0 !important; height: 42px !important; }
    #login_box ul { justify-content: center !important; flex-wrap: wrap !important; gap: 10px; margin-top: 15px !important; }
    
    #top_box_b, #header_block, #awt_top_menu, #footer_block, #footer2_block { width: 460px; }
    #search { width: 210px; margin: 0 auto 10px; float: none; }
    #search_social { height: auto; padding: 0 0 20px; }
    #social_bar { margin: 20px; text-align: center; float: none; }
    .header_logo { float: none; margin: 0 60px; text-align: center; }
    .header_logo img, .header_logo span { float: none; height: auto !important; }
    .header_logo span { margin: 10px 0 0 0; text-align: center; }
    .block { margin: 0 10px 30px 0; }
    #co_center { float: none; margin: 25px 15px; width: inherit; height: auto !important; }
    #co_side_right { float: none; width: inherit; height: auto !important; }
    .bx-wrapper { width: inherit !important; margin: 15px auto 20px !important; }
    .footer_logo { text-align: center; }
    #f2_right, #f2_left { text-align: center; float: none; }
    .box { width: 250px; height: 250px; margin: 15px auto; float: none; }
    .box2 { margin: 15px auto !important; }
}

@media only screen and (max-width: 479px) {
    #top_box_b, #header_block, #awt_top_menu, #footer_block, #footer2_block { width: 90%; }
    .header_logo { margin: 0 0 10px 0; }
    .slicknav_menu { width: 90% !important; }
    #search { width: 90%; }
    #search_input { width: 78%; }
    .block { margin: 0 5px 30px; padding: 15px !important; }
    #co_center { padding-right: 0; }
    .margin50 { margin-top: 30px; }
    .box_footer { width: inherit; margin: 30px 25px 0 5px; }
    .box { width: 75%; height: 75%; }
}

/* ========================================================
   11. SEARCH BOX MODERNIZATION & SIDEBAR FONTS
   ======================================================== */
#search {
    margin: 20px 0 30px !important;
    display: block;
    position: relative;
}

#search_style {
    display: flex;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02) inset !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

#search_style:focus-within {
    border-color: #03b9d6 !important;
    box-shadow: 0 0 0 3px rgba(3, 185, 214, 0.15) !important;
}

#search_input {
    background: transparent !important;
    width: calc(100% - 35px) !important; 
    height: 38px !important;
    float: none !important;
    padding: 0 15px !important;
    margin: 0 !important;
    border: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    color: #2b3575 !important;
    outline: none !important;
}

#search_input::placeholder,
#search_input:-ms-input-placeholder,
#search_input::-webkit-input-placeholder {
    color: #94a3b8 !important;
}

input.search_btn {
    background: url(../images/search.png) center center no-repeat !important;
    background-color: transparent !important;
    border: none !important;
    float: none !important;
    width: 35px !important;
    height: 38px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

input.search_btn:hover {
    opacity: 1;
}

.block_t h2 {
    font-family: 'Montserrat', arial, sans-serif !important;
}

#mail_style, #mail_style + input[type="submit"] {
    font-family: 'Montserrat', sans-serif !important;
}

/* ========================================================
   12. ULTRA-MODERN DARK FOOTER
   ======================================================== */
#footer {
    background: linear-gradient(135deg, #1e244d 0%, #2b3575 100%) !important;
    padding: 50px 0 30px 0 !important;
    margin-top: 50px !important;
    border-top: 4px solid #03b9d6 !important;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1) !important;
}

.box_footer, 
.box_footer p, 
.box_footer span, 
.box_footer strong, 
.box_footer td, 
.box_footer div {
    color: #cbd5e1 !important;
    font-family: 'Montserrat', Tahoma, sans-serif !important;
    line-height: 2 !important;
}

.box_footer h4 {
    color: #ffffff !important;
    border-bottom: 2px solid rgba(3, 185, 214, 0.4) !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
    display: inline-block !important;
    font-size: 17px !important;
    letter-spacing: 0.5px !important;
}

.box_footer a, 
.box_footer a span {
    color: #03b9d6 !important; 
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.box_footer a:hover, 
.box_footer a:hover span {
    color: #ffffff !important;
    padding-left: 5px !important;
}

.box_footer img {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.box_footer tr:hover img {
    opacity: 1;
}

#footer2 {
    background: #151a36 !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    margin: 0 !important;
}

#footer2_block {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.yw_text_small2, 
#f2_left p, 
#f2_right p {
    color: #94a3b8 !important;
    font-family: 'Montserrat', Tahoma, sans-serif !important;
    font-size: 12px !important;
    margin: 5px 0 !important;
}

.yw_text_small2 a {
    color: #03b9d6 !important;
    text-decoration: none !important;
}

.yw_text_small2 a:hover {
    color: #ffffff !important;
}

/* ========================================================
   12.1 FORCE OVERRIDE FOOTER STYLES (Keywords & Logo)
   ======================================================== */
.box_footer,
.box_footer div[style], 
.box_footer span[style],
.box_footer p {
    text-align: left !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: 0 !important;
    line-height: 2.2 !important;
}

.box_footer div span a {
    display: inline-block;
    margin-right: 5px;
}

.footer_logo img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease;
}

.footer_logo img:hover {
    opacity: 1 !important;
    transform: scale(1.02);
}

/* ========================================================
   13. ULTRA-MODERN SIDEBAR BLOCKS (Academic Style)
   ======================================================== */
.modern-sidebar-block {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-left: 0 !important;
    margin-right: 20px !important;
    margin-bottom: 25px !important;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-sidebar-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    background: linear-gradient(135deg, #1e244d 0%, #2b3575 100%);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #03b9d6;
}

.sidebar-header h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid #03b9d6;
    padding-left: 10px; 
}

.sidebar-content {
    padding: 18px 15px;
}

.dates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dates-list li {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
}
.dates-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dates-list li strong {
    color: #4a5568;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px;
    font-weight: 600;
}
.dates-list li span {
    color: #03b9d6;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px;
    font-weight: 700;
    margin-top: 4px;
}
.dates-list li.final-date span {
    color: #e11d48;
}

.sidebar-poster {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    display: block;
    margin: 0 auto 12px auto;
}
.poster-link {
    font-size: 12px;
    color: #64748b;
    margin: 0;
}
.poster-link a {
    color: #03b9d6;
    font-weight: 600;
    text-decoration: none;
}
.poster-link a:hover { text-decoration: underline; }

.org-item {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.org-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.org-item a {
    color: #2b3575;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
    font-size: 13px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}
.org-item a:hover { color: #03b9d6; }
.org-item span {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: 4px;
}

.sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-form input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s ease;
}
.sidebar-form input[type="text"]:focus {
    border-color: #03b9d6;
}
.sidebar-form input[type="submit"] {
    padding: 10px;
    background: #2b3575;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.sidebar-form input[type="submit"]:hover {
    background: #03b9d6;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 12px;
}
.stats-list li:last-child { margin-bottom: 0; }
.stats-list li strong { color: #4a5568; }
.stats-list li span {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif !important;
}

/* ========================================================
   14. FINAL LAYOUT FIXES (Margins & Mobile Header)
   ======================================================== */
#co_side_right {
    padding-left: 5px !important;
    padding-right: 15px !important;
}

#co_center {
    padding-left: 30px !important; /* فاصله بهتر بدنه اصلی از سایدبار */
}

#header_block {
    overflow: hidden !important; 
    display: flow-root !important; 
}

#menu_back {
    clear: both !important;
}

@media only screen and (max-width: 777px) {
    #header {
        height: auto !important;
        padding-bottom: 20px !important;
    }
    
    #header_block {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #header_logo { order: 1; }
    
    #login_area { 
        order: 2 !important; 
        float: none !important;
        width: 100% !important;
        margin: 15px 0 !important;
    }
    
    #menu_back {
        order: 3 !important;
        clear: both !important;
        margin-top: 15px !important;
        position: relative !important;
        width: 100% !important;
    }
}