/* 1. ANA YERLEŞİM: BOŞLUKLARI ÖLDÜR VE YANA YASLA */
.pkp_structure_content {
    display: flex !important;
    flex-direction: row-reverse !important; /* Sidebar SOLDAR, İçerik SAĞDA */
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
    justify-content: flex-start !important; /* Her şeyi sola çek */
}

/* 2. SIDEBAR: GENİŞLİĞİ SABİTLE VE SIKIŞMAYI ÖNLE */
.pkp_structure_sidebar {
    flex: 0 0 180px !important; /* Butonun rahat sığacağı sabit genişlik */
    width: 180px !important;
    min-width: 180px !important;
    padding-top: 20px !important;
    margin: 0 !important;
}

/* 3. ANA İÇERİK: SIDEBARIN YANINA YAPIŞTIR */
.pkp_structure_main {
    flex: 1 !important; /* Kalan tüm boşluğu doldurur */
    margin: 0 !important;
    padding: 20px !important;
    border-left: 1px solid #ddd; /* Sidebar ile araya temiz bir çizgi */
}

/* 4. SUBMISSION BUTONU: KUTUYA TAM SIĞDIR */
.pkp_block.block_make_submission a {
    background-color: #5d34af !important; /* Mor tema */
    color: #fff !important;
    padding: 12px 5px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 11px !important;
    text-align: center !important;
    display: block !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    width: 100% !important; /* Sidebar genişliğini tam kapla */
    box-sizing: border-box !important;
}.pkp_structure_sidebar {
    flex: 0 0 230px !important;
    width: 230px !important;
    min-width: 230px !important;
}

/* 5. GÖRSEL DOKUNUŞLAR */
.pkp_brand_footer { display: none !important; } /* Alttaki logoyu kaldır */
.abstract, .item.references .value { text-align: justify !important; }

/* Sayfa no başlık yanına gelsin */
.obj_article_summary > .pages {
    float: none !important;
    display: inline !important;
    margin-left: 8px !important;
    font-size: 14px;
    color: #666;
}

/* Issue TOC (Articles) satırlarını iki kolon gibi davranacak şekilde düzenle */
.pkp_page_issue .obj_article_summary,
.pkp_page_issue .tocArticle,
.pkp_page_issue .media,
.pkp_page_issue .obj_galley_link {
    max-width: 100% !important;
}

/* Sayfa numarası (6-18 gibi) sağda çok uzaksa: sağ boşluğu içeri al */
.pkp_page_issue .pages {
    padding-right: 120px !important;  /* sağdaki “boşluğu” büyütür (numarayı sola çeker) */
    text-align: right !important;
    white-space: nowrap !important;
}
/* 5. METİN DÜZENLEMELERİ (ABSTRACT VE REFERENCES) */
.page_article_details .article_summary .abstract, 
.item.references .value,
.abstract p {
    text-align: justify !important;
    text-justify: inter-word !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.6 !important;
    display: block !important;
}