
/* ############################################################
	210 - ANSPRECHPARTNER/TEAM
############################################################ */

/* Modul-Einleitung */
.mdl210-modul-box .mdl210-einleitung {
	margin-bottom: 30px;
}
	.mdl210-modul-box .mdl210-einleitung > p:last-of-type {
		margin-bottom: 0;
	}
@media (min-width: 1024px) {
	.mdl210-modul-box .mdl210-einleitung {
		margin-bottom: 36px;
	}
}


/* Allgemein */
.mdl210-modul-box {
	position: relative;
	width: 100%;
}


/* Modulbox */
.mdl210-modul-box {
	--item-abstand: 30px;
}
@media (min-width: 1024px) {
	.mdl210-modul-box {
		--item-abstand: 36px;
	}
}


/* Foto */
.mdl210-modul-box .picture-wrapper {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0;
	transition: border-radius 300ms ease;
}
	.mdl210-modul-box .picture-wrapper img {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}
	.mdl210-modul-box .picture-wrapper .x-lines {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		pointer-events: none;
	}
		.mdl210-modul-box .picture-wrapper .x-lines line {
			stroke: var(--main-color-1);
			stroke-width: 1px;
			vector-effect: non-scaling-stroke;
		}
@media (min-width: 1024px) {
	.mdl210-modul-box .picture-wrapper {
		transition: border-radius 300ms ease;
	}
	/* .mdl210-modul-box .mdl210-person:has(.mdl210-btn:hover) .picture-wrapper {
		border-radius: 50%;
	} */
	.mdl210-modul-box .mdl210-person.is-btn-hover .picture-wrapper/*, .mdl210-person.is-open .picture-wrapper*/ {
		border-radius: 50%;
	}
}


/* Text */
.mdl210-modul-box .content-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	padding: 0;
}
	.mdl210-modul-box .content-wrapper h3 {
		margin-bottom: 7px;
		font-size: 1.25rem; /* 20px */
		line-height: 1.2;
		letter-spacing: -0.2px;
	}
	.mdl210-modul-box .content-wrapper p {
		padding-right: calc(13px + var(--gap));
	}
	.mdl210-modul-box .content-wrapper .funktion-paragraph {
		font-size: 0.75rem; /* 12px */
		line-height: 1.25;
		letter-spacing: 0.24px;
		text-transform: uppercase;
	}
	.mdl210-modul-box .content-wrapper .action-paragraph {
		margin-top: auto;
	}
	.mdl210-modul-box .content-wrapper > p:last-of-type {
		margin-bottom: 0;
	}
@media (max-width: 1023.98px) {
	.mdl210-modul-box .content-wrapper h3 {
		margin-top: 10px;
	}
}
@media (min-width: 1024px) {
	.mdl210-modul-box .content-wrapper h3 {
		margin-bottom: 10px;
		font-size: 1.625rem; /* 26px */
		letter-spacing: -0.26px;
	}
	.mdl210-modul-box .content-wrapper p {
		padding-right: calc(19px + var(--gap));
	}
	.mdl210-modul-box .content-wrapper .funktion-paragraph {
		font-size: 0.875rem; /* 14px */
		letter-spacing: 0.28px;
	}
}


/* Hyperlink */
.mdl210-modul-box a {
	text-decoration-color: transparent;
}
@media (min-width: 1024px) {
	.mdl210-modul-box a:hover {
		text-decoration-color: var(--main-color-3);
	}
}


/* Button */
.mdl210-modul-box .mdl210-btn {
	cursor: pointer;
	display: inline-block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 13px;
	height: 13px;
	border: none;
	background-color: transparent;
	background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_13x13_Black.svg");
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100% 100%;
}
	.mdl210-modul-box .mdl210-person.is-open .mdl210-btn {
		background-image: url("../../kunstschule/Images/Elemente/Icon_X_13x13_Black.svg");
	}
@media (min-width: 1024px) {
	.mdl210-modul-box .mdl210-btn {
		width: 19px;
		height: 19px;
		background-image: url("../../kunstschule/Images/Elemente/Arrow_RightDown_19x19_Black.svg");
		transition: background-image 300ms var(--cubic-bezier);
	}
	.mdl210-modul-box .mdl210-person.is-open .mdl210-btn {
		background-image: url("../../kunstschule/Images/Elemente/Icon_X_19x19_Black.svg");
	}
}


/* Detailbeschrieb */
.mdl210-modul-box .mdl210-detail {
	width: 100%;
	margin-top: 22px;
}
	.mdl210-modul-box .mdl210-detail > p:last-of-type {
		margin-bottom: 0;
	}
@media (min-width: 1024px) {
	.mdl210-modul-box .mdl210-detail {
		margin-top: 26px;
	}
}


/* ############################################################
	LINIEN-RASTER
############################################################ */

/* obere horizontale Linie */
.mdl210-modul-box .grid.line-all::before, .mdl210-modul-box .grid.line-top::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 0;
	border-top: 1px solid var(--main-color-1);
}
.mdl210-modul-box .grid.inner-abstand > * {
	padding-top: 15px;
}
@media (max-width: 767.98px) {
	/* Abstand nach oben ab zweitem Element */
	.mdl210-modul-box .grid.line-all > :nth-child(n + 2) {
		margin-top: var(--item-abstand);
	}
	/* horizontale Linie oberhalb jedes weiteren Elements */
	.mdl210-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 */
	.mdl210-modul-box .grid.line-all > :nth-child(n + 3) {
		margin-top: var(--item-abstand);
	}
	/* horizontale Linie */
	.mdl210-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);
	}
	.mdl210-modul-box .grid.line-all > :nth-child(n + 3):nth-child(odd)::after {
		left: 0;
		width: calc(100% + var(--gap-half));
	}
	.mdl210-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 */
	.mdl210-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) {
	.mdl210-modul-box .grid.inner-abstand > * {
		padding-top: 18px;
	}
}

