.consent-banner {
	position: fixed;
	z-index: 10020;
	right: 1rem;
	bottom: 1rem;
	width: min(34rem, calc(100% - 2rem));
	padding: 1.25rem;
	border: 1px solid #d7ded9;
	border-radius: .4rem;
	background: #fff;
	box-shadow: 0 .35rem 1.5rem rgba(39, 55, 45, .18);
	color: #40464a;
}

.consent-banner h2,
.consent-dialog h2 {
	margin: 0 0 .65rem;
	font-size: 1.35rem;
}

.consent-banner p,
.consent-dialog p {
	margin: 0 0 .9rem;
	line-height: 1.55;
}

.consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 1rem 0 0;
}

.consent-action {
	min-height: 2.75rem;
	padding: .55rem 1rem;
	border: 2px solid #2cab5a;
	border-radius: .25rem;
	background: #fff;
	color: #168540;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
}

.consent-action:hover,
.consent-action:focus-visible {
	background: #edf8f0;
}

.consent-action-primary {
	background: #2cab5a;
	color: #fff;
}

.consent-action-primary:hover,
.consent-action-primary:focus-visible {
	background: #218f49;
}

.consent-action-secondary {
	border-color: #aeb8b1;
	color: #40464a;
}

.consent-action:focus-visible,
.site-footer-cookie-settings:focus-visible {
	outline: 3px solid #153994;
	outline-offset: 2px;
}

.consent-dialog {
	width: min(38rem, calc(100% - 2rem));
	max-height: calc(100vh - 2rem);
	padding: 1.4rem;
	border: 1px solid #d7ded9;
	border-radius: .4rem;
	color: #40464a;
}

.consent-dialog::backdrop {
	background: rgba(22, 31, 25, .58);
}

.consent-category {
	margin: 0;
	padding: .9rem 0;
	border: 0;
	border-top: 1px solid #dfe6e1;
}

.consent-category label {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	font-weight: 700;
}

.consent-dialog .consent-category input[type="checkbox"] {
	-webkit-appearance: auto;
	appearance: auto;
	display: inline-block;
	float: none;
	width: 1.2rem;
	height: 1.2rem;
	margin: .15rem 0 0;
	opacity: 1;
	z-index: auto;
	accent-color: #2cab5a;
}

.consent-category p {
	margin: .35rem 0 0 1.85rem;
	font-size: .95rem;
}

.site-footer-cookie-settings {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #00a849;
	cursor: pointer;
	font: inherit;
	text-align: left;
	text-decoration: underline;
}

.consent-embed-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: .85rem;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: #f3f6f4;
	color: #40464a;
	text-align: center;
}

.consent-embed-placeholder p {
	margin: 0;
}

@media (max-width: 480px) {
	.consent-banner {
		right: .5rem;
		bottom: .5rem;
		width: calc(100% - 1rem);
		padding: 1rem;
	}

	.consent-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.consent-action-secondary {
		grid-column: 1 / -1;
	}
}
