/* --- SADECE RENKLERİ DEĞİŞTİRİR (DÜZENİ BOZMAZ) --- */

/* 1. Mavi Butonları SARI Yap */
.cmp_button, .pkp_button, a.pkp_button, .obj_galley_link, .galley_link {
    background-color: #EAA904 !important; /* Sarı Zemin */
    color: #000000 !important; /* Siyah Yazı */
    border: none !important;
    font-weight: bold;
    border-radius: 4px;
}
/* Butonların üzerine gelince */
.cmp_button:hover, .pkp_button:hover, a.galley-link:hover {
    background-color: #c48e00 !important; /* Koyu Sarı */
    color: #fff !important;
}

/* 2. Link Renklerini Sarı Yap */
a {
    color: #EAA904;
    text-decoration: none;
    font-weight: 600;
}
a:hover {
    color: #c48e00;
}

/* 3. Yan Menü Başlık Altlarını Sarı Çizgi Yap */
.pkp_block .title {
    border-bottom: 2px solid #EAA904 !important;
    color: #000;
}

/* 4. "Make a Submission" Butonunu Özelleştir */
.pkp_block_make_submission .cmp_button {
    width: 100%; /* Menü genişliğince uzasın */
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
}

/* --- BOŞLUKLARI SIKIŞTIRMA AYARLARI --- */

/* 1. Ana Bölümler (Full Issue, Cover, Contents) Arasını Kapat */
.obj_issue_toc .section {
    margin-bottom: 10px !important; /* Eskiden çok açıktı, 10px'e indirdik */
    margin-top: 0 !important;
    padding-bottom: 5px !important;
}

/* 2. Başlıkların ("Full Issue", "Cover Page" vb.) Altındaki Boşluğu Al */
.obj_issue_toc h2, 
.obj_issue_toc h3 {
    margin-bottom: 5px !important; /* Başlık ile altındaki buton/yazı arasını kıs */
    margin-top: 10px !important; /* Üstten azıcık boşluk bırak ki yapışmasın */
    font-size: 1.2rem !important; /* Başlıkları bir tık kibarlaştır */
}

/* 3. "Full Issue" Butonunun Çevresini Sıkılaştır */
.obj_issue_toc .galleys {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 4. Makaleler Arasındaki Boşluğu Düzenle (Editorial, Review Papers vb.) */
.obj_article_summary {
    margin-bottom: 15px !important; /* Makaleleri birbirine yaklaştır */
    padding-bottom: 10px !important;
}

/* 5. Gereksiz Satır Atlamalarını (HR) Gizle */
hr {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- SÜPER SIKIŞTIRMA (BOŞLUKLARI YOK ET) --- */

/* 1. Her Bir Bölüm Kutusunu (Full Issue, Cover vb.) Sıkıştır */
.obj_issue_toc .section {
    margin-bottom: 0 !important; /* Alt boşluğu tamamen kapat */
    padding-bottom: 0 !important; /* İç boşluğu kapat */
    margin-top: 0 !important;     /* Üst boşluğu kapat */
}

/* 2. Başlıkların (h2, h3) Altını ve Üstünü Tıraşla */
.obj_issue_toc h2, 
.obj_issue_toc h3 {
    margin-top: 15px !important;    /* Üstten sadece 15px boşluk bırak (Ayrı oldukları belli olsun) */
    margin-bottom: 5px !important;  /* Başlık ile altındaki içerik (Buton/Yazı) arasını 5px yap */
    font-size: 1.1rem !important;   /* Yazıyı bir tık küçült, kibar dursun */
    line-height: 1.2 !important;
}

/* 3. İçerik Listelerini (Cover linki, Contents yazısı) Sıkıştır */
.obj_issue_toc ul,
.obj_issue_toc li,
.obj_issue_toc .galleys {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 4. "Full Issue" Butonunun Kutusunu Daralt */
.obj_issue_toc .galleys {
    display: inline-block; /* Satırı kaplamasın */
}

/* 5. Makaleler (Editorial, Review Papers) Arasını Da Sıkılaştır */
.obj_article_summary {
    margin-bottom: 10px !important; /* Makaleler birbirine yaklaşsın */
    padding-bottom: 5px !important;
}

/* --- FULL ISSUE ve COVER PAGE ARASINI KAPATMA --- */

/* 1. Başlıkların (Cover Page, Contents) ÜST boşluğunu sıfırla */
.obj_issue_toc h2, 
.obj_issue_toc h3 {
    margin-top: 5px !important; /* Başlıklar yukarı yapışsın (Eskiden 20-30px idi) */
    margin-bottom: 5px !important; /* Başlık ile kendi içeriği arasını da kıs */
    padding-top: 0 !important;
}

/* 2. Bölüm Kutularının (Div) alt boşluğunu tamamen sil */
.obj_issue_toc .section {
    margin-bottom: 5px !important; /* Bir sonraki bölümle arası sadece 5px olsun */
    padding-bottom: 0 !important;
}

/* 3. "Full Issue" Butonunun altındaki gizli boşluğu al */
.obj_issue_toc .galleys {
    margin-bottom: 0 !important;
}

/* 4. Listelerin (Cover linki vb.) kenar boşluklarını sil */
.obj_issue_toc ul,
.obj_issue_toc li {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* --- VAKUM ETKİSİ (Negatif Değerler) --- */

/* 1. Başlıkları (Full Issue, Cover Page) Küçült ve Sıkıştır */
.obj_issue_toc h2, 
.obj_issue_toc h3 {
    margin-bottom: 2px !important; /* Başlık ile içerik arasını 2px yap */
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 1rem !important; /* Yazı puntusunu biraz küçült */
    line-height: 1.1 !important; /* Satır aralığını kıs */
    color: #444 !important; /* Çok koyu siyah olmasın, kaba duruyor */
}

/* 2. Her bölümün alt sınırını yukarı çek (VAKUM NOKTASI) */
.obj_issue_toc .section {
    margin-bottom: -10px !important; /* Bir sonraki kutuyu 10px yukarı çeker */
    padding-bottom: 0 !important;
    border: none !important;
}

/* 3. "Full Issue" Butonunun altını tamamen kapat */
.obj_issue_toc .galleys {
    margin-bottom: 0 !important;
    display: block !important;
}
.obj_issue_toc .galleys .galley_link {
    margin-bottom: 0 !important;
}

/* 4. Kapak (Cover) linki listesini sıkıştır */
.obj_issue_toc ul.cover_page {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 5. Ekstra paragraf boşluklarını yok et */
.obj_issue_toc p {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- KESİN ÇÖZÜM: AKILLI SEÇİCİLER --- */

/* 1. "Make a Submission" Butonu (Adresinde 'submission' geçen butonu yakalar) */
a[href*="submission"],
.pkp_block_make_submission .content a,
aside .cmp_button {
    background-color: #EAA904 !important; /* Sarı Zemin */
    color: #000000 !important; /* Siyah Yazı */
    border: none !important;
    background-image: none !important;
    text-shadow: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    border-radius: 4px !important;
    padding: 10px 15px !important;
    font-weight: bold !important;
    display: block !important;
    text-align: center !important;
    opacity: 1 !important;
}

/* Hover (Üzerine gelince) */
a[href*="submission"]:hover,
aside .cmp_button:hover {
    background-color: #c48e00 !important;
    color: #ffffff !important;
}

/* 2. "View All Issues" Linki (Adresinde 'archive' geçen linki yakalar) */
a[href*="issue/archive"],
.homepage_links a {
    color: #EAA904 !important; /* SARI Yazı */
    font-weight: bold !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

/* Hover (Üzerine gelince) */
a[href*="issue/archive"]:hover {
    color: #d49500 !important;
    text-decoration: underline !important;
}

/* --- MENÜ DÜZELTMELERİ (BUTON İPTALİ VE RENK) --- */

/* 1. Menüdeki "Submissions" Linkini Normale Çevir */
/* Sidebar'daki kalacak, ama üst menüdeki buton olmayacak */
.pkp_navigation_primary a[href*="submission"] {
    background-color: transparent !important; /* Arka planı sil */
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important; /* Buton şişkinliğini al */
    color: #000000 !important; /* Yazıyı SİYAH yap */
    font-weight: bold !important;
    width: auto !important;
    display: inline-block !important;
}

/* 2. Görünmeyen "Archives" Yazısını Kurtar */
/* Aktif sayfada, hover durumunda yazı hep SİYAH kalsın */
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li:hover > a,
.pkp_navigation_primary > li:focus > a, 
.pkp_navigation_primary > li.current > a, /* Şu an açık olan sayfa (Archives) */
.pkp_navigation_primary > li.active > a {
    color: #000000 !important; /* Kesinlikle SİYAH */
    background-color: transparent !important;
    opacity: 1 !important;
}

/* 3. Menü Linklerinin Altına Sadece Çizgi Koy (Kutu Değil) */
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li.current > a {
    text-decoration: underline !important;
    border-bottom: 2px solid #000 !important; /* Şık bir alt çizgi */
}