/* Consent banner for audience measurement. */
.mmf-consent {
	bottom: calc(12px + env(safe-area-inset-bottom));
	display: flex;
	justify-content: center;
	left: 12px;
	pointer-events: none;
	position: fixed;
	right: 12px;
	z-index: 10000;
}

.mmf-consent[hidden] {
	display: none;
}

.mmf-consent__inner {
	background: #fff;
	border: 1px solid rgba(30, 34, 68, 0.12);
	border-radius: 16px;
	box-shadow: 0 14px 40px rgba(30, 34, 68, 0.24);
	box-sizing: border-box;
	color: #1E2244;
	display: grid;
	font-size: 15px;
	gap: 12px;
	max-width: 760px;
	padding: 16px;
	pointer-events: auto;
	width: 100%;
}

.mmf-consent__title {
	color: inherit;
	font-size: 17px;
	line-height: 1.3;
	margin: 0 0 4px;
}

.mmf-consent__title:focus {
	outline: none;
}

.mmf-consent__text {
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.mmf-consent__text a {
	color: inherit;
	font-weight: 700;
}

.mmf-consent__actions {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.mmf-consent__button {
	background: #fff;
	border: 2px solid #1E2244;
	border-radius: 999px;
	color: #1E2244;
	cursor: pointer;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	min-height: 46px;
	padding: 10px 18px;
}

.mmf-consent__button:hover,
.mmf-consent__button:focus-visible {
	background: #1E2244;
	color: #fff;
}

.mmf-consent__button:focus-visible,
.mmf-consent-manage:focus-visible {
	outline: 3px solid #EE6F5C;
	outline-offset: 2px;
}

.mmf-consent-manage {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	min-height: 44px;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 720px) {
	.mmf-consent {
		bottom: calc(24px + env(safe-area-inset-bottom));
	}

	.mmf-consent__inner {
		align-items: center;
		grid-template-columns: 1fr auto;
		padding: 20px 22px;
	}

	.mmf-consent__actions {
		grid-template-columns: repeat(2, 128px);
	}
}
