/*
Theme Name: Shift-Centrum
Theme URI:
Description: Minimalistický modrý dětský motiv pro Twenty Twenty-Five.
Author: Michal
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Template: twentytwentyfive
Text Domain: shift-centrum
*/

/* --------------------------------------------------------------
   Only put here what theme.json cannot do.
   Colors, spacing and typography live in theme.json.
   -------------------------------------------------------------- */

/* Navigation: quiet underline instead of boxed cells */
.wp-block-navigation .wp-block-navigation-item__content {
	padding-block: 0.35rem;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: currentColor;
}

/* Visible keyboard focus everywhere — TT25's default is faint on blue */
:where(a, button, input, select, textarea, .wp-block-button__link):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent-5);
	outline-offset: 2px;
}

/* The Events Calendar: force its hard-coded accent onto the site blue.
   Delete this block if you do not install The Events Calendar. */
:root {
	--tec-color-accent-primary: var(--wp--preset--color--accent-1);
	--tec-color-accent-primary-hover: var(--wp--preset--color--accent-2);
	--tec-color-accent-primary-active: var(--wp--preset--color--accent-2);
	--tec-color-background-events-bar: var(--wp--preset--color--base-2);
	--tec-color-text-events-title: var(--wp--preset--color--contrast);
	--tec-font-family-sans-serif: inherit;
}

.tribe-common,
.tribe-events {
	font-family: inherit;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
