.wrapper .main {
	padding-top: 135px;
}

.header__top {
	padding: 15px 0;
	background-color: #040d30;
}

.header__top .shell {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.header__top ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;

	gap: 60px;
	margin-left: 0;
}

.header__top ul a {
	font-size: 11px;
	letter-spacing: 0.06em;

	color: #fff;
	text-transform: uppercase;
	text-decoration: unset !important;
}

.header__top .shell>.greetings p {
	font-size: 13px;
	font-weight: 400;
	line-height: 130%;
	letter-spacing: 0.06em;

	text-decoration: unset !important;
}

.header .header__inner {
	padding: 20px 0;
}

.header .nav {
	padding-right: 0;
}

.header .nav a {
	font-size: 14px;
	font-weight: normal;
}

@media screen and (min-width: 769px) {
	.header .nav .menu-item:last-child a {
		padding-right: 0;
	}
}

@media screen and (max-width: 768px) {
	.header__top .l-container {
		justify-content: space-between;
	}

	.header__top ul {
		width: 100%;
	}

	.header .btn-menu {
		top: 66%;
	}
}

@media screen and (max-width: 1023px) {
	.header .header__inner {
		padding: 15px 0;
	}
}

#menu-main-menu>li .sub-menu {
	top: calc(100% + 10px);
}

#menu-main-menu>li:last-child {
	background-color: #b3a369;
	color: #fff;
	padding: 8px 12px 6px 12px;
}

ul#menu-main-menu>li:last-child a {
	padding-left: 0;
}

ul#menu-main-menu>li:last-child a:hover {
	color: #FFF;
}

#menu-main-menu>li.menu-item-has-children {
	padding-right: 10px;
}

#menu-main-menu>li.menu-item-has-children:after {
	display: inline-block;
	width: 11px;
	height: 7px;
	position: absolute;
	top: 50%;
	right: 6px;
	content: "";
	transition: all 0.2s ease-in-out;
	transform: translateY(-50%);

	-webkit-mask-image: url("https://cazinvestments.com/wp-content/uploads/2024/02/icon-chevron-down.svg");
	-webkit-mask-repeat: no-repeat;
	background-color: #fff;
	-webkit-mask-size: contain;
}

#menu-main-menu>li.menu-item-has-children:hover:after {
	background-color: #b3a369;
	transform: translateY(-50%) scaleY(-1);
}

@media screen and (max-width: 1023px) {
	#menu-main-menu>li.menu-item-has-children:after {
		display: none !important;
	}
}

.popup.popup--member {
	display: block;
	max-height: unset;
	top: 0;
	right: 0;
	transform: none;
}

.popup.popup--member .popup__inner {
	height: 100%;
}

.popup.popup--member .popup__content {
	color: #fff;
}

@media screen and (max-width: 768px) {
	.popup.popup--member {
		max-height: 90vh;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

/* Members page filter */
.l-members__list {
	padding: 90px 0 80px;
}

.l-members__list hr {
	border-color: #c6c6c6;
	border-top-style: solid;
	margin-top: 26px;
}

@media (max-width: 1023px) {
	.l-members__list {
		padding: 40px 20px;
	}

	.l-members__list hr {
		margin-top: 12px;
	}
}

.l-members__list-filter {
	position: relative;
}

.l-members__list-filter h2 {
	font-size: 38px;
}

@media (max-width: 768px) {
	.l-members__list-filter h2 {
		font-size: 26px;
		margin-bottom: 0;
	}
}

.l-members__list-filter select {
	display: none;
}

@media (max-width: 768px) {
	.l-members__list-filter select {
		display: block;
		width: 100%;
		margin-top: 20px;
		color: #c6c6c6;
	}
}

.l-members__list-filter ul {
	margin-top: 35px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

@media (max-width: 768px) {
	.l-members__list-filter ul {
		display: none !important;
	}
}

.l-members__list-filter ul li a {
	color: #c6c6c6;
	text-transform: uppercase;
	font-weight: 600;
}

.l-members__list-filter ul li a.is-active {
	color: #000;
	/* Assuming black or your primary text color for active state */
}

@media (max-width: 768px) {
	.l-members__list-filter:after {
		content: "";
		position: absolute;
		right: 10px;
		bottom: 12px;
		width: 8px;
		height: 8px;
		border-right: 2px solid #c6c6c6;
		border-bottom: 2px solid #c6c6c6;
		transform: rotate(45deg);
		pointer-events: none;
	}
}

.l-members__list-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 1024px) {
	.l-members__list-items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.l-members__list-items {
		grid-template-columns: 1fr;
	}
}

select.js-filter-category {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: transparent;
	border: none;
	padding: 0 1em 0 0;
	margin: 0;
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	line-height: inherit;
	outline: none;
	background: url("arrow-down.png") no-repeat right;
	/* You'll need an arrow image for the dropdown indicator */
}

/* End Memebrs filter */