/**
 * HKI Theme - hellokognisia.id color palette
 * Primary: #1B3A5C (navy), Accent: #F5A623 (amber), BG: #F8F9FA
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Base ─────────────────────────────────────────────── */
body {
	font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	background: #F8F9FA;
	color: #1a2d3d;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.pkp_structure_page {
	font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.pkp_structure_content { flex: 1; }
.pkp_structure_footer_wrapper { margin-top: auto; }

/* ── Header - putih bersih seperti hellokognisia.id ───── */
.pkp_structure_head {
	background: #fff !important;
	border-bottom: 3px solid #F5A623 !important;
	box-shadow: 0 1px 8px rgba(27,58,92,0.08) !important;
}
.pkp_head_wrapper {
	background: #fff !important;
	box-shadow: none !important;
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
}
/* Kompakkan wrapper site name */
.pkp_site_name_wrapper {
	padding: 0.25rem 0 !important;
}
/* Logo lebih besar */
.pkp_site_name img,
.pkp_site_name a img {
	height: 64px !important;
	width: auto !important;
	max-height: 64px !important;
}
/* Kompakkan nav wrapper */
.pkp_head_wrapper .pkp_navigation_primary_row {
	padding: 0 !important;
}
.pkp_head_wrapper .pkp_navigation_primary_wrapper {
	padding: 0 !important;
}
.pkp_site_name a,
.pkp_site_name a:visited,
.pkp_site_name a:hover {
	color: #1B3A5C !important;
	font-weight: 700 !important;
	font-size: 1.3rem !important;
	text-decoration: none !important;
}
/* Site name text fallback */
.pkp_site_name {
	color: #1B3A5C !important;
}
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li > button {
	color: #1B3A5C !important;
	font-weight: 500 !important;
	transition: color 0.2s !important;
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > button:hover {
	color: #F5A623 !important;
	background: transparent !important;
}
/* User nav (Register/Login) */
.pkp_navigation_user > li > a,
.pkp_navigation_user > li > button {
	color: #1B3A5C !important;
	font-weight: 500 !important;
}
.pkp_navigation_user > li > a:hover {
	color: #F5A623 !important;
}
/* Text color override dari parent theme */
.pkp_structure_head * {
	color: #1B3A5C;
}
.pkp_structure_head a,
.pkp_structure_head button {
	color: #1B3A5C !important;
}
.pkp_structure_head a:hover,
.pkp_structure_head button:hover {
	color: #F5A623 !important;
}

/* ── Page ─────────────────────────────────────────────── */
.page_index_site {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem 1rem;
}
.page_index_site .journals h2 {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(27,58,92,0.4);
	margin-bottom: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #F5A623;
	display: inline-block;
}

/* ── Journal Cards ────────────────────────────────────── */
.page_index_site .journals ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.page_index_site .journals ul li {
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 12px;
	padding: 0;
	overflow: hidden;
	display: flex;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	border-left: 4px solid #F5A623;
}
.page_index_site .journals ul li:hover {
	box-shadow: 0 6px 24px rgba(27,58,92,0.12);
	transform: translateY(-2px);
}
.page_index_site .journals ul li .thumb {
	width: 120px;
	min-height: 120px;
	flex-shrink: 0;
	overflow: hidden;
	background: #eef2f7;
}
.page_index_site .journals ul li .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page_index_site .journals ul li .body {
	padding: 1.25rem 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
}
.page_index_site .journals ul li .body h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
}
.page_index_site .journals ul li .body h3 a {
	color: #1B3A5C;
	text-decoration: none;
}
.page_index_site .journals ul li .body h3 a:hover {
	color: #F5A623;
}
.page_index_site .journals ul li .description {
	color: rgba(27,58,92,0.6);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}
.page_index_site .journals ul li .links {
	list-style: none !important;
	padding: 0 !important;
	margin: 0.6rem 0 0 !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.5rem !important;
}
.page_index_site .journals ul li .links li,
.page_index_site .journals ul li .links li.view,
.page_index_site .journals ul li .links li.current {
	flex: 0 0 auto !important;
	display: flex !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	border: none !important;
}
.page_index_site .journals ul li .links li a,
.page_index_site .journals ul li .links li.view a,
.page_index_site .journals ul li .links li.current a {
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: #1B3A5C !important;
	text-decoration: none !important;
	padding: 0.28rem 0.9rem !important;
	border: 1.5px solid #1B3A5C !important;
	border-radius: 20px !important;
	transition: background 0.2s, color 0.2s, border-color 0.2s !important;
	display: inline-block !important;
	white-space: nowrap !important;
	width: auto !important;
	background: transparent !important;
}
.page_index_site .journals ul li .links li a:hover,
.page_index_site .journals ul li .links li.view a:hover,
.page_index_site .journals ul li .links li.current a:hover {
	background: #F5A623 !important;
	border-color: #F5A623 !important;
	color: #fff !important;
}

/* ── Sidebar ──────────────────────────────────────────── */
.pkp_structure_sidebar {
	padding-top: 1.5rem;
	padding-left: 1rem;
}
.pkp_structure_sidebar .pkp_block {
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 12px;
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}
.pkp_structure_sidebar .pkp_block h2 {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(27,58,92,0.45);
	border-bottom: 2px solid #F5A623;
	padding-bottom: 0.5rem;
	margin-bottom: 0.75rem;
	display: inline-block;
}
.pkp_structure_sidebar .pkp_block a {
	color: #1B3A5C;
	font-weight: 500;
	font-size: 0.92rem;
}
.pkp_structure_sidebar .pkp_block a:hover { color: #F5A623; }

/* ── Article cards ────────────────────────────────────── */
.obj_article_summary {
	border: 1px solid #e8ecf0;
	border-left: 4px solid #F5A623;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 1rem;
	background: #fff;
	transition: box-shadow 0.2s;
}
.obj_article_summary:hover { box-shadow: 0 4px 16px rgba(27,58,92,0.1); }
.obj_article_summary .title a { font-weight: 600; color: #1B3A5C; text-decoration: none; }
.obj_article_summary .title a:hover { color: #F5A623; }
.obj_article_summary .authors { color: rgba(27,58,92,0.6); font-size: 0.9rem; margin-top: 0.3rem; }

/* ── Links ────────────────────────────────────────────── */
a { color: #1B3A5C; }
a:hover { color: #F5A623; }

/* ── Buttons ──────────────────────────────────────────── */
.pkp_button, .cmp_button {
	border-radius: 6px;
	font-weight: 600;
	transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.pkp_button:hover, .cmp_button:hover {
	box-shadow: 0 2px 8px rgba(27,58,92,0.15);
	transform: translateY(-1px);
}

/* ── Footer ───────────────────────────────────────────── */
.pkp_structure_footer_wrapper {
	background: #1B3A5C !important;
	margin-top: 2rem !important;
	border-top: 3px solid #F5A623 !important;
}
.pkp_structure_footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex-wrap: wrap !important;
	gap: 0.25rem !important;
	padding: 0.5rem 0 !important;
	min-height: unset !important;
	max-height: none !important;
	color: rgba(255,255,255,0.5) !important;
	font-size: 0.74rem !important;
	line-height: 1.3 !important;
}
.pkp_footer_content {
	color: rgba(255,255,255,0.5) !important;
	font-size: 0.74rem !important;
	line-height: 1.4 !important;
}
.pkp_footer_content p {
	margin: 0 !important;
	padding: 0 !important;
}
.pkp_footer_content a { color: rgba(255,255,255,0.65) !important; }
.pkp_footer_content a:hover { color: #F5A623 !important; }
.pkp_brand_footer { display: flex !important; align-items: center !important; flex-shrink: 0 !important; }
.pkp_brand_footer a {
	opacity: 0.3 !important;
	transition: opacity 0.2s !important;
	display: block !important;
	line-height: 0 !important;
}
.pkp_brand_footer a:hover { opacity: 0.6 !important; }
.pkp_brand_footer img { height: 18px !important; width: auto !important; }

/* ── Issue cover ──────────────────────────────────────── */
.obj_issue_cover { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* ── Login form ───────────────────────────────────────── */
.pkp_page_login .pkp_form {
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 0 4px 24px rgba(27,58,92,0.08);
	max-width: 420px;
	margin: 2rem auto;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
	.page_index_site { padding: 1rem; }
	.page_index_site .journals ul li { flex-direction: column; }
	.page_index_site .journals ul li .thumb { width: 100%; height: 140px; }
	.page_index_site .journals ul li .body { padding: 1rem; }
}
