.ws-page {
	max-width: 1500px;
	width: 100%;
}

.ws-layout {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.ws-sidebar {
	position: sticky;
	top: 16px;
	align-self: start;
	background: #ffffff;
	border: 1px solid #e6e9ee;
	border-radius: 18px;
	padding: 16px 14px;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
	min-height: calc(100vh - 48px);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ws-sidebar-brand {
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
}

.ws-brand-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.ws-brand-link img {
	max-height: 40px;
	width: auto;
}

.ws-brand-text {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
}

.ws-top-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ws-top-nav-list a {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 600;
	font-size: 12px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.ws-top-nav-list a:hover,
.ws-top-nav-list a:focus {
	background: #e0e7ff;
	color: #1d4ed8;
}

.ws-sidebar-title {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6b7280;
	margin: 6px 0 8px;
	font-weight: 600;
}

.ws-side-menu,
.ws-side-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ws-side-menu > li + li {
	margin-top: 4px;
}

.ws-side-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 8px;
	border-radius: 10px;
	text-decoration: none;
	color: #1f2937;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease;
}

.ws-menu-icon {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #64748b;
}

.ws-side-menu .menu-item-has-children > a .ws-menu-icon {
	color: #1d4ed8;
}

.ws-side-menu a:hover,
.ws-side-menu a:focus {
	background: #f3f4f6;
	color: #111827;
}

.ws-side-menu .menu-item-has-children > a {
	font-weight: 600;
	color: #0f172a;
}

.ws-side-menu ul {
	margin-top: 6px;
	margin-left: 10px;
	padding-left: 8px;
	border-left: 1px dashed #e5e7eb;
	display: grid;
	gap: 4px;
}

.ws-nav-group + .ws-nav-group {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px dashed #e5e7eb;
}

.ws-nav-group-title {
	font-size: 14px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ws-nav-list {
	display: grid;
	gap: 6px;
}

.ws-nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none;
	color: #1f2937;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease;
}

.ws-nav-link:hover,
.ws-nav-link:focus {
	background: #f3f4f6;
	color: #111827;
}

.ws-nav-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0ea5e9, #22c55e);
	flex-shrink: 0;
}

.ws-main {
	display: grid;
	gap: 36px;
}

.ws-section {
	background: #ffffff;
	border: 1px solid #e6e9ee;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.ws-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	gap: 16px;
}

.ws-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}

.ws-section-link {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #2563eb;
}

.ws-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.ws-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(145deg, #ffffff, #f8fafc);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ws-card:hover,
.ws-card:focus {
	transform: translateY(-2px);
	border-color: #cbd5f5;
	box-shadow: 0 16px 30px rgba(37, 99, 235, 0.12);
}

.ws-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f1f5f9;
	flex-shrink: 0;
}

.ws-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws-card-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 6px 0;
	color: #111827;
}

.ws-card-desc {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.4;
}

.ws-empty {
	font-size: 14px;
	color: #94a3b8;
}

.ws-detail {
	display: grid;
	gap: 24px;
}

.ws-detail-hero {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.ws-detail-icon {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.ws-detail-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ws-detail-title {
	font-size: 26px;
	margin: 0 0 10px 0;
	color: #0f172a;
}

.ws-detail-desc {
	margin: 8px 0 0 0;
	color: #64748b;
	font-size: 15px;
}

.ws-detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ws-chip {
	padding: 4px 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.ws-detail-actions {
	margin-top: 14px;
}

.ws-detail-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: #2563eb;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.ws-detail-button:hover,
.ws-detail-button:focus {
	background: #1d4ed8;
	color: #ffffff;
}

.ws-detail-content {
	color: #374151;
	font-size: 15px;
	line-height: 1.7;
}

@media (max-width: 980px) {
	.ws-layout {
		grid-template-columns: 1fr;
	}

	.ws-sidebar {
		position: static;
		min-height: auto;
	}
}

.ws-icp {
	text-align: center;
	font-size: 12px;
	color: #94a3b8;
	padding: 12px 16px 24px;
}
