.contentHeaderNavigation .themenAufgabenCreateButton {
	order: -1;
}

.themenAufgabenBannerItem {
	list-style: none;
	margin: 0.5rem 0;
	padding: 0;
}

.themenAufgabenBanner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: var(--wcfBorderRadius);
	background-color: var(--wcfContentBackground);
	color: inherit;
}

.themenAufgabenBanner__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.themenAufgabenBanner__link:hover {
	text-decoration: none;
	color: inherit;
}

.themenAufgabenBanner:not(.themenAufgabenBanner--completed):has(.themenAufgabenBanner__link:hover) {
	background-color: var(--wcfTabularBoxBackgroundActive);
}

.themenAufgabenBanner--completed {
	opacity: 1;
}

.themenAufgabenBanner__content {
	flex: 1 1 auto;
	min-width: 0;
}

.themenAufgabenBanner__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 0.4rem;
	flex: 0 0 auto;
	align-self: stretch;
	min-width: 0;
}

.themenAufgabenBanner__menu {
	margin-top: auto;
	flex: 0 0 auto;
}

.themenAufgabenBanner__menu .dropdownToggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding-inline: 0.45rem;
}

.themenAufgabenBanner__menu .dropdownMenu button {
	display: block;
	width: 100%;
	text-align: left;
}

.themenAufgabenBanner__chevron {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--wcfContentDimmedText);
	text-decoration: none;
}

.themenAufgabenBanner__status {
	white-space: nowrap;
}

.themenAufgabenBanner__headline {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0 0 0.25rem;
}

.themenAufgabenBanner__badge {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
}

.themenAufgabenBanner__title {
	font-weight: 600;
	line-height: 1.3;
}

.themenAufgabenBanner__meta {
	display: block;
	color: var(--wcfContentDimmedText);
}

.themenAufgabenBanner__labelRows {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1rem;
	margin: 0.4rem 0 0;
}

.themenAufgabenBanner__labelRow {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35rem;
	line-height: 1;
}

.themenAufgabenBanner__labelCaption {
	display: inline-flex;
	align-items: center;
	color: var(--wcfContentDimmedText);
	font-size: var(--wcfFontSizeSmall, 0.85em);
	line-height: 1.28;
	padding: 2px 0;
}

.themenAufgabenBanner__labelCaption::after {
	content: ":";
}

.themenAufgabenBanner__labelRow > .badge {
	position: relative;
	top: 0;
}

.themenAufgabenBanner .themenAufgabenLabelList {
	margin-top: 0.3rem;
}

.themenAufgabenBanner__linkedThreads {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin: 0.15rem 0 0;
	padding-top: 0.55rem;
	border-top: 1px solid var(--wcfContentBorderInner);
}

.themenAufgabenBanner__linkedThreadsCaption {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--wcfContentDimmedText);
	font-size: var(--wcfFontSizeSmall, 0.85em);
	line-height: 1.28;
	white-space: nowrap;
}

.themenAufgabenBanner__linkedThreadsList {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.themenAufgabenBanner__linkedThread {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 0.15rem 0.55rem;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: var(--wcfBorderRadius);
	background-color: var(--wcfTabularBoxBackground);
	color: inherit;
	font-size: var(--wcfFontSizeSmall, 0.85em);
	line-height: 1.35;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.themenAufgabenBanner__linkedThread:hover {
	background-color: var(--wcfTabularBoxBackgroundActive);
	color: inherit;
	text-decoration: none;
}

.themenAufgabenGroup + .themenAufgabenGroup {
	margin-top: 1.25rem;
}

.themenAufgabenList.containerList {
	margin-top: 0;
}

.themenAufgabenItem__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.themenAufgabenItem__main {
	flex: 1 1 14rem;
	min-width: 0;
}

.themenAufgabenItem .containerHeadline {
	margin: 0;
}

.themenAufgabenItem .containerHeadline > h3 {
	font-size: var(--wcfFontSizeDefault);
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.themenAufgabenItem .containerHeadline > h3 > a {
	text-decoration: none;
}

.themenAufgabenItem .containerHeadline > h3 > a:hover {
	text-decoration: underline;
}

.themenAufgabenItem__meta {
	display: block;
	margin-top: 0.1rem;
	color: var(--wcfContentDimmedText);
}

.themenAufgabenItem__labelRows {
	margin-top: 0.35rem;
}

.themenAufgabenItem .themenAufgabenLabelList {
	margin-top: 0.3rem;
}

.themenAufgabenItem__actions {
	flex: 0 0 auto;
	margin: 0;
	align-items: center;
}

.themenAufgabenItem__menu {
	display: flex;
	align-items: center;
}

.themenAufgabenItem__menu .dropdownToggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding-inline: 0.45rem;
}

.themenAufgabenItem__menu .dropdownMenu button {
	display: block;
	width: 100%;
	text-align: left;
}

.themenAufgabenItem--highlight {
	outline: 2px solid color-mix(in srgb, var(--wcfLinkColor, #0b6bcb) 45%, transparent);
	outline-offset: -2px;
}

.themenAufgabenLabelList {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.themenAufgabenLabelList > li:not(:last-child) {
	margin-right: 0 !important;
}

.themenAufgabenLabelList > li .label,
.themenAufgabenLabelList > li:not(:first-child) .label,
.themenAufgabenLabelList > li:not(:last-child) .label {
	border-radius: var(--wcfBorderRadius, 3px) !important;
}

@media (max-width: 767px) {
	.themenAufgabenItem__actions {
		width: 100%;
	}
}

.themenAufgabenSearch {
	margin-bottom: 1rem;
}

.themenAufgabenSearch__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.themenAufgabenSearch__input {
	flex: 1 1 16rem;
	min-width: 0;
}

.themenAufgabenLinkedThreads {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.5rem;
	margin-top: 0.4rem;
	font-size: var(--wcfFontSizeSmall, 0.85em);
}

.themenAufgabenLinkedThreads--banner {
	display: none;
}

.themenAufgabenLinkedThreads__caption {
	color: var(--wcfContentDimmedText);
}

.themenAufgabenLinkedThreads__caption::after {
	content: ":";
}

.themenAufgabenLinkedThreads__list {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.themenAufgabenLinkedThreads__list > li {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.themenAufgabenLinkedThreads__unlink {
	display: inline-flex;
	align-items: center;
	border: 0;
	padding: 0;
	background: transparent;
	color: var(--wcfContentDimmedText);
	cursor: pointer;
}

.themenAufgabenLinkedThreads__unlink:hover {
	color: var(--wcfContentLinkActive, var(--wcfContentText));
}

.themenAufgabenBoxList {
	margin: 0;
	padding: 0;
	list-style: none;
}

.themenAufgabenBoxList__item + .themenAufgabenBoxList__item {
	margin-top: 0.6rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--wcfContentBorderInner);
}

.themenAufgabenBoxList__link {
	display: block;
	font-weight: 600;
	line-height: 1.3;
}

.themenAufgabenBoxList__meta {
	display: block;
	color: var(--wcfContentDimmedText);
}

.themenAufgabenBoxList--wide {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 0.75rem;
}

.themenAufgabenBoxList--wide .themenAufgabenBoxList__item + .themenAufgabenBoxList__item {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.themenAufgabenBoxList__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.75rem;
}

.messageGroupList .statusIcons .themenAufgabenStatusIcon {
	display: inline-flex;
	align-items: center;
}

.contentHeaderMetaData .themenAufgabenStatusIcon {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

.contentHeaderMetaData > li:has(.themenAufgabenStatusIcon) {
	display: inline-flex;
	align-items: center;
}

/* Task icon left of the WBB "mark as done" checkbox */
.messageGroupList .statusIcons > li:has(.themenAufgabenStatusIcon) {
	order: 50;
}

.messageGroupList .statusIcons > li:has(.jsMarkAsDone) {
	order: 51;
}
