.sponsoren-gallery-wrapper{
	width: 100%;
	max-width: 1000px;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.sponsoren-gallery{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	justify-content: left;
	align-items: flex-start;
	max-width: 1200px;
	padding: 10px;
	box-sizing: border-box;
}

.sponsoren-gallery-item{
	text-align: center;
	background: transparent;
}

.sponsoren-gallery-item img{
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.sponsoren-gallery-caption{
	position: relative;
	margin:0px;
	font-family:Tahoma,Verdana,Segoe,sans-serif;
  	font-weight: 700;
	font-size: 11px;
	color: var(--kenta-accent-color, #ffffff);
	min-height:25px;
	line-height: 25px;
	background: linear-gradient(0deg, var(--kenta-accent-bg-color, #0006), #0000);
}

@media (max-width: 600px) {
	.sponsoren-gallery {
		/* switch to grid with two columns on narrow screens */
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
		justify-items: center;
		box-sizing: border-box;
	}
	.sponsoren-gallery-item {
		width: auto !important;
	}
	.sponsoren-gallery-item img {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		object-fit: contain;
		display: block;
	}
	.sponsoren-gallery-wrapper {
		padding-left: 8px;
		padding-right: 8px;
	}
    .sponsoren-gallery-caption{
        font-size: 9px;
    }
}

/* Disable text selection, drag and context menu for gallery instances */
.sponsoren-gallery-no-interact,
.sponsoren-gallery-no-interact * {
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
	-webkit-touch-callout: none !important;
}

.sponsoren-gallery-no-interact img {
	-webkit-user-drag: none !important;
	user-drag: none !important;
}
