/* Navigation color denotes the selected destination; hover is a small visual scale. */
:root{--mx-nav-text:#333c40;--mx-nav-selected:#76512d}
html[data-theme=dark]{--mx-nav-text:var(--ink);--mx-nav-selected:var(--brass)}
html .site-head.white-header .header-section-nav :is(a,button):not([aria-current=page]):not(.active),
html :is(.catalog-subnav-link,.catalog-overview-link):not([aria-current=page]):not(.active),
html #sideNav .nav-item:not(.active){color:var(--mx-nav-text)!important;background:transparent!important}
html .header-section-nav :is(a,button)[aria-current=page],html .catalog-subnav-link:is([aria-current=page],.active),html #sideNav .nav-item.active{color:var(--mx-nav-selected)!important;background:transparent!important}
html .catalog-parent-link:not([aria-current=page]):hover h1{color:var(--mx-nav-text)!important}
html .catalog-parent-link[aria-current=page]{color:var(--mx-nav-selected)!important}
.site-head .header-section-nav :is(a,button),.site-head .header-action-circle,.site-head .theme-toggle,.site-head .language-menu-trigger,
.catalog-subnav-link,.catalog-parent-link,.catalog-overview-link,#sideNav .nav-item,.back-to-top{transition:scale .15s ease,background-color .16s,border-color .16s;transform-origin:center}
@media(hover:hover) and (pointer:fine){
 html:not([data-mx-a11y-input=touch]) :is(.site-head .header-section-nav a,.site-head .header-section-nav button,.site-head .header-action-circle,.site-head .theme-toggle,.site-head .language-menu-trigger,.catalog-subnav-link,.catalog-parent-link,.catalog-overview-link,#sideNav .nav-item,.back-to-top):hover{scale:var(--mx-hover-scale,1.08)}
}
html[data-mx-a11y-motion] :is(.site-head a,.site-head button,.catalog-subnav-link,.catalog-parent-link,.catalog-overview-link,#sideNav .nav-item,.back-to-top){scale:1!important;transition:none!important}
@media(prefers-reduced-motion:reduce){:is(.site-head a,.site-head button,.catalog-subnav-link,.catalog-parent-link,.catalog-overview-link,#sideNav .nav-item,.back-to-top){scale:1!important;transition:none!important}}
.navigation-logo-link{position:relative;display:inline-flex}
.navigation-logo-hint{inset-inline-start:0;right:auto;text-align:start}
@media(hover:hover) and (pointer:fine){.navigation-logo-link:hover .navigation-logo-hint,.navigation-logo-link:focus-visible .navigation-logo-hint{visibility:visible;opacity:1}}
@media(hover:none),(pointer:coarse){.navigation-logo-hint{display:none!important}}

html .catalog-parent-link{color:var(--mx-nav-text)}
html .catalog-parent-link h1{color:inherit!important}
html .catalog-overview-link:hover{text-decoration:none}

.catalog-parent-link{transform-origin:left center}
html[dir=rtl] .catalog-parent-link{transform-origin:right center}

/* Owner-selected hover sizes: large headings10%, medium labels15%, small labels20%. */
.site-head .header-section-nav :is([data-section=menu],[data-section=info]),.catalog-overview-link{--mx-hover-scale:1.15}
.site-head .header-section-nav :is([data-section=about],[data-section=reviews],[data-section=contacts]),.catalog-subnav-link,#sideNav .nav-item{--mx-hover-scale:1.2}
.catalog-parent-link{--mx-hover-scale:1.1}
/* Stronger selected destination on light backgrounds, separate from hover. */
html:not([data-theme=dark]):not([data-mx-a11y-contrast]){--mx-nav-selected:#9a4b0b}
html:not([data-theme=dark]):not([data-mx-a11y-contrast]) :is(.header-section-nav [aria-current=page],.catalog-subnav-link[aria-current=page],.catalog-subnav-link.active,.catalog-parent-link[aria-current=page],#sideNav .nav-item.active){font-weight:700}

.site-head .language-menu-trigger{--mx-hover-scale:1.15}
/* Legacy brightness washed the entire map circle, including its hover background. */
.white-header :is([data-action=google],[data-action=waze]){filter:none!important}
