/* Header: burger left, logo right (style1). */
.header.style1 .regular-header.columns {
	flex-direction: row-reverse;
}

.header.style1 .logolink .logoimg.logo-dark,
.header.style1 .logolink .logoimg.logo-light {
	max-height: 60px;
	width: auto;
	height: auto;
}

@media screen and (max-width: 40.0625em) {
	.header.style1 .logolink .logoimg.logo-dark,
	.header.style1 .logolink .logoimg.logo-light {
		max-height: 40px;
	}
}

/* Mobile menu: open from left, black background. No !important on transform — GSAP must animate x. */
#mobile-menu.style1 {
	right: auto !important;
	left: 0 !important;
	transform: translate3d(-100%, 0, 0);
	background-color: #000 !important;
	background-image: none !important;
}

/* Mobile menu links: keep native mask animation, only recolor */
#mobile-menu.style1 .thb-mobile-menu a,
#mobile-menu.style1 .thb-mobile-menu a:before,
#mobile-menu.style1 .thb-mobile-menu .nav-link-mask .nav-link-mask-text {
	color: #969696 !important;
}

#mobile-menu.style1 .thb-mobile-menu a:hover,
#mobile-menu.style1 .thb-mobile-menu a:focus,
#mobile-menu.style1 .thb-mobile-menu a:active,
#mobile-menu.style1 .thb-mobile-menu a:hover:before,
#mobile-menu.style1 .thb-mobile-menu a:focus:before,
#mobile-menu.style1 .thb-mobile-menu a:active:before,
#mobile-menu.style1 .thb-mobile-menu a:hover .nav-link-mask-text,
#mobile-menu.style1 .thb-mobile-menu a:focus .nav-link-mask-text,
#mobile-menu.style1 .thb-mobile-menu a:active .nav-link-mask-text,
#mobile-menu.style1 .thb-mobile-menu .current-menu-item > .link_container a,
#mobile-menu.style1 .thb-mobile-menu .current_page_item > .link_container a,
#mobile-menu.style1 .thb-mobile-menu .current-menu-item > .link_container a:before,
#mobile-menu.style1 .thb-mobile-menu .current_page_item > .link_container a:before,
#mobile-menu.style1 .thb-mobile-menu .current-menu-item > .link_container .nav-link-mask-text,
#mobile-menu.style1 .thb-mobile-menu .current_page_item > .link_container .nav-link-mask-text {
	color: #ffffff !important;
}

/* Kill legacy accent red in bg-fill animation mode */
.mm-link-animation-bg-fill #mobile-menu.style1 .thb-mobile-menu a:hover,
.mm-link-animation-bg-fill #mobile-menu.style1 .thb-mobile-menu .current-menu-item > .link_container a {
	color: #ffffff !important;
}

/* Bottom area: hide legacy copyright line */
#mobile-menu.style1 .mobile-menu-bottom .menu-footer {
	display: none !important;
}

/* Global page loader spinner: force gray instead of theme red accent. */
.thb-preloader .preloader-path,
.thb-preloader .path {
	stroke: #969696 !important;
}

/* Bottom profile links: vertical stack (LinkedIn -> GitHub) */
#mobile-menu.style1 .mobile-menu-bottom .thb-secondary-menu {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

#mobile-menu.style1 .mobile-menu-bottom .thb-secondary-menu > li {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.header.style1 .regular-header .mobile-toggle {
	position: relative;
	z-index: 101;
	pointer-events: auto;
}

#mobile-menu.style1 .thb-close {
	right: 10px;
	left: auto;
}

@media only screen and (min-width: 40.063em) {
	#mobile-menu.style1 .thb-close {
		right: 30px;
		left: auto;
	}
}

@media only screen and (max-width: 767px) {
	/* Mobile burger menu: 2x larger item text */
	#mobile-menu.style1 .thb-mobile-menu a,
	#mobile-menu.style1 .thb-mobile-menu .nav-link-mask .nav-link-mask-text {
		font-size: 48px !important;
	}

	/* Mobile bottom profile links: 2x larger text */
	#mobile-menu.style1 .mobile-menu-bottom .thb-secondary-menu a {
		font-size: 28px !important;
	}
}
