/* ==========================================================================
   IJFABS TEMA - V1.0
   ========================================================================== */

/* 1. Harici Font ve İkonlar */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* 2. Temel Sayfa Düzeni (Nivo Light Açık Zemin) */
body.ijfabs_theme_layout,
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

.jp_container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   JOURNALPLUS HEADER BÖLÜMÜ
   ========================================================================== */
.jp_header_wrapper {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* Üst İnce Çubuk (Top Bar) */
.jp_top_bar {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
    font-size: 13px;
}
.jp_top_bar_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jp_oa_badge {
    color: #1b4332;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.jp_user_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}
.jp_user_menu a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.jp_user_menu a:hover {
    color: #1b4332;
}

/* Orta Logo ve Başlık Alanı */
.jp_main_header {
    background-color: #ffffff;
    padding: 22px 0;
}
.jp_main_header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.jp_brand_box {
    display: flex;
    align-items: center;
    gap: 20px;
}
.jp_logo_link img {
    max-height: 80px;
    width: auto;
    display: block;
}
.jp_titles_wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Sarı Rozetler Satırı */
.jp_badges_row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* IJFABS Kısaltma Rozeti (Açık Sarı) */
.badge_ijfabs {
    background-color: #fef08a !important; /* Açık Sarı */
    color: #1b4332 !important;            /* Koyu Yeşil Yazı */
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 4px;
    border: 1px solid #fde047;
    text-transform: uppercase;
}

/* ISSN Rozetleri (Açık Sarı) */
.badge_issn {
    background-color: #fef9c3 !important; /* Pastel Açık Sarı */
    color: #1e293b !important;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid #fef08a;
}
.badge_issn strong {
    color: #1b4332;
}

/* Dergi Ana Başlığı */
.jp_journal_title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}
.jp_journal_title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}
.jp_journal_title a:hover {
    color: #2d6a4f;
}

/* Sağdaki Makale Gönder Butonu */
.btn_submit_paper {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(27, 67, 50, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn_submit_paper:hover {
    background: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(27, 67, 50, 0.35);
}

/* 3. YEŞİL MENÜ BARI (JournalPlus Menü Alt Rengi) */
.jp_navbar_green {
    background: linear-gradient(90deg, #1b4332 0%, #2d6a4f 100%); /* Kurumsal Zengin Yeşil */
    border-top: 2px solid #40916c;
}
.jp_navbar_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jp_nav_menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.jp_nav_menu > li > a {
    display: block;
    padding: 14px 18px;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.jp_nav_menu > li > a:hover,
.jp_nav_menu > li.active > a {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fef08a !important; /* Menüde sarı parıltı */
}
.jp_nav_search a {
    color: #fef08a;
    padding: 12px 16px;
    font-size: 16px;
    display: block;
}

/* ==========================================================================
   NIVO LIGHT GÖVDE VE YAN MENÜLER (SIDEBAR) DÜZENİ
   ========================================================================== */

/* Sayfa İçerik Taşıyıcısı */
.pkp_structure_content {
    max-width: 1240px;
    margin: 30px auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Ana İçerik Alanı (Beyaz Kart Formatı) */
.pkp_structure_main {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Yan Menü (Sidebar) */
.pkp_structure_sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Nivo Light Blok Kartları */
.pkp_structure_sidebar .pkp_block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Nivo Light İmzası: Sol Tarafı Dikey Yeşil Şeritli Başlık */
.pkp_structure_sidebar .pkp_block .title,
.pkp_structure_sidebar .pkp_block h2 {
    font-size: 15px;
    font-weight: 700;
    color: #1b4332;
    border-left: 4px solid #2d6a4f; /* Yeşil Sol Şerit */
    padding-left: 10px;
    margin: 0 0 15px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Yan Menü Linkleri */
.pkp_structure_sidebar .pkp_block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pkp_structure_sidebar .pkp_block ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.pkp_structure_sidebar .pkp_block ul li:last-child {
    border-bottom: none;
}
.pkp_structure_sidebar .pkp_block ul li a {
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.pkp_structure_sidebar .pkp_block ul li a:hover {
    color: #2d6a4f;
    padding-left: 4px;
}

/* Makale Listeleri ve Galley (PDF) Butonları */
.obj_article_summary {
    padding: 16px 0;
    border-bottom: 1px solid #edf2f7;
}
.obj_article_summary .title a {
    color: #0f172a;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.obj_article_summary .title a:hover {
    color: #2d6a4f;
}
.obj_galley_link {
    background-color: #2d6a4f !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block;
    transition: background-color 0.2s;
}
.obj_galley_link:hover {
    background-color: #1b4332 !important;
}

/* Alt Bilgi (Footer) */
.pkp_structure_footer {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 30px 0;
    margin-top: 50px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}