/* =========================================================
   INGAME-ZEITUNG – GRUNDRAHMEN
   ========================================================= */

.igzeitung-overview,
.igzeitung-write {
	position: relative;

	width: 100%;
	margin: 0 auto;
	padding: 34px;

	box-sizing: border-box;

	color: var(--txt);
	font-family: inherit;

	background:
		linear-gradient(
			135deg,
			rgba(178, 139, 173, 0.035),
			transparent 38%
		),
		rgba(255, 255, 255, 0.008);

	border: 1px solid rgba(165, 195, 200, 0.11);
	box-shadow:
		0 18px 50px rgba(0, 0, 0, 0.14);
}

.igzeitung-overview::before,
.igzeitung-overview::after,
.igzeitung-write::before,
.igzeitung-write::after {
	content: "";

	position: absolute;

	width: 32px;
	height: 32px;

	pointer-events: none;
}

.igzeitung-overview::before,
.igzeitung-write::before {
	top: 10px;
	left: 10px;

	border-top: 1px solid rgba(178, 139, 173, 0.42);
	border-left: 1px solid rgba(178, 139, 173, 0.42);
}

.igzeitung-overview::after,
.igzeitung-write::after {
	right: 10px;
	bottom: 10px;

	border-right: 1px solid rgba(112, 150, 154, 0.34);
	border-bottom: 1px solid rgba(112, 150, 154, 0.34);
}


/* =========================================================
   HAUPTÜBERSCHRIFTEN
   ========================================================= */

.igzeitung-overview h1,
.igzeitung-write h1 {
	position: relative;

	margin: 0 0 30px;
	padding: 0 0 22px;

	color: transparent;
	font-family: var(--fire-display);
	font-size: clamp(42px, 6vw, 78px);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 0.95;

	border-bottom: 1px solid rgba(165, 195, 200, 0.13);

	-webkit-text-stroke:
		1px
		rgba(232, 236, 234, 0.86);
}

.igzeitung-overview h1::after,
.igzeitung-write h1::after {
	content: "";

	position: absolute;
	bottom: -1px;
	left: 0;

	width: min(180px, 35%);
	height: 1px;

	background:
		linear-gradient(
			to right,
			var(--fire-accent),
			var(--accent)
		);
}


/* =========================================================
   MENÜ
   ========================================================= */

.igz-menu {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	gap: 4px 18px;

	margin: 0 0 36px;
	padding: 50px;

	font-size: 11px;
	text-align: right;

	background: transparent;
	border-top: 1px solid rgba(165, 195, 200, 0.11);
	border-bottom: 1px solid rgba(165, 195, 200, 0.11);
}

.igz-menu a {
	position: relative;

	display: inline-flex;
	align-items: center;

	margin: 0;
	padding: 7px 0;

	color: rgba(202, 211, 208, 0.62);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;

	transition:
		color 0.18s ease,
		border-color 0.18s ease;
}

.igz-menu a::after {
	content: "";

	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;

	height: 1px;

	background: rgba(178, 139, 173, 0);
	transition: background 0.18s ease;
}

.igz-menu a:hover {
	color: rgba(245, 247, 246, 0.96);
	text-decoration: none;
	letter-spacing: 0.12em;
}

.igz-menu a:hover::after {
	background: rgba(178, 139, 173, 0.58);
}


/* =========================================================
   MENÜÜBERSCHRIFT
   ========================================================= */

.igz-menu h2 {
	flex: 1 1 100%;

	margin: 8px 0 14px;
	padding: 0 0 12px;

	color: rgba(235, 239, 237, 0.94);
	font-family: var(--fire-display);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1;
	text-align: left;

	border-bottom: 1px solid rgba(165, 195, 200, 0.1);
}


/* =========================================================
   AKTUELLE ZEITUNGEN
   ========================================================= */

.igz-current-newspapers {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;

	margin: 0 0 42px;
	padding: 0;
}

.igz-newspaper {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 0;
	min-height: 210px;
	margin: 0;
	padding: 24px;

	overflow: hidden;

	text-align: center;

	background:
		linear-gradient(
			to bottom,
			rgba(178, 139, 173, 0.025),
			transparent 55%
		),
		rgba(255, 255, 255, 0.009);

	border: 1px solid rgba(165, 195, 200, 0.1);

	transition:
		background 0.22s ease,
		border-color 0.22s ease,
		transform 0.22s ease;
}

.igz-newspaper::before,
.igz-newspaper::after {
	content: "";

	position: absolute;

	width: 22px;
	height: 22px;

	pointer-events: none;
}

.igz-newspaper::before {
	top: 8px;
	left: 8px;

	border-top: 1px solid rgba(178, 139, 173, 0.36);
	border-left: 1px solid rgba(178, 139, 173, 0.36);
}

.igz-newspaper::after {
	right: 8px;
	bottom: 8px;

	border-right: 1px solid rgba(112, 150, 154, 0.29);
	border-bottom: 1px solid rgba(112, 150, 154, 0.29);
}

.igz-newspaper:hover {
	background:
		linear-gradient(
			to bottom,
			rgba(178, 139, 173, 0.045),
			transparent 60%
		),
		rgba(255, 255, 255, 0.014);

	border-color: rgba(178, 139, 173, 0.23);

	transform: translateY(-2px);
}

.igz-newspaper a {
	display: block;
	width: 100%;
}

.igz-logo {
	display: block;

	width: auto;
	max-width: 100%;
	max-height: 170px;
	margin: 0 auto;

	object-fit: contain;

	filter:
		grayscale(0.3)
		saturate(0.75);

	opacity: 0.9;

	transition:
		filter 0.3s ease,
		opacity 0.3s ease,
		transform 0.3s ease;
}

.igz-newspaper:hover .igz-logo {
	filter:
		grayscale(0)
		saturate(0.9);

	opacity: 1;
	transform: scale(1.015);
}


/* =========================================================
   NEUESTE ARTIKEL
   ========================================================= */

.igz-latest-articles {
	margin: 0 0 42px;
	padding: 10px;
	list-style: none;
	text-align: left;
}

.igzeitung-overview .igz-latest-articles li a {
	display: inline;

	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 1.6;
	text-decoration: none;
	text-transform: uppercase;
}

.igzeitung-overview .igz-latest-articles li a:hover {
	color: rgba(244, 246, 245, 0.96);
	text-decoration: none;
}

.igz-latest-articles li::before {
	content: "◆";

	margin-top: 1px;

	color: rgba(178, 139, 173, 0.55);
	font-size: 7px;
}

.igz-latest-articles li:hover {
	color: rgba(235, 239, 237, 0.9);
	background: rgba(178, 139, 173, 0.025);
}


/* =========================================================
   ALLGEMEINE LISTEN DER ÜBERSICHT
   ========================================================= */

.igzeitung-overview ul {
	margin: 0 0 28px;
	padding: 0;

	list-style: none;
}

.igzeitung-overview ul li {
	display: flex;
	align-items: center;
	gap: 14px;

	margin: 0;
	padding: 13px 15px;

	color: rgba(205, 214, 211, 0.68);

	background: rgba(255, 255, 255, 0.007);
	border-bottom: 1px solid rgba(165, 195, 200, 0.075);

	transition:
		background 0.18s ease,
		color 0.18s ease;
}

.igzeitung-overview ul li:first-child {
	border-top: 1px solid rgba(165, 195, 200, 0.075);
}

.igzeitung-overview ul li:hover {
	color: rgba(238, 241, 240, 0.92);
	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.035),
			transparent 55%
		);
}

.igzeitung-overview ul li img {
	flex: 0 0 auto;

	max-width: 100px;
	max-height: 54px;
	margin: 0;

	object-fit: contain;

	border: 1px solid rgba(165, 195, 200, 0.11);
}


/* =========================================================
   LINKS
   ========================================================= */

.igzeitung-overview a,
.igzeitung-write a {
	color: rgba(221, 226, 224, 0.8);
	font-weight: 600;
	text-decoration: none;

	transition:
		color 0.18s ease,
		border-color 0.18s ease;
}

.igzeitung-overview a:hover,
.igzeitung-write a:hover {
	color: #fff;
	text-decoration: none;
}

.igz-archive a {
	color: rgba(205, 214, 211, 0.68);
	letter-spacing: normal;

	border-bottom: 1px solid transparent;
}

.igz-archive a:hover {
	color: var(--fire-accent-light);
	letter-spacing: normal;

	border-bottom-color: rgba(178, 139, 173, 0.48);

	transition:
		color 0.18s ease,
		border-color 0.18s ease;
}


/* =========================================================
   ARTIKELBILD
   ========================================================= */

.tpimage {
	display: block;

	width: auto;
	max-width: min(100%, 640px);
	height: auto;
	margin: 0 auto;
	padding: 24px 0;

	filter:
		grayscale(0.12)
		saturate(0.82)
		contrast(1.02);
}


/* =========================================================
   STATISTIK
   ========================================================= */

.igzeitung-stats {
	margin-top: 34px;
	padding-top: 24px;

	border-top: 1px solid rgba(165, 195, 200, 0.11);
}

.igzeitung-stats ul li {
	justify-content: space-between;

	margin: 0;
	padding: 10px 14px;

	font-size: 11px;
	letter-spacing: 0.04em;
}


/* =========================================================
   SCHREIBFORMULAR
   ========================================================= */

.igzeitung-write {
	border-radius: 0;
}

.igzeitung-write form {
	display: grid;
	gap: 22px;
}

.igzeitung-write form p {
	margin: 0;
}

.igzeitung-write label {
	display: block;

	margin: 0 0 8px;

	color: rgba(209, 217, 214, 0.7);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.igzeitung-write input[type="text"],
.igzeitung-write input[type="date"],
.igzeitung-write select,
.igzeitung-write textarea {
	width: 100%;
	padding: 10px 12px;

	box-sizing: border-box;

	color: var(--txt);
	font-family: inherit;
	font-size: 12px;
	line-height: 1.6;

	background: rgba(255, 255, 255, 0.014);
	border: 1px solid rgba(165, 195, 200, 0.14);
	border-radius: 0;
	outline: none;

	transition:
		background 0.18s ease,
		border-color 0.18s ease;
}

.igzeitung-write input[type="text"]:hover,
.igzeitung-write input[type="date"]:hover,
.igzeitung-write select:hover,
.igzeitung-write textarea:hover {
	border-color: rgba(178, 139, 173, 0.3);
}

.igzeitung-write input[type="text"]:focus,
.igzeitung-write input[type="date"]:focus,
.igzeitung-write select:focus,
.igzeitung-write textarea:focus {
	background: rgba(255, 255, 255, 0.025);
	border-color: rgba(178, 139, 173, 0.5);
}

.igzeitung-write textarea {
	min-height: 180px;
	resize: vertical;
}


/* =========================================================
   DATEI-UPLOAD
   ========================================================= */

.igzeitung-write input[type="file"] {
	display: block;

	width: 100%;
	padding: 10px;

	box-sizing: border-box;

	color: rgba(205, 214, 211, 0.68);
	font-family: inherit;
	font-size: 11px;

	background: rgba(255, 255, 255, 0.008);
	border: 1px solid rgba(165, 195, 200, 0.12);
}

.igzeitung-write input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;

	color: rgba(225, 230, 228, 0.82);
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;

	background: transparent;
	border: 1px solid rgba(178, 139, 173, 0.28);

	cursor: pointer;
}


/* =========================================================
   SUBMIT-BUTTON
   ========================================================= */

.igzeitung-write input[type="submit"] {
	display: inline-flex;

	width: auto;
	padding: 10px 18px;

	color: rgba(239, 242, 240, 0.9);
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;

	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.1),
			rgba(112, 150, 154, 0.035)
		);

	border: 1px solid rgba(178, 139, 173, 0.3);
	border-radius: 0;

	cursor: pointer;

	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
}

.igzeitung-write input[type="submit"]:hover {
	color: #fff;

	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.16),
			rgba(112, 150, 154, 0.06)
		);

	border-color: rgba(178, 139, 173, 0.55);

	transform: translateY(-1px);
}


/* =========================================================
   FEHLERMELDUNGEN
   ========================================================= */

.igzeitung-write .errors {
	margin: 0 0 24px;
	padding: 14px 16px;

	color: rgba(232, 189, 194, 0.9);
	font-size: 12px;
	line-height: 1.65;

	background:
		linear-gradient(
			to right,
			rgba(160, 75, 87, 0.1),
			transparent 65%
		);

	border: 1px solid rgba(190, 100, 110, 0.26);
	border-radius: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

	.igz-current-newspapers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 700px) {

	.igzeitung-overview,
	.igzeitung-write {
		padding: 26px 20px;
	}

	.igz-menu {
		align-items: flex-start;
		flex-direction: column;
	}

	.igz-menu a {
		width: 100%;
	}

	.igz-current-newspapers {
		grid-template-columns: 1fr;
	}

	.igz-newspaper {
		min-height: 180px;
	}

	.igzeitung-overview ul li {
		align-items: flex-start;
		flex-direction: column;
	}

	.igzeitung-overview ul li img {
		max-width: 140px;
	}

}

@media (max-width: 430px) {

	.igzeitung-overview,
	.igzeitung-write {
		padding: 22px 15px;
	}

	.igzeitung-overview h1,
	.igzeitung-write h1 {
		font-size: clamp(38px, 14vw, 55px);
	}

}