/* =========================================================
   WANTED-KATEGORIE
   ========================================================= */

.fire-category--wanted {
	margin-bottom: 110px;
}

.fire-wanted-table {
	margin-top: 12px;
}

.fire-wanted-table > tbody > tr > td {
	padding: 0;
}


/* =========================================================
   GESUCHE-GRID
   ========================================================= */

.firewantedkasten {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 42px);

	width: 100%;
	padding:
		26px
		clamp(8px, 1.5vw, 20px)
		18px;

	box-sizing: border-box;
	align-items: stretch;
}


.fireinwant_wrap {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;

	min-width: 0;
	height: 100%;
	padding-top: 10px;

	background: transparent;
}

.firewanted__content {
	display: flex;
	flex: 1;
	flex-direction: column;

	width: 100%;
	min-width: 0;

	text-align: center;
}


/* feine vertikale Trennung */

.fireinwant_wrap + .fireinwant_wrap::before {
	content: "";

	position: absolute;
	top: 68px;
	bottom: 24px;
	left: calc(-1 * clamp(14px, 2vw, 29px));

	width: 1px;

	background:
		linear-gradient(
			to bottom,
			transparent,
			rgba(165, 195, 200, 0.12),
			transparent
		);
}


/* =========================================================
   RAUTENBILD
   ========================================================= */

.firewantimg {
	position: relative;

	display: block;

	width: clamp(82px, 7vw, 106px);
	aspect-ratio: 1;

	flex-shrink: 0;
	margin: 0 auto 30px;

	overflow: hidden;

	border: 1px solid rgba(178, 139, 173, 0.62);

	transform: rotate(45deg);

	transition:
		border-color 0.25s ease,
		transform 0.25s ease;
}

.firewantimg::before {
	content: "";

	position: absolute;
	z-index: 2;
	inset: 6px;

	border: 1px solid rgba(231, 235, 232, 0.14);

	pointer-events: none;
}

.firewantimg span {
	position: absolute;
	inset: -24%;

	display: block;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	filter:
		saturate(0.74)
		contrast(1.04)
		brightness(0.82);

	transform: rotate(-45deg) scale(1.05);

	transition:
		filter 0.3s ease,
		transform 0.3s ease;
}

.fireinwant_wrap::after {
	content: "";

	position: absolute;
	z-index: -1;
	top: 3px;
	left: 50%;

	width: clamp(82px, 7vw, 106px);
	aspect-ratio: 1;

	border: 1px solid rgba(165, 195, 200, 0.11);

	transform:
		translateX(-50%)
		rotate(45deg)
		translate(6px, 6px);

	pointer-events: none;
}


/* =========================================================
   KOMPAKTER TITELBEREICH
   ========================================================= */

.firewanted__eyebrow {
	display: block;
	margin-bottom: 6px;

	color: var(--fire-accent-light);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.27em;
	line-height: 1.4;
	text-transform: uppercase;
}

.firewantlink {
	display: -webkit-box;

	height: 48px;
	min-height: 48px;
	margin: 0;
	padding: 0 6px 12px;

	overflow: hidden;

	color: rgba(235, 238, 235, 0.94) !important;
	font-family: var(--fire-display);
	font-size: clamp(20px, 1.7vw, 25px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.05;
	text-align: center;
	text-decoration: none;
	text-transform: none;

	background: transparent;

	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;

	transition: color 0.2s ease;
}


.firewantlink:link,
.firewantlink:visited {
	color: rgba(235, 238, 235, 0.94) !important;
	font-weight: 400;
}

.firewantlink:hover {
	color: var(--accent-light) !important;
}


/* =========================================================
   FAKTEN
   ========================================================= */

.firewanted__facts {
	width: 100%;
	margin-top: 4px;

	border-top: 1px solid rgba(165, 195, 200, 0.12);
}

.firewantfact {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	gap: 10px;

	width: 100%;
	min-height: 34px;
	padding: 7px 5px;

	box-sizing: border-box;

	color: rgba(193, 203, 201, 0.69);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.07em;
	line-height: 1.45;
	text-align: left;
	text-transform: uppercase;

	background: transparent;
	border-bottom: 1px solid rgba(165, 195, 200, 0.08);
}

.firewantfact i {
	width: 20px;

	color: var(--accent);
	font-size: 10px;
	text-align: center;
}

.firewantfact span {
	min-width: 0;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* =========================================================
   LINK UNTEN
   ========================================================= */

.firewanted__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;

	align-self: center;

	margin-top: 20px;
	padding-bottom: 7px;

	color: var(--fire-accent-light);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;

	border-bottom: 1px solid rgba(178, 139, 173, 0.38);

	transition:
		color 0.2s ease,
		gap 0.2s ease,
		border-color 0.2s ease;
}

.firewanted__more i {
	color: var(--accent);
	font-size: 8px;
}

.firewanted__more:hover {
	gap: 16px;

	color: #ffffff;
	border-bottom-color: var(--accent);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

	.firewantedkasten {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 65px 58px;
	}

	.fireinwant_wrap + .fireinwant_wrap::before {
		display: none;
	}

	.fireinwant_wrap:nth-child(even)::before {
		content: "";

		position: absolute;
		top: 68px;
		bottom: 24px;
		left: -29px;

		display: block;

		width: 1px;

		background:
			linear-gradient(
				to bottom,
				transparent,
				rgba(165, 195, 200, 0.12),
				transparent
			);
	}

}

@media (max-width: 650px) {

	.firewantedkasten {
		grid-template-columns: 1fr;
		gap: 68px;

		padding-right: 18px;
		padding-left: 18px;
	}

	.fireinwant_wrap::before {
		display: none !important;
	}

	.firewanted__content {
		max-width: 340px;
	}

}