[data-onf-privacy][hidden],
[data-consent-banner][hidden],
[data-consent-panel][hidden],
[data-youtube-notice][hidden] { display: none !important; }

.onf-privacy {
	position: fixed;
	left: max(16px, env(safe-area-inset-left));
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 100100;
	color: var(--onf-privacy-text, #333);
	font-family: var(--onf-privacy-font, inherit);
	font-size: var(--onf-privacy-size, 14px);
}
.onf-privacy--top { top: max(16px, env(safe-area-inset-top)); bottom: auto; }
.onf-privacy__banner,
.onf-privacy__panel {
	box-sizing: border-box;
	width: min(100%, 960px);
	margin-inline: auto;
	padding: 20px;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: 10px;
	background: var(--onf-privacy-bg, #fff);
	box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.onf-privacy__banner { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 20px; }
.onf-privacy__copy { min-width: 0; }
.onf-privacy h2 { margin: 0 0 8px; color: inherit; font: inherit; font-size: 1.2em; font-weight: 700; }
.onf-privacy p { margin: 0; color: inherit; line-height: 1.5; }
.onf-privacy a { color: var(--onf-privacy-accent, #054f11); text-decoration: underline; }
.onf-privacy__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.onf-privacy__banner .onf-privacy__actions { justify-content: flex-end; }
.onf-privacy button {
	box-sizing: border-box;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--onf-privacy-accent, #054f11);
	border-radius: 999px;
	background: var(--onf-privacy-accent, #054f11);
	color: var(--onf-privacy-button-text, #fff);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	white-space: normal;
}
.onf-privacy__banner .onf-privacy__actions button { flex: 0 1 auto; max-width: 100%; }
.onf-privacy button:hover { filter: brightness(.94); }
.onf-privacy button:focus-visible,
.onf-privacy a:focus-visible,
.onf-privacy input:focus-visible,
.onf-youtube-consent button:focus-visible { outline: 3px solid #e4b324; outline-offset: 3px; }
.onf-privacy .onf-privacy__text-button { background: transparent; color: var(--onf-privacy-accent, #054f11); }
.onf-privacy__panel { max-height: min(82vh, 760px); overflow: auto; }
.onf-privacy__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.onf-privacy__panel-head h2 { margin: 0; }
.onf-privacy__panel-head button { min-width: 42px; padding: 0; font-size: 24px; }
.onf-privacy__category { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.12); }
.onf-privacy__category h3 { margin: 0 0 4px; color: inherit; font: inherit; font-weight: 700; }
.onf-privacy__category p { max-width: 68ch; }
.onf-privacy__toggle input { width: 20px; height: 20px; accent-color: var(--onf-privacy-accent, #054f11); }
.onf-privacy__manage { display: inline-block; margin: 8px 0; color: inherit; font: inherit; font-size: .9em; }

.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode {
	display: inline-block;
	box-sizing: border-box;
	max-width: 100%;
	font-family: inherit;
	font-size: var(--onf-privacy-preferences-size, 13px);
	font-weight: var(--onf-privacy-preferences-weight, inherit);
	margin: var(--onf-privacy-preferences-margin-y, 0px) var(--onf-privacy-preferences-margin-x, 0px);
}
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--text-color {
	color: var(--onf-privacy-preferences-color);
}
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--hover-color:hover {
	color: var(--onf-privacy-preferences-hover-color);
}
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--decoration-underline,
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--hover-decoration-underline:hover {
	text-decoration: underline;
}
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--decoration-none,
.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode--hover-decoration-none:hover {
	text-decoration: none;
}
.onf-privacy-preferences-shortcode:focus-visible {
	outline: 3px solid #e4b324;
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-left,
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-center,
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-right {
		display: block;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-left { text-align: left; }
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-center { text-align: center; }
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--desktop-right { text-align: right; }
}

.onf-youtube-consent { width: 100%; overflow: hidden; border-radius: 4px; color: #fff; background: #17211b; font: inherit; }
.onf-youtube-consent__poster { position: relative; display: grid; place-items: center; min-height: 0; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #17451f, #24372a); }
.onf-youtube-consent__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.onf-youtube-consent__play { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 48px; border: 0; border-radius: 12px; background: #c4302b; cursor: pointer; }
.onf-youtube-consent__play span { width: 0; height: 0; margin-left: 4px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid #fff; }
.onf-youtube-consent__notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.onf-youtube-consent__notice p { margin: 0; }
.onf-youtube-consent__notice button { flex: 0 0 auto; padding: 8px 14px; border: 0; border-radius: 999px; color: #fff; background: #054f11; font: inherit; cursor: pointer; }
.onf-youtube-consent iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
/* Preserve the placeholder's own ratio inside Gutenberg and Greenshift wrappers. */
.wp-has-aspect-ratio .wp-block-embed__wrapper:has(> .onf-youtube-consent)::before { display: none; }
.onf-youtube-consent.onf-youtube-consent iframe { position: static; height: auto; }
.gs-video-wrapper:has(> .onf-youtube-consent) > .gs-video-overlay { display: none; }


@media (max-width: 767px) {
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-left,
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-center,
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-right {
		display: block;
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
	}
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-left { text-align: left; }
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-center { text-align: center; }
	.onf-privacy-preferences-shortcode-wrap.onf-privacy-preferences-shortcode-wrap--mobile-right { text-align: right; }
	.onf-privacy-preferences-shortcode.onf-privacy-preferences-shortcode {
		margin-block: clamp(0px, var(--onf-privacy-preferences-margin-y, 0px), 8px);
		margin-inline: clamp(0px, var(--onf-privacy-preferences-margin-x, 0px), 8px);
	}
	.onf-privacy { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
	.onf-privacy__banner { max-height: 78vh; overflow: auto; padding: 14px; gap: 12px; }
	.onf-privacy__banner .onf-privacy__actions { justify-content: flex-start; gap: 8px; }
	.onf-privacy__banner .onf-privacy__actions button { flex: 1 1 140px; }
	.onf-privacy__banner .onf-privacy__actions .onf-privacy__text-button { flex-basis: 100%; }
	.onf-youtube-consent__notice { flex-direction: column; align-items: flex-start; }
	.onf-youtube-consent__notice { align-items: flex-start; flex-direction: column; }
}
