/*
Theme Name: rettX Child
Theme URI:  https://rettx.eu
Description: rettX child theme for Twenty Twenty-Five. Adds Chillax font, brand colors, and rettX-specific design tokens via theme.json.
Author:     Rett Syndrome Europe
Author URI: https://rettsyndrome.eu
Template:   twentytwentyfive
Version:    0.1.0
License:    GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rettx-child
*/

/* All design tokens are defined in theme.json. Add overrides here only if absolutely necessary. */

/* Skip-to-content: visually hidden until keyboard-focused. */
.rettx-skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	background: #4E4BBF;
	color: #fff !important;
	padding: 0.65rem 1rem;
	border-radius: 0 0 8px 8px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	z-index: 10000;
	transition: top 0.15s ease;
}
.rettx-skip-link:focus {
	top: 0;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Visible focus rings on keyboard navigation. */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
.wp-block-navigation-item a:focus-visible {
	outline: 2px solid #4E4BBF;
	outline-offset: 3px;
	border-radius: 4px;
}

/* Mark the active nav item via aria-current (set per page in templates or by JS later). */
.wp-block-navigation-item a[aria-current="page"] {
	color: #4E4BBF;
	font-weight: 600;
}

