/* ==========================================================================
   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');

/* 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;
}