.mcw-wrap {
	--mcw-accent: #d94c8a;
	width: 100%;
	box-sizing: border-box;
}

.mcw-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mcw-item {
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.mcw-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	text-decoration: none !important;
	color: #1f2937;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
	box-sizing: border-box;
}

.mcw-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.mcw-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.mcw-name {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
}

.mcw-desc {
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
	margin-top: 2px;
}

/* =========================================================
   BULLET POINT TYPES
   ========================================================= */
.mcw-bullet {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mcw-bullet-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mcw-accent);
}

.mcw-bullet-ring {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 2px solid var(--mcw-accent);
	box-sizing: border-box;
}

.mcw-bullet-square {
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--mcw-accent);
}

.mcw-bullet-svg {
	width: 15px;
	height: 15px;
	color: var(--mcw-accent);
}

.mcw-bullet-svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mcw-bullet-num {
	font-size: 11px;
	font-weight: 700;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--mcw-accent) 14%, #ffffff);
	color: var(--mcw-accent);
	box-sizing: border-box;
}

/* =========================================================
   POST COUNT STYLES
   ========================================================= */
.mcw-count {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
}

.mcw-count-pill {
	padding: 2px 9px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--mcw-accent) 12%, #f3f4f6);
	color: var(--mcw-accent);
	line-height: 1.5;
}

.mcw-count-plain {
	color: #6b7280;
	font-weight: 500;
}

/* =========================================================
   5 DESIGN LAYOUTS
   ========================================================= */
.mcw-layout-list .mcw-list,
.mcw-layout-tree .mcw-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mcw-layout-tree .mcw-is-child {
	padding-left: 18px;
}

.mcw-layout-grid_2 .mcw-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mcw-layout-grid_3 .mcw-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.mcw-layout-wrap_pills .mcw-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mcw-layout-wrap_pills .mcw-item {
	flex: 0 1 auto;
}

.mcw-layout-wrap_pills .mcw-link {
	padding: 7px 13px !important;
	border-radius: 999px !important;
}

/* =========================================================
   5 DESIGN STYLES
   ========================================================= */

/* 1. Clean Minimal */
.mcw-style-minimal .mcw-link {
	padding: 9px 4px;
	border-bottom: 1px solid #eceef2;
}

.mcw-style-minimal .mcw-item:last-child .mcw-link {
	border-bottom: none;
}

.mcw-style-minimal .mcw-link:hover,
.mcw-style-minimal .mcw-item.is-active .mcw-link {
	color: var(--mcw-accent);
	transform: translateX(4px);
}

/* 2. Soft Pastel Cards */
.mcw-style-cards .mcw-link {
	padding: 11px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--mcw-accent) 6%, #ffffff);
	border: 1px solid color-mix(in srgb, var(--mcw-accent) 18%, #e5e7eb);
}

.mcw-style-cards .mcw-link:hover,
.mcw-style-cards .mcw-item.is-active .mcw-link {
	background: color-mix(in srgb, var(--mcw-accent) 12%, #ffffff);
	border-color: var(--mcw-accent);
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
}

/* 3. Modern Rounded Pills */
.mcw-style-pills .mcw-link {
	padding: 9px 14px;
	border-radius: 999px;
	background: #ffffff;
	border: 1.5px solid #e5e7eb;
}

.mcw-style-pills .mcw-link:hover,
.mcw-style-pills .mcw-item.is-active .mcw-link {
	background: var(--mcw-accent);
	border-color: var(--mcw-accent);
	color: #ffffff;
}

.mcw-style-pills .mcw-link:hover .mcw-desc,
.mcw-style-pills .mcw-item.is-active .mcw-desc,
.mcw-style-pills .mcw-link:hover .mcw-count-plain,
.mcw-style-pills .mcw-item.is-active .mcw-count-plain {
	color: rgba(255, 255, 255, 0.9);
}

.mcw-style-pills .mcw-link:hover .mcw-bullet-svg,
.mcw-style-pills .mcw-item.is-active .mcw-bullet-svg {
	color: #ffffff;
}

.mcw-style-pills .mcw-link:hover .mcw-bullet-dot,
.mcw-style-pills .mcw-link:hover .mcw-bullet-square,
.mcw-style-pills .mcw-item.is-active .mcw-bullet-dot,
.mcw-style-pills .mcw-item.is-active .mcw-bullet-square {
	background: #ffffff;
}

.mcw-style-pills .mcw-link:hover .mcw-bullet-ring,
.mcw-style-pills .mcw-item.is-active .mcw-bullet-ring {
	border-color: #ffffff;
}

.mcw-style-pills .mcw-link:hover .mcw-count-pill,
.mcw-style-pills .mcw-item.is-active .mcw-count-pill,
.mcw-style-pills .mcw-link:hover .mcw-bullet-num,
.mcw-style-pills .mcw-item.is-active .mcw-bullet-num {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

/* 4. Left Accent Border Cards */
.mcw-style-left_bar .mcw-link {
	padding: 10px 14px;
	border-radius: 6px;
	background: #f9fafb;
	border: 1px solid #eef0f3;
	border-left: 4px solid var(--mcw-accent);
}

.mcw-style-left_bar .mcw-link:hover,
.mcw-style-left_bar .mcw-item.is-active .mcw-link {
	background: #ffffff;
	border-color: color-mix(in srgb, var(--mcw-accent) 30%, #e5e7eb);
	border-left-width: 6px;
	box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}

/* 5. Dark Plum Card */
.mcw-style-dark_plum {
	background: linear-gradient(135deg, #3c1e5a 0%, #5b2669 100%);
	padding: 14px;
	border-radius: 14px;
}

.mcw-style-dark_plum .mcw-link {
	padding: 10px 12px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.mcw-style-dark_plum .mcw-desc,
.mcw-style-dark_plum .mcw-count-plain {
	color: rgba(255, 255, 255, 0.78);
}

.mcw-style-dark_plum .mcw-count-pill {
	background: var(--mcw-accent);
	color: #ffffff;
}

.mcw-style-dark_plum .mcw-bullet-num {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.mcw-style-dark_plum .mcw-link:hover,
.mcw-style-dark_plum .mcw-item.is-active .mcw-link {
	background: rgba(255, 255, 255, 0.16);
	border-color: var(--mcw-accent);
	transform: translateX(3px);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 921px) {
	.mcw-layout-grid_3 .mcw-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.mcw-layout-grid_2 .mcw-list,
	.mcw-layout-grid_3 .mcw-list {
		grid-template-columns: 1fr;
	}
}
