/**
 * Event promotions — layout follows .event-promotions on sinfonieorchester.ch.
 *
 * Colours only via the Breakdance global palette. Every rule is scoped to
 * .lps-promotions so the global element styles of the theme (headings,
 * paragraphs, lists, links, buttons) cannot leak in.
 */

.lps-promotions .lps-promotions__heading {
	margin: 0 0 30px;
	color: var(--bde-headings-color);
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.lps-promotions .lps-promotions__heading {
		margin-bottom: 37px;
		font-size: 24px;
	}
}

.lps-promotions .lps-promotions__list {
	display: flex;
	flex-direction: column;
	gap: 45px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lps-promotions .lps-promotions__item {
	position: relative;
	display: flex;
	max-width: 390px;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.lps-promotions .lps-promotions__image {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
}

.lps-promotions .lps-promotions__content {
	min-width: 0;
}

.lps-promotions .lps-promotions__title {
	max-width: 360px;
	margin: 0;
	color: var(--bde-headings-color);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 23px;
	text-transform: uppercase;
}

.lps-promotions .lps-promotions__title-end {
	white-space: nowrap;
}

/* (i) — same icon and colour as the tooltip next to «Preise und Tickets». */
.lps-promotions .lps-promotions__info {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin: 0 0 0 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--bde-brand-primary-color);
	line-height: 1;
	vertical-align: -2px;
	cursor: pointer;
}

.lps-promotions .lps-promotions__info svg {
	display: block;
	width: 16px;
	height: 16px;
}

.lps-promotions .lps-promotions__info:focus-visible {
	outline: 3px solid var(--bde-brand-primary-color);
	outline-offset: 3px;
}

.lps-promotions .lps-promotions__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
	color: var(--bde-body-text-color);
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.2s ease-in-out;
}

/* Stretches the link over the whole entry; the (i) button sits above it. */
.lps-promotions .lps-promotions__cta::after {
	content: "";
	position: absolute;
	inset: 0;
}

.lps-promotions .lps-promotions__cta svg {
	width: auto;
	height: 11px;
}

.lps-promotions .lps-promotions__item:hover .lps-promotions__cta,
.lps-promotions .lps-promotions__cta:focus-visible {
	color: var(--bde-brand-primary-color);
}

.lps-promotions .lps-promotions__cta:focus-visible {
	outline: none;
}

.lps-promotions .lps-promotions__cta:focus-visible::after {
	outline: 3px solid var(--bde-brand-primary-color);
	outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
	.lps-promotions .lps-promotions__cta {
		transition: none;
	}
}

/* Tooltip bubble: the base styles come from the Breakdance Tooltip element on
   the same template, only the theme colours are set here. */
.tippy-box[data-theme~="lps-promotions"] {
	background-color: var(--bde-brand-primary-color);
	color: var(--bde-background-color);
}

.tippy-box[data-theme~="lps-promotions"] .tippy-arrow {
	color: var(--bde-brand-primary-color);
}
