/*
Theme Name: Walaea
Theme URI: https://www.walaea.com
Author: Walaea
Author URI: https://www.walaea.com
Description: Child theme di Extendable per il sito Walaea. Centralizza palette, tipografia (Overpass + Inter) e le parti di header/footer del brand. Disattivandolo si torna al tema Extendable.
Template: extendable
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: walaea
*/

/* --- Walaea: rifiniture che non passano da theme.json --- */

/* Bottoni: transizione morbida coerente con la personalità "solare ma professionale" */
.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Navigazione header: voce attiva sottolineata in arancio */
.wp-block-navigation .wp-block-navigation-item.current-menu-item > a,
.wp-block-navigation .wp-block-navigation-item.current_page_item > a {
	box-shadow: inset 0 -2px 0 0 var(--wp--preset--color--accent, #f18f01);
}

/* Link nel corpo testo: sottolineatura tenue che si accende al passaggio */
.entry-content a,
main a:not(.wp-element-button):not(.wp-block-navigation-item__content) {
	text-underline-offset: 0.15em;
	text-decoration-color: rgba(117, 92, 174, 0.4);
}
.entry-content a:hover,
main a:not(.wp-element-button):not(.wp-block-navigation-item__content):hover {
	text-decoration-color: var(--wp--preset--color--accent, #f18f01);
}

/* Riquadri segnaposto: leggermente più discreti in stampa/screenshot */
@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link:hover { transform: none; }
}
