.intro.academy .intro__image.before {
	display: none;
}
@media screen and (min-width:40em) {
	.intro.academy {
		flex-flow: row wrap;
	}
	.intro.academy .intro__heading {
		width: 100%;
	}
	.intro.academy .intro__content {
		width: 70%;
	}
	.intro.academy .intro__image {
		width: 30%;
		height: 100%;
		padding-top: 0;
		aspect-ratio: 1/1;
		background-size: cover;
	}
}

@media screen and (min-width:60em) {
	.intro.academy {
		flex-flow: row wrap;
	}
	.intro.academy .intro__heading {
		width: 100%;
		padding-left: calc( 25% + 1.5rem);
	}
	.intro.academy .intro__content {
		width: 50%;
	}
	.intro.academy .intro__image.before {
		display: block;
	}
	.intro.academy .intro__image {
		width: 25%;
		height: 100%;
		padding-top: 0;
		aspect-ratio: 1/1;
		background-size: cover;
	}
}

/* gallery styles */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(240px,1fr));
	grid-gap: 3px;
}
.gallery-item {
	margin: 0; padding: 0;
	aspect-ratio: 1/1;
	position: relative;
}
@media screen and (min-width:60em) {
	.gallery-item:first-of-type {
		grid-column: span 2;
		aspect-ratio: 2/1;
	}
}
.gallery-item img {
	margin: 0; padding: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-content {
	position: absolute;
	opacity: 1;
	bottom: 0; left: 0;
	height: auto;
	width: 100%;
	padding: 1rem;
	padding-bottom: 0.25rem;
	background-color: #fff;
	font-size: 0.9em;
	display: flex;
	flex-flow: column;
	justify-content: center;
}
.gallery-item:hover .gallery-content,
.gallery-item:focus .gallery-content,
.gallery-item:active .gallery-content,
.gallery-item:focus-within .gallery-content {

}
.gallery-item p:has(.more-link) {
	text-align: right;
}
.gallery-item .more-link:after {
	content: "";
	position: absolute;
	top: 0; left: 0;
	height: 100%;
	width :100%;
}

.gallery-item.theme-default .gallery-content {
	background-color: #2E4B9F;
}
.gallery-item.theme-default .gallery-content a {
	color: #D3DCEC;
}
.gallery-item.theme-green .gallery-content {
	background-color: #476B4D;
}
.gallery-item.theme-green .gallery-content a {
	color: #A4D137;
}
.gallery-item.theme-yellow .gallery-content {
	background-color: #D67C1D;
}
.gallery-item.theme-yellow .gallery-content a {
	color: #fde6ac;
}
.gallery-item .gallery-content .heading,
.gallery-item .gallery-content .body {
	color: #fff;
}
.gallery-item .gallery-content a {
	text-decoration: none;
}

[type="button"].mfp-arrow,
[type="button"].mfp-arrow:hover,
[type="button"].mfp-arrow:focus,
[type="button"].mfp-arrow:active {
	background-color: transparent;
}

/* academy bereiche kachel*/
.academy.teasers__content {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
}
.academy.teasers__content .teaser__heading {
	font-size: 1.6em;
	hyphens: none;
}
.academy.teasers__content .section-teaser.bg-2 a:hover .teaser__heading {
	color: #2E4B9F;
}
.academy.teasers__content .section-teaser.bg-1 a:hover .teaser__heading {
	color: #2E4B9F;
}

