/**
 * Team Filter Block with Hero CSS
 */

/* HERO SECTION STYLES */
/* Background Colors - Named Colors */
.team-filter-block .hero-section.bg-dark-blue {
	background-color: #0F293E;
}

.team-filter-block .hero-section.bg-dark-brown {
	background-color: #290B0B;
}

.team-filter-block .hero-section.bg-pale-white {
	background-color: #F8F8F8;
}

.team-filter-block .hero-section.bg-burgundy {
	background-color: #800020;
}

.team-filter-block .hero-section.bg-white {
	background-color: #FFFFFF;
}

.team-filter-block .hero-section.bg-black {
	background-color: #000000;
}

/* Text Colors */
.team-filter-block .hero-section.text-white,
.team-filter-block .hero-section.text-white h2,
.team-filter-block .hero-section.text-white h3,
.team-filter-block .hero-section.text-white h4,
.team-filter-block .hero-section.text-white h5,
.team-filter-block .hero-section.text-white h6,
.team-filter-block .hero-section.text-white p,
.team-filter-block .hero-section.text-white .hero-generic-description,
.team-filter-block .hero-section.text-white .eyebrow {
	color: #FFFFFF;
}

.team-filter-block .hero-section.text-black h1{
	color: #0F293E;
}

.team-filter-block .hero-section.text-black,
.team-filter-block .hero-section.text-black h2,
.team-filter-block .hero-section.text-black h3,
.team-filter-block .hero-section.text-black h4,
.team-filter-block .hero-section.text-black h5,
.team-filter-block .hero-section.text-black h6,
.team-filter-block .hero-section.text-black p,
.team-filter-block .hero-section.text-black .hero-generic-description,
.team-filter-block .hero-section.text-black .eyebrow {
	color: #000000;
}

.team-filter-block .hero-section.text-dark-blue,
.team-filter-block .hero-section.text-dark-blue h2,
.team-filter-block .hero-section.text-dark-blue h3,
.team-filter-block .hero-section.text-dark-blue h4,
.team-filter-block .hero-section.text-dark-blue h5,
.team-filter-block .hero-section.text-dark-blue h6,
.team-filter-block .hero-section.text-dark-blue p,
.team-filter-block .hero-section.text-dark-blue .hero-generic-description,
.team-filter-block .hero-section.text-dark-blue .eyebrow {
	color: #0F293E;
}

/* Hero Title and Description Styles */
.team-filter-block .hero-generic-title {
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 64px;
	line-height: 1.1;
	letter-spacing: -1.92px;
	margin-bottom: 10px;
	font-weight: 500;
}

.team-filter-block .hero-generic-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: -0.48px;
	margin-bottom: 40px;
}

/* Hero Eyebrow Styles */
.team-filter-block .eyebrow {
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 6.72px;
	margin-bottom: 10px;
	display: block;
	font-family: 'DM Sans', sans-serif;
}

.team-filter-block .eyebrow-style-default {
	font-weight: 400;
	text-transform: uppercase;
}

.team-filter-block .eyebrow-style-bold {
	font-weight: 700;
	text-transform: uppercase;
}

.team-filter-block .eyebrow-style-elegant {
	font-style: italic;
}

/* Hero Button Styles */
.team-filter-block .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

.team-filter-block .wp-block-button.is-style-default .wp-block-button__link {
	background-color: #A6B8E3;
	color: #000000;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	line-height: 21px;
	font-weight: 400;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	width: fit-content;
	align-self: center;
}

.team-filter-block .wp-block-button.is-style-default .wp-block-button__link:hover {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 0 rgba(0, 0, 0, 0.15);
	transition: 300ms ease-in;
}

.team-filter-block .wp-block-button.is-style-solid .wp-block-button__link {
	background-color: #AA632C;
	color: #FFFFFF;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	line-height: 21px;
	font-weight: 400;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
	width: fit-content;
	align-self: center;
	border: none;
	cursor: pointer;
	text-align: center;
}

.team-filter-block .wp-block-button.is-style-solid .wp-block-button__link:hover {
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 1px 3px 0 rgba(0, 0, 0, 0.15);
	transition: 300ms ease-in;
}

.team-filter-block .wp-block-button.is-style-arrow .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	font-weight: 400;
	position: relative;
	border-radius: 0;
}

.team-filter-block .wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 29px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='16' viewBox='0 0 29 16' fill='none'%3E%3Cpath d='M28.7071 8.70711C29.0976 8.31659 29.0976 7.68342 28.7071 7.2929L22.3431 0.928934C21.9526 0.53841 21.3195 0.53841 20.9289 0.928934C20.5384 1.31946 20.5384 1.95262 20.9289 2.34315L26.5858 8L20.9289 13.6569C20.5384 14.0474 20.5384 14.6805 20.9289 15.0711C21.3195 15.4616 21.9526 15.4616 22.3431 15.0711L28.7071 8.70711ZM-8.74228e-08 9L28 9L28 7L8.74228e-08 7L-8.74228e-08 9Z' fill='%23AA622C'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	margin-left: 10px;
	transition: transform 0.3s ease;
}

.team-filter-block .wp-block-button.is-style-arrow .wp-block-button__link:hover::after {
	transform: translateX(5px);
}

.office-filer-menu{
	display: none !important;
}

.team-filter-block .wp-block-buttons:has(.wp-block-button:nth-child(2)) .wp-block-button__link {
	background-color: transparent;
	color: inherit;
	padding: 0;
	display: inline-flex;
	align-items: center;
	font-weight: 400;
	position: relative;
	border-radius: 0;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 18px;
	font-style: normal;
	line-height: normal;
}

.team-filter-block .wp-block-buttons:has(.wp-block-button:nth-child(2)) .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 29px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='16' viewBox='0 0 29 16' fill='none'%3E%3Cpath d='M28.7071 8.70711C29.0976 8.31659 29.0976 7.68342 28.7071 7.2929L22.3431 0.928934C21.9526 0.53841 21.3195 0.53841 20.9289 0.928934C20.5384 1.31946 20.5384 1.95262 20.9289 2.34315L26.5858 8L20.9289 13.6569C20.5384 14.0474 20.5384 14.6805 20.9289 15.0711C21.3195 15.4616 21.9526 15.4616 22.3431 15.0711L28.7071 8.70711ZM-8.74228e-08 9L28 9L28 7L8.74228e-08 7L-8.74228e-08 9Z' fill='%23AA622C'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	margin-left: 10px;
	transition: transform 0.3s ease;
}

.team-filter-block .wp-block-buttons:has(.wp-block-button:nth-child(2)) .wp-block-button__link:hover::after {
	transform: translateX(5px);
}

.team-filter-block .button-divider {
	background: rgba(0, 0, 0, 0.31);
	width: 1px;
	height: 47px;
	display: inline-block;
	margin: 0 24px;
}

.team-filter-block .wp-block-buttons:has(.wp-block-button:nth-child(2)) .wp-block-button {
	display: inline-flex;
	align-items: center;
}

/* Hero Toggle Styles */
.team-filter-block .hg-toggle-tabs {
	display: flex;
	border-radius: 43.035px;
	background: #f5f5f5;
	width: fit-content;
	margin: 0 auto;
	position: relative;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-top: 50px;
}

.team-filter-block .hg-toggle-button {
	padding: 5px 16px 5px 6px;
	border: none;
	background-color: transparent;
	cursor: pointer;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 21px;
	color: #000;
	border-radius: 43px;
	transition: all 0.3s ease;
	text-decoration: none;
	position: relative;
	display: flex;
	width: auto;
}

.team-filter-block .hg-toggle-button.active {
	background-color: #AA622C;
	color: #FFFFFF;
	backdrop-filter: blur(1.458823561668396px);
}

.team-filter-block .button-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.team-filter-block .image-container {
	width: 55px;
	min-width: 55px;
	height: 55px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
}

.team-filter-block .image-container img {
	width: 55px;
	height: 55px;
	object-fit: cover;
}

.team-filter-block .hg-toggle-button span {
	font-size: 18px;
	font-weight: 500;
}

/* Hero Background Images */
.team-filter-block .hero-generic-bg-image {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
	height: 100%;
}

.team-filter-block .generic-bg-full-width {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.team-filter-block .hg-mobile {
	display: none;
}

.team-filter-block .hg-toggle-tabs-mobile{
	display: none;
}

/* TEAM FILTER SPECIFIC STYLES */
/* Team Filter Section - Separate from hero */
.team-filter-section {
	padding: 40px 0;
	background: #fff;
	position: relative;
	z-index: 1;
}

.team-filter-block .tf-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 30px;
}

.he-container{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 30px;
	padding-left: 30px;
	max-width: 1440px;
}

@media (max-width: 1500px) {
	.team-filter-block .tf-container{
		max-width: 1200px;
	}

	.he-container{
		max-width: 1200px;
	}

	.hero-generic-content{
		max-width: 475px;
	}
}

@media (max-width: 1500px) {
	.team-filter-facet-active .wpgb-result-count {
		font-size: 16px !important;
	}

	.team-filter-block .hero-generic-description {
		font-size: 16px !important;
	}

	.team-filter-block .eyebrow {
		font-size: 16px !important;
	}

	.team-filter-block .wp-block-button.is-style-default .wp-block-button__link {
		font-size: 16px !important;
	}

	.team-filter-block .wp-block-button.is-style-solid .wp-block-button__link {
		font-size: 16px !important;
	}

	.team-filter-block .wp-block-button.is-style-arrow .wp-block-button__link {
		font-size: 16px !important;
	}

	.team-filter-block .hg-toggle-button {
		font-size: 16px !important;
	}

	.team-filter-block .hg-toggle-button span {
		font-size: 16px !important;
	}

	.team-filter-block .wp-block-buttons:has(.wp-block-button:nth-child(2)) .wp-block-button__link {
		font-size: 16px !important;
	}
}

.team-filter-facet-count{
	border: none !important;
	border-radius: 0 !important;
}

/* Title and subtitle */
.team-filter-title {
	font-family: 'Hedvig Letters Serif', sans-serif;
	font-size: 36px;
	line-height: 1.2;
	margin-bottom: 16px;
	font-weight: 400;
}

.team-filter-subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	margin-bottom: 32px;
}

/* Filter controls */
.team-filter-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 43px;
}

.filter-group {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 200px;
	position: relative;
}

.filter-group label {
	color: #000;
	font-family: "Hedvig Letters Serif", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 24px */
	margin-bottom: 8px;
}

/* Clear buttons */
.filter-group .clear-button > .wpgb-reset {
	color: #000;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
	background: none;
	padding: 0;
	margin: 0;
	border: none;
	cursor: pointer;
}

.filter-group .clear-button > .wpgb-reset:hover {
	text-decoration: none;
}

/* Sort dropdown - remove all styling but add arrow */
.team-filter-facet-sort select.wpgb-select {
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	padding-right: 30px !important;
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
}

.team-filter-facet-sort .wpgb-sort-facet {
	position: relative;
}

/* Add dropdown arrow to sort facet */
.team-filter-facet-sort .wpgb-sort-facet::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTYuMjkzIDguMjkyOTdMMTIgMTIuNTg2TDcuNzA2OTcgOC4yOTI5N0w2LjI5Mjk3IDkuNzA2OTdMMTIgMTUuNDE0TDE3LjcwNyA5LjcwNjk3TDE2LjI5MyA4LjI5Mjk3WiIgZmlsbD0iI0FBNjMyQyIvPgo8L3N2Zz4=');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	z-index: 1;
}

.team-filter-facet-sort .wpgb-select-controls {
	display: none !important;
}

/* Advanced search facets - also no border styling for the button */
.team-filter-facet-advanced .wpgb-select-facet,
.team-filter-facet-advanced .wpgb-select {
	border: none !important;
	padding: 0 !important;
	background: transparent !important;
}

.team-filter-facet-advanced .wpgb-select-controls {
	display: none !important;
}

/* Main dropdown styling for Solutions, Title, Office, Position, Language */
.team-filter-facet-solutions .wpgb-select-facet,
.team-filter-facet-title .wpgb-select-facet,
.team-filter-facet-office .wpgb-select-facet,
.team-filter-facet-position .wpgb-select-facet,
.team-filter-facet-language .wpgb-select-facet {
	position: relative;
}

.team-filter-facet-solutions .wpgb-select,
.team-filter-facet-title .wpgb-select,
.team-filter-facet-office .wpgb-select,
.team-filter-facet-position .wpgb-select,
.team-filter-facet-language .wpgb-select {
	display: flex;
	padding: 12px;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	border-radius: 5px;
	border: 1px solid #AA622C;
	background: #FFF;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	padding-right: 48px;
}

.team-filter-facet-solutions .wpgb-select:focus,
.team-filter-facet-title .wpgb-select:focus,
.team-filter-facet-office .wpgb-select:focus,
.team-filter-facet-position .wpgb-select:focus,
.team-filter-facet-language .wpgb-select:focus {
	outline: none;
	border-color: #954F1F;
}

/* Custom dropdown arrow */
.team-filter-facet-solutions .wpgb-select-facet::after,
.team-filter-facet-title .wpgb-select-facet::after,
.team-filter-facet-office .wpgb-select-facet::after,
.team-filter-facet-position .wpgb-select-facet::after,
.team-filter-facet-language .wpgb-select-facet::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTYuMjkzIDguMjkyOTdMMTIgMTIuNTg2TDcuNzA2OTcgOC4yOTI5N0w2LjI5Mjk3IDkuNzA2OTdMMTIgMTUuNDE0TDE3LjcwNyA5LjcwNjk3TDE2LjI5MyA4LjI5Mjk3WiIgZmlsbD0iI0FBNjMyQyIvPgo8L3N2Zz4=');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	z-index: 1;
}

/* Hide default select controls */
.team-filter-facet-solutions .wpgb-select-controls,
.team-filter-facet-title .wpgb-select-controls,
.team-filter-facet-office .wpgb-select-controls,
.team-filter-facet-position .wpgb-select-controls,
.team-filter-facet-language .wpgb-select-controls {
	display: none !important;
}

/* Advanced Filters Dropdown Styling */
.team-advance-search {
	position: relative;
}

.advanced-filters-dropdown-container {
	position: relative;
}

.advanced-filters-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	color:  #000;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
	cursor: pointer;
	padding: 0;
	text-align: left;
	transition: all 0.2s ease;
	position: relative;
	padding-right: 20px;
}

/* Custom dropdown arrow for advanced filters - orange like the others */
.advanced-filters-toggle::after {
	content: '';
	width: 12px;
	height: 12px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuMjkzIDQuMjkyOTdMNiA4LjU4NkwxLjcwNjk3IDQuMjkyOTdMMC4yOTI5NjcgNS43MDY5N0w2IDExLjQxNEwxMS43MDcgNS43MDY5N0wxMC4yOTMgNC4yOTI5N1oiIGZpbGw9IiNBQTYyMkMiLz4KPC9zdmc+');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	transition: transform 0.3s ease;
}

.advanced-filters-toggle.active::after {
	transform: rotate(180deg);
}

.advanced-filters-content {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 1000;
	background: #FFF;
	border: 1px solid #AA622C;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 300px;
	max-width: 400px;
}

@media (max-width: 600px) {
	.advanced-filters-content {
		right: -20px;
		left: auto;
		min-width: 250px;
	}
}

.advanced-filters-content .wpgb-select {
	border: 1px solid #AA622C !important;
	border-radius: 5px !important;
	padding: 12px !important;
	background: #FFF !important;
}

.advanced-filters-content .filter-group {
	margin-bottom: 20px;
	min-width: auto;
}

.advanced-filters-content .filter-group label {
	margin-bottom: 20px;
}

/* Hide mobile advanced filters on desktop */
.mobile-advanced-filters {
	display: none;
}

/* Active filters section */
.team-filter-active {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 40px;
	margin-bottom: 80px;
	gap: 16px;
}

.active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: center;
}

/* Styling for active filter tags */
.team-filter-facet-active .wpgb-tag {
	background-color: #0F293E;
	color: white;
	border-radius: 4px;
	padding: 6px 12px;
	display: flex;
	align-items: center;
	font-size: 14px;
	font-family: "DM Sans", sans-serif;
}

.team-filter-facet-active .wpgb-tag-label {
	margin-right: 8px;
}

.team-filter-facet-active .wpgb-tag-remove {
	color: white;
	cursor: pointer;
}

/* Results info and sort */
.filter-results-info {
	display: flex;
	align-items: center;
	gap: 32px;
}

.team-filter-facet-active .wpgb-result-count {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
}

/* Attorney grid results */
.attorney-results-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 1px !important;
	gap: 0;
	margin-bottom: 40px;
}

/* Attorney card styling */
.attorney-item {
	background: #fff;
	border: none;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
	transition: none;
	display: flex;
	flex-direction: column;
}

.wpgb-facet>fieldset:last-child{
	margin-bottom: 0 !important;
}

.attorney-item:hover {
	transform: none;
	box-shadow: none;
}

.attorney-item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.attorney-image {
	width: 100%;
	height: 334px;
	object-fit: cover;
	display: block;
}

.attorney-content {
	background: #F6F6F6;
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Updated attorney name styling for two-line display */
.attorney-item h2,
.attorney-name {
	color: #000;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 28px; /* Reduced line height for better spacing */
	margin: 0 0 8px 0;
	max-width: 160px; /* Increased from 90px to accommodate longer names */
	word-wrap: break-word;
	hyphens: auto;
}

/* Styling for the first line (first name + middle initial) */
.attorney-name .first-line {
	display: inline;
	font-weight: 400;
}

/* Styling for the last line (last name) */
.attorney-name .last-line {
	display: inline;
	font-weight: 400;
}

/* Ensure proper spacing when names wrap to multiple lines */
.attorney-name br {
	line-height: 1;
}

.attorney-position {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px; /* 128.571% */
	letter-spacing: 2.66px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.attorney-contact {
	display: flex;
	gap: 8px;
}

.team-filter-divider {
	background: rgba(0, 0, 0, 0.31);
	width: 1px;
	height: 23px;
}

.attorney-phone,
.attorney-mobile {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px; /* 137.5% */
	letter-spacing: -0.48px;
}

.attorney-email {
	display: flex;
	align-items: center;
	gap: 8px;
}

.attorney-email-icon {
	border-radius: 16px;
	border: 0.5px solid #AA622C;
	display: flex;
	width: 24px;
	height: 24px;
	padding: 2px;
	justify-content: center;
	align-items: center;
}

.attorney-email-icon svg {
	width: 12px;
	height: 12px;
}

.attorney-excerpt {
	display: none;
}

/* Load more button styling */
.team-filter-load-more {
	text-align: center;
	margin-top: 80px;
	width: fit-content;
	justify-self: center;
}

.wpgb-facet .wpgb-apply, .wpgb-facet .wpgb-load-more{
	background: #AA622C !important;
}

/* Apply borders only to main filter facets, not sort or advanced search */
.team-filter-facet-solutions select.wpgb-select,
.team-filter-facet-title select.wpgb-select,
.team-filter-facet-office select.wpgb-select,
.team-filter-facet-position select.wpgb-select,
.team-filter-facet-language select.wpgb-select {
	border-radius: 5px !important;
	border: 1px solid #AA622C;
	padding: 12px !important;
}

.team-filter-facet-load-more > .wpgb-load-more,
.team-filter-facet-load-more > .wpgb-load-button {
	display: flex;
	padding: 10px 20px;
	align-items: flex-start;
	gap: 10px;
	border-radius: 5px;
	background: #AA622C;
	color: #FFF;
	text-align: center;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	border: none;
	cursor: pointer;
	text-decoration: none;
	margin: 0 auto;
}

.team-filter-facet-load-more .wpgb-load-more:hover,
.team-filter-facet-load-more .wpgb-load-button:hover {
	background: #954F1F;
}

/* Hide the old view more button style */
.view-more-button {
	display: none !important;
}

/* Pagination */
.team-filter-pagination {
	margin-top: 30px;
	display: flex;
	justify-content: center;
}

.team-filter-facet-pagination .wpgb-pagination {
	display: flex;
	gap: 5px;
}

.team-filter-facet-pagination .wpgb-page {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background: #f5f5f5;
	transition: all 0.2s ease;
}

.team-filter-facet-pagination .wpgb-page:hover {
	background: #e0e0e0;
}

.team-filter-facet-pagination .wpgb-page.wpgb-active {
	background: #0F293E;
	color: white;
}

.wpgb-facet .wpgb-button[aria-pressed=true] {
	background: #0F293E !important;
	border-color: #0F293E !important;
}

/* Styling for active filter tags - targeting the correct wpgb-button class */
.team-filter-facet-active .wpgb-button {
	display: flex;
	padding: 8px 12px 8px 16px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 5px;
	background: #0F293E !important;
	border-color: #0F293E !important;
	color: #FFF;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 24px */
	border: none;
	cursor: pointer;
	position: relative;
}

/* Hide the button control span */
.team-filter-facet-active .wpgb-button-control {
	display: none;
}

/* Style the button label */
.team-filter-facet-active .wpgb-button-label {
	color: #FFF;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	margin: 0;
}

/* Add the X SVG icon after the text */
.team-filter-facet-active .wpgb-button::after {
	content: '';
	width: 11px;
	height: 12px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDExIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuMzk5NSAxMC43NzNMMTAuMDQ1OSAxMS4xMjY2QzkuODUwNjggMTEuMzIxOCA5LjUzNDExIDExLjMyMTggOS4zMzg4MSAxMS4xMjY2TDUuMjcyOTggNy4wNjA2OEwxLjIwNzA4IDExLjEyNjVDMS4wMTE4NiAxMS4zMjE4IDAuNjk1MjY3IDExLjMyMTggMC41MDAwMDQgMTEuMTI2NUwwLjE0NjQ0NyAxMC43NzNDLTAuMDQ4ODE1NiAxMC41Nzc3IC0wLjA0ODgxNTYgMTAuMjYxMiAwLjE0NjQ0NyAxMC4wNjU5TDQuMjEyMzMgNi4wMDAwM0wwLjE0NjQ0NyAxLjkzNDEzQy0wLjA0ODgxNTYgMS43Mzg5MSAtMC4wNDg4MTU2IDEuNDIyMzIgMC4xNDY0NDcgMS4yMjcwNkwwLjQ5OTk5NiAwLjg3MzUwNUMwLjY5NTI1OSAwLjY3ODI0MiAxLjAxMTg2IDAuNjc4MjQyIDEuMjA3MDggMC44NzM1MDVMNS4yNzI5OCA0LjkzOTM4TDkuMzM4ODEgMC44NzM0OThDOS41MzQxMSAwLjY3ODIzNSA5Ljg1MDY4IDAuNjc4MjM1IDEwLjA0NTkgMC44NzM0OThMMTAuMzk5NSAxLjIyNzA1QzEwLjU5NDggMS40MjIzMSAxMC41OTQ4IDEuNzM4OTEgMTAuMzk5NSAxLjkzNDEzTDYuMzM2MyA2LjAwMDAzTDEwLjM5OTUgMTAuMDY1OUMxMC41OTQ4IDEwLjI2MTIgMTAuNTk0OCAxMC41Nzc3IDEwLjM5OTUgMTAuNzczWiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex-shrink: 0;
}

/* Hover state */
.team-filter-facet-active .wpgb-button:hover {
	background: #1A3A52;
}

/* Focus state for accessibility */
.team-filter-facet-active .wpgb-button:focus {
	outline: 2px solid #FFF;
	outline-offset: 2px;
}

/* Hide any hidden inputs */
.team-filter-facet-active input[type="hidden"] {
	display: none;
}

/* Style the inline list container */
.team-filter-facet-active .wpgb-inline-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-filter-facet-active .wpgb-inline-list li {
	margin: 0;
	padding: 0;
}

.team-filter-toggles{
	margin-top: 50px;
}

.wpgb-facet-11 .wpgb-hierarchical-list{
	display: flex !important;
}

/* Toggle Radio Button Styles */
.team-filter-toggles {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
}

.team-filter-toggles fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.team-filter-toggles .wpgb-radio-facet {
	display: flex;
	justify-content: center;
}

/* Container styling to match your toggle design */
.team-filter-toggles .wpgb-hierarchical-list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
	align-items: center;
	border-radius: 40px;
	backdrop-filter: blur(1.46px);
	max-width: fit-content;
	height: fit-content;
	gap: 0;
	background-color: #F6F6F6;
}

.team-filter-toggles .wpgb-hierarchical-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Individual button styling */
.team-filter-toggles .wpgb-radio {
	padding: 16px 32px;
	border: none;
	background-color: transparent;
	cursor: pointer;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	color: #000;
	border-radius: 43px;
	transition: all 0.3s ease;
	white-space: nowrap;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

/* Hide the default radio control */
.team-filter-toggles .wpgb-radio-control {
	display: none;
}

/* Style the label */
.team-filter-toggles .wpgb-radio-label {
	margin: 0;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	color: inherit;
	padding: 16px 32px !important;

}

/* Active state styling */
.team-filter-toggles .wpgb-radio[aria-pressed="true"] {
	background-color: #AA622C;
	color: #FFFFFF;
	backdrop-filter: blur(1.46px);
}

.wpgb-facet .wpgb-hierarchical-list li {
	margin: 0 !important;
}

.team-filter-toggles .wpgb-radio[aria-pressed="true"] .wpgb-radio-label {
	color: #FFFFFF;
}

/* Hover effect for better UX */
.team-filter-toggles .wpgb-radio:hover:not([aria-pressed="true"]) {
	background-color: rgba(170, 98, 44, 0.1);
}

.wpgb-facet-11 > .wpgb-radio-control{
	display: none !important;
}

/* Focus state for accessibility */
.team-filter-toggles .wpgb-radio:focus {
	outline: 2px solid #AA622C;
	outline-offset: 2px;
}

.wpgb-facet .wpgb-radio-facet .wpgb-radio-control{
	display: none !important;
}

/* Hide hidden inputs */
.team-filter-toggles input[type="hidden"] {
	display: none !important;
}

/* Results info styling */
.filter-results-info {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-shrink: 0;
}

.team-filter-facet-active .wpgb-result-count {
	color: #000;
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%; /* 21px */
}

/* Mobile Filter Button */
.mobile-filter-button {
	display: none;
	padding: 16px 32px;
	border-radius: 40px;
	border: none;
	background: #F6F6F6;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	color: #000;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(1.5px);
}

.mobile-filter-button::after {
	content: '';
	width: 12px;
	height: 12px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuMjkzIDQuMjkyOTdMNiA4LjU4NkwxLjcwNjk3IDQuMjkyOTdMMC4yOTI5NjcgNS43MDY5N0w2IDExLjQxNEwxMS43MDcgNS43MDY5N0wxMC4yOTMgNC4yOTI5N1oiIGZpbGw9IiMwMDAiLz4KPC9zdmc+');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.3s ease;
}

.mobile-filter-button.active::after {
	transform: rotate(180deg);
}

.mobile-buttons-container {
	display: none;
	justify-content: center;
	gap: 20px;
	margin-bottom: 40px;
}

.team-filter-facet-search{
	max-width: 400px;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
	.attorney-results-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.team-toggles-sectors{
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wpgb-facet-36{
	display: none !important;
}

.team-toggles-sectors .wpgb-radio-label{
	padding: 8px !important;
}

@media (max-width: 768px) {
	/* Hero Mobile Styles */
	.team-filter-block .hero-section .hero-generic-bg-image{
		display: none !important;
	}

	.team-filter-section{
		padding-bottom: 120px;
	}

	.team-filter-block .hero-section {
		padding-top: 0 !important;
		flex-direction: column;
		padding-bottom: 64px !important;
		min-height: unset !important;
	}

	.team-filter-block .hero-section .generic-bg-full-width {
		display: none;
	}

	.team-filter-block .hero-section .hg-mobile {
		display: block;
		position: relative;
		width: 100%;
		height: 300px;
	}

	.team-filter-block .hero-section .hg-mobile img {
		width: 100%;
		height: auto;
		object-fit: cover;
		height: 300px;
	}

	.team-filter-block .hero-section .hg-toggle-tabs-mobile{
		display: flex;
		position: absolute;
		top: -80px;
		max-width: 400px;
	}

	.team-filter-block .hero-section .hg-toggle-tabs-desktop{
		display: none;
	}

	.team-filter-block .hero-section .hero-generic-title-mobile-wrapper {
		position: absolute;
		bottom: 0;
		left: 0;
		top: 18%;
		max-width: 400px;
		padding: 20px;
		z-index: 10;
		width: 100%;
	}

	.team-filter-block .hero-section .hero-title-mobile {
		font-family: 'Hedvig Letters Serif', serif;
		font-size: 43px;
		line-height: 1.1;
		letter-spacing: -1.92px;
		margin-bottom: 24px;
		font-weight: 500;
		color: #0F293E;
	}

	.team-filter-block .hero-section .hero-generic-content {
		margin-top: 56px;
	}

	.team-filter-block .hero-section .hero-generic-content .hero-generic-title {
		display: none;
	}

	.team-filter-block .hero-section .he-container .eyebrow {
		display: none;
	}

	/* Hide desktop toggle */
	.team-filter-toggles {
		display: none;
	}

	/* Show mobile advanced filters */
	.mobile-advanced-filters {
		display: block;
	}

	/* Hide the advanced filters dropdown on mobile */
	.team-advance-search {
		display: none;
	}

	.mobile-filter-button{
		display: flex;
	}

	.active-filters{
		width: 100%;
		justify-content: space-between;
	}

	.tf-container{
		padding: 0 !important;
	}

	.he-container{
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Show mobile buttons */
	.mobile-buttons-container {
		display: flex;
		justify-content: space-between;
		max-width: 400px;
		justify-self: center;
		gap: 100px;
	}

	.wpgb-facet-11 .wpgb-hierarchical-list {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.team-filter-mobile-toggle-options{
		display: none;
		position: relative;
		top: 100%;
		background: white;
		z-index: 10;
		margin-top: 8px;
		min-width: 200px;
	}

	.wpgb-radio-label{
		color: #AA622C;
	}

	/* Style the mobile toggle as View All dropdown */
	.mobile-toggle-dropdown {
		padding: 16px 32px;
		border-radius: 40px;
		border: none;
		background: #AA622C;
		font-family: "Hedvig Letters Serif", serif;
		font-size: 14px;
		font-weight: 400;
		line-height: 21px;
		color: #FFFFFF;
		cursor: pointer;
		display: flex;
		align-items: center;
		gap: 8px;
		box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
		backdrop-filter: blur(1.46px);
	}

	.mobile-toggle-dropdown::after {
		content: '';
		width: 12px;
		height: 12px;
		background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuMjkzIDQuMjkyOTdMNiA4LjU4NkwxLjcwNjk3IDQuMjkyOTdMMC4yOTI5NjcgNS43MDY5N0w2IDExLjQxNEwxMS43MDcgNS43MDY5N0wxMC4yOTMgNC4yOTI5N1oiIGZpbGw9IiNGRkYiLz4KPC9zdmc+');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		transition: transform 0.3s ease;
	}

	.mobile-toggle-dropdown.active::after {
		transform: rotate(180deg);
	}


	/* Hide filter controls by default on mobile */
	.team-filter-controls {
		display: none;
		flex-direction: column;
		margin-top: 20px;
		margin-bottom: 20px;
		padding: 0 20px;
	}

	.team-filter-controls.show {
		display: flex;
	}

	.filter-group {
		width: 100%;
		margin-bottom: 20px;
	}

	.team-filter-active {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		margin-top: 20px;
		margin-bottom: 40px;
		padding: 0 30px;
	}

	.filter-results-info {
		justify-content: space-between;
	}

	.attorney-results-grid {
		grid-template-columns: 1fr;
	}

	.attorney-content{
		padding: 24px 24px 40px 24px !important;
	}

	.attorney-item a{
		flex-direction: row;
	}

	.attorney-image {
		flex: 1;
		height: auto;
		object-fit: cover;
	}

	.attorney-content {
		flex: 1;
	}

	.attorney-item {
		overflow: hidden;
	}

	.attorney-image {
		height: 250px;
		min-width: 50%;
	}

	.attorney-content {
		padding: 16px;
	}

	.attorney-name {
		font-size: 20px;
		line-height: 26px;
		max-width: none; /* Remove max-width restriction on mobile */
	}

	.attorney-position {
		font-size: 12px;
		letter-spacing: 2px;
		margin-bottom: 12px;
	}

	.team-filter-load-more {
		margin-top: 40px;
	}
}

@media (max-width: 480px) {

	.attorney-image{
		height: 230px;
	}

	.team-filter-title {
		font-size: 28px;
		margin-bottom: 12px;
	}

	.team-filter-subtitle {
		font-size: 16px;
		margin-bottom: 24px;
	}

	.mobile-buttons-container {
		gap: 12px;
	}

	.mobile-toggle-dropdown,
	.mobile-filter-button {
		padding: 12px 24px;
		font-size: 13px;
	}

	.attorney-content {
		padding: 16px;
	}

	.attorney-name {
		font-size: 22px;
		line-height: 28px;
		max-width: none;
	}

	.attorney-position {
		font-size: 11px;
		letter-spacing: 1.5px;
	}

	.attorney-phone,
	.attorney-mobile {
		font-size: 14px;
		line-height: 20px;
	}

	.team-filter-active {
		margin-bottom: 30px;
	}

	.active-filters {
		width: 100%;
	}

	.team-filter-facet-active .wpgb-button {
		font-size: 14px;
		padding: 6px 10px 6px 14px;
	}
}

@media (max-width: 420px) {
	.attorney-image{
		height: 200px;
	}
}

@media (max-width: 370px) {
	.attorney-image{
		height: unset;
		max-height: 230px;
		width: 50%;
	}

	.attorney-contact{
		flex-direction: column;
	}

	.team-filter-divider{
		display: none;
	}

	.wpgb-sr-only{
		display: none;
	}

	.wpgb-facet select.wpgb-select{
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.team-filter-active{
		padding-left: 10px;
		padding-right: 10px;
	}
}

/* Styling for Legal Solutions combobox to match other dropdowns */
.team-filter-facet-solutions .wpgb-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border: 1px solid #AA622C;
	border-radius: 5px;
	padding: 12px;
	background-color: #FFF;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

.team-filter-facet-solutions .wpgb-select-placeholder {
	border: none;
	background: transparent;
	padding: 0;
	margin: 0;
}

.team-filter-facet-solutions .wpgb-select-values {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.team-filter-facet-solutions .wpgb-select-search input {
	border: none;
	background: transparent;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	width: 100%;
	padding: 0;
	margin: 0;
	outline: none;
	box-shadow: none;
}

.team-filter-facet-solutions .wpgb-select-search input::placeholder {
	color: #000;
	opacity: 1;
}

.team-filter-facet-solutions .wpgb-select-controls {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
}

.team-filter-facet-solutions .wpgb-select-controls .wpgb-select-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.team-filter-facet-solutions .wpgb-select-controls .wpgb-select-toggle svg {
	width: 24px;
	height: 24px;
	fill: #AA622C;
}

.team-filter-facet-solutions .wpgb-select-values .wpgb-select-tag {
	background-color: #AA622C;
	color: #FFF;
	border-radius: 12px;
	padding: 4px 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.team-filter-facet-solutions .wpgb-select {
	border-color: #AA622C !important; /* Matches your other dropdowns */
}

.team-filter-facet-solutions .wpgb-select-controls {
	border-color: #AA622C !important; /* Ensures toggle button border matches */
}

/* Style the placeholder text for Legal Solutions combobox */
.team-filter-facet-solutions .wpgb-select-search input {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important; /* Black color as requested */
	border: none;
	background: transparent;
	padding: 0;
	margin: 0;
	outline: none;
	box-shadow: none;
	width: 100%;
}

.team-filter-facet-solutions .wpgb-select-search input::placeholder {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important; /* Black color */
	opacity: 1 !important; /* Full opacity */
}

.team-filter-facet-solutions .wpgb-select-search input::-webkit-input-placeholder {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	opacity: 1 !important;
}

.team-filter-facet-solutions .wpgb-select-search input::-moz-placeholder {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	opacity: 1 !important;
}

.team-filter-facet-solutions .wpgb-select-search input:-ms-input-placeholder {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	opacity: 1 !important;
}

.team-filter-facet-solutions .wpgb-select-search input::-ms-input-placeholder {
	font-family: 'DM Sans', sans-serif !important;
	font-size: 16px !important;
	color: #000 !important;
	opacity: 1 !important;
}

.wpgb-select-placeholder input[type=text]{
	font-family: 'DM Sans', sans-serif !important;
}

.team-filter-facet-solutions .wpgb-select-values .wpgb-select-tag .wpgb-select-tag-remove {
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEyIDEyIj48cGF0aCBkPSJNMTEuMjcgMS4yN0wxMC45My45M0M3LjY2IDMuMjA3IDQuMzkgNS40NzQgMS4xMiA4Ljc0TDAgNy42MUMzLjI3NC40MzQgNi41NDEuMTY3IDEwLjkzLTFMMTIuMjcgMS4yN1oiIGZpbGw9IiNGRkYiLz48L3N2Zz4=');
	background-color: transparent;
	border: none;
	width: 12px;
	height: 12px;
	cursor: pointer;
}

/* Hide tags within the Legal Solutions combobox input */
.team-filter-facet-solutions .wpgb-select .wpgb-select-value {
	display: none;
}

/* Ensure active filters display the selected tags */
.team-filter-facet-active .wpgb-button {
	background-color: #0F293E; /* Matches the tag color in your screenshot */
	color: #FFF;
	border-radius: 12px;
	padding: 4px 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
}

.team-filter-facet-active .wpgb-button .wpgb-button-label {
	margin: 0;
}

.team-filter-facet-active .wpgb-button .wpgb-button-control {
	display: flex;
	align-items: center;
}

.team-filter-facet-active .wpgb-button .wpgb-button-control svg {
	width: 12px;
	height: 12px;
	fill: #FFF;
}

.team-filter-facet-active .wpgb-inline-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpgb-button-control {
	display: none !important;
}

.wpgb-facet-36 .wpgb-hierarchical-list{
	display: flex !important;
}


