/**
 * Custom Theme Stylesheet for Tema Hasbi
 * Institut Islam El-Hasbiyin Muaro Jambi
 * Subdomain: info.elhasbiyin.ac.id
 *
 * Sesuai dengan "Design System: Institut Islam El-Hasbiyin Muaro Jambi"
 *
 * @package TemaHasbi
 */

:root {
	/* ==============================================================
	   1. PALET WARNA (COLOR PALETTE & TOKENS)
	   ============================================================== */
	/* A. Warna Utama (Primary Emerald Greens) */
	--primary: #0b5e3f;
	--primary-dark: #063c28;
	--primary-light: #128258;
	--primary-subtle: #e8f5ee;
	--primary-gradient: linear-gradient(135deg, #0b5e3f 0%, #063c28 100%);

	/* B. Warna Aksen (Secondary / Gold Amber) */
	--gold: #d49210;
	--gold-dark: #b27605;
	--gold-light: #fef3c7;
	--gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

	/* C. Latar Belakang Gelap (Dark Institutional) */
	--dark-bg: #091712;
	--dark-surface: #0f241c;
	--dark-border: rgba(255, 255, 255, 0.12);

	/* D. Warna Teks (Typography Colors) */
	--text-main: #1e293b;
	--text-muted: #64748b;
	--text-light: #94a3b8;
	--text-white: #ffffff;

	/* E. Latar Belakang Netral & Border */
	--bg-white: #ffffff;
	--bg-light: #f8fafc;
	--border-light: #e2e8f0;

	/* F. Warna Brand Pihak Ketiga */
	--social-wa: #25d366;
	--social-wa-hover: #20ba5a;
	--social-fb: #1877f2;
	--social-ig: #e1306c;

	/* ==============================================================
	   2. BENTUK SUDUT (BORDER RADIUS)
	   ============================================================== */
	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-full: 9999px;

	/* ==============================================================
	   3. BAYANGAN (BOX SHADOW & ELEVATION)
	   ============================================================== */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--shadow-glow: 0 0 25px rgba(11, 94, 63, 0.25);

	/* ==============================================================
	   4. TRANSISI & ANIMASI (MOTION)
	   ============================================================== */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-reveal: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

	/* ==============================================================
	   BACKWARD COMPATIBILITY ALIASES
	   ============================================================== */
	--uin-primary: var(--primary);
	--uin-primary-dark: var(--primary-dark);
	--uin-primary-light: var(--primary-light);
	--uin-green: var(--primary);
	--uin-green-light: var(--primary-light);
	--uin-gold: var(--gold);
	--uin-gold-hover: var(--gold-dark);
	--uin-dark: var(--dark-bg);
	--uin-slate: var(--text-muted);
	--uin-light-bg: var(--bg-light);
	--uin-border: var(--border-light);
	--uin-radius: var(--radius-md);
	--uin-radius-lg: var(--radius-lg);
	--uin-shadow-sm: var(--shadow-sm);
	--uin-shadow-md: var(--shadow-md);
	--uin-shadow-lg: var(--shadow-lg);
}

/* ==============================================================
   GLOBAL BASE & TYPOGRAPHY (Inter 400 - 700 Only)
   ============================================================== */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-weight: 400;
	color: var(--text-main);
	background-color: var(--bg-white);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.015em;
	line-height: 1.3;
}

p {
	margin-bottom: 1.25rem;
	line-height: 1.7;
}

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

a:hover {
	color: var(--primary-dark);
}

/* Utilities */
.shadow-xs {
	box-shadow: var(--shadow-sm);
}

.shadow-md {
	box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
	box-shadow: var(--shadow-lg) !important;
}

.line-clamp-1 {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.object-fit-cover {
	object-fit: cover;
}

.hover-primary:hover {
	color: var(--primary) !important;
	transition: color var(--transition-fast);
}

.hover-underline:hover {
	text-decoration: underline !important;
}

/* Container Constraint */
.container {
	max-width: 1140px;
}

/* ==============================================================
   EDITORIAL SECTION HEADERS (.sub-title & .main-title)
   ============================================================== */
.sub-title {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--primary);
	margin-bottom: 0.25rem;
	display: block;
}

.main-title {
	font-size: 2.15rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	margin-bottom: 0.25rem;
}

.section-desc {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.sub-title {
		font-size: 0.80rem;
	}

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

.section-header-clean {
	padding-bottom: 1rem;
	margin-bottom: 1.75rem;
	border-bottom: 1px solid var(--border-light);
}

/* ==============================================================
   BUTTONS (Design System 6.A)
   ============================================================== */
.btn {
	font-size: 0.875rem;
	transition: all var(--transition-fast);
}

/* 1. btn-primary */
.btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	font-weight: 700;
	border-radius: var(--radius-sm);
	padding: 0.55rem 1.25rem;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: var(--primary-dark) !important;
	border-color: var(--primary-dark) !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

/* 2. btn-secondary / outline */
.btn-secondary,
.btn-outline-primary {
	background-color: transparent;
	border: 1.5px solid var(--primary);
	color: var(--primary);
	font-weight: 700;
	border-radius: var(--radius-sm);
	padding: 0.55rem 1.25rem;
}

.btn-secondary:hover,
.btn-outline-primary:hover,
.btn-secondary:focus,
.btn-outline-primary:focus {
	background-color: var(--primary-subtle) !important;
	border-color: var(--primary) !important;
	color: var(--primary-dark) !important;
	transform: translateY(-1px);
}

/* ==============================================================
   SITE HEADER & NAVBAR
   ============================================================== */
.site-header {
	background-color: var(--bg-white);
	border-bottom: 1px solid var(--border-light);
	transition: all var(--transition-normal);
	z-index: 1030;
}

.site-header.is-scrolled {
	box-shadow: var(--shadow-sm) !important;
}

/* Logo & Branding */
.navbar-brand-wrapper {
	display: flex;
	align-items: center;
	max-width: 320px;
	min-height: 48px;
}

.site-logo,
.navbar-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	margin: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	max-height: 50px;
}

.custom-logo,
.site-logo img,
.navbar-brand-wrapper img,
.navbar-brand img {
	max-height: 48px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
	display: block;
	transition: opacity var(--transition-fast), transform var(--transition-fast);
	image-rendering: -webkit-optimize-contrast;
}

.custom-logo-link:hover .custom-logo,
.site-logo:hover img {
	opacity: 0.92;
}

.brand-emblem .emblem-circle {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-md);
	background: var(--primary-gradient);
}

.emblem-circle-sm {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm);
	background: var(--primary-gradient);
}

.brand-title {
	letter-spacing: 0.3px;
	color: var(--primary) !important;
	font-size: 1.1rem;
	font-weight: 700;
}

.brand-sub {
	font-size: 0.775rem;
	color: var(--text-muted);
}

/* Offcanvas & Footer Logo constraints */
.offcanvas-logo .custom-logo,
.offcanvas-logo img {
	max-height: 44px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.footer-logo .custom-logo,
.footer-logo img {
	max-height: 52px;
	width: auto;
	max-width: 260px;
	object-fit: contain;
}

/* Navigation Menu */
.navbar-nav .nav-link {
	color: #334155;
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 0.5rem 0.85rem;
	position: relative;
	transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	color: var(--primary);
}

.navbar-nav .nav-link:not(.dropdown-toggle)::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: var(--gold);
	transition: width var(--transition-fast);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
	width: calc(100% - 1.7rem);
}

/* ==============================================================
   SIMPLE DROPDOWN CHEVRON ICON (SIDE BY SIDE WITH TEXT)
   ============================================================== */
.dropdown-toggle,
.navbar-nav .dropdown-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.35rem !important;
	white-space: nowrap !important;
}

.dropdown-toggle::after,
.navbar .dropdown-toggle::after,
.mobile-navigation .dropdown-toggle::after {
	position: static !important;
	display: inline-block !important;
	width: auto !important;
	height: auto !important;
	background: transparent !important;
	font-family: 'bootstrap-icons' !important;
	content: "\f282" !important;
	/* bi-chevron-down */
	font-style: normal;
	font-weight: 400 !important;
	font-size: 0.72rem;
	line-height: 1;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: middle !important;
	transition: transform var(--transition-fast);
}

.navbar .dropdown.show>.dropdown-toggle::after,
.navbar .dropdown-toggle.show::after,
.navbar .dropdown-toggle[aria-expanded="true"]::after,
.mobile-navigation .dropdown.show>.dropdown-toggle::after,
.mobile-navigation .dropdown-toggle[aria-expanded="true"]::after {
	transform: rotate(180deg) !important;
}

.dropdown-menu .dropdown-toggle {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	width: 100%;
}

.dropdown-menu .dropdown-toggle::after {
	content: "\f285" !important;
	/* bi-chevron-right */
	margin-left: auto !important;
	transform: none !important;
}

.dropdown-menu .dropdown-toggle[aria-expanded="true"]::after {
	transform: rotate(90deg) !important;
}

/* Dropdown Menu - Clean, no icons needed */
.dropdown-menu {
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border-light);
	padding: 0.5rem 0;
	background-color: var(--bg-white);
	animation: dropdownFadeIn 0.2s ease forwards;
}

@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

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

.dropdown-item {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-main);
	padding: 0.55rem 1.25rem;
	transition: all var(--transition-fast);
}

.dropdown-item:hover {
	background-color: var(--primary-subtle);
	color: var(--primary-dark);
	padding-left: 1.45rem;
}

/* Header Action Buttons (Search & Dark Mode Toggle) */
.btn-theme-toggle,
.btn-search-trigger {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-white);
	color: var(--text-muted);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-full);
	transition: all var(--transition-fast);
	cursor: pointer;
}

.btn-theme-toggle:hover,
.btn-search-trigger:hover {
	background: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
	transform: translateY(-1px);
}

/* GTranslate Language Switcher Header Integration */
.gtranslate-header-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.gtranslate-header-wrapper .gtranslate_wrapper,
.gtranslate-header-wrapper .switcher {
	margin: 0 !important;
	padding: 0 !important;
}

.gtranslate-header-wrapper select {
	height: 36px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border-light);
	background-color: var(--bg-white);
	color: var(--text-main);
	font-size: 0.8125rem;
	padding: 0.25rem 0.75rem;
	cursor: pointer;
	outline: none;
	transition: all var(--transition-fast);
}

.gtranslate-header-wrapper select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px rgba(11, 94, 63, 0.15);
}

[data-bs-theme="dark"] .gtranslate-header-wrapper select {
	background-color: var(--dark-surface);
	border-color: var(--dark-border);
	color: #e2e8f0;
}

/* ==============================================================
   CATEGORY & STATUS BADGES
   ============================================================== */
.badge-uin {
	background-color: #eaf5ee;
	color: #0b5e3f !important;
	font-size: 0.725rem;
	font-weight: 700;
	padding: 0.35rem 0.8rem;
	border-radius: 8px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	border: 1px solid rgba(11, 94, 63, 0.12);
	transition: all var(--transition-fast);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	position: relative !important;
	width: auto !important;
	height: auto !important;
	text-decoration: none !important;
	z-index: 2;
}

.badge-uin:hover {
	background-color: #0b5e3f !important;
	color: #ffffff !important;
	border-color: #0b5e3f !important;
}

/* ==============================================================
   HERO SLIDER
   ============================================================== */
.hero-slider-section .carousel {
	border-radius: var(--radius-lg);
}

.hero-slide-card {
	background-size: cover;
	background-position: center;
	border-radius: var(--radius-lg);
	min-height: 600px;
}

.hero-slide-overlay {
	background: linear-gradient(to top, rgba(9, 23, 18, 0.96) 0%, rgba(9, 23, 18, 0.7) 45%, rgba(0, 0, 0, 0.3) 100%);
	border-radius: var(--radius-lg);
}

.hero-slide-title {
	font-size: clamp(1.4rem, 2.8vw, 2.35rem);
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
}

.hero-slide-meta {
	font-size: 0.85rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
}

.carousel-indicators [data-bs-target] {
	width: 28px;
	height: 4px;
	border-radius: var(--radius-sm);
	background-color: rgba(255, 255, 255, 0.4);
	border: 0;
	transition: all var(--transition-normal);
}

.carousel-indicators .active {
	width: 48px;
	background-color: var(--gold);
}

.carousel-control-prev,
.carousel-control-next {
	width: 64px;
	opacity: 0.9;
	transition: opacity var(--transition-fast);
	z-index: 5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
	opacity: 1;
}

.carousel-control-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	background-color: rgba(9, 23, 18, 0.65);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 1.15rem;
	transition: all var(--transition-fast);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev:hover .carousel-control-btn,
.carousel-control-next:hover .carousel-control-btn,
.carousel-control-btn:hover {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	transform: scale(1.08);
}

/* ==============================================================
   CARDS & HOVER EFFECTS
   ============================================================== */
.card {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-light);
	background-color: var(--bg-white);
}

.card-hover-elevate {
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-hover-elevate:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md) !important;
}

.transition-transform {
	transition: transform 0.4s ease;
}

/* ==============================================================
   16:9 ASPECT RATIO THUMBNAIL SYSTEM
   ============================================================== */
.ratio-16x9,
.card-img-wrapper,
.article-thumbnail-ratio,
.page-thumbnail-ratio {
	aspect-ratio: 16 / 9 !important;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.ratio-16x9 img,
.ratio-16x9 .card-img-top,
.card-img-wrapper img,
.card-img-wrapper .card-img-top,
.article-thumbnail-ratio img,
.page-thumbnail-ratio img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
	display: block;
}

.card:hover .transition-transform {
	transform: scale(1.04);
}

/* Horizontal News Card */
.news-horizontal-card {
	transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.news-horizontal-card .card-img-wrapper {
	aspect-ratio: 16 / 9 !important;
	width: 100%;
}

.news-horizontal-card:hover .transition-transform {
	transform: scale(1.05);
}

/* Post Meta (Clean Editorial Typography) */
.post-meta-clean {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
}

.post-meta-clean .meta-sep {
	color: #cbd5e1;
	margin: 0 0.35rem;
}

/* ==============================================================
   POPULAR POSTS & SIDEBAR
   ============================================================== */
.sidebar-wrapper .card {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-light);
}

.widget-title,
.sidebar-wrapper .wp-block-heading,
.sidebar-wrapper .widget h1:first-child,
.sidebar-wrapper .widget h2:first-child,
.sidebar-wrapper .widget h3:first-child,
.sidebar-wrapper .widget h4:first-child,
.sidebar-wrapper .widget h5:first-child,
.sidebar-wrapper .widget h6:first-child,
.sidebar-wrapper .widget .card-body > h1:first-child,
.sidebar-wrapper .widget .card-body > h2:first-child,
.sidebar-wrapper .widget .card-body > h3:first-child,
.sidebar-wrapper .widget .card-body > h4:first-child,
.sidebar-wrapper .widget .card-body > h5:first-child,
.sidebar-wrapper .widget .card-body > h6:first-child {
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #0f172a;
	padding-bottom: 0.75rem;
	margin-bottom: 1rem;
	border-bottom: 2px solid var(--border-light);
	position: relative;
	line-height: 1.4;
}

.widget-title::after,
.sidebar-wrapper .wp-block-heading::after,
.sidebar-wrapper .widget h1:first-child::after,
.sidebar-wrapper .widget h2:first-child::after,
.sidebar-wrapper .widget h3:first-child::after,
.sidebar-wrapper .widget h4:first-child::after,
.sidebar-wrapper .widget h5:first-child::after,
.sidebar-wrapper .widget h6:first-child::after,
.sidebar-wrapper .widget .card-body > h1:first-child::after,
.sidebar-wrapper .widget .card-body > h2:first-child::after,
.sidebar-wrapper .widget .card-body > h3:first-child::after,
.sidebar-wrapper .widget .card-body > h4:first-child::after,
.sidebar-wrapper .widget .card-body > h5:first-child::after,
.sidebar-wrapper .widget .card-body > h6:first-child::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--primary);
}

.sidebar-wrapper .widget {
	border-radius: var(--radius-md);
	border: 1px solid var(--border-light);
	background: var(--bs-card-bg, #ffffff);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.sidebar-wrapper .widget:last-child {
	margin-bottom: 0;
}

.sidebar-wrapper .widget p {
	font-size: 0.9375rem;
	color: var(--text-main);
	line-height: 1.6;
	margin-bottom: 0.75rem;
}

.sidebar-wrapper .widget p:last-child {
	margin-bottom: 0;
}

.sidebar-wrapper .widget ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}

.sidebar-wrapper .widget ul li {
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--border-light);
	font-size: 0.875rem;
	line-height: 1.5;
}

.sidebar-wrapper .widget ul li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.sidebar-wrapper .widget ul li a {
	color: #1e293b;
	text-decoration: none;
	transition: all var(--transition-fast);
}

.sidebar-wrapper .widget ul li a:hover {
	color: var(--primary);
	transform: translateX(3px);
	display: inline-block;
}

.sidebar-wrapper .widget input[type="text"],
.sidebar-wrapper .widget input[type="search"] {
	border: 1px solid var(--border-light);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	width: 100%;
}

.popular-item {
	transition: background-color var(--transition-fast);
}

.popular-rank-badge {
	width: 46px;
	height: 46px;
	min-width: 46px;
	font-size: 1.35rem;
	font-weight: 800;
	font-style: italic;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	background-color: var(--bg-light) !important;
	color: #0f172a !important;
	border: 1px solid var(--border-light) !important;
	transition: all var(--transition-fast);
	line-height: 1;
	padding-right: 2px;
}

.popular-item:hover .popular-rank-badge,
.popular-rank-badge:hover {
	background-color: var(--primary) !important;
	border-color: var(--primary) !important;
	color: #ffffff !important;
	transform: scale(1.08);
}

/* Agenda / Timeline Items */
.agenda-date-box {
	min-width: 52px;
	background: var(--bg-light);
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-light);
	text-align: center;
	padding: 0.4rem 0.25rem;
}

.agenda-date-box .agenda-day {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	color: var(--primary) !important;
}

.agenda-date-box .agenda-month {
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text-muted);
}

/* ==============================================================
   SMART CAMPUS (MAGAZINE SECTION)
   ============================================================== */
.section-smartcampus {
	position: relative;
}

.magazine-card {
	background: #ffffff;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-light);
}

.magazine-cover-wrapper {
	background-color: #063c28;
}

.magazine-img {
	transition: transform 0.4s ease;
}

.magazine-card:hover .magazine-img {
	transform: scale(1.04);
}

.magazine-overlay {
	background: rgba(9, 23, 18, 0.82);
	backdrop-filter: blur(2px);
	transition: opacity var(--transition-fast);
}

.magazine-card:hover .magazine-overlay {
	opacity: 1 !important;
}

/* ==============================================================
   ARTICLE DETAIL & FEED CARDS (SINGLE, PAGE, ARCHIVE)
   ============================================================== */
.article-single,
.archive-card {
	background-color: #ffffff;
}

.archive-card .news-horizontal-card {
	border: 0 !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--border-light) !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 0.85rem 0 !important;
	margin-bottom: 0 !important;
}

.archive-card .col-12:first-child .news-horizontal-card {
	padding-top: 0 !important;
}

.archive-card .col-12:last-child .news-horizontal-card {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.article-single .article-title {
	font-size: clamp(1.75rem, 3vw, 2.45rem);
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.article-content {
	font-size: 1.0625rem;
	color: var(--text-main);
	line-height: 1.8;
}

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

/* Agenda Detail Box (Gutenberg Block & Template) */
.agenda-detail-box {
	background-color: #f1f3f5;
	border-radius: var(--radius-md, 8px);
	padding: 1.5rem 1.75rem;
	margin: 1.75rem 0;
	font-size: 0.95rem;
	color: #1e293b;
	border: 1px solid var(--border-light);
}

.agenda-detail-grid {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.agenda-row {
	display: grid;
	grid-template-columns: 140px 15px 1fr;
	align-items: baseline;
	line-height: 1.6;
}

@media (max-width: 576px) {
	.agenda-detail-box {
		padding: 1.25rem 1rem;
	}
	.agenda-row {
		grid-template-columns: 110px 12px 1fr;
		font-size: 0.875rem;
		gap: 2px;
	}
}

.agenda-label {
	font-weight: 700;
	color: #0f172a;
}

.agenda-sep {
	font-weight: 700;
	color: #475569;
}

.agenda-value {
	color: #334155;
	word-break: break-word;
}

.agenda-value a {
	color: var(--primary);
	text-decoration: underline;
	transition: color var(--transition-fast);
}

.agenda-value a:hover {
	color: var(--primary-dark);
}

[data-bs-theme="dark"] .agenda-detail-box {
	background-color: #0f241c;
	border-color: var(--dark-border);
	color: #e2e8f0;
}

[data-bs-theme="dark"] .agenda-label {
	color: #ffffff;
}

[data-bs-theme="dark"] .agenda-sep {
	color: #94a3b8;
}

[data-bs-theme="dark"] .agenda-value {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .agenda-value a {
	color: #34d399;
}

.article-content blockquote {
	border-left: 4px solid var(--primary);
	padding: 1rem 1.5rem;
	background-color: var(--bg-light);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--text-main);
	margin: 1.75rem 0;
}

.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	margin: 1.5rem 0;
}

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

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

.article-content table th {
	background-color: var(--bg-light);
	font-weight: 600;
	color: #0f172a;
}

.author-bio-card {
	background-color: var(--bg-light);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
}

/* Baca Juga Box (In-Article Related Post - Standar Media Nasional) */
.baca-juga-box {
	background-color: #f8fafc;
	border-left: 4px solid #f59e0b !important;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	padding: 1rem 1.25rem;
	margin: 1.75rem 0;
	line-height: 1.6;
	font-size: 1rem;
}

.baca-juga-box .baca-juga-label {
	color: #0f172a;
	font-weight: 700;
	margin-right: 0.35rem;
}

.baca-juga-box .baca-juga-link {
	color: #1e293b;
	font-weight: 500;
	transition: color var(--transition-fast);
}

.baca-juga-box .baca-juga-link:hover {
	color: var(--primary) !important;
	text-decoration: underline !important;
}

.baca-juga-box .baca-juga-item.border-top {
	border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Social Share Box Uniform Button Sizing */
.share-box .btn {
	padding: 0.35rem 0.75rem !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	border-radius: var(--radius-sm);
}

/* ==============================================================
   PAGE HEADER & BREADCRUMBS
   ============================================================== */
.site-main {
	background-color: var(--bg-white);
}

.page-header,
.single-post-header {
	background-color: var(--bg-white);
	border-bottom: 1px solid var(--border-light);
}

/* Sidebar & Widgets White Background */
.sidebar-wrapper,
.sidebar-wrapper .card,
.sidebar-wrapper .card-header,
.sidebar-wrapper .card-body,
.sidebar-wrapper .widget,
.widget-area,
.widget-area .card,
.widget-area .card-header,
.widget-area .card-body,
.widget-area .widget {
	background-color: var(--bg-white) !important;
}

[data-bs-theme="dark"] .site-main {
	background-color: var(--dark-bg) !important;
}

[data-bs-theme="dark"] .sidebar-wrapper,
[data-bs-theme="dark"] .sidebar-wrapper .card,
[data-bs-theme="dark"] .sidebar-wrapper .card-header,
[data-bs-theme="dark"] .sidebar-wrapper .card-body,
[data-bs-theme="dark"] .sidebar-wrapper .widget,
[data-bs-theme="dark"] .widget-area,
[data-bs-theme="dark"] .widget-area .card,
[data-bs-theme="dark"] .widget-area .card-header,
[data-bs-theme="dark"] .widget-area .card-body,
[data-bs-theme="dark"] .widget-area .widget {
	background-color: var(--dark-surface) !important;
}

.breadcrumb-nav {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE / Edge */
	padding: 0.15rem 0;
}

.breadcrumb-nav::-webkit-scrollbar {
	display: none;
	/* Chrome, Safari, Opera */
}

.breadcrumb-custom {
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
	display: inline-flex !important;
	flex-wrap: nowrap !important;
	white-space: nowrap !important;
	margin-bottom: 0 !important;
}

.breadcrumb-custom .breadcrumb-item {
	display: inline-flex;
	align-items: center;
	color: var(--text-muted);
	white-space: nowrap !important;
	flex-shrink: 0;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
	content: "/" !important;
	font-family: inherit !important;
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--text-muted);
	opacity: 0.55;
	padding: 0 0.5rem;
	float: none;
}

.breadcrumb-custom .breadcrumb-link {
	color: var(--text-muted);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	white-space: nowrap !important;
	transition: color var(--transition-fast);
}

.breadcrumb-custom .breadcrumb-link:hover {
	color: var(--primary);
	text-decoration: underline;
}

.breadcrumb-custom .breadcrumb-item.active {
	color: var(--text-dark);
	font-weight: 600;
	white-space: nowrap !important;
	max-width: none !important;
	overflow: visible !important;
	text-overflow: clip !important;
	flex-shrink: 0;
}

@media (max-width: 767.98px) {
	.breadcrumb-custom {
		font-size: 0.75rem;
	}
}

/* ==============================================================
   PAGINATION
   ============================================================== */
.pagination-uin .page-item .page-link {
	border-radius: var(--radius-sm);
	margin: 0 3px;
	border: 1px solid var(--border-light);
	color: var(--primary);
	font-weight: 600;
	padding: 0.5rem 0.9rem;
	transition: all var(--transition-fast);
}

.pagination-uin .page-item.active .page-link {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
}

.pagination-uin .page-item .page-link:hover:not(.active) {
	background-color: var(--primary-subtle);
	border-color: var(--primary-light);
	color: var(--primary-dark);
}

/* ==============================================================
   FOOTER (Dark Institutional Reference #041a13)
   ============================================================== */
.site-footer {
	background-color: #041a13 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
}

.site-footer p,
.site-footer .footer-desc {
	color: #cbd5e1;
	line-height: 1.7;
}

.site-footer .footer-logo,
.site-footer .footer-logo-box {
	background: transparent !important;
	padding: 0 !important;
	display: inline-block;
}

.site-footer .footer-logo img,
.site-footer .footer-logo .custom-logo,
.site-footer .footer-logo-box img {
	max-height: 52px;
	max-width: 260px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Headings & Widget Titles (h1-h6, Block Heading, Widget Titles) */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .footer-heading,
.site-footer .footer-title,
.site-footer .widget-title,
.site-footer .widgettitle,
.site-footer .wp-block-heading {
	font-size: 1.05rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin-top: 0;
	margin-bottom: 1.125rem;
	letter-spacing: -0.2px;
	border-bottom: none !important;
	padding-bottom: 0 !important;
	line-height: 1.4;
}

/* General Block & Widget Containers */
.site-footer .footer-widget,
.site-footer .widget,
.site-footer .wp-block-group,
.site-footer .footer-widget-col > div {
	margin-bottom: 1.5rem;
	background: transparent;
}

.site-footer .footer-widget:last-child,
.site-footer .widget:last-child,
.site-footer .footer-widget-col > div:last-child {
	margin-bottom: 0;
}

/* Paragraphs in Footer */
.site-footer p,
.site-footer .wp-block-paragraph,
.site-footer .footer-desc {
	color: #cbd5e1;
	font-size: 0.875rem;
	line-height: 1.7;
	margin-bottom: 0.875rem;
}

.site-footer p:last-child,
.site-footer .wp-block-paragraph:last-child {
	margin-bottom: 0;
}

/* Navigation Menus, Page Lists, & Custom Lists in Footer */
.site-footer .wp-block-navigation,
.site-footer .wp-block-navigation__container,
.site-footer .wp-block-navigation__submenu-container,
.site-footer .widget_nav_menu ul,
.site-footer .wp-block-page-list,
.site-footer .footer-widget ul,
.site-footer .footer-links {
	list-style: none !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
	margin-bottom: 0;
}

.site-footer .wp-block-navigation .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.site-footer .wp-block-navigation-item,
.site-footer .widget_nav_menu li,
.site-footer .wp-block-page-list li,
.site-footer .footer-widget ul li,
.site-footer .footer-links li,
.site-footer .wp-block-list li {
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
}

/* Unified Link Styling in Footer */
.site-footer .wp-block-navigation a,
.site-footer .wp-block-navigation-item__content,
.site-footer .wp-block-pages-list__item__link,
.site-footer .widget_nav_menu a,
.site-footer .footer-widget ul li a,
.site-footer .footer-links a,
.site-footer .footer-link,
.site-footer .footer-widget a:not(.btn):not(.social-circle-btn):not(.social-btn):not(.wp-block-button__link):not(.badge) {
	color: #cbd5e1 !important;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	line-height: 1.6;
	transition: color var(--transition-fast), transform var(--transition-fast);
}

.site-footer .wp-block-navigation a:hover,
.site-footer .wp-block-navigation-item__content:hover,
.site-footer .wp-block-pages-list__item__link:hover,
.site-footer .widget_nav_menu a:hover,
.site-footer .footer-widget ul li a:hover,
.site-footer .footer-links a:hover,
.site-footer .footer-link:hover,
.site-footer .footer-widget a:not(.btn):not(.social-circle-btn):not(.social-btn):not(.wp-block-button__link):not(.badge):hover {
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateX(3px);
}

/* Navigation Submenu */
.site-footer .wp-block-navigation .wp-block-navigation__submenu-container,
.site-footer .widget_nav_menu .sub-menu {
	padding-left: 0.875rem !important;
	margin-top: 0.35rem;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Search Block in Footer */
.site-footer .wp-block-search {
	margin-bottom: 1.25rem;
}

.site-footer .wp-block-search .wp-block-search__label {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	display: block;
}

.site-footer .wp-block-search .wp-block-search__inside-wrapper {
	background: transparent;
	border: none;
	padding: 0;
	gap: 0.5rem;
}

.site-footer .wp-block-search .wp-block-search__input {
	background-color: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	color: #ffffff !important;
	font-size: 0.875rem;
	padding: 0.5rem 0.875rem;
	border-radius: var(--radius-sm, 6px);
}

.site-footer .wp-block-search .wp-block-search__input::placeholder {
	color: #94a3b8 !important;
}

.site-footer .wp-block-search .wp-block-search__input:focus {
	border-color: rgba(255, 255, 255, 0.35) !important;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
	outline: none;
}

.site-footer .wp-block-search .wp-block-search__button {
	background-color: var(--primary-color, #1b5e20) !important;
	border: 1px solid var(--primary-color, #1b5e20) !important;
	color: #ffffff !important;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm, 6px);
	transition: all var(--transition-fast);
}

.site-footer .wp-block-search .wp-block-search__button:hover {
	background-color: var(--primary-dark, #0d3813) !important;
	border-color: var(--primary-dark, #0d3813) !important;
}

/* Latest Posts, Categories, Archives, Comments */
.site-footer .wp-block-latest-posts,
.site-footer .wp-block-categories,
.site-footer .wp-block-archives,
.site-footer .wp-block-latest-comments {
	list-style: none !important;
	padding-left: 0 !important;
	margin-bottom: 0;
}

.site-footer .wp-block-latest-posts li,
.site-footer .wp-block-categories li,
.site-footer .wp-block-archives li,
.site-footer .wp-block-latest-comments li {
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.6;
}

.site-footer .wp-block-latest-posts__post-date,
.site-footer .wp-block-latest-comments__comment-date {
	color: #94a3b8;
	font-size: 0.75rem;
	display: block;
}

/* Tag Cloud & Badges */
.site-footer .wp-block-tag-cloud,
.site-footer .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.site-footer .wp-block-tag-cloud a,
.site-footer .tagcloud a {
	background: rgba(255, 255, 255, 0.08) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	color: #cbd5e1 !important;
	border-radius: 20px;
	padding: 3px 10px;
	font-size: 0.75rem !important;
	display: inline-block;
	text-decoration: none !important;
	transform: none !important;
	transition: all var(--transition-fast);
}

.site-footer .wp-block-tag-cloud a:hover,
.site-footer .tagcloud a:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
}

/* Social Links Block */
.site-footer .wp-block-social-links {
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0;
}

.site-footer .wp-block-social-links .wp-social-link {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #cbd5e1 !important;
	border-radius: 50%;
	transition: all var(--transition-fast);
}

.site-footer .wp-block-social-links .wp-social-link:hover {
	background: rgba(255, 255, 255, 0.22) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
}

/* Icons & Hovers in Footer */
.site-footer .footer-link i,
.site-footer a i {
	color: #94a3b8;
	transition: color var(--transition-fast);
}

.site-footer .footer-link:hover i,
.site-footer a:hover i {
	color: #ffffff !important;
}

.site-footer .hover-white:hover {
	color: #ffffff !important;
	text-decoration: underline !important;
}

.social-circle-btn,
.social-btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.08);
	color: #cbd5e1;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.95rem;
	text-decoration: none;
	transition: all var(--transition-fast);
}

.social-circle-btn:hover,
.social-btn:hover {
	background-color: rgba(255, 255, 255, 0.22) !important;
	border-color: rgba(255, 255, 255, 0.25) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
}

/* ==============================================================
   BACK TO TOP FLOATING BUTTON (Design System 6.C)
   ============================================================== */
#btnBackToTop {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary);
	color: #ffffff;
	border-radius: var(--radius-full);
	border: none;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-fast);
	z-index: 1040;
	box-shadow: var(--shadow-md);
}

#btnBackToTop.show {
	opacity: 1;
	visibility: visible;
}

#btnBackToTop:hover {
	background: var(--gold);
	color: #0f172a;
	transform: translateY(-3px);
}

/* ==============================================================
   RESPONSIVE DESIGN ADJUSTMENTS
   ============================================================== */
@media (max-width: 991.98px) {
	.navbar-brand-wrapper {
		margin-right: auto;
		max-width: 240px;
		min-height: 42px;
	}

	.custom-logo,
	.site-logo img,
	.navbar-brand-wrapper img {
		max-height: 42px;
		max-width: 200px;
	}

	.hero-slide-card {
		min-height: 480px !important;
	}
}

@media (max-width: 575.98px) {
	.navbar-brand-wrapper {
		max-width: calc(100% - 145px);
		min-height: 36px;
	}

	.custom-logo,
	.site-logo img,
	.navbar-brand-wrapper img {
		max-height: 35px;
		max-width: 175px;
	}

	.brand-emblem .emblem-circle {
		width: 34px;
		height: 34px;
	}

	.brand-title {
		font-size: 0.9rem !important;
	}

	.brand-sub {
		font-size: 0.65rem !important;
	}

	.hero-slide-card {
		min-height: 400px !important;
	}

	#btnBackToTop {
		bottom: 20px;
		right: 20px;
		width: 44px;
		height: 44px;
	}

	.carousel-control-prev,
	.carousel-control-next {
		width: 44px;
	}

	.carousel-control-btn {
		width: 36px;
		height: 36px;
		font-size: 0.95rem;
	}
}

/* ==============================================================
   DARK THEME SYSTEM ([data-bs-theme="dark"])
   Institut Islam El-Hasbiyin Muaro Jambi
   Tokens: #091712 (Dark BG), #0f241c (Dark Surface), rgba(255,255,255,0.12) (Border)
   ============================================================== */
[data-bs-theme="dark"] {
	--bg-white: #0f241c;
	--bg-light: #091712;
	--text-main: #e2e8f0;
	--text-muted: #94a3b8;
	--border-light: rgba(255, 255, 255, 0.12);
	--primary-subtle: rgba(18, 130, 88, 0.2);
	--bs-body-bg: #091712;
	--bs-body-color: #e2e8f0;
}

[data-bs-theme="dark"] body {
	background-color: var(--dark-bg);
	color: var(--text-main);
}

/* Headings & Editorial Titles */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .main-title,
[data-bs-theme="dark"] .widget-title,
[data-bs-theme="dark"] .article-title,
[data-bs-theme="dark"] .brand-title {
	color: #ffffff !important;
}

[data-bs-theme="dark"] .brand-sub {
	color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .section-header-clean {
	border-bottom-color: var(--dark-border);
}

/* Header & Navigation */
[data-bs-theme="dark"] .site-header {
	background-color: rgba(9, 23, 18, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--dark-border);
}

[data-bs-theme="dark"] .site-header.is-scrolled {
	background-color: rgba(9, 23, 18, 0.98);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
}

[data-bs-theme="dark"] .navbar-nav .nav-link {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .navbar-nav .nav-link:hover,
[data-bs-theme="dark"] .navbar-nav .nav-link.active {
	color: #34d399;
}

/* Pro Dropdown Menu Dark */
[data-bs-theme="dark"] .dropdown-menu {
	background-color: var(--dark-surface);
	border: 1px solid var(--dark-border);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .dropdown-item {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .dropdown-item:hover {
	background-color: rgba(18, 130, 88, 0.22);
	color: #34d399;
}

/* Action Buttons (Theme Toggle & Search Trigger) */
[data-bs-theme="dark"] .btn-theme-toggle,
[data-bs-theme="dark"] .btn-search-trigger,
[data-bs-theme="dark"] .navbar-toggler {
	background: var(--dark-surface);
	color: #cbd5e1;
	border: 1px solid var(--dark-border);
}

[data-bs-theme="dark"] .btn-theme-toggle:hover,
[data-bs-theme="dark"] .btn-search-trigger:hover,
[data-bs-theme="dark"] .navbar-toggler:hover {
	background: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
}

/* Cards & Surface Components */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .sidebar-wrapper .card,
[data-bs-theme="dark"] .magazine-card,
[data-bs-theme="dark"] .author-bio-card {
	background-color: var(--dark-surface) !important;
	border-color: var(--dark-border) !important;
	color: var(--text-main);
}

[data-bs-theme="dark"] .card .card-title a,
[data-bs-theme="dark"] .card h5 a,
[data-bs-theme="dark"] .card h6 a {
	color: #f8fafc !important;
}

[data-bs-theme="dark"] .card .card-title a:hover,
[data-bs-theme="dark"] .card h5 a:hover,
[data-bs-theme="dark"] .card h6 a:hover {
	color: #34d399 !important;
}

/* Utility background overrides in dark mode */
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .bg-white {
	background-color: var(--dark-surface) !important;
}

[data-bs-theme="dark"] .text-dark {
	color: #f8fafc !important;
}

[data-bs-theme="dark"] .text-muted {
	color: var(--text-muted) !important;
}

[data-bs-theme="dark"] .border-light,
[data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-start,
[data-bs-theme="dark"] .border-end {
	border-color: var(--dark-border) !important;
}

/* Forms & Modals */
[data-bs-theme="dark"] .modal-content {
	background-color: var(--dark-surface);
	border: 1px solid var(--dark-border);
	color: var(--text-main);
}

[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
	border-color: var(--dark-border);
}

[data-bs-theme="dark"] .btn-close {
	filter: invert(1) grayscale(100%) brightness(200%);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
	background-color: var(--dark-bg);
	border: 1px solid var(--dark-border);
	color: #f8fafc;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
	background-color: var(--dark-bg);
	border-color: var(--primary-light);
	color: #ffffff;
	box-shadow: 0 0 0 0.25rem rgba(18, 130, 88, 0.25);
}

[data-bs-theme="dark"] .form-control::placeholder {
	color: #64748b;
}

/* Offcanvas Drawer */
[data-bs-theme="dark"] .offcanvas {
	background-color: var(--dark-bg);
	color: var(--text-main);
}

[data-bs-theme="dark"] .offcanvas-header {
	border-bottom: 1px solid var(--dark-border) !important;
}

[data-bs-theme="dark"] .mobile-navigation .nav-link {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .mobile-navigation .nav-link:hover {
	color: #34d399;
}

/* Agenda / Timeline Items */
[data-bs-theme="dark"] .agenda-date-box {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--dark-border);
}

[data-bs-theme="dark"] .agenda-date-box .agenda-day {
	color: #34d399 !important;
}

[data-bs-theme="dark"] .popular-rank-badge {
	background-color: rgba(255, 255, 255, 0.08) !important;
	color: #f8fafc !important;
	border: 1px solid var(--dark-border) !important;
}

[data-bs-theme="dark"] .popular-item:hover .popular-rank-badge,
[data-bs-theme="dark"] .popular-rank-badge:hover {
	background-color: var(--primary) !important;
	border-color: var(--primary) !important;
	color: #ffffff !important;
}

/* Pagination */
[data-bs-theme="dark"] .pagination-uin .page-item .page-link {
	background-color: var(--dark-surface);
	border-color: var(--dark-border);
	color: #34d399;
}

[data-bs-theme="dark"] .pagination-uin .page-item .page-link:hover:not(.active) {
	background-color: rgba(18, 130, 88, 0.22);
	border-color: var(--primary);
	color: #ffffff;
}

/* Article Single & Editorial Feed Card */
[data-bs-theme="dark"] .article-single,
[data-bs-theme="dark"] .archive-card,
[data-bs-theme="dark"] .error-404-wrapper {
	background-color: var(--dark-surface) !important;
	border-color: var(--dark-border) !important;
}

[data-bs-theme="dark"] .archive-card .news-horizontal-card {
	border-bottom-color: var(--dark-border) !important;
}

[data-bs-theme="dark"] .post-navigation-cards .card {
	background-color: var(--dark-bg) !important;
	border-color: var(--dark-border) !important;
}

[data-bs-theme="dark"] .article-content {
	color: #cbd5e1;
}

[data-bs-theme="dark"] .article-content blockquote {
	background-color: rgba(255, 255, 255, 0.04);
	color: #cbd5e1;
	border-left-color: var(--primary-light);
}

[data-bs-theme="dark"] .article-content table th,
[data-bs-theme="dark"] .article-content table td {
	border-color: var(--dark-border);
}

[data-bs-theme="dark"] .article-content table th {
	background-color: rgba(255, 255, 255, 0.05);
	color: #ffffff;
}

/* Badges */
[data-bs-theme="dark"] .badge-uin {
	background-color: rgba(234, 245, 238, 0.12);
	color: #6ee7b7 !important;
	border-color: rgba(110, 231, 183, 0.25);
	border-radius: 8px;
}

[data-bs-theme="dark"] .badge-uin:hover {
	background-color: var(--primary) !important;
	color: #ffffff !important;
	border-color: var(--primary) !important;
}

/* Breadcrumbs & Header Dark Mode */
[data-bs-theme="dark"] .page-header,
[data-bs-theme="dark"] .single-post-header {
	background-color: var(--dark-bg) !important;
	border-bottom-color: var(--dark-border) !important;
}

[data-bs-theme="dark"] .breadcrumb-custom {
	background: none !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

[data-bs-theme="dark"] .breadcrumb-custom .breadcrumb-item.active {
	color: #f1f5f9;
}

[data-bs-theme="dark"] .breadcrumb-custom .breadcrumb-link {
	color: #94a3b8;
}

[data-bs-theme="dark"] .breadcrumb-custom .breadcrumb-link:hover {
	color: #34d399;
}

[data-bs-theme="dark"] .breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
	color: #64748b;
}

/* In-Article Baca Juga */
.baca-juga-box {
	background-color: #f8fafc;
	border-left: 4px solid #f59e0b !important;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.baca-juga-label {
	color: #d97706;
	font-weight: 700;
	font-size: 0.95rem;
}

.baca-juga-link {
	color: #1e293b;
	font-weight: 600;
	font-size: 0.95rem;
	transition: color var(--transition-fast);
}

.baca-juga-link:hover {
	color: var(--primary);
	text-decoration: underline !important;
}

.baca-juga-box .baca-juga-item.border-top {
	border-top: 1px dashed #e2e8f0 !important;
}

[data-bs-theme="dark"] .baca-juga-box {
	background-color: var(--dark-surface) !important;
	border-left-color: #f59e0b !important;
	border-top: 1px solid var(--dark-border);
	border-right: 1px solid var(--dark-border);
	border-bottom: 1px solid var(--dark-border);
}

[data-bs-theme="dark"] .baca-juga-box .baca-juga-label {
	color: #fbbf24 !important;
}

[data-bs-theme="dark"] .baca-juga-box .baca-juga-link {
	color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .baca-juga-box .baca-juga-link:hover {
	color: #34d399 !important;
}

[data-bs-theme="dark"] .baca-juga-box .baca-juga-item.border-top {
	border-color: var(--dark-border) !important;
}

/* Social Share Buttons Uniform Styling */
.share-box {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
}

.share-box .btn {
	padding: 0.35rem 0.75rem !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	border-radius: var(--radius-sm);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	box-shadow: none !important;
	transform: none !important;
}

.share-btn-facebook {
	background-color: #1877f2 !important;
	border-color: #1877f2 !important;
	color: #ffffff !important;
}

.share-btn-facebook:hover,
.share-btn-facebook:focus {
	background-color: #1464cc !important;
	border-color: #1464cc !important;
	color: #ffffff !important;
}

[data-bs-theme="dark"] .share-box {
	background-color: var(--dark-surface) !important;
	border-color: var(--dark-border) !important;
}