/* Copyright sasangga.tfk.or.id
Design by: sasangga
Updated for OJS 3.3 Compatibility & Fully Responsive (Green & Gold Theme)
Layout fix: Flat Color Unified Box & Top Alignment (Mockup Style)
*/

/* ========================================
   1. STRUKTUR UTAMA & LAYOUT DASAR
   ======================================== */
.pkp_structure_page {
	margin: 0 auto;
	max-width: 1160px;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 1200px) {
	.pkp_structure_page {
		margin-top: 30px;
		margin-bottom: 30px;
	}
}

body {
	font-family: Tahoma, Geneva, sans-serif !important;
	background: url('https://i.ibb.co/xjz2NBx/noisy-grid.png');
	overflow-x: hidden;
}

/* ========================================
   2. HEADER & NAVIGASI
   ======================================== */
.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
	position: relative;
	padding-top: 0;
}

.pkp_site_name_wrapper {
	width: 100% !important;
	background: #0b5d3a;
	margin: 0 !important;
	padding: 0 !important;
}

.pkp_navigation_primary_row {
	background: #0b5d3a;
	font-weight: bold;
	border-top: 1px solid #ffffff;
	padding-left: 15px;
	padding-right: 15px;
}

.pkp_site_name {
	margin: 0 !important;
	padding: 0px;
	text-align: center;
}

.pkp_site_name .is_img img {
	max-height: 120px;
	max-width: 100% !important;
	height: auto;
}

.pkp_site_nav_toggle {
	background: #0b5d3a !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
	padding: 0 15px !important;
	line-height: 40px !important;
	color: #ffffff !important;
	font-weight: bold !important;
	transition: 0.2s;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
	background: #d4af37;
	color: #0b5d3a !important;
	border-radius: 20px !important;
}

.pkp_navigation_search_wrapper {
	background: #ffffff;
	border-radius: 20px;
	transition: 0.5s;
}

.pkp_navigation_user_wrapper {
	padding: 10px 15px 0 0;
}

.profile a {
	background: #d4af37;
	color: #0b5d3a !important;
	border-radius: 15px !important;
	padding: 5px 15px;
}

.dropdown-menu {
	background: #d4af37 !important;
}

.dropdown-menu li a:hover {
	color: black !important;
}

/* ========================================
   3. HALAMAN UTAMA (FLAT COLOR UNIFIED BOX)
   ======================================== */
.pkp_structure_main h1 {
	font-weight: 600;
	font-size: 20px;
}

.pkp_structure_main a {
	color: #0b5d3a !important;
	transition: color 0.2s ease;
}

.pkp_structure_main a:hover {
	color: #128c57 !important;
}

/* Trik Flexbox agar tinggi kedua kolom selalu sama (adaptif) */
.page_index_journal {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch; 
}

.page_index_journal > * {
	flex: 1 1 100%;
}

/* KOTAK KIRI: Area Gambar Homepage */
.homepage_image {
	flex: 0 0 30% !important;
	max-width: 30% !important;
	background-color: #e5f0e1; /* Warna hijau pastel sesuai mockup */
	border: 1px solid #000000; /* Garis tepi hitam tegas */
	border-right: none !important; /* Hilangkan batas tengah */
	border-radius: 20px 0 0 20px;
	padding: 20px;
	box-sizing: border-box !important;
	margin: 0 !important;
	display: flex;
	align-items: flex-start; /* Gambar menempel ke atas, sejajar dengan teks */
	justify-content: center;
}

.homepage_image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

/* KOTAK KANAN: Area Teks About */
.homepage_about {
	flex: 0 0 70% !important;
	max-width: 70% !important;
	background-color: #e5f0e1; /* Warna hijau pastel yang sama */
	border: 1px solid #000000;
	border-left: none !important; /* Hilangkan batas tengah */
	border-radius: 0 20px 20px 0;
	padding: 20px 20px 20px 0; /* Tanpa padding kiri agar menyatu */
	box-sizing: border-box !important;
	margin: 0 0 30px 0 !important;
	text-align: left; /* Teks rata kiri seperti di mockup */
	display: flex;
	flex-direction: column;
	justify-content: flex-start; /* Teks rata atas */
}

/* Memastikan tulisan "About The Journal" mepet ke atas */
.homepage_about h2 {
	margin-top: 0 !important; 
}

/* Pengaman agar elemen bawah tidak naik ke atas kotak */
.current_issue, 
.cmp_announcements {
	clear: both !important;
	display: block;
	padding-top: 10px !important; 
}

/* ========================================
   4. STYLING ARTIKEL, TOC & SPASI CURRENT ISSUE
   ======================================== */
.current_issue h2, 
.homepage_issue h2 {
	margin-bottom: 10px !important; 
	margin-top: 0 !important;
}

.obj_issue_toc .heading .title {
	margin-bottom: 5px !important; 
	display: block;
}

.obj_issue_toc .heading .published {
	margin-top: 0 !important;
	margin-bottom: 20px !important; 
	display: block;
}

.obj_article_summary {
	box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
	padding: 20px;
	border-radius: 10px;
	background: #E3E1DF;
	border-bottom: solid 4px #0b5d3a !important;
	font-size: 12px;
	transition: background 0.3s ease;
}

.obj_article_summary:hover {
	background: #DFDBD6;
}

.obj_galley_link {
	font-weight: 700;
	text-transform: capitalize !important;
	background: #E3E1DF !important;
	color: #ffffff !important;
	border: solid 1px #0b5d3a !important;
	transition: 0.3s ease;
}

/* ========================================
   5. SIDEBAR
   ======================================== */
.kepala {
	color: white;
	background: #0b5d3a;
	padding: 10px;
	font-weight: bold;
	border-bottom: 4px solid white;
}

.badan {
	margin-top: -15px;
}

.badan a {
	display: block;
	padding: 10px;
	background: #dcdcdc;
	color: black !important;
	border-bottom: 1px solid #ffffff;
	transition: 0.3s;
}

.badan a:hover {
	background: #d4af37;
	color: #0b5d3a !important;
	font-weight: bold;
	padding: 15px 10px;
}

.pkp_block.block_custom {
	padding-left: 15px;
	padding-right: 15px;
}

/* ========================================
   6. FOOTER
   ======================================== */
.pkp_structure_footer_wrapper {
	background: #d4af37;
	border-bottom: 20px solid #0b5d3a;
	border-top: 4px solid #0b5d3a;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
}

.pkp_footer_content {
	flex: 1 1 65%;
}

.pkp_brand_footer {
	flex: 1 1 30%;
	text-align: right;
}

/* ========================================
   7. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ======================================== */

/* Tablet (Layar Sedang) */
@media (max-width: 991px) {
	.page_index_journal {
		display: block; 
	}

	.homepage_image {
		flex: none !important;
		max-width: 100% !important;
		width: 100% !important;
		border: 1px solid #000000 !important;
		border-bottom: none !important; 
		border-radius: 20px 20px 0 0 !important; 
		padding: 20px !important;
	}

	.homepage_image img {
		max-width: 60%; 
		margin: 0 auto;
	}

	.homepage_about {
		flex: none !important;
		max-width: 100% !important;
		width: 100% !important;
		border: 1px solid #000000 !important;
		border-top: none !important; 
		border-radius: 0 0 20px 20px !important; 
		padding: 20px !important;
		margin-bottom: 30px !important;
	}

	.pkp_structure_main {
		margin-top: 0px !important;
		padding-top: 20px;
	}

	.pkp_navigation_search_wrapper {
		margin: 10px auto !important;
	}
    
	.pkp_structure_sidebar.left {
		margin-top: 2