/* =========================================================
   OWLWAYS — FORUMBIT
   Kartenlayout passend zum Headerdesign
   Verwendet ausschließlich die bestehenden --owlh-* Rootfarben
========================================================= */


/* =========================================================
   KATEGORIEN
========================================================= */

.owlf-category {
	width: calc(100% - 20px);
	max-width: var(--owlh-content-width, 1120px);
	margin: 0 auto 30px;
	padding: 10px;
	box-sizing: border-box;
	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 8px 24px var(--owlh-shadow);
}

.owlf-category-head {
	position: relative;
	min-height: 72px;
	padding: 18px 20px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--owlh-surface-raised);
	border: 0;
	border-bottom: 1px solid var(--owlh-border-soft);
	box-shadow: none;
}

.owlf-category-heading {
	min-width: 0;
	flex: 0 1 auto;
}

.owlf-category-title {
	display: inline-block;
	color: var(--owlh-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.05;
	text-decoration: none;
}

a.owlf-category-title:hover {
	color: var(--owlh-accent);
	text-decoration: none;
}

.owlf-category-desc {
	max-width: 680px;
	margin-top: 5px;
	color: var(--owlh-text-soft);
	font-size: 11px;
	line-height: 1.55;
}

.owlf-category-rule {
	height: 1px;
	flex: 1 1 auto;
	background: var(--owlh-border);
}

.owlf-category-expander {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--owlh-border);
	background: var(--owlh-surface);
}

.owlf-category-expander img {
	width: 12px;
	height: 12px;
	display: block;
	opacity: .65;
}

.owlf-category-head-special {
	justify-content: flex-start;
}

.owlf-category-head-special .owlf-category-title {
	font-size: 22px;
}

.owlf-category-body {
	margin-top: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: var(--owlh-surface);
}


/* =========================================================
   UNTERKATEGORIEN
========================================================= */

.owlf-subcategory {
	padding: 14px 18px;
	box-sizing: border-box;
	background: var(--owlh-surface-soft);
	border: 0;
	border-bottom: 1px solid var(--owlh-border-soft);
}

.owlf-subcategory-title {
	color: var(--owlh-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 17px;
	font-weight: normal;
	text-decoration: none;
}

.owlf-subcategory-title:hover {
	color: var(--owlh-accent-hover);
	text-decoration: none;
}

.owlf-subcategory-desc {
	margin-top: 4px;
	color: var(--owlh-text-soft);
	font-size: 11px;
	line-height: 1.5;
}


/* =========================================================
   FORUMKARTEN
========================================================= */

.owlf-forum {
	position: relative;
	width: 100%;
	padding: 18px 20px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 104px minmax(210px, 270px);
	gap: 18px;
	align-items: center;
	background: var(--owlh-surface);
	border: 0;
	border-bottom: 1px solid var(--owlh-border-soft);
	box-shadow: none;
}

.owlf-forum-subcat {
	background: var(--owlh-surface-raised);
}

.owlf-status-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}


/* =========================================================
   ON / OFF — KLEINE SCHOKOFROSCHKARTEN
========================================================= */

.owlf-forum .forum_status {
	position: relative;
	width: 44px !important;
	height: 48px !important;
	margin: 0;
	display: block;
	flex: 0 0 44px;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	clip-path: polygon(
		50% 4%,
		100% 42%,
		82% 100%,
		18% 100%,
		0% 42%
	);
	cursor: pointer;
}

.owlf-forum .forum_status::before {
	content: "";
	position: absolute;
	inset: 2px;
	clip-path: polygon(
		50% 4%,
		100% 42%,
		82% 100%,
		18% 100%,
		0% 42%
	);
}

.owlf-forum .forum_status::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 51%;
	width: 7px;
	height: 7px;
	transform: translate(-50%, -50%) rotate(45deg);
}

.owlf-forum .forum_on {
	background: var(--owlh-accent) !important;
}

.owlf-forum .forum_on::before {
	background: var(--owlh-accent);
}

.owlf-forum .forum_on::after {
	background: var(--owlh-hero-text);
}

.owlf-forum .forum_off {
	background: var(--owlh-border-strong) !important;
}

.owlf-forum .forum_off::before {
	background: var(--owlh-surface-soft);
}

.owlf-forum .forum_off::after {
	background: var(--owlh-text-muted);
}

.owlf-forum .forum_offclose,
.owlf-forum .forum_offlink {
	background: var(--owlh-border) !important;
}

.owlf-forum .forum_offclose::before,
.owlf-forum .forum_offlink::before {
	background: var(--owlh-surface-deep);
}

.owlf-forum .forum_offclose::after,
.owlf-forum .forum_offlink::after {
	background: var(--owlh-text-muted);
}


/* =========================================================
   FORUM — HAUPTINHALT
========================================================= */

.owlf-forum-main {
	min-width: 0;
}

.owlf-forum-titleline {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 7px 10px;
}

.owlf-forum-title {
	color: var(--owlh-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	font-weight: normal;
	line-height: 1.15;
	text-decoration: none;
}

.owlf-forum-title:hover {
	color: var(--owlh-accent);
	text-decoration: none;
}

.owlf-forum-viewers {
	color: var(--owlh-text-muted);
	font-size: 9px;
	line-height: 1.4;
}

.owlf-forum-description {
	margin-top: 6px;
	color: var(--owlh-text-soft);
	font-size: 11px;
	line-height: 1.6;
}

.owlf-forum-description:empty {
	display: none;
}


/* =========================================================
   UNTERFOREN
========================================================= */

.owlf-subforums {
	margin-top: 10px;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 5px 8px;
	color: var(--owlh-text-muted);
	font-size: 9px;
	line-height: 1.5;
}

.owlf-subforums::before {
	content: "Unterforen";
	margin-right: 2px;
	color: var(--owlh-text-muted);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.owlf-subforums a {
	color: var(--owlh-accent);
	text-decoration: none;
}

.owlf-subforums a:hover {
	color: var(--owlh-accent-hover);
	text-decoration: none;
}


/* =========================================================
   STATISTIK
========================================================= */

.owlf-forum-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.owlf-stat {
	padding: 8px 6px;
	box-sizing: border-box;
	text-align: center;
	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border-soft);
}

.owlf-stat strong {
	display: block;
	overflow: hidden;
	color: var(--owlh-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	font-weight: normal;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.owlf-stat span {
	margin-top: 4px;
	display: block;
	color: var(--owlh-text-muted);
	font-size: 7px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .10em;
	text-transform: uppercase;
}


/* =========================================================
   LETZTER BEITRAG
========================================================= */

.owlf-forum-lastpost,
.owlf-lastpost {
	min-width: 0;
	padding-left: 16px;
	border-left: 1px solid var(--owlh-border-soft);
	color: var(--owlh-text-soft);
	font-size: 9px;
	line-height: 1.55;
}

.owlf-lastpost-label {
	margin-bottom: 5px;
	color: var(--owlh-text-muted);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.owlf-lastpost-title,
.owlf-forum-lastpost .forumlastpost {
	display: block;
	overflow: hidden;
	color: var(--owlh-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.owlf-forum-lastpost a,
.owlf-lastpost a {
	color: var(--owlh-accent);
	text-decoration: none;
}

.owlf-forum-lastpost a:hover,
.owlf-lastpost a:hover {
	color: var(--owlh-accent-hover);
	text-decoration: none;
}

.owlf-lastpost-meta {
	margin-top: 4px;
	color: var(--owlh-text-muted);
	font-size: 10px;
	line-height: 1.5;
}


/* =========================================================
   SONDERINHALTE ZWISCHEN DEN FOREN
========================================================= */

.owlf-feature-row,
.owlf-special-embed {
	width: 100%;
	box-sizing: border-box;
}

.owlf-feature,
.owlf-special-embed {
	padding: 18px 22px;
	box-sizing: border-box;
	background: var(--owlh-surface-raised);
	border: 0;
	box-shadow: none;
}

.owlf-feature-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 11px;
}

.owlf-feature-head::after {
	content: "";
	height: 1px;
	flex: 1 1 auto;
	background: var(--owlh-border);
}

.owlf-feature-title {
	margin: 0;
	color: var(--owlh-heading);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.1;
}

.owlf-feature-copy {
	position: relative;
	color: var(--owlh-text);
	font-size: 11px;
	line-height: 1.65;
}

.owlf-feature-meta {
	margin-top: 9px;
	color: var(--owlh-text-muted);
	font-size: 8px;
	line-height: 1.5;
}

.owlf-feature-meta a,
.owlf-feature-copy a {
	color: var(--owlh-accent);
	text-decoration: none;
}

.owlf-feature-meta a:hover,
.owlf-feature-copy a:hover {
	color: var(--owlh-accent-hover);
	text-decoration: none;
}

.owlf-feature-quote .owlf-feature-copy {
	padding-left: 32px;
}

.owlf-feature-quote .owlf-feature-copy::before {
	content: "“";
	position: absolute;
	left: 0;
	top: -8px;
	color: var(--owlh-accent-soft);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 46px;
	line-height: 1;
}

.owlf-faction-info {
	padding: 14px 18px;
	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border-soft);
	color: var(--owlh-text-soft);
	font-size: 11px;
	line-height: 1.6;
}


/* =========================================================
   SZENENTRACKER FORUMBIT
========================================================= */

.szenentracker-forumbit-row {
	width: 100%;
	box-sizing: border-box;
	border-bottom: 1px solid var(--owlh-border-soft);
}

.szenentracker-forumbit-row > * {
	max-width: 100%;
}



/* =========================================================
   ZUSAMMENHÄNGENDER KATEGORIEBLOCK
========================================================= */

.owlf-category-body > .owlf-forum:last-child,
.owlf-category-body > .owlf-subcategory:last-child,
.owlf-category-body > .owlf-feature-row:last-child,
.owlf-category-body > .owlf-special-embed:last-child,
.owlf-category-body > .szenentracker-forumbit-row:last-child {
	border-bottom: 0;
}

.owlf-category-body > .owlf-forum:nth-of-type(even) {
	background: var(--owlh-surface-soft);
}

.owlf-category-body > .owlf-feature-row,
.owlf-category-body > .owlf-special-embed,
.owlf-category-body > .szenentracker-forumbit-row {
	margin: 0;
	box-sizing: border-box;
	border-bottom: 1px solid var(--owlh-border-soft);
}

.owlf-feature-row > .owlf-feature {
	border-bottom: 0;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {

	.owlf-forum {
		grid-template-columns: 52px minmax(0, 1fr) 94px;
		gap: 14px;
	}

	.owlf-forum-lastpost {
		grid-column: 2 / 4;
		padding: 11px 0 0;
		border-left: 0;
		border-top: 1px solid var(--owlh-border-soft);
	}

	.owlf-category-head {
		padding: 18px 20px;
	}

	.owlf-category-title {
		font-size: 24px;
	}
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 680px) {

	.owlf-category {
		width: calc(100% - 16px);
		margin-bottom: 20px;
		padding: 6px;
	}

	.owlf-category-head {
		min-height: 0;
		padding: 15px 16px;
		gap: 10px;
	}

	.owlf-category-title {
		font-size: 21px;
	}

	.owlf-category-desc {
		font-size: 10px;
	}

	.owlf-category-rule {
		display: none;
	}

	.owlf-category-expander {
		margin-left: auto;
	}

	.owlf-category-body {
		gap: 0;
	}

	.owlf-forum {
		padding: 15px 14px;
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 11px 12px;
		align-items: start;
	}

	.owlf-status-wrap {
		padding-top: 1px;
	}

	.owlf-forum .forum_status {
		width: 36px !important;
		height: 40px !important;
		flex-basis: 36px;
	}

	.owlf-forum-title {
		font-size: 18px;
	}

	.owlf-forum-description {
		font-size: 10px;
		line-height: 1.55;
	}

	.owlf-forum-stats {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.owlf-stat {
		padding: 7px 5px;
	}

	.owlf-forum-lastpost {
		grid-column: 1 / -1;
		padding: 10px 0 0;
		border-left: 0;
		border-top: 1px solid var(--owlh-border-soft);
	}

	.owlf-lastpost-title,
	.owlf-forum-lastpost .forumlastpost {
		white-space: normal;
	}

	.owlf-subforums {
		gap: 4px 7px;
	}

	.owlf-feature,
	.owlf-special-embed {
		padding: 15px 16px;
	}

	.owlf-feature-title {
		font-size: 16px;
	}

	.owlf-feature-copy {
		font-size: 10px;
	}

	.owlf-feature-quote .owlf-feature-copy {
		padding-left: 26px;
	}
}


/* =========================================================
   SEHR KLEINE DISPLAYS
========================================================= */

@media (max-width: 420px) {

	.owlf-category {
		width: calc(100% - 10px);
		padding: 4px;
	}

	.owlf-category-head {
		padding: 13px 14px;
	}

	.owlf-category-title {
		font-size: 19px;
	}

	.owlf-forum {
		padding: 13px 12px;
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 10px;
	}

	.owlf-forum .forum_status {
		width: 32px !important;
		height: 36px !important;
		flex-basis: 32px;
	}

	.owlf-forum-title {
		font-size: 17px;
	}

	.owlf-forum-stats {
		grid-template-columns: 1fr 1fr;
	}

	.owlf-stat strong {
		font-size: 14px;
	}

	.owlf-feature-head {
		gap: 8px;
	}
}
