/* Sticky menu */
header,
.wp-block-template-part,
.site-header,
.wp-block-group.is-position-sticky {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--wp--preset--color--base);
	transition: background-color 0.3s ease;
}

/* Transparent background when scrolling */
body.scrolled header,
body.scrolled .wp-block-template-part,
body.scrolled .site-header,
body.scrolled .wp-block-group.is-position-sticky {
	background-color: rgba(0, 0, 0, 0.7) !important;
}

/* Menu items - no underline by default */
.wp-block-navigation a,
.wp-block-navigation__container a,
.wp-block-navigation-item a,
.menu a,
.sub-menu a {
	text-decoration: none;
}

.wp-block-navigation a span,
.wp-block-navigation__container a span,
.wp-block-navigation-item a span,
.menu a span,
.sub-menu a span {
	display: inline-block;
	border-bottom: 3px solid transparent;
	padding-bottom: 4px;
}

/* Menu items - yellow underline on hover */
.wp-block-navigation a:hover span,
.wp-block-navigation__container a:hover span,
.wp-block-navigation-item a:hover span,
.menu a:hover span,
.sub-menu a:hover span {
	border-bottom-color: var(--wp--preset--color--contrast);
}
