/* ==========================================================================
   DINAMIKA : Jurnal Kajian Pendidikan dan Keislaman - Customized style.css
   Font Enhancement: Plus Jakarta Sans
   Icons: FontAwesome 6 Integration
   Article Section: Ultra-Tight Card Style & List Spacing
   Background: Pure White
   Sidebar Custom Block: Vertical Menubar, Screening, Visitor Stats & Template
   ========================================================================== */

/* 1. FONTS & ICON IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

/* 2. BACKGROUND HALAMAN PUTIH & REKOMENDASI PENETAPAN FONT UTAMA */
body, 
.pkp_structure_page,
.pkp_structure_content,
.pkp_structure_main {
	background-color: #ffffff !important;
	background: #ffffff !important;
}

body, 
button, 
input, 
select, 
textarea,
.pkp_structure_page,
.pkp_navigation_primary,
.pkp_navigation_user,
.pkp_block,
.obj_article_summary,
.obj_article_details {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.title,
.pkp_site_name {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	letter-spacing: -0.01em;
}

/* 3. TAMPILAN CARD KHUSUS PADA LIST ARTIKEL (.obj_article_summary & .cmp_article_list) */

/* Jarak antar li/card dibuat sangat dekat & rapat */
.cmp_article_list > li {
	margin-bottom: 0.35rem !important;
}

.obj_article_summary {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	margin-bottom: 0 !important; /* Nolkan margin bawah elemen dalam agar tidak double margin */
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
	transition: all 0.2s ease !important;
	position: relative !important;
}

.obj_article_summary:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06) !important;
	border-color: #cbd5e1 !important;
}

/* Judul Artikel di dalam Card */
.obj_article_summary .title,
.obj_article_summary .title a {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	margin-bottom: 6px !important;
}

.obj_article_summary .title a:hover {
	color: #073e40 !important;
}

/* Penulis (Authors) */
.obj_article_summary .authors {
	font-size: 0.88rem !important;
	color: #64748b !important;
	font-weight: 500 !important;
	margin-bottom: 8px !important;
}

/* Halaman / Pages & Date */
.obj_article_summary .pages {
	font-size: 0.84rem !important;
	color: #94a3b8 !important;
	font-weight: 500 !important;
}

/* Tombol PDF & Galley Links (Teks Putih Normal & Hover) */
.obj_article_summary .galleys_links {
	margin-top: 8px !important;
	padding-top: 6px !important;
	border-top: 1px dashed #f1f5f9 !important;
}

.obj_article_summary .galleys_links li a.galley_link {
	background: #073e40 !important; /* Hijau tema */
	color: #ffffff !important;        /* Teks Putih Normal */
	border-radius: 20px !important;
	padding: 5px 16px !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	border: none !important;
}

.obj_article_summary .galleys_links li a.galley_link:hover {
	background: #368588 !important;
	color: #ffffff !important;        /* Teks Putih saat Hover */
	box-shadow: 0 3px 6px rgba(7, 62, 64, 0.25) !important;
}

.obj_article_summary .galleys_links li a.pdf {
	background: #073e40 !important;
	color: #ffffff !important;        /* Teks Putih Normal */
}

.obj_article_summary .galleys_links li a.pdf:hover {
	background: #368588 !important;
	color: #ffffff !important;        /* Teks Putih saat Hover */
	box-shadow: 0 3px 6px rgba(7, 62, 64, 0.25) !important;
}

/* 4. PENYESUAIAN JARAK BLOK SIDEBAR (.pkp_block & .block_custom) */

.pkp_block,
.pkp_block.block_custom,
.block_custom {
	margin-bottom: 8px !important; /* Dikurangi dari 30px bawaan OJS menjadi 8px */
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.pkp_block .content p {
	margin-bottom: 0 !important;
}

/* 5. SIDEBAR SEAMLESS VERTICAL MENUBAR (.ojs-vertical-menu) */

.ojs-vertical-menu {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 8px 0 !important;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

.ojs-vertical-menu .menu-item {
	margin: 0 !important;
	padding: 0 !important;
}

.ojs-vertical-menu .menu-link {
	display: flex !important;
	align-items: center !important;
	padding: 9px 14px !important;
	background: #ffffff !important;
	color: #1e293b !important;
	border: 1px solid #e2e8f0 !important;
	border-bottom: none !important;
	border-left: 4px solid #073e40 !important;
	border-radius: 0 !important;
	text-decoration: none !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	transition: all 0.2s ease !important;
	box-shadow: none !important;
}

.ojs-vertical-menu .menu-item:first-child .menu-link {
	border-top-left-radius: 8px !important;
	border-top-right-radius: 8px !important;
}

.ojs-vertical-menu .menu-item:last-child .menu-link {
	border-bottom-left-radius: 8px !important;
	border-bottom-right-radius: 8px !important;
	border-bottom: 1px solid #e2e8f0 !important;
}

.ojs-vertical-menu .menu-link:hover {
	background: #073e40 !important;
	color: #ffffff !important;
	border-left-color: #d4af37 !important;
	padding-left: 18px !important;
}

.ojs-vertical-menu .menu-icon {
	width: 26px !important;
	height: 26px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #f1f5f9 !important;
	color: #073e40 !important;
	border-radius: 6px !important;
	margin-right: 10px !important;
	font-size: 0.85rem !important;
	transition: all 0.2s ease !important;
	flex-shrink: 0 !important;
}

.ojs-vertical-menu .menu-link:hover .menu-icon {
	background: rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
}

/* Styling Khusus ISSN Normal & Hover (Teks Biru saat Hover) */
.ojs-vertical-menu .issn-item .menu-link {
	background: #f8fafc !important;
	border-left-color: #066466 !important;
}

.ojs-vertical-menu .issn-item .menu-link:hover {
	background: #f0f7ff !important;
	color: #1d4ed8 !important; /* Warna Huruf Biru Terang & Jelas saat Hover */
	border-left-color: #2563eb !important;
}

.ojs-vertical-menu .issn-item .menu-link:hover .menu-icon {
	background: #dbeafe !important;
	color: #1d4ed8 !important;
}

/* 6. TAMPILAN UNIFORM LOGO SCREENING & REFERENCE TOOLS (.screening-card) */

.screening-container {
	text-align: center;
	margin-bottom: 8px;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.screening-title {
	color: #ffffff !important;
	display: block !important;
	background: #066466 !important;
	padding: 8px 12px !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	margin: 10px 5px 8px 5px !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.screening-container .screening-title:first-child {
	margin-top: 0 !important;
}

.screening-card {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 10px 14px !important;
	margin: 0 5px 8px 5px !important;
	width: calc(100% - 10px) !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
	height: 70px !important;
	box-sizing: border-box !important;
}

.screening-card img {
	max-width: 95% !important;
	max-height: 52px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	opacity: 0.95;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover State */
.screening-card:hover {
	transform: translateY(-3px) scale(1.01) !important;
	border-color: #073e40 !important;
	box-shadow: 0 8px 18px rgba(7, 62, 64, 0.16) !important;
	background: #fafafa !important;
}

.screening-card:hover img {
	opacity: 1 !important;
	filter: brightness(1.05) !important;
}

/* 7. TAMPILAN PENGUNJUNG / VISITOR COUNTER STYLING (.visitor-container) */

.visitor-container {
	text-align: center;
	margin-bottom: 8px;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.visitor-title {
	color: #ffffff !important;
	display: block !important;
	background: #066466 !important;
	padding: 8px 12px !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	margin: 0 5px 8px 5px !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.visitor-card {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	padding: 12px 10px !important;
	margin: 0 5px 8px 5px !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: block;
}

.visitor-card:hover {
	transform: translateY(-2px) !important;
	border-color: #073e40 !important;
	box-shadow: 0 8px 18px rgba(7, 62, 64, 0.15) !important;
}

.visitor-statcounter-img {
	display: block !important;
	margin: 0 auto 10px auto !important;
	max-width: 140px !important;
	height: auto !important;
}

.visitor-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	background: #073e40 !important;
	color: #ffffff !important;
	padding: 6px 14px !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	border-radius: 20px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 4px rgba(7, 62, 64, 0.2) !important;
}

.visitor-btn:hover {
	background: #368588 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 8px rgba(7, 62, 64, 0.3) !important;
}

.visitor-flag-img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	display: block !important;
	border-radius: 6px !important;
}

/* 8. ARTICLE TEMPLATE CARD STYLING (.template-container) */

.template-container {
	text-align: center;
	margin-bottom: 8px;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.template-title {
	color: #ffffff !important;
	display: block !important;
	background: #066466 !important;
	padding: 8px 12px !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	margin: 0 5px 8px 5px !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.template-card {
	display: block !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	padding: 14px 12px !important;
	margin: 0 5px 8px 5px !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
}

.template-card:hover {
	transform: translateY(-3px) !important;
	border-color: #073e40 !important;
	box-shadow: 0 8px 20px rgba(7, 62, 64, 0.16) !important;
	background: #fafafa !important;
}

.template-img {
	max-width: 100% !important;
	height: auto !important;
	display: block !important;
	margin: 0 auto 12px auto !important;
	border-radius: 8px !important;
	transition: all 0.3s ease !important;
}

.template-card:hover .template-img {
	transform: scale(1.02) !important;
	filter: brightness(1.04) !important;
}

.template-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	background: #073e40 !important;
	color: #ffffff !important;
	padding: 8px 18px !important;
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	border-radius: 20px !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 3px 6px rgba(7, 62, 64, 0.2) !important;
	width: calc(100% - 20px) !important;
	box-sizing: border-box !important;
}

.template-card:hover .template-btn {
	background: #368588 !important;
	color: #ffffff !important;
	box-shadow: 0 5px 12px rgba(7, 62, 64, 0.3) !important;
}

/* 9. CSS ASLI OJS DINAMIKA (DENGAN WARNA & STRUKTUR ASLI) */

.hover {	
	border-collapse:collapse;
	padding-left:0px;
/* 	margin-left:-20px;
	margin-right:-20px; */
	width:100%;
	font-weight:400;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
.hover th{
	height:35px;
	background:#ffffff;
	color:#117900;
	font-weight: 600;
}
.hover td{
	height:35px;
	padding-top:3px;
	vertical-align:middle;
	border-bottom:1px solid #ffffff;
	text-align:center;
}
.hover td a {
	width:100%;
	display:block;
}
.hover tr {
/* 	background:#086303; */
	background:#073e40;
	color:#ffffff;
}
.hover tr:hover {
/* 	background-color:#f4e30a; */
	background-color:#368588;

}
.hover tr a {
	color:#ffffff;
}

/* Pembaruan Font Abstrak */
.obj_article_details .abstract {
	text-align: justify;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #2d3748;
}

.blockTitle{
	color: #fff;
    display: block;
    letter-spacing: 0;
    margin-bottom: 10px;
    background: #066466;
    padding: 0.4em 10px !important;
	font-size:13pt;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-weight: 600;
	border-radius:5px;
/* 	font-weight:bold; */
/*     text-transform: uppercase; */
}

.pkp_site_name {
background: #003233;
}

.pkp_site_nav_menu {
background: #073e40;
}

.pkp_brand_footer
{
	display:none;
}

.has_site_logo .pkp_head_wrapper {
  padding-top: 10px;
}
.pkp_structure_footer_wrapper{
	background-color:#daebeb;
}
.pkp_footer_content{
	padding:5px;
}
.pkp_footer_content img{
	width:100%;
}

.pkp_site_name {padding-top: 0 !important; padding-bottom: 0 !important}
.pkp_site_name > a {padding-top: 0; padding-bottom: 0;}
.pkp_site_name .is_img img {max-height: 200px !important;}
.pkp_site_name_wrapper {padding-left: 0; padding-right: 0;}
.pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}
.pkp_structure_page {margin-top:  5px !important; margin-bottom:20 !important; padding-bottom: 20 !important;}