.ma-cookie-banner,
.ma-cookie-modal {
	box-sizing: border-box;
	font-family: "Lato", "Open Sans", Arial, sans-serif;
}

.ma-cookie-banner *,
.ma-cookie-modal * {
	box-sizing: border-box;
}

.ma-cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 10000;
	display: none;
	max-width: 980px;
	margin: 0 auto;
	padding: 18px;
	background: #ffffff;
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
	color: #1f1f1f;
}

.ma-cookie-banner.is-visible {
	display: block;
}

.ma-cookie-banner h2,
.ma-cookie-modal h2 {
	margin: 0 0 8px 0;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: 0;
	color: #111111;
}

.ma-cookie-banner p,
.ma-cookie-modal p {
	margin: 0 0 12px 0;
	font-size: 14px;
	line-height: 1.45;
	color: #2d2d2d;
}

.ma-cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 12px;
}

.ma-cookie-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
	font-size: 13px;
}

.ma-cookie-links a,
.ma-cookie-inline-link {
	color: #8d0000;
	text-decoration: underline;
}

.ma-cookie-btn {
	min-height: 42px;
	padding: 10px 14px;
	border: 1px solid #8d0000;
	border-radius: 4px;
	background: #ffffff;
	color: #8d0000;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.ma-cookie-btn:hover,
.ma-cookie-btn:focus {
	background: #f7eeee;
	outline: 2px solid #222222;
	outline-offset: 2px;
}

.ma-cookie-btn-primary {
	background: #8d0000;
	color: #ffffff;
}

.ma-cookie-btn-primary:hover,
.ma-cookie-btn-primary:focus {
	background: #6f0000;
}

.ma-cookie-backdrop {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
	background: rgba(0, 0, 0, .55);
}

.ma-cookie-backdrop.is-visible {
	display: flex;
}

.ma-cookie-modal {
	width: min(720px, 100%);
	max-height: calc(100vh - 36px);
	overflow: auto;
	padding: 20px;
	background: #ffffff;
	border-radius: 6px;
	color: #1f1f1f;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}

.ma-cookie-close {
	float: right;
	width: 36px;
	height: 36px;
	border: 1px solid #999999;
	border-radius: 4px;
	background: #ffffff;
	color: #111111;
	font-size: 24px;
	line-height: 30px;
	cursor: pointer;
}

.ma-cookie-choice {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: start;
	padding: 14px 0;
	border-top: 1px solid #e4e4e4;
}

.ma-cookie-choice strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	color: #111111;
}

.ma-cookie-choice input {
	width: 24px;
	height: 24px !important;
	margin-top: 2px;
}

.ma-consent-placeholder,
.ma-consent-embed-placeholder {
	padding: 18px;
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	background: #f8f8f8;
	text-align: center;
}

.videoWrapper .ma-consent-embed-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ma-consent-placeholder p,
.ma-consent-embed-placeholder p {
	margin: 0 0 12px 0;
	font-size: 14px;
	line-height: 1.45;
	color: #2d2d2d;
}

@media (max-width: 640px) {
	.ma-cookie-banner {
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 0;
	}

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

	.ma-cookie-btn {
		width: 100%;
	}

	.ma-cookie-choice {
		grid-template-columns: 1fr;
	}
}
