
/* ############################################################
	206 - NAVIGATION: TEXT
############################################################ */

/* Allgemeines */
.mdl206-modul-box, .mdl206-modul-box .link-item, .mdl206-modul-box .content-wrapper {
	position: relative;
	display: block;
	width: 100%;
}


/* Modulbox */
.mdl206-modul-box {
	--item-abstand: 30px;
}
@media (min-width: 1024px) {
	.mdl206-modul-box {
		--item-abstand: 36px;
	}
}


/* Link-Box */
.mdl206-modul-box .link-item {
	height: 100%;
	text-decoration: none;
}
.mdl206-modul-box .link-item[class*="bg-color-"] {
	padding: 18px;
	color: var(--main-color-2);
}
.mdl206-modul-box .link-item.bg-color-3 {
	color: var(--main-color-1);
}


/* Text-Box */
.mdl206-modul-box .content-wrapper p {
	padding-right: 57px;
}
	.mdl206-modul-box .content-wrapper h3 {
		margin-bottom: 12px;
		font-size: 1.25rem; /* 20px */
		line-height: 1.2;
		letter-spacing: -0.2px;
		color: inherit;
	}
	.mdl206-modul-box .content-wrapper > p:last-of-type {
		margin-bottom: 0;
	}
@media (min-width: 1024px) {
	.mdl206-modul-box .content-wrapper h3 {
		font-size: 1.625rem; /* 26px */
		letter-spacing: -0.26px;
	}
	.mdl206-modul-box .content-wrapper p {
		padding-right: 66px;
	}
}


/* Button */
.mdl206-modul-box .mdl206-btn {
	display: inline-block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 21px;
	height: 21px;
	background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_21x21_Black.svg");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100% 100%;
}
.mdl206-modul-box .link-item[class*="bg-color-"] .mdl206-btn {
	right: 18px;
	bottom: 18px;
	background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_21x21_Creme.svg");
}
@media (min-width: 1024px) {
	.mdl206-modul-box .mdl206-btn {
		width: 30px;
		height: 30px;
		transition: background-image 300ms var(--cubic-bezier);
	}
	.mdl206-modul-box a:hover .mdl206-btn, .mdl206-modul-box a[class*="bg-color-"]:hover .mdl206-btn {
		background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_30x30_Signalorange.svg");
	}
	.mdl206-modul-box a.bg-color-3:hover .mdl206-btn {
		background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_30x30_Black.svg");
	}
}


/* ############################################################
	LINIEN-RASTER
############################################################ */

/* obere horizontale Linie */
.mdl206-modul-box .grid.line-all::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0;
	border-top: 1px solid var(--main-color-1);
}
.mdl206-modul-box .grid.inner-abstand > * {
	padding-top: 12px;
}
.mdl206-modul-box .grid.inner-abstand > .item-abstand {
	padding-top: 15px;
}
@media (max-width: 767.98px) {
	/* Abstand nach oben ab zweitem Element */
	.mdl206-modul-box .grid.line-all > :nth-child(n + 2) {
		margin-top: var(--item-abstand);
	}
	/* horizontale Linie oberhalb jedes weiteren Elements */
	.mdl206-modul-box .grid.line-all > :nth-child(n + 2)::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 0;
		border-top: 1px solid var(--main-color-1);
	}
}
@media (min-width: 768px) {
	/* Abstand nach oben bei zusätzlicher Zeile */
	.mdl206-modul-box .grid.line-all > :nth-child(n + 3) {
		margin-top: var(--item-abstand);
	}
	/* horizontale Linie */
	.mdl206-modul-box .grid.line-all > :nth-child(n + 3)::after {
		content: "";
		position: absolute;
		top: 0;
		height: 0;
		border-top: 1px solid var(--main-color-1);
	}
	.mdl206-modul-box .grid.line-all > :nth-child(n + 3):nth-child(odd)::after {
		left: 0;
		width: calc(100% + var(--gap-half));
	}
	.mdl206-modul-box .grid.line-all > :nth-child(n + 4):nth-child(even)::after {
		left: calc(var(--gap-half) * -1);
		width: calc(100% + var(--gap-half));
	}
	/* vertikale Linie zwischen Spalte 1 + 2 */
	.mdl206-modul-box .grid.line-all > :nth-child(2n)::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(var(--gap-half) * -1);
		width: 0;
		border-left: 1px solid var(--main-color-1);
	}
}
@media (min-width: 1024px) {
	.mdl206-modul-box .grid.inner-abstand > .item-abstand {
		padding-top: 18px;
	}
}
