/*
 * Cookie banner on the privacy policy page (leiservice-js, 2026-11-04; loaded after the old
 * plugin's cookie-consent.css). The banner's "Read our privacy policy" link leads here, so the
 * banner must not block the page: no dimmed backdrop, clicks and scrolling reach the page, and the
 * card sits at the bottom as a bar. Same texts and buttons; nothing changes on other pages.
 */
.leis-cc--passive {
	inset: auto 0 0 0;
	align-items: flex-end;
	pointer-events: none;
}

.leis-cc--passive .leis-cc__backdrop {
	display: none;
}

.leis-cc--passive {
	padding: 12px;
}

.leis-cc--passive .leis-cc__card {
	pointer-events: auto;
	width: min(980px, 100%);
	padding: 16px 20px 14px;
	box-shadow: 0 -6px 32px rgba(10, 15, 25, 0.18), 0 12px 32px rgba(10, 15, 25, 0.12);
}

/* one compact row on wide screens: text left, buttons right */
@media (min-width: 900px) {
	.leis-cc--passive .leis-cc__card:not(:has(#leis-cc-options:not([hidden]))) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 24px;
		align-items: center;
	}
	.leis-cc--passive .leis-cc__head,
	.leis-cc--passive .leis-cc__intro {
		grid-column: 1;
	}
	.leis-cc--passive .leis-cc__head {
		margin-bottom: 4px;
	}
	.leis-cc--passive .leis-cc__intro {
		margin: 0;
	}
	.leis-cc--passive .leis-cc__card:not(:has(#leis-cc-options:not([hidden]))) .leis-cc__actions {
		grid-column: 2;
		grid-row: 1 / span 2;
		margin: 0;
		flex-direction: column;
		min-width: 200px;
	}
}
