:root {
	--stxsf-accent: #3393a0;
	--stxsf-accent-strong: #216d78;
	--stxsf-accent-soft: #e9f7f9;
	--stxsf-ink: #111111;
	--stxsf-muted: #66717a;
	--stxsf-line: rgba(17, 17, 17, 0.08);
	--stxsf-line-strong: rgba(51, 147, 160, 0.26);
	--stxsf-surface: #ffffff;
	--stxsf-surface-alt: #f7fafb;
	--stxsf-shadow: 0 14px 34px rgba(17, 17, 17, 0.07);
}

.wpc-filters-widget:not(.stxsf-widget) {
	display: none !important;
}

.stxsf-widget {
	margin: 0 0 24px;
}

.stxsf-content {
	padding: 18px;
	border: 1px solid var(--stxsf-line);
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(51, 147, 160, 0.1), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
	box-shadow: var(--stxsf-shadow);
}

.stxsf-widget--sidebar .stxsf-content {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.stxsf-widget--sidebar {
	max-width: 100%;
}

.stxsf-widget--sidebar .stxsf-title {
	font-size: 1rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.stxsf-widget--sidebar .stxsf-subtitle {
	display: none;
}

.stxsf-widget--sidebar .stxsf-head__actions {
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
}

.stxsf-widget--sidebar .stxsf-btn,
.stxsf-widget--sidebar .stxsf-badge {
	flex: 0 0 auto;
}

.stxsf-widget--sidebar .stxsf-head {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.06);
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}

.stxsf-widget--sidebar .stxsf-head__copy {
	gap: 4px;
	min-width: 0;
}

.stxsf-widget--sidebar .stxsf-badge--sidebar {
	background: rgba(17, 17, 17, 0.92);
	font-size: 0.68rem;
	padding: 6px 9px;
}

.stxsf-widget--sidebar .stxsf-btn {
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
	color: var(--stxsf-accent-strong);
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.stxsf-widget--sidebar .stxsf-btn:hover {
	background: transparent;
	border: 0;
	color: var(--stxsf-accent-strong);
	transform: none;
}

.stxsf-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 18px;
}

.stxsf-head__copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stxsf-eyebrow {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--stxsf-accent-soft);
	color: var(--stxsf-accent-strong);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.stxsf-title {
	margin: 0;
	color: var(--stxsf-ink);
	font-size: 1.28rem;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.stxsf-subtitle {
	margin: 0;
	color: var(--stxsf-muted);
	font-size: 0.94rem;
	line-height: 1.45;
}

.stxsf-head__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.stxsf-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--stxsf-ink);
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1;
}

.stxsf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 15px;
	border-radius: 999px;
	border: 1px solid var(--stxsf-line);
	background: #ffffff;
	color: var(--stxsf-ink);
	text-decoration: none;
	font-weight: 800;
	font-size: 0.88rem;
	line-height: 1;
	transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.stxsf-btn:hover {
	border-color: var(--stxsf-accent);
	background: var(--stxsf-accent-soft);
	transform: translateY(-1px);
}

.stxsf-panels {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.stxsf-panel {
	padding: 14px;
	border: 1px solid var(--stxsf-line);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.94);
}

.stxsf-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.stxsf-panel__head--stack {
	flex-direction: column;
	align-items: stretch;
}

.stxsf-panel__titleline {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.stxsf-panel__head h4 {
	margin: 0;
	color: var(--stxsf-ink);
	font-size: 1rem;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.stxsf-panel__hint {
	margin: 4px 0 0;
	color: var(--stxsf-muted);
	font-size: 0.8rem;
	line-height: 1.35;
}

.stxsf-panel__meta {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--stxsf-surface-alt);
	color: var(--stxsf-muted);
	font-size: 0.74rem;
	font-weight: 800;
	white-space: nowrap;
}

.stxsf-search {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--stxsf-line);
	border-radius: 16px;
	background: #ffffff;
	color: var(--stxsf-ink);
	font: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stxsf-search:focus {
	outline: none;
	border-color: var(--stxsf-accent);
	box-shadow: 0 0 0 4px rgba(51, 147, 160, 0.12);
}

.stxsf-widget .wpc-filters-ul-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.stxsf-widget .wpc-filters-ul-list > li,
.stxsf-widget .wpc-term-item-content-wrapper,
.stxsf-widget .wpc-term-item-content-wrapper label {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

.stxsf-option-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.stxsf-option-list--audience {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stxsf-option-list--series {
	max-height: 360px;
	overflow: auto;
	padding-right: 4px;
}

.stxsf-option-list--brand {
	gap: 8px;
}

.stxsf-widget .wpc-term-item-content-wrapper label {
	display: block;
	margin: 0;
}

.stxsf-option-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid var(--stxsf-line);
	border-radius: 18px;
	background: #ffffff;
	color: var(--stxsf-ink);
	text-decoration: none;
	font-weight: 800;
	line-height: 1.25;
	text-align: left;
	box-shadow: 0 6px 16px rgba(17, 17, 17, 0.035);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.stxsf-option-link::before {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(51, 147, 160, 0.14);
	box-shadow: inset 0 0 0 1px rgba(51, 147, 160, 0.18);
}

.stxsf-option-link__label {
	flex: 1 1 auto;
	min-width: 0;
}

.stxsf-option-link:hover {
	transform: translateY(-1px);
	border-color: var(--stxsf-line-strong);
	box-shadow: 0 12px 20px rgba(17, 17, 17, 0.06);
	background: #fcfeff;
}

.stxsf-widget li.wpc-term-selected .stxsf-option-link {
	border-color: rgba(51, 147, 160, 0.34);
	background: linear-gradient(180deg, #effbfc 0%, #e4f5f8 100%);
	color: var(--stxsf-accent-strong);
	box-shadow: 0 12px 24px rgba(51, 147, 160, 0.12);
}

.stxsf-widget li.wpc-term-selected .stxsf-option-link::before {
	background: var(--stxsf-accent);
	box-shadow: 0 0 0 4px rgba(51, 147, 160, 0.14);
}

.stxsf-widget li.wpc-term-selected .stxsf-option-link::after {
	content: "Aktiv";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 8px;
	border-radius: 999px;
	background: rgba(51, 147, 160, 0.14);
	color: var(--stxsf-accent-strong);
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
}

.stxsf-widget--sidebar .stxsf-option-list--audience {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.stxsf-widget--sidebar .stxsf-panel {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.stxsf-widget--sidebar .stxsf-panel + .stxsf-panel {
	padding-top: 12px;
	border-top: 1px solid rgba(17, 17, 17, 0.06);
}

.stxsf-widget--sidebar .stxsf-panel__head {
	margin-bottom: 8px;
	align-items: center;
}

.stxsf-widget--sidebar .stxsf-panel__head h4 {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.stxsf-widget--sidebar .stxsf-panel__hint {
	font-size: 0.68rem;
	display: none;
}

.stxsf-widget--sidebar .stxsf-panel__meta {
	padding: 0;
	border-radius: 0;
	background: transparent;
	font-size: 0.66rem;
	font-weight: 700;
}

.stxsf-widget--sidebar .stxsf-search {
	margin-top: 2px;
	padding: 10px 12px;
	font-size: 0.8rem;
	border-radius: 12px;
	box-shadow: none;
}

.stxsf-widget--sidebar .stxsf-option-link {
	min-height: 42px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 8px;
	word-break: normal;
	overflow-wrap: break-word;
	box-shadow: none;
}

.stxsf-widget--sidebar .stxsf-option-link::before {
	flex-basis: 7px;
	width: 7px;
	height: 7px;
	box-shadow: inset 0 0 0 1px rgba(51, 147, 160, 0.16);
}

.stxsf-widget--sidebar .stxsf-option-link:hover {
	box-shadow: none;
	transform: none;
}

.stxsf-widget--sidebar li.wpc-term-selected .stxsf-option-link::after {
	display: none;
}

.stxsf-widget--sidebar li.wpc-term-selected .stxsf-option-link {
	background: #eef8fa;
	border-color: rgba(51, 147, 160, 0.32);
}

.stxsf-widget--sidebar .stxsf-option-list--series {
	max-height: 240px;
	gap: 6px;
}

.stxsf-series-list li.is-hidden,
.stxsf-option-list--series li.is-hidden {
	display: none;
}

.wpc-no-filter-terms {
	padding: 13px 14px;
	border-radius: 16px;
	background: var(--stxsf-surface-alt);
	color: var(--stxsf-muted);
	font-weight: 700;
}

.stxsf-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 20px;
}

.stxsf-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 9px;
	width: auto;
	max-width: 100%;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(51, 147, 160, 0.2);
	background: #ffffff;
	color: var(--stxsf-accent-strong);
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	box-shadow: none;
}

.stxsf-chip__label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stxsf-chip:hover {
	border-color: var(--stxsf-accent);
}

.stxsf-chip span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: rgba(51, 147, 160, 0.1);
	font-size: 0.82rem;
	line-height: 1;
}

.stxsf-chip--reset {
	background: var(--stxsf-ink);
	border-color: var(--stxsf-ink);
	color: #ffffff;
	padding-inline: 11px;
}

.stxsf-chip--reset span {
	display: none;
}

.stxsf-chip--reset {
	white-space: nowrap;
}

.stxsf-empty-help {
	margin: 0 0 26px;
	padding: 20px;
	border: 1px solid rgba(51, 147, 160, 0.18);
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(51, 147, 160, 0.09), transparent 32%),
		linear-gradient(180deg, #f9feff 0%, #f4fafb 100%);
	box-shadow: 0 16px 30px rgba(17, 17, 17, 0.05);
}

.stxsf-widget--sidebar + .stxsf-chips,
.stxsf-widget--sidebar ~ .stxsf-chips {
	margin-top: 14px;
}

.stxsf-empty-help__head {
	margin-bottom: 14px;
}

.stxsf-empty-help__head h3 {
	margin: 0 0 6px;
	font-size: 1.08rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: var(--stxsf-ink);
}

.stxsf-empty-help__head p {
	margin: 0;
	color: var(--stxsf-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.stxsf-empty-help__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.stxsf-empty-help__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid rgba(51, 147, 160, 0.18);
	background: #ffffff;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(17, 17, 17, 0.035);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.stxsf-empty-help__item:hover {
	transform: translateY(-1px);
	border-color: rgba(51, 147, 160, 0.34);
	box-shadow: 0 14px 24px rgba(17, 17, 17, 0.06);
}

.stxsf-empty-help__label {
	color: var(--stxsf-ink);
	font-weight: 800;
	line-height: 1.3;
}

.stxsf-empty-help__count {
	color: var(--stxsf-accent-strong);
	font-size: 0.84rem;
	font-weight: 800;
}

.stxsf-widget--inline .stxsf-content {
	padding: 22px;
}

.stxsf-widget--inline .stxsf-head {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
}

.stxsf-widget--inline .stxsf-head__copy {
	max-width: 560px;
}

.stxsf-widget--inline .stxsf-panels {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: start;
}

.stxsf-widget--inline .stxsf-panel--series {
	grid-row: span 2;
}

.stxsf-widget--inline .stxsf-option-list--series {
	max-height: 430px;
}

.stxsf-widget--sidebar .stxsf-content {
	position: relative;
}

@media (max-width: 1180px) {
	.stxsf-widget--inline .stxsf-panels {
		grid-template-columns: 1fr;
	}

	.stxsf-widget--inline .stxsf-panel--series {
		grid-row: auto;
	}
}

@media (max-width: 980px) {
	.stxsf-content,
	.stxsf-widget--inline .stxsf-content,
	.stxsf-widget--sidebar .stxsf-content {
		padding: 18px;
	}

	.stxsf-widget--inline .stxsf-head {
		flex-direction: column;
		align-items: stretch;
	}

	.stxsf-head__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.stxsf-btn {
		width: 100%;
	}

	.stxsf-empty-help__list {
		grid-template-columns: 1fr;
	}

	.stxsf-widget--sidebar .stxsf-content {
		padding: 0;
	}
}

@media (max-width: 640px) {
	.stxsf-panel__titleline {
		grid-template-columns: 1fr;
		display: flex;
		flex-direction: column;
	}

	.stxsf-option-link {
		min-height: 48px;
		padding: 12px 14px;
	}

	.stxsf-widget--sidebar .stxsf-option-list--audience {
		grid-template-columns: 1fr;
	}

	.stxsf-widget--sidebar .stxsf-head {
		flex-direction: column;
		align-items: stretch;
	}

	.stxsf-widget--sidebar .stxsf-head__actions {
		flex-wrap: wrap;
	}
}
