/* teasers */
.teasers {
	--gap: 4vw;
}
.teasers .inner {
	padding: var(--gap);
	padding-block-end: 8vw;
}
@media screen and (min-width:850px){
	.teasers .inner {
		padding-block-end: var(--gap);
	}
}
.teasers .grid .frame {
	display: grid;
	gap: var(--gap);
	/*grid-template-columns: repeat(auto-fill,minmax(clamp(200px,30%,600px),1fr));*/
	grid-template-columns: 1fr;
}
@media screen and (min-width: 55em) {
	.teasers .grid .frame {
		grid-template-columns: repeat(3,1fr);
	}
}
.teaser {
	--color: var(--color-white);
	position: relative;
	display: grid;
	align-items: flex-end;
}

.teaser:hover .teaser-caption,
.teaser:focus .teaser-caption,
.teaser:focus-within .teaser-caption {
	/*--color: var(--color-blue);*/
}

	.teaser a {
		color: inherit;
		text-decoration: none;
	}
	.teaser:hover .teaser-caption a,
	.teaser:focus .teaser-caption a,
	.teaser:focus-within .teaser-caption a {
		text-decoration: underline;
		text-underline-offset: 0.25em;
	}
	.teaser a:after {
		content: '';
		position: absolute;
		left: 0; top: 0; bottom: 0; right: 0;
	}
	.teaser img {
		display: block;
		grid-area: 1/1;
		width: 100%;
		height: 100%;
		aspect-ratio: 4/3;
		object-fit: cover;
	}
.teaser-caption {
	/*position: absolute;
	bottom: 0;
	left: 0; right: 0;*/
	grid-area: 1/1;
	width: 100%;
	padding: 1rem;
	color: var(--color);
	/*background-color: rgba(0,0,0,var(--overlay-transparency));*/
	background-image: linear-gradient(to top, rgba(0,0,0,0.8) 10%,rgba(0,0,0,0));
}
	.teaser-caption .teaser-heading {
		margin: 0; padding: 1rem;
		font-size: 2em;
		font-weight: 300;
		text-align: center;
	}

/* swiper */
.swiper .arrows .icon {
	cursor: pointer;
}
.swiper .arrows .icon:hover {
	--color: var(--color-blue);
}

