/* nice one Consent Gate – placeholder for blocked embeds. Values come from CSS variables set per gate. */
iframe[data-n1cg-src],
iframe[data-n1-consent-src] {
	visibility: hidden;
}

.n1cg {
	position: relative;
	display: block;
	max-width: 100%;
}

.n1cg .n1cg__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	overflow: hidden;
	background: var(--n1cg-backdrop, #f4f4f1);
	color: var(--n1cg-text, #091709);
	border-radius: var(--n1cg-radius, 12px);
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
}

/* Blurred illustration of a map. Drawn locally, nothing is loaded from a map provider. */
.n1cg .n1cg__map {
	position: absolute;
	inset: -24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='rgba(0,0,0,0.06)'%3E%3Crect x='12' y='60' width='120' height='50' rx='4'/%3E%3Crect x='186' y='12' width='40' height='36' rx='4'/%3E%3Crect x='186' y='150' width='70' height='60' rx='4'/%3E%3Crect x='12' y='140' width='54' height='60' rx='4'/%3E%3Crect x='290' y='180' width='90' height='34' rx='4'/%3E%3Crect x='96' y='150' width='56' height='44' rx='4'/%3E%3C/g%3E%3Crect x='258' y='30' width='96' height='74' rx='10' fill='rgba(120,180,110,0.38)'/%3E%3Cpath d='M-10 232 C 70 206 150 266 250 240 S 370 210 420 226 L 420 310 L -10 310 Z' fill='rgba(100,160,215,0.38)'/%3E%3Cg fill='none' stroke='rgba(255,255,255,0.95)' stroke-linecap='round'%3E%3Cpath stroke-width='11' d='M-10 124 L 410 142'/%3E%3Cpath stroke-width='11' d='M160 -10 L 176 310'/%3E%3Cpath stroke-width='6' d='M-10 40 L 232 58 L 300 164 L 410 172'/%3E%3Cpath stroke-width='5' d='M70 -10 L 84 212'/%3E%3Cpath stroke-width='5' d='M232 58 L 244 -10'/%3E%3Cpath stroke-width='4' d='M176 196 L 410 96'/%3E%3Cpath stroke-width='4' d='M-10 206 L 160 196'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
	filter: blur(5px);
}

.n1cg .n1cg__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	max-width: 34rem;
	max-height: 100%;
	overflow: auto;
}

.n1cg .n1cg__overlay--map .n1cg__panel {
	padding: 1.25rem 1.5rem;
	background: var(--n1cg-card, #ffffff);
	border-radius: var(--n1cg-radius, 12px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.n1cg .n1cg__title,
.n1cg .n1cg__text {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
}

.n1cg .n1cg__title {
	font-size: 1.125em;
	font-weight: 700;
	line-height: 1.3;
}

/* Links: same look in every state, no theme hover effects. */
.n1cg .n1cg__overlay a,
.n1cg .n1cg__overlay a:hover,
.n1cg .n1cg__overlay a:focus,
.n1cg .n1cg__overlay a:active,
.n1cg .n1cg__overlay a:visited {
	color: inherit;
	background: none;
	opacity: 1;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
	transform: none;
	transition: none;
}

/* Theme kits (e.g. Elementor "a:hover") may change font and size on hover; pinned for every state. */
.n1cg .n1cg__overlay .n1cg__link,
.n1cg .n1cg__overlay .n1cg__link:hover,
.n1cg .n1cg__overlay .n1cg__link:focus,
.n1cg .n1cg__overlay .n1cg__link:active,
.n1cg .n1cg__overlay .n1cg__link:visited {
	font-size: 0.875em;
}

/* Button: Cookiez and custom styles. In theme mode the site's own button styles apply. */
.n1cg:not(.n1cg--theme) .n1cg__btn,
.n1cg:not(.n1cg--theme) .n1cg__btn:hover,
.n1cg:not(.n1cg--theme) .n1cg__btn:focus {
	appearance: none;
	margin: 0;
	padding: 0.7em 1.4em;
	border: 0;
	border-radius: var(--n1cg-btn-radius, 32px);
	background: var(--n1cg-btn-bg, #ff5c39);
	color: var(--n1cg-btn-text, #091709);
	font: inherit;
	/* Read from the real Cookiez button ("Cookie banner" style) or set under "Custom" (frontend.js). */
	font-weight: var(--n1cg-btn-weight, inherit);
	letter-spacing: var(--n1cg-btn-spacing, normal);
	line-height: 1.2;
	text-transform: var(--n1cg-btn-transform, none);
	cursor: pointer;
}

.n1cg:not(.n1cg--theme) .n1cg__btn:hover {
	filter: brightness(0.94);
}

.n1cg .n1cg__btn:focus-visible,
.n1cg .n1cg__overlay a:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* Theme mode: text and card follow the site. */
.n1cg.n1cg--theme .n1cg__overlay {
	color: inherit;
}

.n1cg.n1cg--theme .n1cg__overlay--map .n1cg__panel {
	background: var(--wp--preset--color--base, #ffffff);
}

@media (max-width: 480px) {
	.n1cg .n1cg__overlay {
		padding: 0.75rem;
		font-size: 14px;
	}
}
