/* --- Gaya Umum --- */
.page-content-emerald { padding: 20px 0 40px 0; }
.journal-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.journal-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0;
    color: #333;
}
.journal-menu a {
    margin-left: 25px;
    font-size: 1rem;
    color: #006a6e;
    text-decoration: none;
}

/* --- Tata Letak Konten Atas (Current Issue & About) --- */
.top-section {
    display: flex;
    margin-bottom: 50px; /* Jarak lebih besar ke konten bawah */
    gap: 40px;
    border-bottom: 1px solid #eee; /* Garis pemisah tipis */
    padding-bottom: 40px;
}
.current-issue-section, .about-journal-section {
    flex: 1;
    display: flex;
}
.section-header {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 15px;
}

/* --- Bagian Current Issue --- */
.current-issue-section .issue-cover {
    flex: 0 0 150px;
    margin-right: 25px;
}
.current-issue-section .issue-cover img {
    border: 1px solid #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.current-issue-section .issue-details {
    display: flex;
    flex-direction: column;
}
.current-issue-section .issue-series a {
    font-weight: normal;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}
.current-issue-section .issue-date {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: auto;
}

/* --- Bagian About Journal --- */
.about-journal-section {
    flex-direction: column;
}
.about-journal-section .journal-description {
    margin-bottom: 20px;
    flex-grow: 1;
    color: #555;
    line-height: 1.6;
}
.about-journal-section .button-group {
    display: flex;
    gap: 10px;
}

/* --- Gaya Tombol (Solid vs Outline) --- */
.btn-solid, .btn-outline {
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    width: auto;
}
.btn-solid {
    background-color: #006a6e;
    color: #fff;
    border: 1px solid #006a6e;
    flex-grow: 1;
}
.btn-outline {
    background-color: transparent;
    color: #006a6e;
    border: 1px solid #006a6e;
    flex-grow: 1;
}
.btn-solid:hover {
    background-color: #00565a;
    border-color: #00565a;
}
.btn-outline:hover {
    background-color: #006a6e;
    color: #fff;
}
.current-issue-section .btn-outline {
    width: auto;
    align-self: flex-start;
    flex-grow: 0; /* Tombol tidak stretch */
}

/* --- Gaya Konten Bawah --- */
.pkp_structure_content.has_sidebar::after {
    content: "";
    display: table;
    clear: both;
}

/* --- Gaya Tab --- */
.tabbed-content {
    /* Tidak perlu border lagi karena sudah ada di pemisah atas */
}
.tabs {
    display: flex;
    margin-bottom: 20px;
}
.tab-button {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 1rem;
    color: #555;
    font-weight: bold;
}
.tab-button:first-child { border-radius: 5px 0 0 5px; }
.tab-button:last-child { border-right: 1px solid #ddd; border-radius: 0 5px 5px 0; }
.tab-button.active {
    background-color: #006a6e;
    color: #fff;
    border-color: #006a6e;
}
.tab-pane { display: none; padding: 15px 0; }
.tab-pane.active { display: block; }

/* --- Gaya Sidebar --- */
.sidebar-emerald .pkp_block {
    background-color: #f7f7f7;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%; /* Memaksimalkan lebar blok */
}
.sidebar-emerald .pkp_block h2.title {
    margin-top: 0;
    font-size: 1.1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-weight: bold;
}
.sidebar-emerald ul { list-style: none; padding-left: 0; }
.sidebar-emerald ul li { margin-bottom: 10px; }
.sidebar-emerald a { text-decoration: none; color: #006a6e; }
.sidebar-emerald .logos img { margin-right: 10px; }

/* Menyembunyikan blok Most Read dari sidebar */
/* Catatan: ID #mostRead mungkin perlu disesuaikan jika nama blok plugin berbeda */
.sidebar-emerald #mostRead {
    display: none;
}
