/*
 * Sponsorenleiste - Logos nach Rolle, links die Rolle (E2f, PREEVENT.SPONSOR).
 *
 * Die Rolle bestimmt die Höhe: Gastgeber am größten. Logos auf getöntem
 * Feld, damit helle und dunkle Logos gleich gut stehen.
 *
 * Nur Rollen, keine Markenfarbe (Projektregel 8).
 *
 * @FEAT:PREEVENT.SPONSOR
 * @FEAT:ELEMENTOR.WIDGETS
 */

.uc-sponsorenleiste {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 20px 40px;
	padding: var( --uc-sl-leiste-innen, 28px clamp( 24px, 4vw, 48px ) );
	border-radius: var( --uc-sl-leiste-radius, var( --uc-radius-gross, 28px ) );
	background: var( --uc-sl-leiste-flaeche, var( --uc-flaeche-hoch, #ffffff ) );
	color: var( --uc-text, #1c2b4a );
	box-sizing: border-box;
}

.uc-sponsorenleiste .uc-sponsorenleiste__rolle {
	margin: 0;
	color: var( --uc-sl-rolle-farbe, var( --uc-text-leise, #4c5c76 ) );
	font-size: 14px;
	font-weight: 700;
}

.uc-sponsorenleiste__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px var( --uc-sl-luecke, 36px );
	margin: 0;
	padding: 0;
	list-style: none;
}

.uc-sponsorenleiste__logo {
	display: grid;
	place-items: center;
	height: var( --uc-sl-hoehe-sponsor, 56px );
	margin: 0;
	padding: var( --uc-sl-logo-innen, 0 18px );
	border-radius: var( --uc-sl-logo-radius, var( --uc-radius-klein, 12px ) );
	background: var( --uc-sl-logo-flaeche, var( --uc-grund, #f2ede4 ) );
	color: var( --uc-sl-name-farbe, var( --uc-text, #1c2b4a ) );
	font-weight: 800;
	letter-spacing: -0.02em;
}

.uc-sponsorenleiste__logo--host {
	height: var( --uc-sl-hoehe-host, 84px );
	font-size: 22px;
}

.uc-sponsorenleiste__logo--main {
	height: var( --uc-sl-hoehe-main, 64px );
	font-size: 18px;
}

.uc-sponsorenleiste__logo img {
	display: block;
	width: auto;
	max-width: 200px;
	height: 60%;
	object-fit: contain;
}

@media ( max-width: 720px ) {
	.uc-sponsorenleiste {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}
