/**** DGfMM ***/

h2 span.red {
	text-transform:uppercase;
}




#vorstand {
	padding-top:3vw;
}
h2 + .personenlist {
	margin-top:2em !important;
}
.personenlist:has(.person) {
	text-align: center;
	margin-left:-0.5em;
	margin-right:-0.5em;
	margin-top:1em;
	margin-bottom:3em;
}
.personenlist .person {
	text-align: left;
	display: inline-block;
	float: none;
	vertical-align: top;
}
.person .box {
	background:rgba(var(--white),1);
	padding:1em !important;
	_height:15em;
	margin:0.5em !important;
	box-shadow: 0 0 0.25em rgb(var(--blue),0.25);
	display: grid;
	gap: 0 min(2vw, 2em);
	grid-template: 
		"thumb desc"
		"thumb more";
	grid-template-columns: 10em 1fr;
	justify-content: left;
}
.person .box::after {
	content: none;
}
.person .thumb {
	grid-area: thumb;
	display:block;
	width:10em;
	padding-top:0;
	background:rgba(var(--grey),0.5);
	aspect-ratio: 4/5;
	align-self: stretch
}
.person .thumb img {
	width: 100%;
	height:100%;
	max-width: none;
	object-fit: cover;
}
.person .desc {
	grid-area: desc;
	text-align: left;
	padding-right;
}
.person .desc p {
	display: flex;
	position: relative;
	flex-wrap: wrap;
}
.person .name::after {
	content:"";
	position: absolute;
	width:6.5em;
	border-top: 0.125em solid rgba(var(--red));
	top: calc(100% + 0.5em);
}
.person .name,
.list .name {
	font-weight: 600;
	line-height:1.25;
	color: rgb(var(--blue));
	
}
.person .name {
	font-size: 1.1em;
	margin-top: min(1vw, 2em);
	margin-bottom: 1.25em;
}
.person .name + .position:not(:empty) {
	font-weight: 600;
	color: rgb(var(--red));
	font-size:0.9em;
	margin-bottom: 0.75em;
}

.person .desc p + p {
	margin-top:0.25em !important;
}
.person p:not(.name, .position) {
	display: 
}
.person p:is(.email, .telefon)::before {
	content:"Telefon: ";
	display: inline-block;
	font-weight:600;
	font-size: 0.7em;
	color: rgb(var(--black),0.5);
	min-width: 6em;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	padding-top: 0.375em;
}

.person p.email::before {
	content: "E-Mail: ";
}

.person a:not(:hover, :focus) {
	text-decoration: none;
	color: inherit !important;
}

.person .more {
	grid-area: more;
	align-self: end;
}
.person .more a {
	float: right;
	margin-top:0.5em;
	padding:0.25em 0.5em
}
.person .more a:hover {
	background: rgb(var(--blue),0.25);
	border-color: transparent;
}


.person .edit-link {
	right:1.5em;
	top: 1em;
}

@media(min-width: 1024px) and (max-width:1200px){
	.person .desc p:not(.name) {
		font-size:0.9em
	}
}
@media(max-width:1023px){
	.person {
		width: 100%
	}
}
@media(max-width:460px){
	.person .box {
		grid-template-areas: 
			"thumb"
			"desc"
			"more";
		width: 100%;
		justify-content: stretch;
		grid-template-columns: 1fr;
		grid-gap: 1em 0;
		margin-left:0 !important;
		margin-right: 0 !important;
	}
	.person .thumb {
		width: auto;
		aspect-ratio: 1/1.1;
		_margin:0 0 1em 0;
		/*max-width:10em*/
	}
	.person .thumb img {
		object-position: 50% 20% !important;
	}
}

.personenlist.list {
	margin-top:1em;
}
.personenlist.list h2 {
	min-height:1.5em
}
.personenlist.list ul {
	margin:0;
	list-style: none;
}
.personenlist.list li {
	background-color: rgba(var(--white));
	box-shadow: 0 0 0.25em rgb(var(--blue),0.25);
	padding:0.5em 0.5em 0.5em 1em;;
	margin-bottom:0.5em;
}
.personenlist.list li {
	
}

@media(max-width:767px){
	.small.elementor-element:has(h2){
		font-size: 0.8em !important;
	}
}