.dmc-cookie-consent {
	box-sizing: border-box;
	position: fixed;
	z-index: 30;
	top: auto;
	left: auto;
	right: calc(16 * var(--wp--custom--zoom));
	bottom: calc(16 * var(--wp--custom--zoom));
	display: flex;
	align-items: center;
	gap: calc(12 * var(--wp--custom--zoom));
	width: max-content;
	min-width: 0;
	max-width: calc(700 * var(--wp--custom--zoom));
	max-height: calc(100dvh - 32 * var(--wp--custom--zoom));
	margin: 0;
	padding: calc(12 * var(--wp--custom--zoom));
	border: 0;
	border-radius: calc(100 * var(--wp--custom--zoom));
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	box-shadow: none;
	font-family: var(--wp--preset--font-family--sequel-sans);
	transform: none;
}

.dmc-cookie-consent__message {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	padding: calc(9 * var(--wp--custom--zoom)) 0 calc(9 * var(--wp--custom--zoom)) calc(24 * var(--wp--custom--zoom));
}

.dmc-cookie-consent__message,
.dmc-cookie-consent__message a {
	width: auto;
	margin: 0;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	line-height: calc(22 * var(--wp--custom--zoom));
}

.dmc-cookie-consent__message a {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% calc(2 * var(--wp--custom--zoom)) no-repeat;
	padding-bottom: calc(2 * var(--wp--custom--zoom));
}

.dmc-cookie-consent__message a:hover {
	animation: dmc-cookie-consent-link 0.2s ease-in-out 1 alternate forwards;
}

@keyframes dmc-cookie-consent-link {
	0% {
		background-size: 0 calc(2 * var(--wp--custom--zoom));
	}
	to {
		background-size: 100% calc(2 * var(--wp--custom--zoom));
	}
}

.dmc-cookie-consent__buttons {
	display: flex;
	flex: 0 0 auto;
	flex-direction: row;
	align-items: center;
	gap: calc(12 * var(--wp--custom--zoom));
	margin: 0;
}

.dmc-cookie-consent__button {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: var(--wp--custom--button--small-padding-top) var(--wp--custom--button--small-padding-inline) var(--wp--custom--button--small-padding-bottom);
	border: 0;
	border-radius: calc(100 * var(--wp--custom--zoom));
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: calc(22 * var(--wp--custom--zoom));
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
}

.dmc-cookie-consent__button:is(:hover, :focus-visible) .flip > span {
	transform: translateY(-100%);
}

@media (max-width: 767px) {
	.dmc-cookie-consent {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		right: 17px;
		bottom: 16px;
		width: calc(100% - 32px);
		max-width: none;
		padding: 16px;
		border-radius: 16px;
	}

	.dmc-cookie-consent__message {
		flex: 0 1 auto;
		padding: 0;
	}

	.dmc-cookie-consent__buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin: 12px 0;
	}

	.dmc-cookie-consent__button {
		width: 100%;
	}
}

html.dmc-cookie-consent-decided .dmc-cookie-consent {
	display: none;
}

.dmc-cookie-consent-blocked {
	display: flex;
	align-items: center;
	position: relative;
	background-color: #fff;
	background-size: cover;
	background-position: 0 0;
	box-shadow: none;
	border-radius: 0;
}

.dmc-cookie-consent__notice,
.dmc-cookie-consent__notice:hover,
.dmc-cookie-consent__notice:focus,
.dmc-cookie-consent__notice:active {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	width: max-content;
	max-width: calc(100% - 48 * var(--wp--custom--zoom));
	margin: 0;
	padding: var(--wp--custom--button--small-padding-top) var(--wp--custom--button--small-padding-inline) var(--wp--custom--button--small-padding-bottom);
	border: 0;
	border-radius: calc(100 * var(--wp--custom--zoom));
	background-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: calc(22 * var(--wp--custom--zoom));
	text-align: center;
	white-space: normal;
	cursor: pointer;
}

.dmc-cookie-consent__button:focus-visible,
.dmc-cookie-consent__notice:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast);
	outline-offset: 2px;
}

.dmc-cookie-consent__button:focus-visible {
	outline-color: var(--wp--preset--color--base);
}

@media print {
	.dmc-cookie-consent {
		display: none;
	}
}
