/*! GNN Cookies Consent - front end. https://gnnsolutions.co.uk */
.gcc {
	--gcc-primary: #2f5fd6;
	--gcc-icon: #2253a5;
	--gcc-bg: #121212;
	--gcc-fg: #e6e6e6;
	--gcc-muted: #c4c4c4;
	--gcc-line: #2d2d2d;
	--gcc-panel: #2a2a2a;
	--gcc-link: #5b86f5;
	--gcc-green: #4caf50;
	--gcc-switch-off: #5a5a5a;
	--gcc-foot: #0b1220;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--gcc-fg);
	-webkit-font-smoothing: antialiased;
}
.gcc.gcc-theme-light {
	--gcc-bg: #ffffff;
	--gcc-fg: #1a1a1a;
	--gcc-muted: #4a4a4a;
	--gcc-line: #e3e3e3;
	--gcc-panel: #f3f4f6;
	--gcc-link: #1d4ed8;
	--gcc-green: #1b7a2e;
	--gcc-switch-off: #b8bcc4;
}
.gcc *, .gcc *::before, .gcc *::after { box-sizing: border-box; }
.gcc [hidden] { display: none !important; }
.gcc button { font: inherit; cursor: pointer; }
.gcc a { color: var(--gcc-link); text-decoration: underline; }
.gcc p { margin: 0; }
.gcc h2, .gcc p, .gcc button, .gcc a, .gcc label, .gcc dt, .gcc dd, .gcc span {
	text-transform: none;
	letter-spacing: normal;
	font-family: inherit;
	font-style: normal;
}

html.gcc-lock { overflow: hidden; }

/* Buttons */
.gcc-btn {
	appearance: none;
	border-radius: 3px;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	border: 2px solid transparent;
	transition: filter .15s ease, background-color .15s ease;
}
.gcc-btn-primary { background: var(--gcc-primary); border-color: var(--gcc-primary); color: #fff; }
.gcc-btn-primary:hover { filter: brightness(1.12); }
.gcc-btn-outline { background: transparent; border-color: var(--gcc-fg); color: var(--gcc-fg); }
.gcc-btn-outline:hover { background: rgba(127, 127, 127, .15); }
.gcc button:focus-visible, .gcc a:focus-visible, .gcc input:focus-visible + .gcc-slider {
	outline: 3px solid #8ab4ff;
	outline-offset: 2px;
}

/* Banner */
.gcc-banner {
	position: fixed;
	z-index: 999990;
	background: var(--gcc-bg);
	color: var(--gcc-fg);
	border: 1px solid var(--gcc-line);
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.gcc-pos-bottom-left { left: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); }
.gcc-pos-bottom-right { right: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px)); }
.gcc-pos-bottom-bar { left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 28px; }
.gcc-pos-bottom-bar .gcc-banner-copy { max-width: 900px; }
.gcc-banner-title { font-size: 18px; font-weight: 700; margin-bottom: 6px !important; }
.gcc-banner-text { font-size: 14.5px; color: var(--gcc-muted); }
.gcc-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gcc-banner-actions .gcc-btn { padding: 10px 16px; font-size: 15px; flex: 1 1 auto; }
.gcc-pos-bottom-bar .gcc-banner-actions { flex-wrap: nowrap; flex: 0 0 auto; }

/* Floating icon */
.gcc-float {
	position: fixed;
	bottom: 20px;
	z-index: 999980;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gcc-icon);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	transition: transform .15s ease;
}
.gcc-float:hover { transform: scale(1.08); }
.gcc-float-left { left: 20px; }
.gcc-float-right { right: 20px; }
.gcc-banner:not([hidden]) ~ .gcc-float { display: none; }

/* Modal */
.gcc-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, .6);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.gcc-modal {
	background: var(--gcc-bg);
	color: var(--gcc-fg);
	width: min(840px, 100%);
	max-height: min(900px, calc(100vh - 40px));
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
	outline: none;
}
.gcc-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 28px;
	border-bottom: 1px solid var(--gcc-line);
}
.gcc-modal-head h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: var(--gcc-fg); }
.gcc-close { background: none; border: 0; color: var(--gcc-muted); padding: 6px; display: flex; border-radius: 4px; }
.gcc-close:hover { color: var(--gcc-fg); }
.gcc-modal-body { padding: 22px 28px 8px; overflow-y: auto; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.gcc-intro { font-size: 16px; color: var(--gcc-fg); margin-bottom: 14px !important; line-height: 1.75; }
.gcc-more.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px !important; }
.gcc-link { background: none; border: 0; padding: 0; margin: 0 0 14px; color: var(--gcc-link); text-decoration: underline; font-size: 16px; }

.gcc-cat { border-top: 1px solid var(--gcc-line); padding: 18px 0 20px; }
.gcc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gcc-cat-toggle { background: none; border: 0; padding: 0; color: var(--gcc-fg); display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; text-align: left; }
.gcc-cat-toggle svg { transition: transform .15s ease; flex: 0 0 auto; }
.gcc-cat-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.gcc-always { color: var(--gcc-green); font-weight: 700; font-size: 16px; white-space: nowrap; }
.gcc-cat-desc { margin: 10px 0 0 30px !important; color: var(--gcc-muted); font-size: 16px; line-height: 1.75; }
.gcc-cookies { margin: 16px 0 0 30px; max-height: 340px; overflow-y: auto; background: var(--gcc-panel); border-radius: 6px; }

.gcc-cookie { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--gcc-line); }
.gcc-cookie:last-child { border-bottom: 0; }
.gcc-cookie > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 5px 0; }
.gcc-cookie dt { font-weight: 700; margin: 0; }
.gcc-cookie dd { margin: 0; color: var(--gcc-muted); word-break: break-word; }
.gcc-empty { padding: 16px 20px; color: var(--gcc-muted); }

/* Toggle switch */
.gcc-switch { position: relative; display: inline-block; width: 52px; height: 28px; flex: 0 0 auto; margin: 0; }
.gcc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.gcc-slider { position: absolute; inset: 0; background: var(--gcc-switch-off); border-radius: 28px; transition: background-color .2s ease; }
.gcc-slider::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.gcc-switch input:checked + .gcc-slider { background: var(--gcc-primary); }
.gcc-switch input:checked + .gcc-slider::before { transform: translateX(24px); }

/* Modal footer */
.gcc-modal-actions { display: flex; gap: 16px; padding: 18px 28px 22px; border-top: 1px solid var(--gcc-line); }
.gcc-modal-actions .gcc-btn { flex: 1 1 0; min-height: 52px; }
.gcc-powered {
	background: var(--gcc-foot);
	color: #cfd6e4;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 12px 28px;
	font-size: 14px;
}
.gcc-powered a { display: inline-flex; line-height: 0; }
.gcc-powered img { display: block; height: 24px; width: auto; }

/* Shortcode button + policy table */
.gcc-shortcode-btn { cursor: pointer; }
.gcc-policy .gcc-cookie { background: #f3f4f6; color: #1a1a1a; border-bottom: 1px solid #e3e3e3; }
.gcc-policy .gcc-cookie dd { color: #444; }
.gcc-policy .gcc-policy-cookies { margin-bottom: 1.5em; }

@media (max-width: 640px) {
	.gcc-overlay { padding: 0; align-items: flex-end; }
	.gcc-modal { max-height: 94vh; border-radius: 10px 10px 0 0; }
	.gcc-modal-head, .gcc-modal-body { padding-left: 18px; padding-right: 18px; }
	.gcc-modal-head h2 { font-size: 20px; }
	.gcc-modal-actions { flex-direction: column; gap: 10px; padding: 14px 18px 18px; }
	.gcc-powered { padding: 10px 18px; }
	.gcc-cat-desc, .gcc-cookies { margin-left: 0 !important; }
	.gcc-cookie > div { grid-template-columns: 1fr; gap: 0; }
	.gcc-pos-bottom-bar { flex-direction: column; align-items: stretch; padding: 18px; }
	.gcc-pos-bottom-bar .gcc-banner-actions { flex-wrap: wrap; }
	.gcc-pos-bottom-left, .gcc-pos-bottom-right { left: 12px; right: 12px; bottom: 12px; width: auto; }
	.gcc-float-left { left: 12px; bottom: 12px; }
	.gcc-float-right { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.gcc *, .gcc *::before, .gcc *::after { transition: none !important; }
}
