html {
  scroll-behavior: smooth;
}

/* navigation menu and header */
.collapsibleMenu ul {
		padding: 0.5rem;
		gap: 0.5rem;
		max-width: 1440px;
}

.collapsibleMenu ul li a:where(:not(.wp-element-button)) * {
		font-size: 0.9rem !important;
}

.collapsibleMenu ul li a {
		text-decoration: none;
		background-color: #ffffff66;
		border-radius: 4rem;
		padding: 6px 12px;
		transition-duration: 0.3s;
		line-height: 1.05;
}

.collapsibleMenu ul li a * {
		padding: 0;
}

.collapsibleMenu ul li a:hover {
		text-decoration: none;
		background-color: #ffffff;
}

.navTopWrapper {
	position: relative;
}

.navHeader {
		position: fixed;
		width: 100%;
		z-index: 100;
		box-shadow: 0 3px 10px 0 rgba(0,0,0,0.5);
}

#desktopCTA a {
	transition-duration: 0.3s;
}

#desktopCTA:hover a {
	background-color: #ffffff !important;
}

#menuFeedback {
    display: block;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 5px;
    background-color: #fff;
    opacity: 1;
    transition-duration: 0.3s;
		z-index: 100;
}

#menuFeedback.hidden {
    bottom: 2px;
    opacity: 0;
}

#navLinks {
    width: 100%;
    position: relative;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
		overflow: hidden;
		max-height: 100vh;
}

#navLinks.hidden {
    max-height: 0px;
}

#navLinks.open {
    max-height: 100vh;
}

@media only screen and (min-width: 768px) {
		.navHeader:hover #navLinks.hidden {
			max-height: 100vh;
		}
}

.navHeader:hover #menuFeedback {
	bottom: 2px;
	opacity: 0;
}
/* mobile nav styles */
#burgerMenu {
	display: none;
	width: 40px;
	cursor: pointer;
	right: 10px;
	position: absolute;
}

.burgerMenuIcon {
	background-color: #fff;
	width: 30px;
	height: 2px;
	margin: 4px 0;
	border-radius: 1px;
	transition: transform 0.3s ease-in-out, opacity 0.3s;
}

/* BURGER MENU ANIMATION */

#burgerMenu:hover .burgerMenuIcon {
	background-color: #82C7b3;
}

#burgerMenu.active #burgerIcon1 {
	transform: rotate(45deg) translateY(4px) translateX(4px);
}

#burgerMenu.active #burgerIcon3 {
	transform: rotate(45deg) translateY(-4px) translateX(-4px);
	opacity: 0;
}

#burgerMenu.active #burgerIcon2 {
	transform: rotate(-45deg) translateY(0) translateX(0);
}

@media only screen and (max-width: 768px) {
		#burgerMenu {display: block;}
		#desktopCTA {display: none;}
		#menuFeedback {display: none;}
		#navLinks {
				max-height: 0px;
		}
		.headerLogo {
			max-width: 120px;
		}
}

@media (max-aspect-ratio: 3/4) {

	#burgerMenu {display: block;}
	#desktopCTA {display: none;}
	
	#navLinksWrapper {
		flex-direction: column;
	}

}

@media only screen and (max-width: 480px) {
		#navLinks nav ul {flex-direction: column;}
		#navLinks nav {padding: 1rem 0 1.5rem;}
		.collapsibleMenu ul li + li {
				margin: 1rem 0 0 0;
		}
}


/* ------------------------------------------------------ */


/* bespoke animatons */

@keyframes readOnArrow {
	0% {
    bottom: 60px;
    opacity: 0.4;
		}
		100% {
				bottom: 30px;
				opacity: 1;
		}
}

.readOn {
    width: 50px;
    height: 50px;
    background-image: url('https://publicmatrends.traverssmith.com/2026/wp-content/uploads/icons/helperArrow.svg');
    position: absolute;
    left: 50%;
    transform: translateX(-25px);
    bottom: 96px;
    opacity: 0.4;
    animation: readOnArrow;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* --------------------------------- */

/* CUSTOM SECTION DESIGNS */

.borderSectionLeft {
		border-left: 4px #82c7b3 solid !important;
		padding-left: 1rem;
}

/* Link Grid */

.linkGrid {
		display: grid !important;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0.6rem;
		grid-auto-rows: 1fr;
}

@media only screen and (max-width: 768px) {
		.linkGrid {
				grid-template-columns: 1fr;
		}
}

.anchorLink {
  scroll-margin-top: 120px;
}

sup { line-height:0; }