/* Equal emphasis for the existing consent choices; no tracking behaviour here. */
.gsn-consent[hidden] {
	display: none !important;
}

.gsn-consent {
	position: fixed;
	inset: auto 24px 24px;
	z-index: 10000;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: 1040px;
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	margin: 0 auto;
	padding: 24px;
	border: 1px solid var(--gsn-border, #e6e6e1);
	border-radius: 1rem;
	background: var(--gsn-bg, #fff);
	color: var(--gsn-text, #282823);
	box-shadow: 0 8px 40px #14141326;
	font-family: inherit;
	font-size: max(18px, 1rem);
	line-height: 1.6;
	overflow-y: auto;
	overscroll-behavior: contain;
	overflow-wrap: anywhere;
}

.gsn-consent *,
.gsn-consent *::before,
.gsn-consent *::after {
	box-sizing: inherit;
}

.gsn-consent > div {
	min-width: 0;
}

.gsn-consent h2 {
	margin: 0 0 8px;
	color: inherit;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 650;
	line-height: 1.3;
}

.gsn-consent p {
	margin: 0;
	font: inherit;
}

.gsn-consent a {
	color: var(--gsn-action-text, #c0130e);
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.gsn-consent-actions {
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
}

.gsn-consent-actions button {
	min-width: 0;
	min-height: 56px;
	padding: 12px 20px;
	border: 1px solid var(--gsn-control-border, #82827c);
	border-radius: 0.5rem;
	background: var(--gsn-bg, #fff);
	color: var(--gsn-text, #282823);
	font: inherit;
	font-weight: 650;
	line-height: 1.4;
	cursor: pointer;
}

.gsn-consent-actions button:hover {
	background: var(--gsn-surface, #f5f5f3);
}

.gsn-consent :focus-visible,
.gsn-privacy-choices:focus-visible {
	outline: 3px solid var(--gsn-focus, #0b5fd0);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px #fff;
}

.gsn-privacy-choices {
	max-width: 100%;
	min-height: 48px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: max(18px, 1rem);
	line-height: 1.5;
	text-align: start;
	text-decoration: underline;
	text-underline-offset: 0.16em;
	cursor: pointer;
}

@media (max-width: 50rem) {
	.gsn-consent {
		inset: auto 12px 12px;
		display: block;
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		padding: 20px;
	}

	.gsn-consent-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 20px;
	}

	.gsn-consent-actions button {
		padding-inline: 12px;
	}
}

@media (max-width: 24rem) {
	.gsn-consent {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gsn-consent * {
		scroll-behavior: auto;
	}
}

@media (forced-colors: active) {
	.gsn-consent :focus-visible,
	.gsn-privacy-choices:focus-visible {
		outline-color: Highlight;
	}
}

@media print {
	.gsn-consent,
	.gsn-privacy-choices {
		display: none !important;
	}
}
