.esi-gdpr-banner,
.esi-gdpr-reopen {
	--esi-bg: #111827;
	--esi-text: #ffffff;
	--esi-button: #f59e0b;
	--esi-button-text: #111827;
	box-sizing: border-box;
	font-family: inherit;
}

.esi-gdpr-banner[hidden],
.esi-gdpr-reopen[hidden] {
	display: none !important;
}

.esi-gdpr-banner {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 999999;
	padding: 16px;
	background: var(--esi-bg);
	color: var(--esi-text);
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.28);
}

.esi-gdpr-banner--bottom {
	bottom: 0;
}

.esi-gdpr-banner--top {
	top: 0;
}

.esi-gdpr-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(1180px, 100%);
	margin: 0 auto;
}

.esi-gdpr-banner__content {
	flex: 1 1 auto;
	min-width: 0;
}

.esi-gdpr-banner__content p {
	margin: 0 0 8px;
	color: inherit;
	font-size: 15px;
	line-height: 1.55;
}

.esi-gdpr-banner__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.esi-gdpr-banner__links a {
	color: inherit;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.esi-gdpr-banner__links a:hover,
.esi-gdpr-banner__links a:focus {
	text-decoration-thickness: 2px;
}

.esi-gdpr-banner__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 10px;
}

.esi-gdpr-button,
.esi-gdpr-reopen,
.esi-gdpr-shortcode-button {
	appearance: none;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.esi-gdpr-button {
	min-width: 110px;
	padding: 11px 18px;
}

.esi-gdpr-button--primary {
	background: var(--esi-button);
	color: var(--esi-button-text);
}

.esi-gdpr-button--secondary {
	border: 1px solid currentColor;
	background: transparent;
	color: var(--esi-text);
}

.esi-gdpr-button:hover,
.esi-gdpr-button:focus,
.esi-gdpr-reopen:hover,
.esi-gdpr-reopen:focus,
.esi-gdpr-shortcode-button:hover,
.esi-gdpr-shortcode-button:focus {
	filter: brightness(0.94);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.esi-gdpr-reopen {
	position: fixed;
	z-index: 999998;
	left: 14px;
	padding: 9px 13px;
	background: var(--esi-bg);
	color: var(--esi-text);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.esi-gdpr-reopen--bottom {
	bottom: 14px;
}

.esi-gdpr-reopen--top {
	top: 14px;
}

.esi-gdpr-shortcode-button {
	padding: 10px 14px;
}

@media (max-width: 760px) {
	.esi-gdpr-banner__inner {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
	}

	.esi-gdpr-banner__actions {
		width: 100%;
	}

	.esi-gdpr-button {
		flex: 1 1 140px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.esi-gdpr-banner,
	.esi-gdpr-reopen {
		scroll-behavior: auto;
	}
}
