.pkw-toc {
	background: var(--bg-light-blue, #f0f9ff);
	border: 1px solid var(--border-color, #e2e8f0);
	border-left: 4px solid var(--accent-orange, #f59e0b);
	border-radius: var(--border-radius-md, 12px);
	margin: 0 0 2rem;
	overflow: hidden;
	font-family: var(--font-body, 'Inter', sans-serif);
}

.pkw-toc-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: var(--font-heading, 'Outfit', sans-serif);
	text-align: left;
}

.pkw-toc-title {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--primary-color, #0d2242);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pkw-toc-title i {
	color: var(--accent-orange, #f59e0b);
}

.pkw-toc-caret {
	color: var(--primary-color, #0d2242);
	transition: transform 0.3s ease;
	font-size: 0.85rem;
	flex-shrink: 0;
}

.pkw-toc.is-collapsed .pkw-toc-caret {
	transform: rotate(-90deg);
}

.pkw-toc-list-wrap {
	max-height: 800px;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 1.25rem 1.25rem;
}

.pkw-toc.is-collapsed .pkw-toc-list-wrap {
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.pkw-toc-list,
.pkw-toc-sublist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pkw-toc-list {
	counter-reset: pkw-toc-counter;
}

.pkw-toc-list > li {
	counter-increment: pkw-toc-counter;
	margin: 0 0 0.6rem;
}

.pkw-toc-list > li:last-child {
	margin-bottom: 0;
}

.pkw-toc-list > li > a {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: var(--text-dark, #0f172a);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.4;
	transition: var(--transition, all 0.3s ease);
}

.pkw-toc-list > li > a::before {
	content: counter(pkw-toc-counter);
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--primary-color, #0d2242);
	color: var(--text-light, #ffffff);
	font-size: 0.75rem;
	font-weight: 700;
	font-family: var(--font-heading, 'Outfit', sans-serif);
}

.pkw-toc-list > li > a:hover,
.pkw-toc-list > li > a.is-active {
	color: var(--accent-orange-hover, #d97706);
}

.pkw-toc-list > li > a.is-active::before {
	background: var(--accent-orange, #f59e0b);
}

.pkw-toc-sublist {
	margin: 0.5rem 0 0.6rem 2.1rem;
}

.pkw-toc-sublist li {
	margin-bottom: 0.4rem;
}

.pkw-toc-sublist li a {
	position: relative;
	display: inline-block;
	padding-left: 0.9rem;
	color: var(--text-muted, #64748b);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	transition: var(--transition, all 0.3s ease);
}

.pkw-toc-sublist li a::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent-orange, #f59e0b);
}

.pkw-toc-sublist li a:hover,
.pkw-toc-sublist li a.is-active {
	color: var(--accent-orange-hover, #d97706);
}

@media (max-width: 600px) {
	.pkw-toc-toggle {
		padding: 0.85rem 1rem;
	}

	.pkw-toc-list-wrap {
		padding: 0 1rem 1rem;
	}

	.pkw-toc-title {
		font-size: 0.95rem;
	}
}
