/**
 * CookieYes banner in the theme's shapes (D6.3.3). The colours come from CookieYes's
 * own banner settings (the site set-up sets the brand palette there, inc/consent.php);
 * this file only adds what those settings can't: the theme's font, button corners,
 * weight and focus ring. CookieYes writes its colours as inline styles, so nothing
 * here touches colours. Loaded only while CookieYes is active.
 */

.cky-consent-container,
.cky-modal {
	font-family: var(--mv-font-body);
}

/* CookieYes's floating "Consent Preferences" button covered page content on phones and
   came before the skip link: "Cookie settings" in the footer reopens the choices instead. */
.cky-btn-revisit-wrapper {
	display: none !important;
}

/* The footer's "Cookie settings" button looks like the links next to it. */
.mv-cookie-settings {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	text-align: start;
	cursor: pointer;
}

.cky-consent-container .cky-consent-bar,
.cky-modal .cky-preference-center {
	border-radius: var(--mv-radius-md);
}

.cky-consent-container .cky-title,
.cky-modal .cky-preference-title {
	font-family: var(--mv-font-heading);
	font-weight: var(--mv-weight-semibold);
}

.cky-btn {
	border-radius: var(--mv-radius-sm) !important; /* CookieYes sets 2px */
	font-weight: var(--mv-weight-semibold) !important;
}

.cky-btn:focus-visible,
.cky-btn-revisit-wrapper .cky-btn-revisit:focus-visible {
	outline: 2px solid var(--mv-navy);
	outline-offset: 2px;
}
