/* Compact, less intrusive cookie notice */
#cookie_note {
	left: 16px;
	right: auto;
	bottom: 16px;
	width: min(380px, calc(100vw - 32px));
	padding: 14px 16px;
	border-radius: 12px;
	justify-content: flex-start;
	align-items: center;
	gap: 14px;
	border: 1px solid #e6edf5;
	box-shadow: 0 10px 30px rgba(16, 42, 67, 0.14);
}

#cookie_note .cookie_note_text {
	font-size: 12px;
	line-height: 1.45;
	color: #5b6672;
	margin-right: 0;
}

#cookie_note .cookie_accept {
	flex: 0 0 auto;
	padding: 8px 16px;
	font-size: 12px;
	border-radius: 20px;
	background: #0485E3;
	white-space: nowrap;
}

#cookie_note .cookie_accept:hover {
	background: #0373c4;
	opacity: 1;
}

/* Keep the notice above the sticky action bar */
body.sticky-cta-visible #cookie_note {
	bottom: 84px;
}

@media (max-width: 480px) {
	#cookie_note {
		left: 12px;
		right: 12px;
		width: auto;
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 12px 14px;
	}

	#cookie_note .cookie_accept {
		align-self: flex-end;
	}

	/* The notice covers the bottom-left corner — hide the scroll-to-top while it is open */
	#cookie_note.show ~ a#scroll-to-top {
		display: none;
	}
}
