/*
Theme Name: LibUINSI Theme
Theme URI: https://uinsi.ac.id
Author: Perpustakaan UINSI
Author URI: https://uinsi.ac.id
Description: Tema Modern, Mewah & Cepat UPT Perpustakaan UINSI Samarinda. Dibangun dengan Vanilla CSS murni, tanpa dependensi Elementor, responsif untuk Desktop dan Mobile.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: libuinsi-theme
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================================================== */
:root {
	/* Color Palette - Emerald Islamic UINSI */
	--color-primary: #064e3b;
	--color-primary-dark: #022c22;
	--color-primary-light: #047857;
	--color-primary-subtle: #ecfdf5;
	--color-primary-accent: #10b981;

	/* Color Palette - Gold UINSI */
	--color-gold: #c89319;
	--color-gold-hover: #b45309;
	--color-gold-light: #fef3c7;
	--color-gold-bright: #fbbf24;

	/* Neutral / Slate Palette */
	--color-text-main: #0f172a;
	--color-text-muted: #64748b;
	--color-text-light: #94a3b8;
	--color-border: #e2e8f0;
	--color-border-subtle: #f1f5f9;
	--color-bg-body: #f8fafc;
	--color-bg-white: #ffffff;
	--color-bg-dark: #022c22;

	/* Typography */
	--font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Shadows */
	--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
	--shadow-xl: 0 20px 35px -5px rgba(6, 78, 59, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-glow: 0 8px 30px rgba(200, 147, 25, 0.25);

	/* Transitions */
	--transition-fast: 0.15s ease;
	--transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	--transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

	/* Layout Container */
	--container-max: 1340px;
	--container-padding: 1.5rem;
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-pill: 9999px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-main);
	color: var(--color-text-main);
	background-color: var(--color-bg-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
	font: inherit;
}

ul,
ol {
	list-style: none;
}

.site-container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

/* ==========================================================================
   3. TOPBAR
   ========================================================================== */
.topbar {
	background-color: var(--color-bg-dark);
	color: #e2e8f0;
	font-size: 0.8125rem;
	border-bottom: 1px solid rgba(200, 147, 25, 0.25);
	position: relative;
	z-index: 40;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.4rem;
	padding-bottom: 0.4rem;
}

.topbar-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #cbd5e1;
}

.topbar-item a:hover {
	color: var(--color-gold-bright);
}

.topbar-divider {
	color: rgba(255, 255, 255, 0.2);
}

.topbar-npp strong {
	color: var(--color-gold-bright);
}

.topbar-social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.topbar-social a {
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
}

.topbar-social a:hover {
	color: var(--color-gold-bright);
	transform: translateY(-1px);
}

/* ==========================================================================
   4. MAIN HEADER & NAVBAR
   ========================================================================== */
.site-header {
	background-color: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.site-header.scrolled {
	box-shadow: var(--shadow-md);
	background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

/* Brand */
.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	flex-shrink: 0;
}

.brand-logo {
	height: 48px;
	width: auto;
	object-fit: contain;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.brand-dept {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--color-gold);
	text-transform: uppercase;
}

.brand-name {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--color-primary);
	letter-spacing: -0.01em;
}

/* Desktop Menu */
.site-nav-desktop {
	display: block;
	margin-left: auto;
	margin-right: 1.5rem;
}

.desktop-menu {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.desktop-menu>li {
	position: relative;
}

.desktop-menu>li>a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.95rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-text-main);
	white-space: nowrap;
	border-radius: var(--radius-pill);
	position: relative;
	background-color: transparent;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-menu>li:hover>a {
	color: var(--color-primary);
	background-color: rgba(6, 78, 59, 0.07);
	transform: translateY(-1px);
}

/* Indikator Active yang bersih dan elegan (tanpa garis underscore) */
body.home .desktop-menu>li.menu-item-home>a,
body:not(.home) .desktop-menu>li.current-menu-item>a {
	color: var(--color-primary);
	font-weight: 700;
	background-color: rgba(6, 78, 59, 0.09);
}

/* Indikator chevron panah kecil untuk menu dengan sub-menu */
.desktop-menu>li.menu-item-has-children>a {
	padding-right: 0.85rem;
}

.desktop-menu>li.menu-item-has-children>a::after {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 0.45rem;
	margin-top: -3px;
	opacity: 0.6;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, color 0.2s ease;
}

.desktop-menu>li.menu-item-has-children:hover>a::after {
	transform: rotate(-135deg) translate(-1px, -1px);
	opacity: 1;
	color: var(--color-primary);
}

/* Sub-menus (Dropdown) */
.desktop-menu a {
	cursor: pointer;
}

.desktop-menu ul.sub-menu {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 250px;
	background-color: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(6, 78, 59, 0.12);
	border-radius: var(--radius-md);
	box-shadow: 0 16px 36px -6px rgba(6, 78, 59, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
	padding: 0.5rem 0.4rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px) scale(0.98);
	transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
	transition-delay: 0.15s;
	/* Toleransi 150ms agar menu tidak langsung hilang saat mouse meluncur */
	z-index: 120;
	pointer-events: none;
}

/* Jembatan tak terlihat (Invisible Hover Bridge) agar kursor tidak lepas saat melintasi celah header */
.desktop-menu ul.sub-menu::before {
	content: '';
	position: absolute;
	top: -16px;
	left: 0;
	right: 0;
	height: 16px;
	background: transparent;
	display: block;
}

.desktop-menu li:hover>ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
	transition-delay: 0s;
	/* Langsung muncul seketika saat di-hover */
}

.desktop-menu ul.sub-menu li {
	position: relative;
}

.desktop-menu ul.sub-menu li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.65rem 1.15rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-main);
	white-space: nowrap;
	border-radius: 6px;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-menu ul.sub-menu li:hover>a {
	background-color: var(--color-primary-subtle);
	color: var(--color-primary);
	padding-left: 1.45rem;
	transform: translateX(4px);
}

/* Indikator panah ke kanan untuk sub-menu yang memiliki anak (sub-sub menu) */
.desktop-menu ul.sub-menu li.menu-item-has-children>a::after {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	border-right: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-left: 0.75rem;
	opacity: 0.6;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.desktop-menu ul.sub-menu li.menu-item-has-children:hover>a::after {
	opacity: 1;
	transform: rotate(45deg) translateX(2px);
}

/* Sub-sub menus (Dropdown tingkat 2 ke samping kanan) */
.desktop-menu ul.sub-menu ul.sub-menu {
	top: -6px;
	left: calc(100% + 2px);
	margin-left: 0;
}

/* Jembatan tak terlihat horizontal untuk sub-sub menu */
.desktop-menu ul.sub-menu ul.sub-menu::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -14px;
	width: 14px;
	height: 100%;
	background: transparent;
	display: block;
}

/* Header Action CTA */
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.btn-header-opac {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 0.55rem 1.15rem;
	border-radius: var(--radius-pill);
	box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
	white-space: nowrap;
	flex-shrink: 0;
	letter-spacing: 0.02em;
	transition: all var(--transition-smooth);
}

.btn-header-opac:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(6, 78, 59, 0.35);
	background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
	color: #ffffff;
}

/* Hamburger Toggle Button */
.mobile-toggle-btn {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background-color: var(--color-primary-subtle);
	border: 1px solid rgba(6, 78, 59, 0.15);
	border-radius: var(--radius-md);
	cursor: pointer;
	padding: 8px;
	transition: background-color var(--transition-fast);
}

.hamburger-bar {
	display: block;
	width: 22px;
	height: 2px;
	background-color: var(--color-primary);
	border-radius: 2px;
	transition: transform var(--transition-fast);
}

/* ==========================================================================
   5. MOBILE DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(2, 44, 34, 0.6);
	backdrop-filter: blur(4px);
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-smooth);
}

.mobile-drawer-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 320px;
	max-width: 85vw;
	height: 100vh;
	background-color: var(--color-bg-white);
	z-index: 210;
	transform: translateX(100%);
	transition: transform var(--transition-smooth);
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.active {
	transform: translateX(0);
}

.mobile-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
	border-bottom: 1px solid var(--color-border);
}

.mobile-drawer-close {
	background: none;
	border: none;
	color: var(--color-text-muted);
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.mobile-menu-list>li {
	border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-menu-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--color-text-main);
}

.mobile-menu-list li a:hover {
	color: var(--color-primary);
}

.mobile-menu-list .sub-menu {
	display: none;
	background-color: var(--color-bg-body);
	border-radius: var(--radius-sm);
	padding: 0.25rem 0.5rem;
	margin-bottom: 0.5rem;
}

.mobile-menu-list .sub-menu-open>.sub-menu {
	display: block;
}

.mobile-menu-list .sub-menu li a {
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.45rem 0.5rem;
	color: var(--color-text-muted);
}

.sub-menu-toggle {
	display: inline-flex;
	padding: 4px 8px;
	border-radius: 4px;
	background-color: var(--color-border-subtle);
	cursor: pointer;
}

.mobile-drawer-footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
}

.mobile-contact-info {
	margin-top: 1rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* ==========================================================================
   6. HERO SECTION (FULL 1 LAYAR DENGAN BACKGROUND GEDUNG MAKTABAH UINSI)
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: calc(100vh - 112px);
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	color: #ffffff;
	padding-top: 4.5rem;
	padding-bottom: 5rem;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 15%;
	left: 50%;
	transform: translateX(-50%);
	width: 850px;
	height: 380px;
	background: radial-gradient(ellipse at center, rgba(200, 147, 25, 0.22) 0%, transparent 70%);
	filter: blur(60px);
	pointer-events: none;
}

.hero-bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		radial-gradient(rgba(200, 147, 25, 0.12) 1px, transparent 1px),
		radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 32px 32px, 16px 16px;
	pointer-events: none;
}

.hero-container {
	position: relative;
	z-index: 10;
	width: 100%;
}

.hero-content {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background-color: rgba(200, 147, 25, 0.18);
	border: 1px solid rgba(251, 191, 36, 0.5);
	color: var(--color-gold-bright);
	font-size: 0.735rem;
	font-weight: 700;
	padding: 0.35rem 1.05rem;
	border-radius: var(--radius-pill);
	margin-bottom: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(200, 147, 25, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.hero-badge span {
	background: linear-gradient(135deg, #ffffff 0%, #fef3c7 20%, #fbbf24 60%, #d97706 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--color-gold-bright);
	font-weight: 700;
	letter-spacing: 0.06em;
	display: inline-block;
}

.badge-logo {
	height: 18px;
	width: auto;
	object-fit: contain;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%) invert(78%) sepia(65%) saturate(1000%) hue-rotate(355deg) brightness(105%) contrast(102%) drop-shadow(0 0 4px rgba(251, 191, 36, 0.6));
}

.hero-welcome {
	font-size: clamp(1.2rem, 2.2vw, 1.75rem);
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 0.15rem;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
	font-size: clamp(3.75rem, 8vw, 6.5rem);
	font-weight: 850;
	line-height: 1.50;
	letter-spacing: -0.03em;
	background: linear-gradient(180deg, #ffffff 15%, #fef3c7 50%, #f59e0b 85%, #d97706 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 1.25rem;
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.3));
}

.hero-subtitle {
	font-size: 1.125rem;
	line-height: 1.75;
	color: rgba(241, 245, 249, 0.95);
	max-width: 860px;
	margin: 0 auto 2.5rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-subtitle a,
.hero-subtitle span {
	color: inherit !important;
	text-decoration: none !important;
}

@media (max-width: 768px) {
	.hero-section {
		min-height: auto;
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
		background-attachment: scroll;
	}

	.hero-subtitle {
		font-size: 1rem;
		line-height: 1.65;
	}
}

/* UNIFIED SEARCH CARD */
.hero-search-card {
	background: rgba(255, 255, 255, 0.98);
	color: var(--color-text-main);
	border-radius: var(--radius-xl);
	padding: 1.5rem;
	box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 147, 25, 0.25);
	text-align: left;
}

.search-tabs {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	overflow-x: auto;
	padding-bottom: 4px;
}

.search-tab {
	background: none;
	border: 1px solid transparent;
	padding: 0.45rem 0.95rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text-muted);
	border-radius: var(--radius-pill);
	cursor: pointer;
	white-space: nowrap;
	transition: all var(--transition-fast);
}

.search-tab:hover {
	color: var(--color-primary);
	background-color: var(--color-primary-subtle);
}

.search-tab.active {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	color: #ffffff;
	border-color: rgba(200, 147, 25, 0.35);
	box-shadow: 0 3px 10px rgba(6, 78, 59, 0.3);
}

.search-input-group {
	display: flex;
	align-items: center;
	background-color: var(--color-bg-body);
	border: 2px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 0.4rem 0.5rem 0.4rem 1rem;
	transition: all var(--transition-smooth);
}

.search-input-group:focus-within {
	border-color: var(--color-primary);
	background-color: #ffffff;
	box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.1);
}

.search-icon {
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	margin-right: 0.75rem;
}

.search-input-field {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 1rem;
	color: var(--color-text-main);
	outline: none;
	padding: 0.5rem 0;
}

.search-input-field::placeholder {
	color: var(--color-text-light);
}

.search-submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 700;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
	transition: all var(--transition-smooth);
}

.search-submit-btn:hover {
	background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(6, 78, 59, 0.35);
}

/* Quick Pills */
.hero-quick-pills {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.15rem;
	flex-wrap: wrap;
}

.pills-label {
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pills-list {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.pill-item {
	display: inline-block;
	background-color: var(--color-bg-body);
	border: 1px solid var(--color-border);
	color: var(--color-text-main);
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.3rem 0.75rem;
	border-radius: var(--radius-pill);
	transition: all var(--transition-fast);
}

.pill-item:hover {
	background-color: var(--color-primary-subtle);
	border-color: var(--color-primary-accent);
	color: var(--color-primary);
	transform: translateY(-1px);
}

/* ==========================================================================
   7. GENERAL SECTION STYLING
   ========================================================================== */
.section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.section-header {
	margin-bottom: 3rem;
}

.section-header.text-center {
	text-align: center;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.section-header-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2.75rem;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.section-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--color-gold);
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}

.section-badge.badge-light {
	color: var(--color-gold-bright);
}

.section-title {
	font-size: 2.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-primary-dark);
	line-height: 1.25;
	margin-bottom: 0.5rem;
}

.section-subtitle {
	font-size: 1rem;
	color: var(--color-text-muted);
	line-height: 1.6;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 0.9375rem;
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius-md);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all var(--transition-smooth);
	text-decoration: none;
}

.btn-primary {
	background: var(--color-primary);
	color: #ffffff;
}

.btn-primary:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	color: #ffffff;
}

.btn-outline {
	background: transparent;
	border-color: var(--color-border);
	color: var(--color-text-main);
}

.btn-outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: var(--color-primary-subtle);
}

.btn-outline-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1.5px solid var(--color-primary);
	color: var(--color-primary);
	font-weight: 700;
	font-size: 0.875rem;
	padding: 0.55rem 1.2rem;
	border-radius: var(--radius-pill);
	transition: all var(--transition-smooth);
}

.btn-outline-primary:hover {
	background-color: var(--color-primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.btn-block {
	width: 100%;
}

/* ==========================================================================
   8. LAYANAN UNGGULAN (SERVICES GRID)
   ========================================================================== */
.section-services {
	background-color: #ffffff;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

.service-card {
	background-color: var(--color-bg-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

.service-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
	opacity: 0;
	transition: opacity var(--transition-smooth);
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
	border-color: rgba(6, 78, 59, 0.2);
}

.service-card:hover::after {
	opacity: 1;
}

.service-icon-box {
	width: 58px;
	height: 58px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	transition: transform var(--transition-smooth);
}

.service-card:hover .service-icon-box {
	transform: scale(1.08);
}

.icon-emerald {
	background-color: #d1fae5;
	color: #047857;
}

.icon-gold {
	background-color: #fef3c7;
	color: #b45309;
}

.icon-blue {
	background-color: #e0f2fe;
	color: #0369a1;
}

.icon-purple {
	background-color: #f3e8ff;
	color: #7e22ce;
}

.icon-teal {
	background-color: #ccfbf1;
	color: #0f766e;
}

.icon-amber {
	background-color: #ffedd5;
	color: #c2410c;
}

.service-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin-bottom: 0.65rem;
}

.service-desc {
	font-size: 0.9375rem;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	flex: 1;
}

.service-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-primary);
	transition: all var(--transition-fast);
}

.service-link svg {
	transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
	color: var(--color-gold-hover);
}

.service-card:hover .service-link svg {
	transform: translateX(4px);
}

/* ==========================================================================
   9. STATISTIK PERPUSTAKAAN SECTION
   ========================================================================== */
.section-stats {
	padding-top: 0;
	padding-bottom: 4rem;
	background-color: #ffffff;
}

.stats-card-wrapper {
	background: radial-gradient(circle at 70% 30%, #075e40 0%, #064e3b 60%, #022c22 100%);
	color: #ffffff;
	border-radius: var(--radius-xl);
	padding: 3.5rem 3rem;
	box-shadow: var(--shadow-xl);
	position: relative;
	overflow: hidden;
}

.stats-card-wrapper::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(200, 147, 25, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.stats-header {
	text-align: center;
	margin-bottom: 2.75rem;
}

.stats-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: #ffffff;
	margin-top: 0.25rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.stat-item {
	padding: 1rem;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
	border-right: none;
}

.stat-number {
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1.1;
	color: #ffffff;
	margin-bottom: 0.4rem;
	letter-spacing: -0.02em;
}

.stat-plus {
	color: var(--color-gold-bright);
}

.stat-label {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-gold-light);
	margin-bottom: 0.25rem;
}

.stat-sub {
	font-size: 0.8125rem;
	color: #cbd5e1;
}

/* ==========================================================================
   10. BERITA & PENGUMUMAN (NEWS GRID)
   ========================================================================== */
.section-news {
	background-color: var(--color-bg-body);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.news-card {
	background-color: var(--color-bg-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-smooth);
}

.news-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
	border-color: rgba(6, 78, 59, 0.2);
}

.news-thumb-link {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
	background-color: #0f172a;
}

.news-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

.news-card:hover .news-thumb-img {
	transform: scale(1.06);
}

.news-thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e2e8f0;
	color: #94a3b8;
}

.news-badge {
	position: absolute;
	bottom: 12px;
	left: 12px;
	background-color: var(--color-primary);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.65rem;
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-sm);
	text-transform: uppercase;
}

.news-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	margin-bottom: 0.65rem;
}

.news-date {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.news-title {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 0.75rem;
	color: var(--color-text-main);
}

.news-title a:hover {
	color: var(--color-primary);
}

.news-excerpt {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: 1.25rem;
	flex: 1;
}

.news-readmore {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-primary);
	transition: all var(--transition-fast);
}

.news-readmore svg {
	transition: transform var(--transition-fast);
}

.news-card:hover .news-readmore {
	color: var(--color-gold-hover);
}

.news-card:hover .news-readmore svg {
	transform: translateX(4px);
}

/* ==========================================================================
   11. MEDIA STREAMING & VIDEO CAROUSEL SECTION
   ========================================================================== */
.section-video-streaming {
	background-color: #ffffff;
	position: relative;
	overflow: hidden;
}

.video-carousel-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.carousel-control-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background-color: #ffffff;
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-smooth);
}

.carousel-control-btn:hover {
	background-color: var(--color-primary);
	color: #ffffff;
	border-color: var(--color-primary);
	transform: scale(1.08);
	box-shadow: var(--shadow-md);
}

.btn-yt-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background-color: #fee2e2;
	color: #dc2626;
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 0.6rem 1.15rem;
	border-radius: var(--radius-pill);
	transition: all var(--transition-fast);
	text-decoration: none;
}

.btn-yt-badge:hover {
	background-color: #dc2626;
	color: #ffffff;
	transform: translateY(-2px);
}

.video-carousel-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 1.25rem;
	padding-top: 0.5rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: rgba(6, 78, 59, 0.25) transparent;
}

.video-carousel-track::-webkit-scrollbar {
	height: 6px;
}

.video-carousel-track::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.04);
	border-radius: 999px;
}

.video-carousel-track::-webkit-scrollbar-thumb {
	background: rgba(6, 78, 59, 0.25);
	border-radius: 999px;
}

.video-card {
	flex: 0 0 calc(33.333% - 1rem);
	min-width: 310px;
	scroll-snap-align: start;
	background-color: var(--color-bg-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-smooth);
	display: flex;
	flex-direction: column;
}

.video-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
	border-color: rgba(6, 78, 59, 0.25);
}

.video-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16/9;
	background-color: #0f172a;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-card-body {
	padding: 1.35rem 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.video-tag {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 800;
	color: var(--color-gold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.45rem;
}

.video-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-text-main);
	line-height: 1.45;
}

/* ==========================================================================
   12. LOKASI KAMPUS & PETA KUNJUNGAN SECTION
   ========================================================================== */
.section-visit-location {
	background-color: var(--color-bg-body);
	border-top: 1px solid var(--color-border);
}

.visit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.visit-info-card {
	display: flex;
	flex-direction: column;
}

.visit-details-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1.75rem;
}

.visit-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 1.15rem 1.35rem;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-fast);
}

.visit-item:hover {
	border-color: rgba(6, 78, 59, 0.2);
	transform: translateX(4px);
	box-shadow: var(--shadow-sm);
}

.visit-icon {
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.visit-item strong {
	display: block;
	font-size: 0.9375rem;
	color: var(--color-primary-dark);
	margin-bottom: 0.25rem;
}

.visit-item p {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	line-height: 1.55;
	margin: 0;
}

.visit-item a {
	color: var(--color-primary);
	font-weight: 600;
}

.visit-item a:hover {
	color: var(--color-gold-hover);
	text-decoration: underline;
}

.visit-map-card {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--color-border);
	background-color: #ffffff;
}

.visit-map-card iframe {
	display: block;
	width: 100%;
}

@media (max-width: 1024px) {
	.video-card {
		flex: 0 0 calc(50% - 0.75rem);
	}

	.visit-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.video-card {
		flex: 0 0 88%;
		min-width: 270px;
	}
}

/* ==========================================================================
   12. INNER PAGES (PAGE & SINGLE POST)
   ========================================================================== */
.section-page-inner {
	padding-top: 3.5rem;
	padding-bottom: 5rem;
}

.page-header-banner {
	background: radial-gradient(circle at 80% 20%, #075e40 0%, #064e3b 50%, #022c22 100%);
	color: #ffffff;
	padding: 3rem 2.5rem;
	border-radius: var(--radius-lg);
	margin-bottom: 3rem;
	box-shadow: var(--shadow-md);
}

.page-header-banner .page-title {
	font-size: 2.25rem;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.page-header-banner .page-lead {
	font-size: 1rem;
	color: #cbd5e1;
}

.page-single-card,
.single-post-card {
	background-color: var(--color-bg-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: 3.5rem 4rem;
	box-shadow: var(--shadow-sm);
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.page-entry-header,
.single-entry-header {
	margin-bottom: 2.25rem;
	border-bottom: 1px solid var(--color-border-subtle);
	padding-bottom: 1.75rem;
}

.page-entry-title,
.single-entry-title {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	line-height: 1.25;
	margin-bottom: 0.75rem;
}

.page-breadcrumb {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.page-breadcrumb a:hover {
	color: var(--color-primary);
}

.single-meta-top {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.badge-inline {
	position: static;
}

.single-date,
.single-author {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.page-entry-thumb,
.single-entry-thumb {
	margin-bottom: 2.5rem;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	width: 100%;
	text-align: center;
	background-color: #f8fafc;
}

.page-hero-img,
.single-hero-img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Typography Inside Content */
.typography-content {
	font-size: 1.0625rem;
	line-height: 1.85;
	color: #334155;
}

.typography-content::after {
	content: "";
	display: table;
	clear: both;
}

/* Penataan Gambar WordPress (alignleft, alignright, aligncenter) */
.typography-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.typography-content img.alignleft,
.typography-content .alignleft {
	float: left;
	margin: 0.35rem 2.25rem 1.5rem 0;
	max-width: 340px;
	height: auto;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.typography-content img.alignright,
.typography-content .alignright {
	float: right;
	margin: 0.35rem 0 1.5rem 2.25rem;
	max-width: 340px;
	height: auto;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.typography-content img.aligncenter,
.typography-content .aligncenter {
	display: block;
	margin: 1.5rem auto;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

.typography-content p {
	margin-bottom: 1.5rem;
}

.typography-content h2 {
	font-size: 1.65rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	border-left: 4px solid var(--color-gold);
	padding-left: 0.75rem;
}

.typography-content h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.typography-content ul,
.typography-content ol {
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.typography-content ul {
	list-style: disc;
}

.typography-content ol {
	list-style: decimal;
}

.typography-content li {
	margin-bottom: 0.5rem;
}

.typography-content a {
	color: var(--color-primary);
	text-decoration: underline;
	font-weight: 600;
}

.typography-content a:hover {
	color: var(--color-gold-hover);
}

.typography-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.typography-content th,
.typography-content td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
}

.typography-content th {
	background-color: var(--color-primary-subtle);
	color: var(--color-primary-dark);
	font-weight: 700;
}

.single-entry-footer {
	margin-top: 3rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--color-border);
}

.single-tags {
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
}

.single-nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-primary);
}

.pagination-wrapper {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.15rem;
	margin: 0 0.25rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background: #ffffff;
	font-weight: 600;
	font-size: 0.875rem;
}

.pagination-wrapper .page-numbers.current {
	background: var(--color-primary);
	color: #ffffff;
	border-color: var(--color-primary);
}

/* 404 Error Card */
.error-404-card {
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: 4rem 2rem;
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
	box-shadow: var(--shadow-sm);
}

.error-code {
	font-size: 5rem;
	font-weight: 900;
	color: var(--color-primary);
	line-height: 1;
	display: block;
	margin-bottom: 0.5rem;
}

.error-title {
	font-size: 1.75rem;
	font-weight: 800;
	margin-bottom: 0.75rem;
	color: var(--color-text-main);
}

.error-desc {
	color: var(--color-text-muted);
	margin-bottom: 2rem;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   13. SITE FOOTER
   ========================================================================== */
.site-footer {
	background-color: var(--color-bg-dark);
	color: #e2e8f0;
	border-top: 3px solid var(--color-gold);
}

.footer-content {
	padding-top: 4.5rem;
	padding-bottom: 4rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2.5rem;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.footer-logo {
	height: 48px;
	width: auto;
}

.footer-brand .brand-dept {
	color: var(--color-gold-bright);
}

.footer-brand .brand-name {
	color: #ffffff;
}

.footer-desc {
	font-size: 0.875rem;
	line-height: 1.65;
	color: #94a3b8;
	margin-bottom: 1.5rem;
}

.footer-badges {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.badge {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.65rem;
	border-radius: var(--radius-pill);
	text-transform: uppercase;
}

.badge-gold {
	background-color: rgba(200, 147, 25, 0.2);
	color: var(--color-gold-bright);
	border: 1px solid rgba(200, 147, 25, 0.4);
}

.badge-outline {
	background-color: rgba(255, 255, 255, 0.05);
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-heading {
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 1.25rem;
	position: relative;
	padding-bottom: 0.5rem;
}

.footer-heading::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 28px;
	height: 2px;
	background-color: var(--color-gold);
}

.footer-links li {
	margin-bottom: 0.65rem;
}

.footer-links a {
	font-size: 0.875rem;
	color: #94a3b8;
	transition: all var(--transition-fast);
}

.footer-links a:hover {
	color: var(--color-gold-bright);
	padding-left: 4px;
}

.footer-hours {
	font-size: 0.875rem;
}

.hour-row {
	display: flex;
	justify-content: space-between;
	font-weight: 600;
	color: #ffffff;
	margin-top: 0.5rem;
}

.hour-row.closed {
	color: #f87171;
}

.hour-sub {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-bottom: 0.5rem;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #94a3b8;
	line-height: 1.5;
}

.footer-contact svg {
	color: var(--color-gold-bright);
	flex-shrink: 0;
	margin-top: 2px;
}

.footer-contact a:hover {
	color: var(--color-gold-bright);
}

.footer-social-wrap {
	margin-top: 1.25rem;
}

.social-label {
	display: block;
	font-size: 0.8125rem;
	color: #cbd5e1;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.social-icons {
	display: flex;
	gap: 0.6rem;
}

.social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: all var(--transition-fast);
}

.social-icons a:hover {
	background-color: var(--color-gold);
	color: #ffffff;
	border-color: var(--color-gold);
	transform: translateY(-2px);
}

.footer-bottom {
	background-color: #011b15;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.25rem 0;
	font-size: 0.8125rem;
	color: #94a3b8;
}

.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.copyright-text strong {
	color: #ffffff;
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: none;
	border: none;
	color: #cbd5e1;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 600;
	transition: color var(--transition-fast);
}

.back-to-top:hover {
	color: var(--color-gold-bright);
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
	.site-nav-desktop {
		display: none;
	}

	.btn-header-opac {
		display: none;
	}

	.mobile-toggle-btn {
		display: flex;
	}

	.hero-title {
		font-size: 2.25rem;
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.stat-item:nth-child(2) {
		border-right: none;
	}

	.stat-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding-bottom: 1.5rem;
	}

	.stat-item:nth-child(3),
	.stat-item:nth-child(4) {
		border-bottom: none;
	}

	.spotlight-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.topbar-info {
		display: none;
	}

	.topbar-inner {
		justify-content: flex-end;
	}

	.header-inner {
		height: 68px;
	}

	.brand-name {
		font-size: 1rem;
	}

	.hero-section {
		padding-top: 3rem;
		padding-bottom: 3.5rem;
	}

	.hero-title {
		font-size: 1.75rem;
	}

	.hero-subtitle {
		font-size: 0.95rem;
		margin-bottom: 1.75rem;
	}

	.hero-search-card {
		padding: 1.15rem;
	}

	.search-input-group {
		flex-direction: column;
		align-items: stretch;
		padding: 0.5rem;
		gap: 0.5rem;
	}

	.search-icon {
		display: none;
	}

	.search-input-field {
		padding: 0.5rem 0.75rem;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-sm);
		background-color: #ffffff;
	}

	.search-submit-btn {
		width: 100%;
		justify-content: center;
		padding: 0.75rem;
	}

	.section {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.section-title {
		font-size: 1.65rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.stats-card-wrapper {
		padding: 2.25rem 1.5rem;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.stat-item {
		border-right: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding: 0.75rem 0;
	}

	.stat-item:last-child {
		border-bottom: none;
	}

	.stat-number {
		font-size: 2.25rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom-inner {
		flex-direction: column;
		gap: 0.75rem;
		text-align: center;
	}

	.page-single-card,
	.single-post-card {
		padding: 1.5rem;
	}

	.page-entry-title,
	.single-entry-title {
		font-size: 1.65rem;
	}

	.typography-content img.alignleft,
	.typography-content .alignleft,
	.typography-content img.alignright,
	.typography-content .alignright {
		float: none;
		margin: 0 auto 1.5rem auto;
		display: block;
		max-width: 100%;
	}
}

/* ==========================================================================
   15. FASILITAS PERPUSTAKAAN INTERACTIVE STYLES (.lib-*)
   ========================================================================== */
.lib-facilities-wrapper {
	margin-top: 0.5rem;
}

.lib-facilities-wrapper p:empty,
.lib-facilities-wrapper>p:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.lib-tabs-nav br,
.lib-tab-trigger br,
.lib-card-details br {
	display: none !important;
}

.lib-lead-intro {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--color-text-muted);
	margin-bottom: 2.25rem;
	max-width: 840px;
}

/* Floor Tabs Navigation */
.lib-tabs-nav {
	display: flex;
	justify-content: flex-start;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
	border-bottom: 2px solid var(--color-border);
	padding-bottom: 1rem;
	flex-wrap: wrap;
}

.lib-tab-trigger {
	background: #ffffff;
	border: 1.5px solid var(--color-border);
	padding: 0.65rem 1.35rem;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--color-text-muted);
	cursor: pointer;
	border-radius: var(--radius-pill);
	transition: all var(--transition-fast);
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	outline: none;
}

.lib-tab-trigger:hover {
	color: var(--color-primary);
	border-color: var(--color-primary-accent);
	background-color: var(--color-primary-subtle);
}

.lib-tab-trigger.active {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
	border-color: var(--color-primary);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

.lib-tab-trigger .lib-floor-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.08);
	font-size: 0.8125rem;
	font-weight: 800;
}

.lib-tab-trigger.active .lib-floor-badge {
	background-color: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

/* Tab Panes */
.lib-tab-pane {
	display: none;
	animation: libFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lib-tab-pane.active {
	display: block;
}

.lib-pane-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

.lib-card-details {
	background: var(--color-bg-white);
	border-radius: var(--radius-lg);
	padding: 2.25rem;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}

.lib-pane-title {
	font-size: 1.45rem;
	font-weight: 800;
	margin-top: 0;
	margin-bottom: 1.25rem;
	color: var(--color-primary-dark);
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lib-pane-title svg {
	color: var(--color-gold);
	flex-shrink: 0;
}

.lib-facilities-list-grid {
	list-style: none;
	padding: 0;
	margin: 1.75rem 0 0 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
}

.lib-facility-item {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	background-color: var(--color-bg-body);
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--color-text-main);
	border: 1px solid var(--color-border);
	transition: all var(--transition-fast);
}

.lib-facility-item:hover {
	background-color: var(--color-primary-subtle);
	border-color: rgba(6, 78, 59, 0.2);
	color: var(--color-primary);
	transform: translateX(3px);
}

.lib-facility-item svg {
	color: var(--color-primary);
	flex-shrink: 0;
}

/* Media / Photo Cards */
.lib-pane-media-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.lib-photo-card {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4 / 3;
	border: 1px solid var(--color-border);
	background-color: #0f172a;
}

.lib-photo-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
	display: block;
}

.lib-photo-card:hover img {
	transform: scale(1.06);
}

.lib-photo-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
	padding: 1.5rem 1.25rem 1.15rem;
	color: #ffffff;
}

.lib-photo-caption h4 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 0.25rem 0;
	color: #ffffff !important;
}

.lib-photo-caption p {
	font-size: 0.8125rem;
	margin: 0;
	color: #cbd5e1 !important;
	line-height: 1.4;
}

/* Gallery Showcase */
.lib-gallery-showcase {
	margin-top: 4.5rem;
	border-top: 1px solid var(--color-border);
	padding-top: 3.5rem;
}

.lib-gallery-title {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
	color: var(--color-primary-dark);
}

.lib-gallery-desc {
	text-align: center;
	color: var(--color-text-muted);
	max-width: 600px;
	margin: 0 auto 2.5rem auto;
	font-size: 0.9375rem;
}

.lib-masonry-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

@keyframes libFadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 991px) {
	.lib-pane-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.lib-masonry-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.lib-facilities-list-grid {
		grid-template-columns: 1fr;
	}

	.lib-masonry-gallery {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   16. NATIVE GPU-ACCELERATED VIEW TRANSITIONS
   ========================================================================== */
@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: 0.15s cubic-bezier(0.4, 0, 1, 1) both fadeOut;
}

::view-transition-new(root) {
	animation: 0.2s cubic-bezier(0, 0, 0.2, 1) both fadeIn;
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Slim Golden-Emerald Top Progress Bar */
#pageProgressBar {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-gold-bright), var(--color-gold));
	z-index: 99999;
	box-shadow: 0 0 10px rgba(200, 147, 25, 0.6);
	transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	pointer-events: none;
	opacity: 0;
}

#pageProgressBar.loading {
	opacity: 1;
}

/* ==========================================================================
   17. INNER PAGES, ARCHIVE, & PORTAL BERITA
   ========================================================================== */
.section-page-inner {
	padding-top: 2.5rem;
	padding-bottom: 5rem;
}

/* Page Header Banner */
.page-header-banner {
	background: linear-gradient(135deg, var(--color-primary-dark) 0%, #064e3b 60%, #046c4e 100%);
	border-radius: var(--radius-xl);
	padding: 3.5rem 2.5rem;
	margin-bottom: 3rem;
	color: #ffffff;
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(200, 147, 25, 0.2);
}

.page-header-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(200, 147, 25, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.page-header-banner .section-badge {
	color: #fde047;
	background: rgba(251, 191, 36, 0.16);
	padding: 0.35rem 0.95rem;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(251, 191, 36, 0.4);
	margin-bottom: 1rem;
	display: inline-block;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.page-header-banner .page-title {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 0.75rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-header-banner .page-lead {
	font-size: 1.05rem;
	color: #e2e8f0;
	max-width: 720px;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.page-header-banner .page-breadcrumb,
.page-breadcrumb-banner {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
}

.page-header-banner .page-breadcrumb a,
.page-breadcrumb-banner a {
	color: #fde047 !important;
	font-weight: 600;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	transition: color var(--transition-fast);
}

.page-header-banner .page-breadcrumb a:hover,
.page-breadcrumb-banner a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}

.page-header-banner .page-breadcrumb .sep,
.page-breadcrumb-banner .sep {
	color: rgba(255, 255, 255, 0.5) !important;
	opacity: 0.75;
}

.page-header-banner .page-breadcrumb span:not(.sep),
.page-breadcrumb-banner span:not(.sep) {
	color: #ffffff;
	font-weight: 500;
}

/* News Grid for archive/portal */
.news-grid-page {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
	.news-grid-page {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (max-width: 640px) {
	.news-grid-page {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.page-header-banner {
		padding: 2.25rem 1.5rem;
	}
}

/* Pagination Styling */
.pagination-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 3.5rem;
	flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.85rem;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-text-main);
	text-decoration: none;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-fast);
}

.pagination-wrapper a.page-numbers:hover {
	background: var(--color-primary-subtle);
	color: var(--color-primary);
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.pagination-wrapper .page-numbers.current {
	background: var(--color-primary);
	color: #ffffff;
	border-color: var(--color-primary);
	box-shadow: 0 4px 12px rgba(6, 78, 59, 0.3);
}

.pagination-wrapper .page-numbers.dots {
	border: none;
	background: transparent;
	box-shadow: none;
	color: var(--color-text-muted);
}

/* WordPress post-pagination nav-links compatibility */
.pagination-wrapper .nav-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

/* Empty Notice */
.news-empty-notice {
	text-align: center;
	padding: 4rem 2rem;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	color: var(--color-text-muted);
	font-size: 1.1rem;
}

/* Standard Single Page / Post Styles */
.single-post-card,
.page-single-card {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	padding: 2.5rem 3rem;
	box-shadow: var(--shadow-sm);
	margin-bottom: 3rem;
}

@media (max-width: 768px) {

	.single-post-card,
	.page-single-card {
		padding: 1.75rem 1.25rem;
	}
}

.single-entry-header,
.page-entry-header {
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--color-border);
	padding-bottom: 1.5rem;
}

.single-entry-title,
.page-entry-title {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 800;
	color: var(--color-text-main);
	line-height: 1.25;
	margin-top: 0.75rem;
}

.single-meta-top {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: var(--color-text-muted);
}

.badge-inline {
	position: static !important;
	display: inline-block;
}

.single-date,
.single-author {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.single-entry-thumb {
	margin-bottom: 2.5rem;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--color-border);
	width: 100%;
	text-align: center;
	background-color: #f8fafc;
}

.single-hero-img {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Typography for inner page content */
.typography-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: #334155;
}

.typography-content p {
	margin-bottom: 1.5rem;
}

.typography-content h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-primary-dark);
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.typography-content h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
}

.typography-content ul,
.typography-content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.typography-content ul {
	list-style: disc;
}

.typography-content ol {
	list-style: decimal;
}

.typography-content li {
	margin-bottom: 0.5rem;
}

.typography-content blockquote {
	border-left: 4px solid var(--color-primary);
	padding: 1rem 1.5rem;
	background: var(--color-primary-subtle);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	margin: 2rem 0;
	font-style: italic;
	color: var(--color-primary-dark);
}

.typography-content img {
	border-radius: var(--radius-md);
	margin: 2rem auto;
}

/* Breadcrumb in standard page */
.page-breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 0.75rem;
}

.page-breadcrumb a {
	color: var(--color-primary);
	font-weight: 600;
}

.page-breadcrumb a:hover {
	color: var(--color-gold-hover);
}

/* ==========================================================================
   18. AGENDA PERPUSTAKAAN (COMPACT INTERACTIVE CALENDAR WIDGET)
   ========================================================================== */
.section-agenda-calendar {
	background-color: #f8fafc;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	position: relative;
}

.section-agenda-calendar .section-header {
	margin-bottom: 1.75rem;
}

.section-agenda-calendar .section-title {
	font-size: 1.85rem;
	margin-bottom: 0;
}

.lib-agenda-calendar-container {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 20px;
	max-width: 960px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 20px 22px;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

/* Calendar Column */
.lib-calendar-wrapper {
	display: flex;
	flex-direction: column;
}

.lib-calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.lib-calendar-month-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	margin: 0;
	letter-spacing: -0.01em;
}

.lib-calendar-nav-btns {
	display: flex;
	gap: 6px;
}

.lib-calendar-nav-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid var(--color-primary);
	background: #ffffff;
	color: var(--color-primary);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition-fast);
	outline: none;
	padding: 0;
}

.lib-calendar-nav-btn svg {
	width: 14px;
	height: 14px;
}

.lib-calendar-nav-btn:hover {
	background: var(--color-primary);
	color: #ffffff;
	transform: scale(1.05);
}

.lib-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.lib-calendar-weekday {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 0;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 4px;
}

.lib-calendar-day-cell {
	position: relative;
	padding-bottom: 95%;
	height: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: all var(--transition-fast);
	background: transparent;
}

.lib-calendar-day-cell:hover {
	background: var(--color-primary-subtle);
}

.lib-calendar-day-cell .day-number-inner {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-main);
	z-index: 2;
}

.lib-calendar-day-cell.other-month {
	opacity: 0.2;
	cursor: default;
	pointer-events: none;
}

.lib-calendar-day-cell.today {
	border: 1.5px solid var(--color-primary);
}

.lib-calendar-day-cell.active {
	background: var(--color-primary) !important;
	box-shadow: 0 2px 8px rgba(6, 78, 59, 0.25);
}

.lib-calendar-day-cell.active .day-number-inner {
	color: #ffffff;
	font-weight: 700;
}

/* Has event indicator */
.lib-calendar-day-cell.has-event {
	background: rgba(200, 147, 25, 0.1);
}

.lib-calendar-day-cell.has-event::after {
	content: '';
	position: absolute;
	bottom: 3px;
	left: 50%;
	transform: translateX(-50%);
	width: 5px;
	height: 5px;
	background-color: var(--color-gold);
	border-radius: 50%;
	z-index: 3;
}

.lib-calendar-day-cell.active.has-event::after {
	background-color: #ffffff;
}

/* Details Panel Column */
.lib-calendar-details-panel {
	background: #f8fafc;
	border-radius: var(--radius-md);
	padding: 16px 18px;
	border: 1px solid var(--color-border-subtle);
	display: flex;
	flex-direction: column;
}

.lib-details-header {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border);
}

.lib-details-badge {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--color-gold-hover);
	background: var(--color-gold-light);
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-pill);
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.lib-details-date-title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	margin: 0;
	line-height: 1.3;
}

.lib-details-sub {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin: 2px 0 0 0;
	font-weight: 500;
}

.lib-details-content-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
	max-height: 250px;
	padding-right: 3px;
}

.lib-details-content-list::-webkit-scrollbar {
	width: 4px;
}

.lib-details-content-list::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.lib-agenda-detail-card {
	background: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 10px 14px;
	box-shadow: var(--shadow-xs);
	transition: all var(--transition-fast);
}

.lib-agenda-detail-card:hover {
	transform: translateY(-2px);
	border-color: rgba(200, 147, 25, 0.4);
	box-shadow: var(--shadow-sm);
}

.lib-agenda-detail-card h5 {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin: 0 0 6px 0;
	line-height: 1.35;
}

.lib-detail-card-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lib-detail-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	color: var(--color-text-muted);
}

.lib-detail-meta-item svg {
	width: 12px;
	height: 12px;
	color: var(--color-gold);
	flex-shrink: 0;
}

.lib-no-agenda-msg {
	text-align: center;
	padding: 24px 12px;
	color: var(--color-text-muted);
	font-size: 0.8125rem;
}

.lib-no-agenda-msg svg {
	display: block;
	margin: 0 auto 8px;
	color: #cbd5e1;
	width: 32px;
	height: 32px;
}

/* Responsiveness */
@media (max-width: 860px) {
	.lib-agenda-calendar-container {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 16px;
	}
}

/* ==========================================================================
   19. UNIVERSAL IMAGE & CONTENT STYLING PADA HALAMAN (OTOMATIS FULL-WIDTH)
   ========================================================================== */
/* Memastikan gambar bagan, struktur, dan dokumen pada halaman statis (page.php) tidak mengecil */
.page-entry-content p img,
.page-entry-content>img,
.page-entry-content figure img,
.page-entry-content .wp-block-image img,
.page-entry-content img.alignleft,
.page-entry-content img.alignright,
.page-entry-content img.aligncenter,
.page-entry-content img.alignnone,
.page-entry-content .alignleft,
.page-entry-content .alignright {
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 1.5rem auto !important;
	border-radius: var(--radius-lg);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid var(--color-border);
	cursor: zoom-in;
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.page-entry-content img:hover {
	box-shadow: var(--shadow-lg);
}

/* Pembungkus gambar halaman agar dapat di-scroll horizontal secara mulus di ponsel */
.page-entry-content p:has(img) {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	text-align: center;
}

/* Universal Lightbox Modal untuk seluruh gambar di website */
.global-image-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 9999999;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.global-image-lightbox.active {
	opacity: 1;
	visibility: visible;
}

.global-lightbox-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.75rem;
	background: rgba(15, 23, 42, 0.8);
	color: #ffffff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.global-lightbox-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: #f1f5f9;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.global-lightbox-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.global-lightbox-btn {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #ffffff;
	padding: 0.4rem 0.85rem;
	border-radius: var(--radius-pill);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	transition: background var(--transition-fast);
}

.global-lightbox-btn:hover {
	background: rgba(255, 255, 255, 0.3);
	color: #ffffff;
}

.global-lightbox-close {
	background: rgba(239, 68, 68, 0.25);
	border: 1px solid rgba(239, 68, 68, 0.4);
	color: #ffffff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background var(--transition-fast);
}

.global-lightbox-close:hover {
	background: #ef4444;
}

.global-lightbox-body {
	flex: 1;
	overflow: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	cursor: zoom-out;
}

.global-lightbox-img {
	max-width: 95vw;
	max-height: 85vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius-md);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
	transition: transform 0.2s ease;
	cursor: default;
}