/* CMP Free — cookie banner */

.cmp-free-banner {
	box-sizing: border-box;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	padding: 12px 16px;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #1a1a1a;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1);
}

.cmp-free-banner[hidden] {
	display: none !important;
}

/* Virtual menu link inherits theme menu styles; hooks for optional overrides */
.cmp-free-menu-item {
}

.cmp-free-menu-link {
}

.cmp-free-banner-inner {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
}

.cmp-free-banner-text {
	min-width: 0;
	max-width: 760px;
}

.cmp-free-banner-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 650;
	line-height: 1.35;
}

.cmp-free-banner-body {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.45;
}

.cmp-free-banner-links {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
}

.cmp-free-banner-link {
	color: #165bb4;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cmp-free-banner-link:focus {
	outline: none;
}

.cmp-free-banner-link:focus-visible {
	outline: 2px solid #165bb4;
	outline-offset: 2px;
}

.cmp-free-banner-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.cmp-free-btn {
	cursor: pointer;
	font: inherit;
	box-sizing: border-box;
	height: 38px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-size: 14px;
	line-height: 1.2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.cmp-free-btn:focus {
	outline: none;
}

.cmp-free-btn:focus-visible {
	outline: 2px solid #165bb4;
	outline-offset: 2px;
}

.cmp-free-btn-accept {
	color: #fff;
	background: #1a4d8c;
	border-color: #153d70;
}

.cmp-free-btn-accept:hover {
	background: #175a9e;
	border-color: #134a82;
}

.cmp-free-btn-reject {
	color: #1a1a1a;
	background: #f0f0f0;
	border-color: #d8d8d8;
}

.cmp-free-btn-reject:hover {
	background: #e6e6e6;
	border-color: #cfcfcf;
}

.cmp-free-btn-close {
	width: 34px;
	height: 34px;
	min-height: 0;
	padding: 0;
	border-radius: 999px;
	line-height: 1;
	font-size: 1.35rem;
	background: transparent;
	border-color: transparent;
	color: #444;
	opacity: 0.75;
}

.cmp-free-btn-close:hover {
	opacity: 1;
	color: #000;
}

.cmp-free-btn-close:focus-visible {
	outline: 2px solid #165bb4;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.cmp-free-banner {
		padding: 10px 12px;
	}

	.cmp-free-banner-inner {
		grid-template-columns: 1fr;
		align-items: stretch;
		gap: 12px;
	}

	.cmp-free-banner-text {
		max-width: none;
	}

	.cmp-free-banner-actions {
		display: grid;
		grid-template-columns: 1fr 1fr auto;
		justify-content: stretch;
		align-items: center;
		gap: 8px;
		width: 100%;
	}

	.cmp-free-btn-accept,
	.cmp-free-btn-reject {
		width: 100%;
		min-width: 0;
	}

	.cmp-free-btn-close {
		justify-self: end;
	}
}
