/**
 * Newsletter RODO consent checkbox — modal + footer (ciemne tła).
 * Dodane 2026-05-30: zgoda marketingowa + linki do stron prawnych newslettera.
 * Plik wolny od HARD LOCK (home.css/site-footer.php locked — styling tu, markup tam).
 */

/* Newsletter UKRYTY (2026-05-30): footer-top bez kolumny newslettera → 1 kolumna,
   żeby brand-block nie był wciśnięty w lewą połowę gridu 1fr/1.2fr. */
.gk-footer__top--solo { grid-template-columns: 1fr !important; }

/* Formularze muszą zawijać, żeby checkbox (100%) spadł pod wiersz input+button */
.gk-newsletter-modal__form,
.gk-footer__form { flex-wrap: wrap; }

.gk-newsletter-consent {
	flex: 0 0 100%;
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 2px;
	cursor: pointer;
	text-align: left;
}

/* Natywny input ukryty (a11y: nadal w tab order, focus przez :focus-visible na box) */
.gk-newsletter-consent__input {
	position: absolute;
	width: 1px; height: 1px;
	opacity: 0;
	margin: 0;
}

/* Custom box — spójny z motywem (zielony akcent #5DA935) */
.gk-newsletter-consent__box {
	flex: 0 0 auto;
	width: 20px; height: 20px;
	margin-top: 1px;
	border: 1.5px solid rgba(255, 255, 255, 0.38);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s ease, border-color .15s ease;
}
.gk-newsletter-consent__box svg {
	width: 13px; height: 13px;
	fill: none;
	stroke: #0F1E0F;
	stroke-width: 3.2;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0;
	transition: opacity .12s ease;
}
.gk-newsletter-consent__input:checked + .gk-newsletter-consent__box {
	background: #5DA935;
	border-color: #5DA935;
}
.gk-newsletter-consent__input:checked + .gk-newsletter-consent__box svg { opacity: 1; }
.gk-newsletter-consent__input:focus-visible + .gk-newsletter-consent__box {
	outline: 2px solid #5DA935;
	outline-offset: 2px;
}

/* Tekst — solidny kolor (zero przezroczystych fontów per mandate), wysoki kontrast na dark */
.gk-newsletter-consent__text {
	font-family: 'Inter', system-ui, sans-serif;
	font-size: 11.5px;
	line-height: 1.5;
	color: #C2CDBB;
}
.gk-newsletter-consent__text a {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color .15s ease;
}
.gk-newsletter-consent__text a:hover,
.gk-newsletter-consent__text a:focus-visible { color: #8BD15F; }
