.mh-professionals-board {
	position: relative;
	width: 100%;
}

.mh-prof-filter-row {
	display: grid;
	grid-template-columns: 210px 1fr;
	align-items: stretch;
	gap: 0;
	padding: 4px;
	border: 0.5px solid var(--french-gray-light, #cdced7);
	border-radius: 8px;
	overflow: visible;
	margin-bottom: 14px;
}

.mh-prof-filter-label {
	display: flex;
	align-items: center;
	padding: 0 16px;
	font-size: 30px;
	font-size: clamp(14px, 1.1vw, 20px);
	font-weight: 400;
	text-transform: uppercase;
	color: rgb(46 46 46 / 65%);
	background: transparent;
}

.mh-prof-filter-dropdown {
	position: relative;
}

.mh-prof-filter-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 100%;
	padding: 16px 18px;
	border: 0;
	border-radius: 8px;
	background: rgb(118 156 73 / 12%);
	color: #2e2e2e;
	font-size: 32px;
	font-size: clamp(15px, 1.2vw, 32px);
	text-align: left;
	cursor: pointer;
}

.mh-prof-filter-chevron {
	display: inline-block;
	width: 20px;
	height: 20px;
	font-size: 0;
	background: url("/wp-content/uploads/2026/02/chevron-down.svg") center/contain no-repeat;
	transition: transform 0.2s ease;
}

.mh-prof-filter-toggle[aria-expanded="true"] .mh-prof-filter-chevron {
	transform: rotate(180deg);
}

.mh-prof-filter-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	z-index: 20;
	background: #d9e0d2;
	border-radius: 12px;
	box-shadow: 0 18px 30px rgb(0 0 0 / 12%);
}

.mh-prof-filter-panel-inner {
	max-height: min(56vh, 560px);
	overflow: auto;
	padding: 16px 18px;
}

.mh-prof-filter-empty {
	margin: 0;
}

.mh-prof-filter-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mh-prof-filter-list--child {
	margin-top: 8px;
	padding-left: 38px;
}

.mh-prof-filter-option {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.mh-prof-filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mh-prof-filter-check {
	display: inline-flex;
	width: 24px;
	height: 24px;
	border: 1px solid var(--french-gray-light, #cdced7);
	border-radius: 6px;
	background: #fff;
	flex: 0 0 24px;
	position: relative;
}

.mh-prof-filter-option input:checked + .mh-prof-filter-check {
	background: var(--cal-poly-green, #769c49);
	border-color: var(--cal-poly-green, #769c49);
}

.mh-prof-filter-option input:checked + .mh-prof-filter-check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 7px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.mh-prof-filter-option-label {
	font-size: 18px;
}

.mh-prof-search {
	display: flex;
	border: 1px solid var(--french-gray-light, #cdced7);
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
}

.mh-prof-search input {
	flex: 1;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	font-size: 18px;
}

.mh-prof-search input:focus {
	outline: none;
}

.mh-prof-search button {
	width: 62px;
	border: 0;
	border-left: 1px solid var(--french-gray-light, #cdced7);
	background: #d9e0d2;
	color: #4f6842;
	cursor: pointer;
}

.mh-prof-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.mh-prof-count {
	font-size: 18px;
	color: rgb(46 46 46 / 80%);
}

.mh-prof-sort-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	padding: 0;
	color: rgb(46 46 46 / 85%);
	cursor: pointer;
}

.mh-prof-sort-toggle.is-oldest .mh-prof-sort-icon {
	transform: rotate(180deg);
}

.mh-prof-sort-icon {
	transition: transform 0.2s ease;
	font-size: 22px;
	line-height: 1;
}

.mh-prof-listings {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.professional-item:focus,
.professional-item:focus-visible,
.professional-item:active {
	outline: none;
	box-shadow: none;
}

.mh-prof-empty,
.mh-prof-loading,
.mh-prof-error {
	margin-top: 16px;
	padding: 16px;
	border-radius: 10px;
	background: #f5f5f5;
	color: rgb(46 46 46 / 75%);
}

.mh-prof-pagination {
	margin-top: 24px;
}

.mh-prof-pagination-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 18px;
	border-top: 1px solid #e2e2e2;
}

.mh-prof-page-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.mh-prof-page-arrow,
.mh-prof-page-number {
	border: 0;
	background: transparent;
	color: rgb(46 46 46 / 80%);
	cursor: pointer;
	min-width: 32px;
	padding: 4px;
	font-size: 32px;
	font-size: clamp(16px, 1.4vw, 22px);
}

.mh-prof-page-number.is-active {
	color: var(--cal-poly-green, #769c49);
	border-bottom: 1px solid var(--cal-poly-green, #769c49);
}

.mh-prof-page-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.mh-prof-page-ellipsis {
	opacity: 0.5;
}

body.mh-prof-modal-open {
	overflow: hidden;
}

.mh-prof-modal {
	position: fixed;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.24s ease;
	z-index: 9999;
}

.mh-prof-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mh-prof-modal-overlay {
	position: absolute;
	inset: 0;
	background-color: #2e2e2e33;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.mh-prof-modal-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	background: #fff;
	transform: translateX(100%);
	transition: transform 0.24s ease;
	overflow-y: auto;
}

.mh-prof-modal.is-open .mh-prof-modal-content {
	transform: translateX(0);
}

.mh-prof-modal-body {
	padding: 0;
	min-height: 100%;
	height: 100%;
}

.mh-prof-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 318px);
	gap: 28px;
	align-items: stretch;
	min-height: 100%;
	height: 100%;
}

.mh-prof-detail {
	min-height: 100%;
	height: 100%;
}

.mh-prof-detail-main {
	min-height: 100%;
}

.mh-prof-detail-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.mh-prof-detail-back,
.mh-prof-detail-close {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	color: #2e2e2e;
}

.mh-prof-detail-logo {
	width: 88px;
	height: 88px;
	border-radius: 14px;
	overflow: hidden;
	background: #f3f3f3;
	margin-bottom: 12px;
}

.mh-prof-detail-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mh-prof-detail-title {
	margin: 0 0 8px;
	font-size: 34px;
}

.mh-prof-detail-person,
.mh-prof-detail-role {
	margin: 4px 0;
	font-size: 18px;
	color: rgb(46 46 46 / 82%);
}

.mh-prof-detail-website {
	margin: 8px 0 0;
}

.mh-prof-detail-website a {
	color: var(--cal-poly-green, #769c49);
	text-decoration: underline;
}

.mh-prof-detail-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.mh-prof-detail-chip {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: #d9e0d2;
	font-size: 14px;
}

.mh-prof-detail-description {
	margin-top: 18px;
}

.mh-prof-detail-sidebar {
	width: 100%;
	max-width: 318px;
	background: #E0ECD1;
	height: 100%;
	min-height: 100%;
	padding: 16px;
	box-sizing: border-box;
}

.mh-prof-detail-contact-card {
	border: 1px solid var(--french-gray-light, #cdced7);
	border-radius: 12px;
	padding: 16px;
	background: transparent;
	height: 100%;
}

.mh-prof-detail-contact-title {
	margin: 0 0 12px;
	font-size: 18px;
}

.mh-prof-detail-contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mh-prof-detail-contact-list li {
	font-size: 14px;
	line-height: 1.5;
	color: rgb(46 46 46 / 88%);
}

.mh-prof-detail-contact-list li span {
	font-weight: 600;
}

.mh-prof-detail-contact-list a {
	color: inherit;
	text-decoration: underline;
}

.mh-prof-detail-gallery {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mh-prof-detail-gallery img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 10px;
}

@media (max-width: 991px) {
	.mh-prof-filter-row {
		grid-template-columns: 1fr;
	}

	.mh-prof-filter-label {
		border-right: 0;
		border-bottom: 1px solid var(--french-gray-light, #cdced7);
		min-height: 50px;
	}
}

@media (max-width: 767px) {
	.mh-prof-meta-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.mh-prof-modal-content {
		width: 100%;
		height: auto;
		max-height: 100dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mh-prof-detail-layout {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		gap: 0;
	}

	.mh-prof-modal-body,
	.mh-prof-detail,
	.mh-prof-detail-main {
		height: auto;
		min-height: 0;
	}

	.mh-prof-detail-sidebar {
		position: static;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
	}

	.mh-prof-detail-gallery {
		grid-template-columns: 1fr;
	}
}
