/* =========================================================
 * Kadence Berita Teknologi — Custom Design System
 * Targets real Kadence markup classes
 * ========================================================= */

/* -------------------- Design Tokens -------------------- */
:root {
	--kbt-font-heading: 'Plus Jakarta Sans', var(--global-fallback-font);
	--kbt-font-body: 'Inter', var(--global-fallback-font);

	--kbt-primary: #0F172A;
	--kbt-accent: #3B82F6;
	--kbt-accent-hover: #2563EB;
	--kbt-accent-alt: #10B981;
	--kbt-bg: #FFFFFF;
	--kbt-surface: #F8FAFC;
	--kbt-text: #0F172A;
	--kbt-text-muted: #64748B;
	--kbt-border: #E2E8F0;
	--kbt-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
	--kbt-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
	--kbt-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
	--kbt-radius: 12px;
	--kbt-radius-sm: 8px;
	--kbt-transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* -------------------- Base / Typography -------------------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	color: var(--global-palette1);
	transition: color var(--kbt-transition);
}
a:hover {
	color: var(--kbt-accent-hover);
}

::selection {
	background: var(--kbt-accent);
	color: #FFFFFF;
}

/* -------------------- Header / Navbar -------------------- */
#masthead,
#masthead .site-header-wrap,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.site-main-header-wrap),
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner,
.site-header,
.site-header-wrap {
	background: var(--kbt-primary) !important;
	border-bottom: none;
}

/* ---------- Top Bar ---------- */
.site-top-header-wrap,
.site-top-header-wrap .site-header-row-container-inner {
	background: #1E293B !important;
	min-height: 36px;
}
.site-top-header-wrap .site-header-row-container-inner {
	border-bottom: 1px solid rgba(148,163,184,0.12);
}

/* Topbar tagline */
.kbt-topbar-tagline {
	color: #94A3B8;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	font-family: var(--kbt-font-body);
}

/* Topbar search icon */
.site-top-header-wrap .search-toggle-open {
	color: #94A3B8 !important;
	transition: color var(--kbt-transition);
}
.site-top-header-wrap .search-toggle-open:hover {
	color: #FFFFFF !important;
}
.site-top-header-wrap .search-toggle-open .search-toggle-icon svg {
	width: 16px;
	height: 16px;
}

/* Full-header search overlay */
.header-search-bar .search-form {
	max-width: 640px;
	margin: 0 auto;
}
.header-search-bar .search-form input[type="search"] {
	background: rgba(255,255,255,0.1);
	border: 2px solid rgba(255,255,255,0.2);
	color: #FFFFFF;
	border-radius: var(--kbt-radius-sm);
	padding: 14px 20px;
	font-size: 16px;
	font-family: var(--kbt-font-body);
	transition: border-color var(--kbt-transition);
}
.header-search-bar .search-form input[type="search"]:focus {
	border-color: var(--kbt-accent);
	outline: none;
}
.header-search-bar .search-form input[type="search"]::placeholder {
	color: rgba(255,255,255,0.4);
}

/* ---------- Main Header Row ---------- */
.site-main-header-wrap .site-header-row-container-inner {
	min-height: 70px;
	align-items: center;
}

/* Site title text */
#masthead .site-title,
#masthead .site-branding .site-title,
.site-header .site-title a,
.site-header .site-branding a {
	font-weight: 800 !important;
	font-size: 22px !important;
	letter-spacing: 0.04em !important;
	color: #FFFFFF !important;
	text-transform: uppercase;
	text-decoration: none !important;
}

/* Accent dot after site title */
.site-header .site-title a::after {
	content: " .";
	color: var(--kbt-accent);
	font-size: 1.4em;
	line-height: 0;
}

.site-header .site-description {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 12px !important;
	letter-spacing: 0.03em;
}

/* Nav links */
.header-navigation .menu > li > a,
.main-navigation .menu > li > a,
.main-navigation .primary-menu-container > ul > li.menu-item > a {
	color: #CBD5E1 !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: color var(--kbt-transition);
}
.header-navigation .menu > li > a:hover,
.main-navigation .menu > li > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.header-navigation .menu > li.current-menu-item > a,
.main-navigation .menu > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
	color: #FFFFFF !important;
}

/* Active nav underline indicator */
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current_page_parent > a {
	position: relative;
}
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a::after,
.main-navigation .primary-menu-container > ul > li.menu-item.current_page_parent > a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 2px;
	background: var(--kbt-accent);
	border-radius: 1px;
}

/* Dropdown submenu refinements */
.header-navigation .header-menu-container ul ul.sub-menu {
	background: #1E293B !important;
	border: 1px solid rgba(148,163,184,0.12);
	border-radius: var(--kbt-radius-sm);
	padding: 6px 0;
	box-shadow: var(--kbt-shadow-lg);
}
.header-navigation .header-menu-container ul ul li.menu-item > a {
	color: #CBD5E1 !important;
	font-size: 13px !important;
	padding: 10px 18px !important;
	border-bottom: none !important;
	transition: all var(--kbt-transition);
}
.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a {
	color: #FFFFFF !important;
	background: rgba(59,130,246,0.1) !important;
}

/* Mobile header */
.site-mobile-header-wrap .site-header-wrap {
	background: var(--kbt-primary) !important;
}
.mobile-toggle-open-container .menu-toggle-open {
	color: #FFFFFF;
}

/* Sticky header shadow */
.item-is-stuck .site-header-wrap,
.site-header-row-container.item-is-fixed {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* -------------------- Archive Grid / Post Loop -------------------- */
.home .site-main,
.archive .site-main,
.blog .site-main {
	padding-top: 32px;
	padding-bottom: 48px;
}

/* Card style for loop entries */
.loop-entry {
	background: var(--kbt-bg);
	border: 1px solid var(--kbt-border);
	border-radius: var(--kbt-radius) !important;
	overflow: hidden;
	transition: transform var(--kbt-transition), box-shadow var(--kbt-transition), border-color var(--kbt-transition);
}
.loop-entry:hover {
	transform: translateY(-4px);
	box-shadow: var(--kbt-shadow-lg);
	border-color: var(--kbt-accent);
}


/* Entry content wrap inside card */
.loop-entry .entry-content-wrap {
	padding: 20px 20px 24px;
}

/* Featured image in archive */
.loop-entry .post-thumbnail {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--kbt-surface);
}
.loop-entry .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.loop-entry:hover .post-thumbnail img {
	transform: scale(1.05);
}

/* Post title in archive */
.loop-entry .entry-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	margin: 8px 0 10px;
}
.loop-entry .entry-title a {
	color: var(--kbt-text);
	text-decoration: none;
	transition: color var(--kbt-transition);
}
.loop-entry .entry-title a:hover {
	color: var(--kbt-accent);
}


/* Excerpt in archive */
.loop-entry .entry-summary {
	font-size: 14px;
	color: var(--kbt-text-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 12px;
}

/* Meta in archive */
.loop-entry .entry-meta {
	font-size: 12px;
	color: var(--kbt-text-muted);
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--kbt-border);
}
.loop-entry .entry-meta .posted-on time {
	font-weight: 500;
}

/* Read More link */
.loop-entry .post-more-link {
	font-size: 13px;
	font-weight: 600;
	color: var(--kbt-accent);
	text-decoration: none;
	letter-spacing: 0.02em;
}
.loop-entry .post-more-link:hover {
	color: var(--kbt-accent-hover);
}

/* -------------------- Category Badge System -------------------- */
/* Default style for category links in archive entries */
.loop-entry .entry-taxonomies .category-links a,
.single-post .entry-taxonomies .category-links a {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	background: #F1F5F9;
	color: #475569;
	transition: filter var(--kbt-transition);
}
.loop-entry .entry-taxonomies .category-links a:hover {
	filter: brightness(0.92);
}

/* Per-category colors using Kadence's class: .category-link-{slug} */
a.category-link-ai {
	background: #EDE9FE !important; color: #7C3AED !important;
}
a.category-link-gadget {
	background: #FEF3C7 !important; color: #D97706 !important;
}
a.category-link-startup {
	background: #DCFCE7 !important; color: #16A34A !important;
}
a.category-link-software {
	background: #DBEAFE !important; color: #2563EB !important;
}
a.category-link-internet {
	background: #FCE7F3 !important; color: #DB2777 !important;
}
a.category-link-teknologi {
	background: #F0F9FF !important; color: #0369A1 !important;
}
a.category-link-umum {
	background: #F1F5F9 !important; color: #475569 !important;
}

/* -------------------- Sidebar -------------------- */
.primary-sidebar.widget-area {
	background: var(--kbt-surface);
	border-radius: var(--kbt-radius);
	padding: 24px;
	position: sticky;
	top: 100px;
}
.primary-sidebar .widget-title,
.widget-area .widget-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kbt-text);
	padding-bottom: 12px;
	border-bottom: 2px solid var(--kbt-accent);
	margin: 0 0 16px;
}
.primary-sidebar .widget {
	margin-bottom: 28px;
}
.primary-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.primary-sidebar ul li {
	padding: 8px 0;
	border-bottom: 1px solid var(--kbt-border);
	font-size: 14px;
}
.primary-sidebar ul li:last-child {
	border-bottom: none;
}
.primary-sidebar ul li a {
	color: var(--kbt-text);
	text-decoration: none;
	transition: color var(--kbt-transition);
}
.primary-sidebar ul li a:hover {
	color: var(--kbt-accent);
}


/* -------------------- Single Post -------------------- */
.single-post .entry-header .entry-title {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 16px;
}

.single-post .entry-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--kbt-text-muted);
	padding: 14px 0;
	border-top: 1px solid var(--kbt-border);
	border-bottom: 1px solid var(--kbt-border);
	flex-wrap: wrap;
}

/* Featured image */
.single-post .post-thumbnail {
	border-radius: var(--kbt-radius);
	overflow: hidden;
	margin-bottom: 32px;
}
.single-post .post-thumbnail img {
	width: 100%;
	height: auto;
	display: block;
}

/* Content body */
.single-post .entry-content {
	font-size: 17px;
	line-height: 1.8;
	color: var(--kbt-text);
}
.single-post .entry-content p {
	margin: 0 0 1.25em;
}
.single-post .entry-content h2 {
	font-size: 26px;
	margin-top: 2em;
	margin-bottom: 0.75em;
}
.single-post .entry-content h3 {
	font-size: 21px;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}
.single-post .entry-content blockquote {
	border-left: 4px solid var(--kbt-accent);
	padding: 12px 24px;
	margin: 1.5em 0;
	font-style: italic;
	color: var(--kbt-text-muted);
	background: var(--kbt-surface);
	border-radius: 0 var(--kbt-radius-sm) var(--kbt-radius-sm) 0;
}
.single-post .entry-content pre {
	background: #1E293B;
	color: #E2E8F0;
	padding: 16px 20px;
	border-radius: var(--kbt-radius-sm);
	overflow-x: auto;
	font-size: 14px;
}
.single-post .entry-content code {
	background: var(--kbt-surface);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}
.single-post .entry-content img {
	border-radius: var(--kbt-radius-sm);
	max-width: 100%;
	height: auto;
}

/* Breadcrumb */
.kadence-breadcrumbs,
.rank-math-breadcrumb {
	font-size: 13px;
	color: var(--kbt-text-muted);
}
.kadence-breadcrumbs a,
.rank-math-breadcrumb a {
	color: var(--kbt-accent);
	text-decoration: none;
}
.kadence-breadcrumbs a:hover,
.rank-math-breadcrumb a:hover {
	text-decoration: underline;
}

/* -------------------- Reading Progress Bar -------------------- */
#kbt-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 3px;
	background: linear-gradient(90deg, var(--kbt-accent), var(--kbt-accent-alt));
	z-index: 9999;
	transition: width 80ms linear;
}


/* -------------------- Footer -------------------- */
#colophon {
	background: #0F172A !important;
	color: #94A3B8;
	margin-top: 48px;
}

/* Top row — 3 widget columns */
#colophon .site-top-footer-wrap {
	padding-top: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
#colophon .site-top-footer-inner-wrap {
	gap: 40px;
}

/* Widget titles */
#colophon h4,
#colophon .widget-title {
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-bottom: 16px;
}

/* Widget text */
#colophon .footer-widget-area p {
	color: #94A3B8;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 8px;
}

/* Widget links (categories, page list) */
#colophon .footer-widget-area a {
	color: #94A3B8;
	text-decoration: none;
	transition: color var(--kbt-transition);
}
#colophon .footer-widget-area a:hover {
	color: #FFFFFF;
}

/* Category list & page list styling */
#colophon .wp-block-categories-list,
#colophon .wp-block-page-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
#colophon .wp-block-categories-list li,
#colophon .wp-block-page-list li {
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	font-size: 14px;
}
#colophon .wp-block-categories-list li:last-child,
#colophon .wp-block-page-list li:last-child {
	border-bottom: none;
}
#colophon .wp-block-categories-list .wp-block-categories-list__count {
	color: #64748B;
	font-size: 12px;
}

/* Bottom row — copyright + nav */
#colophon .site-bottom-footer-wrap {
	padding-top: 20px;
	padding-bottom: 20px;
}
#colophon .site-bottom-footer-inner-wrap {
	align-items: center;
}
#colophon .site-info {
	color: #64748B;
	font-size: 13px;
}
#colophon .site-info a {
	color: #94A3B8;
}
#colophon .site-info a:hover {
	color: #FFFFFF;
}

/* Footer navigation in bottom row */
#colophon .footer-navigation .footer-menu-container > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
	list-style: none;
	padding: 0;
	margin: 0;
}
#colophon .footer-navigation .footer-menu-container > ul > li > a {
	color: #94A3B8;
	font-size: 13px;
	text-decoration: none;
}
#colophon .footer-navigation .footer-menu-container > ul > li > a:hover {
	color: #FFFFFF;
}

@media (max-width: 768px) {
	#colophon .site-bottom-footer-inner-wrap {
		text-align: center;
	}
	#colophon .footer-navigation .footer-menu-container > ul {
		justify-content: center;
		margin-top: 8px;
	}
}


/* -------------------- Buttons -------------------- */
.wp-block-button__link {
	background: var(--kbt-accent);
	color: #FFFFFF !important;
	border-radius: var(--kbt-radius-sm);
	padding: 12px 24px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background var(--kbt-transition), transform var(--kbt-transition);
}
.wp-block-button__link:hover {
	background: var(--kbt-accent-hover);
	transform: translateY(-1px);
}

/* -------------------- Pagination -------------------- */
.pagination .page-numbers,
.kadence-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: var(--kbt-radius-sm);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: var(--kbt-text-muted);
	background: var(--kbt-surface);
	border: 1px solid var(--kbt-border);
	transition: all var(--kbt-transition);
}
.pagination .page-numbers.current,
.kadence-pagination .page-numbers.current {
	background: var(--kbt-accent);
	color: #FFFFFF;
	border-color: var(--kbt-accent);
}
.pagination .page-numbers:hover,
.kadence-pagination .page-numbers:hover {
	border-color: var(--kbt-accent);
	color: var(--kbt-accent);
}

/* -------------------- 404 Page -------------------- */
.kbt-404 {
	text-align: center;
	padding: 80px 24px;
}
.kbt-404-code {
	display: block;
	font-size: clamp(80px, 15vw, 140px);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--kbt-accent), var(--kbt-accent-alt, #10B981));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 16px;
}
.kbt-404 h1 {
	font-size: 28px;
	margin: 0 0 12px;
}
.kbt-404 > .kbt-404-inner > p {
	color: var(--kbt-text-muted);
	font-size: 16px;
	max-width: 480px;
	margin: 0 auto 32px;
}
.kbt-404-search {
	max-width: 400px;
	margin: 0 auto 40px;
}
.kbt-404-search .search-form {
	display: flex;
	gap: 8px;
}
.kbt-404-search .search-field {
	flex: 1;
	padding: 10px 16px;
	border: 1px solid var(--kbt-border);
	border-radius: var(--kbt-radius-sm);
	font-size: 14px;
}
.kbt-404-search .search-submit {
	padding: 10px 20px;
	background: var(--kbt-accent);
	color: #FFFFFF;
	border: none;
	border-radius: var(--kbt-radius-sm);
	font-weight: 600;
	cursor: pointer;
}
.kbt-404-links ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 12px;
}
.kbt-404-links ul li a {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--kbt-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--kbt-text);
	text-decoration: none;
	transition: all var(--kbt-transition);
}
.kbt-404-links ul li a:hover {
	border-color: var(--kbt-accent);
	color: var(--kbt-accent);
}

/* -------------------- Share Buttons -------------------- */
.kbt-share {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 0;
	margin: 32px 0 0;
	border-top: 1px solid var(--kbt-border);
}
.kbt-share-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--kbt-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.kbt-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #FFFFFF;
	text-decoration: none;
	transition: transform var(--kbt-transition), filter var(--kbt-transition);
}
.kbt-share-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.15);
	color: #FFFFFF;
}
.kbt-share-whatsapp { background: #25D366; }
.kbt-share-twitter  { background: #0F172A; }
.kbt-share-facebook { background: #1877F2; }
.kbt-share-copy     { background: #64748B; cursor: pointer; }
.kbt-share-copy.copied { background: #10B981; }

/* -------------------- Author Box -------------------- */
.kbt-author-box {
	display: flex;
	gap: 20px;
	padding: 24px;
	margin: 32px 0;
	background: var(--kbt-surface);
	border-radius: var(--kbt-radius);
	border: 1px solid var(--kbt-border);
}
.kbt-author-avatar img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}
.kbt-author-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kbt-accent);
}
.kbt-author-name {
	font-size: 18px;
	font-weight: 700;
	margin: 4px 0 8px;
}
.kbt-author-name a {
	color: var(--kbt-text);
	text-decoration: none;
}
.kbt-author-name a:hover {
	color: var(--kbt-accent);
}
.kbt-author-bio {
	font-size: 14px;
	color: var(--kbt-text-muted);
	line-height: 1.6;
	margin: 0 0 8px;
}
.kbt-author-count {
	font-size: 12px;
	color: var(--kbt-text-muted);
	font-weight: 500;
}

/* -------------------- Related Posts -------------------- */
.kbt-related-posts {
	margin: 40px 0 16px;
	padding-top: 32px;
	border-top: 1px solid var(--kbt-border);
}
.kbt-related-title {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 20px;
	color: var(--kbt-text);
}
.kbt-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.kbt-related-item {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	border-radius: var(--kbt-radius);
	overflow: hidden;
	border: 1px solid var(--kbt-border);
	transition: transform var(--kbt-transition), box-shadow var(--kbt-transition);
}
.kbt-related-item:hover {
	transform: translateY(-3px);
	box-shadow: var(--kbt-shadow-md);
}
.kbt-related-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--kbt-surface);
}
.kbt-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.kbt-related-item:hover .kbt-related-thumb img {
	transform: scale(1.05);
}
.kbt-related-info {
	padding: 14px 16px 16px;
}
.kbt-related-cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--kbt-accent);
	margin-bottom: 6px;
}
.kbt-related-info h4 {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--kbt-text);
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kbt-related-info time {
	font-size: 12px;
	color: var(--kbt-text-muted);
}

/* -------------------- Table of Contents -------------------- */
.kbt-toc {
	background: var(--kbt-surface);
	border: 1px solid var(--kbt-border);
	border-radius: var(--kbt-radius);
	padding: 20px 24px;
	margin: 24px 0;
}
.kbt-toc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.kbt-toc-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--kbt-text);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.kbt-toc-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 12px;
	color: var(--kbt-text-muted);
	padding: 4px;
	transition: transform var(--kbt-transition);
}
.kbt-toc.collapsed .kbt-toc-toggle {
	transform: rotate(-90deg);
}
.kbt-toc.collapsed .kbt-toc-list {
	display: none;
}
.kbt-toc-list {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: decimal;
}
.kbt-toc-list li {
	padding: 5px 0;
	font-size: 14px;
	line-height: 1.5;
}
.kbt-toc-list li.kbt-toc-sub {
	margin-left: 16px;
	list-style-type: disc;
	font-size: 13px;
}
.kbt-toc-list a {
	color: var(--kbt-text);
	text-decoration: none;
	transition: color var(--kbt-transition);
}
.kbt-toc-list a:hover {
	color: var(--kbt-accent);
}

/* -------------------- Back to Top Button -------------------- */
#kbt-back-to-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--kbt-accent);
	color: #FFFFFF;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--kbt-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity var(--kbt-transition), transform var(--kbt-transition), visibility var(--kbt-transition), background var(--kbt-transition);
	z-index: 999;
}
#kbt-back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
#kbt-back-to-top:hover {
	background: var(--kbt-accent-hover);
	transform: translateY(-2px);
}

/* -------------------- Archive Header (per kategori) -------------------- */
.archive .entry-hero-container-inner,
.archive .kadence-page-title {
	background: var(--kbt-surface);
	padding: 32px 0;
	margin-bottom: 8px;
}
.archive .kadence-page-title .entry-title,
.archive .entry-hero-container-inner .entry-title {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
}
.archive .kadence-page-title .archive-description,
.archive .entry-hero-container-inner .archive-description {
	font-size: 15px;
	color: var(--kbt-text-muted);
	max-width: 600px;
	line-height: 1.6;
}

/* -------------------- Mobile Drawer Menu -------------------- */
#mobile-drawer .drawer-inner {
	background: var(--kbt-primary);
}
#mobile-drawer .drawer-header {
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
#mobile-drawer .drawer-header .drawer-toggle {
	color: #FFFFFF;
}
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
	color: #CBD5E1 !important;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 20px;
}
#mobile-drawer .mobile-navigation ul li > a:hover,
#mobile-drawer .mobile-navigation ul li.current-menu-item > a {
	color: #FFFFFF !important;
	background: rgba(59,130,246,0.08);
}
#mobile-drawer .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap,
#mobile-drawer .mobile-navigation ul li:not(.menu-item-has-children) a {
	border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
#mobile-drawer .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap button {
	color: #94A3B8;
	border-left: 1px solid rgba(255,255,255,0.06) !important;
}

/* -------------------- Single Post Enhancements -------------------- */
/* Tag list at bottom of post */
.single-post .entry-tags {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--kbt-border);
}
.single-post .entry-tags a {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	background: var(--kbt-surface);
	border: 1px solid var(--kbt-border);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--kbt-text-muted);
	text-decoration: none;
	transition: all var(--kbt-transition);
}
.single-post .entry-tags a:hover {
	border-color: var(--kbt-accent);
	color: var(--kbt-accent);
}

/* Content image captions */
.single-post .entry-content .wp-caption {
	max-width: 100%;
}
.single-post .entry-content figcaption,
.single-post .entry-content .wp-caption-text {
	font-size: 13px;
	color: var(--kbt-text-muted);
	text-align: center;
	margin-top: 8px;
	font-style: italic;
}

/* Content lists */
.single-post .entry-content ul,
.single-post .entry-content ol {
	padding-left: 24px;
	margin-bottom: 1.25em;
}
.single-post .entry-content li {
	margin-bottom: 0.4em;
	line-height: 1.7;
}

/* Content tables */
.single-post .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 15px;
}
.single-post .entry-content th,
.single-post .entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--kbt-border);
	text-align: left;
}
.single-post .entry-content th {
	background: var(--kbt-surface);
	font-weight: 700;
}

/* -------------------- Pagination Enhanced -------------------- */
.pagination,
.kadence-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 32px 0;
}
.pagination .page-numbers.dots,
.kadence-pagination .page-numbers.dots {
	background: transparent;
	border: none;
}
.pagination .next,
.pagination .prev,
.kadence-pagination .next,
.kadence-pagination .prev {
	font-weight: 700;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
	.loop-entry .entry-content-wrap {
		padding: 16px;
	}
	.loop-entry .entry-title {
		font-size: 16px;
	}
	.single-post .entry-content {
		font-size: 16px;
	}

	/* Related posts: stack on mobile */
	.kbt-related-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.kbt-related-item {
		flex-direction: row;
	}
	.kbt-related-thumb {
		width: 120px;
		min-width: 120px;
		aspect-ratio: 1 / 1;
	}
	.kbt-related-info {
		padding: 12px;
	}
	.kbt-related-info h4 {
		font-size: 14px;
	}

	/* Share buttons: wrap */
	.kbt-share {
		flex-wrap: wrap;
	}

	/* Author box: stack */
	.kbt-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
		padding: 20px;
	}

	/* TOC full width */
	.kbt-toc {
		padding: 16px;
	}

	/* Back to top: smaller on mobile */
	#kbt-back-to-top {
		bottom: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
	}

	/* Mobile drawer search */
	#mobile-drawer .drawer-content .search-form input[type="search"] {
		background: rgba(255,255,255,0.08);
		border: 1px solid rgba(255,255,255,0.15);
		color: #FFFFFF;
		border-radius: var(--kbt-radius-sm);
	}
}

@media (max-width: 480px) {
	.kbt-related-thumb {
		width: 100px;
		min-width: 100px;
	}
}
