/* ==========================================================
   OJS Professional International Journal Theme - CSS
   ========================================================== */

:root {
    --journal-primary: #1e3a8a;      /* ???????? ???? ??? ???? ???? */
    --journal-secondary: #0284c7;    /* ????? ?????? ???? ??????? */
    --journal-accent: #d97706;       /* ???? ???? ??? ??? ?? ????? ?? ??? ?????/???? */
    --journal-text: #1f2937;         /* ????? ??? ??????? ???? ???-???? ????? */
    --journal-bg-light: #f8fafc;     /* ???? ???? ??? ?????? */
    --journal-border: #e2e8f0;       /* ????? ?? ???? ????? */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ????? ???? ??? ???? ?????? */
body {
    font-family: var(--font-family) !important;
    color: var(--journal-text) !important;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* 1. ???? ??? ???? ????? (Header Branding) */
.pkp_structure_head {
    background: #ffffff !important;
    border-bottom: 3px solid var(--journal-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pkp_site_name .is_img img {
    max-height: 75px;
    width: auto;
}

/* 2. ???????? ??? (Top Menu Bar) */
.pkp_navigation_user, .cmp_navigation_menu {
    background-color: var(--journal-primary) !important;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1);
}

.cmp_navigation_menu a {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 20px !important;
    transition: background-color 0.2s ease;
}

.cmp_navigation_menu a:hover {
    background-color: var(--journal-secondary) !important;
}

/* 3. ??? ??? ????/???? ????? (About Journal Box) */
.homepage_about {
    background: linear-gradient(135deg, var(--journal-primary) 0%, #0f172a 100%);
    color: #ffffff;
    padding: 45px 30px;
    border-radius: 8px;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.homepage_about h2 {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* 4. ????? ?? ?????? (Articles Grid/List Cards) */
.obj_article_summary {
    background: #ffffff !important;
    border: 1px solid var(--journal-border) !important;
    border-left: 5px solid var(--journal-secondary) !important;
    padding: 22px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
    transition: all 0.25s ease;
}

.obj_article_summary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--journal-secondary) !important;
}

.obj_article_summary .title a {
    color: var(--journal-primary) !important;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.obj_article_summary .title a:hover {
    color: var(--journal-secondary) !important;
}

/* 5. ?? ?? ??? ???? ??? ??? ??? ??? (Buttons & PDF Link) */
.pkp_button, .submit_button, input[type="submit"], .cmp_button {
    background-color: var(--journal-primary) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 22px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    transition: background-color 0.2s ease;
}

.pkp_button:hover, .submit_button:hover, input[type="submit"]:hover {
    background-color: var(--journal-secondary) !important;
}

/* ?? ?? ??? ??? ?? ?????? ??? ??? ???? */
.obj_article_details .galley_link.pdf, .galley_link.pdf {
    background-color: #059669 !important; /* ???????? ?????? ???? */
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(5, 150, 105, 0.2);
}

.obj_article_details .galley_link.pdf:hover {
    background-color: #047857 !important;
}

/* 6. ???????? ???? (Sidebar Widgets) */
.pkp_block {
    background: var(--journal-bg-light) !important;
    border: 1px solid var(--journal-border) !important;
    border-radius: 6px !important;
    padding: 20px !important;
    margin-bottom: 25px !important;
}

.pkp_block .title {
    font-size: 1.05rem !important;
    color: var(--journal-primary) !important;
    border-bottom: 2px solid var(--journal-secondary) !important;
    padding-bottom: 8px !important;
    margin-bottom: 15px !important;
    font-weight: 700;
}

/* 7. ???? ?????? (Professional Footer) */
.pkp_structure_footer {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    padding: 50px 0 30px 0 !important;
    margin-top: 60px;
    border-top: 4px solid var(--journal-secondary);
}

.pkp_structure_footer a {
    color: #38bdf8 !important;
    text-decoration: none;
}

.pkp_structure_footer a:hover {
    text-decoration: underline;
}