.header-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2rem;
}

.header-menu a,
.header-menu a:visited,
.header-menu a:focus,
.header-menu a:active,
.header-menu a:hover {
	text-decoration: none;
	color: #FFFFFF;
	font-weight: 400;
	display: inline-block;
	padding: 2px 1px;
	transition: .3s color;
	position: relative;
}

.header-menu ul li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
    transition: width 0.3s ease;
}

.header-menu ul li a:hover::before {
    width: 100%;
}

.header-menu .current-menu-item a {
	font-weight: 700;
}

.menu-item-has-children {
	position: relative;
}

/*
Used this for svg encoding: https://yoksel.github.io/url-encoder/
*/
.header-menu .menu-item-has-children > a::after {
	content: url("data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 448 448' style='enable-background:new 0 0 448 448;' xml:space='preserve' fill='%23FFFFFF'%3E%3Cpath d='M207,349.5L12.7,155.1c-9.4-9.4-9.4-24.6,0-33.9l12.7-12.7c9.4-9.4,24.5-9.4,33.9,0l164.7,164l164.7-164c9.4-9.3,24.5-9.3,33.9,0l12.7,12.7c9.4,9.4,9.4,24.6,0,33.9L241,349.5C231.6,358.8,216.4,358.8,207,349.5L207,349.5z'/%3E%3C/svg%3E");
	margin-left: 0.35em;
	display: inline-block;
	width: 8px;
	height: 8px;
	position: relative;
	top: -1px;
}

.header-menu .sub-menu {
	display: none;
	position: absolute;
	background-color: #fff;
	text-align: left;
	box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 30%);
	z-index: 20;
	padding: 10px 20px!important;
	border-radius: 10px;
	margin-top: 5px;
	left: 0;
	top: 27px;
	width: 190px;
}

.header-menu .sub-menu-active {
    display: inline-block;
}

.header-menu .sub-menu li {
	padding: 4px 0;
	margin: 0;
	display: block;
}

.header-menu .sub-menu a,
.header-menu .sub-menu a:visited {
	font-weight: normal;
	font-size: 1em;
	padding: 2px 0;
	line-height: 1.3;
	color: #000000;
}

.header-menu .sub-menu a:hover {
	font-weight: 600;
}

@media (min-width: 1024px) {
    .header-menu__cc-link {
		border-left: 1px solid #5E5E5E;
		padding-left: 20px;
	}

	.header-menu__cc-link a::before {
		display: none;
	}
}