/* NinjaPipe Connector opt-out notice. Override the custom properties in a child theme. */
.npconn-consent {
	--npconn-consent-bg: #ffffff;
	--npconn-consent-fg: #1d1d1f;
	--npconn-consent-muted: #5f6368;
	--npconn-consent-btn-bg: #111111;
	--npconn-consent-btn-fg: #ffffff;
	--npconn-consent-radius: 10px;
	--npconn-consent-shadow: 0 6px 28px rgba(0, 0, 0, .18);
	--npconn-consent-z: 2147483000;
	font-family: inherit;
}
.npconn-consent [hidden] { display: none !important; }
.npconn-consent__notice,
.npconn-consent__panel {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: var(--npconn-consent-z);
	box-sizing: border-box;
	background: var(--npconn-consent-bg);
	color: var(--npconn-consent-fg);
	border-radius: var(--npconn-consent-radius);
	box-shadow: var(--npconn-consent-shadow);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
	text-align: left;
}
.npconn-consent__notice {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	max-width: 360px;
	padding: 12px 14px;
}
.npconn-consent__text { margin: 0; flex: 1 1 180px; }
.npconn-consent__actions { display: flex; align-items: center; gap: 4px 14px; }
.npconn-consent__btn {
	min-height: 36px;
	min-width: 56px;
	padding: 6px 16px;
	border: 0;
	border-radius: 6px;
	background: var(--npconn-consent-btn-bg);
	color: var(--npconn-consent-btn-fg);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.npconn-consent__link {
	display: inline-block;
	padding: 8px 2px;
	color: var(--npconn-consent-muted);
	font-size: 12px;
	text-decoration: underline;
	background: none;
	cursor: pointer;
}
.npconn-consent__btn:focus-visible,
.npconn-consent__link:focus-visible,
.npconn-consent__close:focus-visible,
.npconn-consent__toggle input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.npconn-consent__panel { width: 340px; max-width: calc(100vw - 32px); padding: 16px 18px; }
.npconn-consent__panel:focus { outline: none; }
.npconn-consent__title { margin: 0 24px 4px 0; font-size: 15px; line-height: 1.3; color: inherit; font-family: inherit; }
.npconn-consent__desc { margin: 0 0 10px; color: var(--npconn-consent-muted); }
.npconn-consent__toggle { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.npconn-consent__toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--npconn-consent-btn-bg); }
.npconn-consent__panel .npconn-consent__actions { margin-top: 10px; }
.npconn-consent__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	background: none;
	color: var(--npconn-consent-muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.npconn-consent-footer { margin: 0; padding: 10px 0; text-align: center; font-size: 12px; line-height: 1.4; }
.npconn-consent-footer a { color: var(--npconn-consent-muted); text-decoration: underline; }
@media (max-width: 599px) {
	.npconn-consent__notice,
	.npconn-consent__panel { left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-radius: 0; }
	.npconn-consent__notice { padding: 10px 14px; }
}

/* Theme-proofing (1.1.6): page-builder kits style button, [type=button] and h2 with higher specificity than a single
   class, which produced coloured borders, mis-sized close buttons and display-font titles. Re-assert the notice's own look. */
.npconn-consent button.npconn-consent__btn[type="button"],
.npconn-consent button.npconn-consent__btn[type="button"]:hover,
.npconn-consent button.npconn-consent__btn[type="button"]:focus {
	min-height: 36px; min-width: 56px; margin: 0; padding: 6px 16px;
	border: 0; border-radius: 6px; box-shadow: none; outline-offset: 2px;
	background: var(--npconn-consent-btn-bg); color: var(--npconn-consent-btn-fg);
	font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2;
	letter-spacing: normal; text-transform: none; text-decoration: none; text-shadow: none;
	width: auto; height: auto;
}
.npconn-consent button.npconn-consent__btn[type="button"]:hover { filter: brightness(1.15); }
.npconn-consent button.npconn-consent__link[type="button"],
.npconn-consent button.npconn-consent__link[type="button"]:hover,
.npconn-consent button.npconn-consent__link[type="button"]:focus,
.npconn-consent a.npconn-consent__link,
.npconn-consent a.npconn-consent__link:hover {
	display: inline-block; min-height: 0; margin: 0; padding: 8px 2px;
	border: 0; border-radius: 0; box-shadow: none; background: none;
	color: var(--npconn-consent-muted); font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.2;
	letter-spacing: normal; text-transform: none; text-decoration: underline; text-shadow: none; width: auto; height: auto;
}
.npconn-consent button.npconn-consent__close[type="button"],
.npconn-consent button.npconn-consent__close[type="button"]:hover,
.npconn-consent button.npconn-consent__close[type="button"]:focus {
	position: absolute; top: 6px; right: 8px; display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; min-width: 0; min-height: 0; margin: 0; padding: 0;
	border: 0; border-radius: 6px; box-shadow: none; background: none;
	color: var(--npconn-consent-muted); font-family: inherit; font-size: 22px; font-weight: 400; line-height: 1;
	letter-spacing: normal; text-transform: none; text-shadow: none;
}
.npconn-consent button.npconn-consent__close[type="button"]:hover { background: rgba(0, 0, 0, .06); color: var(--npconn-consent-fg); }
.npconn-consent .npconn-consent__panel .npconn-consent__title {
	margin: 0 32px 4px 0; padding: 0; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.3;
	letter-spacing: normal; text-transform: none; color: var(--npconn-consent-fg);
}
.npconn-consent .npconn-consent__text,
.npconn-consent .npconn-consent__desc,
.npconn-consent .npconn-consent__toggle { font-size: 13px; line-height: 1.4; letter-spacing: normal; text-transform: none; color: var(--npconn-consent-fg); }
.npconn-consent .npconn-consent__desc { color: var(--npconn-consent-muted); }
.npconn-consent .npconn-consent__toggle { margin: 0; font-weight: 400; }
