/* CookieYes banner + preference centre in the site's style (loaded on every page).
   Colours are set in the banner settings; CookieYes writes them inline, so hovers need !important. */

.cky-consent-container,
.cky-modal,
.cky-consent-container *,
.cky-modal * {
	font-family: "DM Sans", system-ui, sans-serif;
}

/* square corners like the rest of the site (CookieYes' own rules are more specific) */
.cky-consent-container,
.cky-consent-container .cky-consent-bar,
.cky-modal .cky-preference-center {
	border-radius: 0 !important;
}

.cky-consent-container .cky-consent-bar,
.cky-modal .cky-preference-center {
	box-shadow: 0 10px 40px rgba(34, 51, 32, 0.12);
}

.cky-consent-container .cky-title,
.cky-modal .cky-preference-title {
	font-family: "Fahkwang", Georgia, serif;
	font-weight: 400 !important;
	font-size: 22px !important;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #3f513d !important;
}

.cky-consent-container .cky-notice-des,
.cky-consent-container .cky-notice-des p,
.cky-modal .cky-preference-content-wrapper,
.cky-modal .cky-preference-content-wrapper p {
	font-size: 15px;
	line-height: 1.4;
	color: #223320;
}

/* buttons: like the site's (square, DM Sans Light); gold = accept, beige = the rest,
   hover = gold with white text (as on the gallery buttons) */
.cky-consent-container .cky-btn,
.cky-modal .cky-btn {
	border-radius: 0 !important;
	border-width: 1px;
	padding: 13px 16px;
	font-family: "DM Sans", system-ui, sans-serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	opacity: 1;
}

.cky-consent-container .cky-btn:hover,
.cky-modal .cky-btn:hover {
	opacity: 1;
	background-color: #d5a85b !important;
	border-color: #d5a85b !important;
	color: #fff !important;
}

.cky-consent-container .cky-btn-accept:hover,
.cky-modal .cky-btn-accept:hover {
	background-color: #3f513d !important;
	border-color: #3f513d !important;
}

.cky-consent-container .cky-btn:focus-visible,
.cky-modal .cky-btn:focus-visible {
	outline: 2px solid #d5a85b;
	outline-offset: 2px;
}

/* the standard floating "revisit consent" button is not used: the footer link reopens the banner */
.cky-btn-revisit-wrapper {
	display: none !important;
}

.cky-modal .cky-always-active {
	color: #3f513d !important;
}
