/*
Theme Name: NeuroKids
Theme URI: https://neurokids.lt
Author: NeuroKids
Description: Lengva blokų tema NeuroKids – technologijos kiekvieno vaiko augimui. Ramus, prieinamas (WCAG 2.2 AA tikslas) dizainas.
Version: 0.2.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: nerokids
*/

/* Fokusas visada matomas */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--blue);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Kortelės */
.nk-card {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(39, 51, 77, 0.06), 0 6px 20px rgba(39, 51, 77, 0.06);
	padding: var(--wp--preset--spacing--40);
	height: 100%;
}

.nk-badge {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 0.15rem 0.7rem;
	border-radius: 999px;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--navy);
}
.nk-badge--building { background: #E6E2F8; }

.nk-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--violet-dark);
}

/* Mobilus: be horizontalaus slinkimo */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }

@media (prefers-reduced-motion: no-preference) {
	a, .wp-element-button, .nk-card { transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; }
	.nk-card:hover { box-shadow: 0 2px 4px rgba(39, 51, 77, 0.08), 0 10px 28px rgba(39, 51, 77, 0.1); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
