/*!
 * SN Cookie consent (GDPR)
 * Second Nature - secondnature.agency
 */

.sn-ck-root {
	--sn-c-bg: #ffffff;
	--sn-c-fg: #14181f;
	--sn-c-muted: #5c6672;
	--sn-c-line: #e3e7ec;
	--sn-c-soft: #f6f8fa;
	font: 400 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--sn-c-fg);
}
.sn-ck-root * { box-sizing: border-box; }
/* Theme reset. :where() keeps specificity at zero so every rule below still wins. */
:where(.sn-ck-root) button,
:where(.sn-ck-root) a,
:where(.sn-ck-root) p,
:where(.sn-ck-root) h2,
:where(.sn-ck-root) h3,
:where(.sn-ck-root) span,
:where(.sn-ck-root) label,
:where(.sn-ck-root) input,
:where(.sn-ck-root) svg {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
	min-width: 0;
	min-height: 0;
	max-width: none;
	float: none;
	text-shadow: none;
	transform: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
:where(.sn-ck-root) button::before,
:where(.sn-ck-root) button::after,
:where(.sn-ck-root) a::before,
:where(.sn-ck-root) a::after { content: none; display: none; }



.sn-ck-root a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------
 * Banner
 * ---------------------------------------------------------------- */
.sn-ck-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2147482000;
	background: var(--sn-c-bg);
	border-top: 1px solid var(--sn-c-line);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
	padding: 18px 22px;
	transform: translateY(100%);
	transition: transform .28s ease;
}
.sn-ck-bar.is-in { transform: translateY(0); }

.sn-ck-bar-inner {
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}
.sn-ck-copy { flex: 1 1 420px; min-width: 260px; }
.sn-ck-copy h2 {
	margin: 0 0 4px;
	padding: 0;
	font: 700 15px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--sn-c-fg);
}
.sn-ck-copy p {
	margin: 0;
	padding: 0;
	font-size: 12.8px;
	line-height: 1.55;
	color: var(--sn-c-muted);
	max-width: 78ch;
}
.sn-ck-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	flex: 0 0 auto;
}

.sn-ck-btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 11px 22px;
	font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	cursor: pointer;
	white-space: nowrap;
	transition: filter .12s ease, background .12s ease;
}
.sn-ck-btn:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.sn-ck-primary {
	background: var(--sn-accent, #00152b);
	color: var(--sn-accent-contrast, #fff);
}
.sn-ck-primary:hover { filter: brightness(1.18); }
.sn-ck-secondary {
	background: transparent;
	color: var(--sn-c-fg);
	border-color: currentColor;
}
.sn-ck-secondary:hover { background: var(--sn-c-soft); }
.sn-ck-link {
	background: none;
	border: 0;
	padding: 6px 2px;
	font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--sn-c-fg);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.sn-ck-link:hover { color: var(--sn-accent, #00152b); }

/* ------------------------------------------------------------------
 * Preferences dialog
 * ---------------------------------------------------------------- */
.sn-ck-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483200;
	background: rgba(10, 14, 20, .55);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.sn-ck-overlay.is-in { display: flex; }

.sn-ck-modal {
	width: 100%;
	max-width: 620px;
	max-height: min(86vh, 720px);
	background: var(--sn-c-bg);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.sn-ck-mhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 12px 14px 20px;
	background: var(--sn-accent, #00152b);
	color: var(--sn-accent-contrast, #fff);
	flex: 0 0 auto;
}
.sn-ck-mhead h2 { margin: 0; font: 700 16px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: inherit; }
.sn-ck-mclose {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.sn-ck-mclose:hover { background: rgba(255, 255, 255, .16); }
.sn-ck-mclose:focus-visible { outline: 2px solid #ffbf47; outline-offset: 1px; }

.sn-ck-mbody {
	padding: 18px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
	flex: 1 1 auto;
}
.sn-ck-intro {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--sn-c-muted);
}

.sn-ck-cat {
	border: 1px solid var(--sn-c-line);
	border-radius: 11px;
	padding: 13px 16px 14px;
	margin-bottom: 10px;
	background: var(--sn-c-soft);
}
.sn-ck-cat-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
	min-height: 26px;
}
.sn-ck-cat h3 { margin: 0; padding: 0; flex: 1 1 auto; font: 600 13.5px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--sn-c-fg); }
.sn-ck-cat h3 label { cursor: pointer; }
.sn-ck-cat p { margin: 0; padding: 0; font-size: 12.4px; line-height: 1.55; color: var(--sn-c-muted); }
.sn-ck-always {
	flex: 0 0 auto;
	font: 700 9.5px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--sn-c-muted);
	white-space: nowrap;
}

/* Switch */
.sn-ck-switch { flex: 0 0 auto; position: relative; width: 46px; height: 26px; }
.sn-ck-switch input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}
.sn-ck-track {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #c3cad2;
	transition: background .15s ease;
	pointer-events: none;
}
.sn-ck-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	transition: transform .15s ease;
}
.sn-ck-switch input:checked + .sn-ck-track { background: var(--sn-accent, #00152b); }
.sn-ck-switch input:checked + .sn-ck-track::after { transform: translateX(20px); }
.sn-ck-switch input:focus-visible + .sn-ck-track { outline: 3px solid #ffbf47; outline-offset: 2px; }

.sn-ck-mfoot {
	flex: 0 0 auto;
	padding: 14px 20px 18px;
	border-top: 1px solid var(--sn-c-line);
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
	background: var(--sn-c-bg);
}

/* ------------------------------------------------------------------
 * Reopen tab
 * ---------------------------------------------------------------- */
.sn-ck-tab {
	position: fixed;
	left: 0;
	bottom: 96px;
	z-index: 2147481000;
	border: 0;
	border-radius: 0 8px 8px 0;
	padding: 8px 12px 8px 10px;
	background: var(--sn-accent, #00152b);
	color: var(--sn-accent-contrast, #fff);
	font: 600 11px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
	display: none;
	align-items: center;
	gap: 6px;
	opacity: .82;
}
.sn-ck-tab.is-in { display: flex; }
.sn-ck-tab:hover { opacity: 1; }
.sn-ck-tab:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
.sn-ck-tab svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sn-pos-right .sn-ck-tab { left: auto; right: 0; border-radius: 8px 0 0 8px; }

@media (max-width: 782px) {
	.sn-ck-bar { padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
	.sn-ck-bar-inner { gap: 12px; }
	.sn-ck-actions { width: 100%; }
	.sn-ck-actions .sn-ck-btn { flex: 1 1 auto; text-align: center; }
	.sn-ck-tab { bottom: 74px; }
	.sn-ck-mfoot { justify-content: stretch; }
	.sn-ck-mfoot .sn-ck-btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
	.sn-ck-bar { max-height: 62vh; overflow-y: auto; overscroll-behavior: contain; }
	.sn-ck-copy { flex: 1 1 100%; min-width: 0; }
	.sn-ck-copy h2 { font-size: 14px; }
	.sn-ck-copy p { font-size: 12px; line-height: 1.5; }
	.sn-ck-actions { gap: 8px; }
	.sn-ck-btn { padding: 12px 14px; font-size: 13px; }
	.sn-ck-link { order: 3; width: 100%; text-align: center; padding: 4px 2px 0; }
	.sn-ck-overlay { padding: 10px; align-items: flex-end; }
	.sn-ck-modal { max-height: calc(100vh - 20px); border-radius: 14px; }
	.sn-ck-mbody { padding: 14px; }
	.sn-ck-cat { padding: 11px 13px 12px; }
	.sn-ck-cat h3 { font-size: 13px; }
	.sn-ck-cat p { font-size: 12px; }
	.sn-ck-mfoot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
	.sn-ck-mfoot .sn-ck-btn { flex: 1 1 40%; }
}

@supports (height: 100dvh) {
	@media (max-width: 560px) {
		.sn-ck-bar { max-height: 62dvh; }
		.sn-ck-modal { max-height: calc(100dvh - 20px); }
	}
}

@media (prefers-reduced-motion: reduce) {
	.sn-ck-bar { transition: none; }
}

/* ------------------------------------------------------------------
 * Colour lock. See the note in sn-a11y.css.
 * ---------------------------------------------------------------- */
.sn-ck-root .sn-ck-copy h2,
.sn-ck-root .sn-ck-cat h3,
.sn-ck-root .sn-ck-cat h3 label { color: var(--sn-c-fg, #14181f) !important; }
.sn-ck-root .sn-ck-copy p,
.sn-ck-root .sn-ck-cat p,
.sn-ck-root .sn-ck-intro,
.sn-ck-root .sn-ck-always { color: var(--sn-c-muted, #5c6672) !important; }
.sn-ck-root .sn-ck-copy a,
.sn-ck-root .sn-ck-intro a { color: var(--sn-c-fg, #14181f) !important; }
.sn-ck-root .sn-ck-mhead h2,
.sn-ck-root .sn-ck-mclose { color: var(--sn-accent-contrast, #fff) !important; }
.sn-ck-root .sn-ck-primary { color: var(--sn-accent-contrast, #fff) !important; background-color: var(--sn-accent, #00152b); }
.sn-ck-root .sn-ck-secondary,
.sn-ck-root .sn-ck-link { color: var(--sn-c-fg, #14181f) !important; }
.sn-ck-root .sn-ck-secondary { border-color: var(--sn-c-fg, #14181f); background-color: transparent; }
.sn-ck-root .sn-ck-bar,
.sn-ck-root .sn-ck-modal,
.sn-ck-root .sn-ck-mfoot { background-color: var(--sn-c-bg, #fff); }
.sn-ck-root .sn-ck-cat { background-color: var(--sn-c-soft, #f6f8fa); }
.sn-ck-root .sn-ck-mhead { background-color: var(--sn-accent, #00152b); }
