/**
 * News Filter Block CSS
 */

/* Main container */
.news-filter-block {
	padding: 40px 0;
}

.news-filter-block .nwsf-container {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 30px;
	margin-bottom: 160px !important;
}

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

@media (max-width: 1500px) {
	.news-filter-block-subtitle {
		font-size: 16px !important;
	}

	.news-item-title {
		font-size: 16px !important;
	}

	.news-read-more-text {
		font-size: 16px !important;
	}
}

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

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

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

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

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

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

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

/* Sort dropdown - no border styling */
.news-filter-facet-sort .wpgb-select-facet,
.news-filter-facet-sort .wpgb-select {
	border: none !important;
	padding: 0 !important;
	background: transparent !important;
}

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

/* Main dropdown styling for Search, Categories, Tags, Date */
.news-filter-facet-search .wpgb-search-facet,
.news-filter-facet-categories .wpgb-select-facet,
.news-filter-facet-tags .wpgb-select-facet,
.news-filter-facet-date .wpgb-select-facet {
	position: relative;
}

.news-filter-facet-search .wpgb-search,
.news-filter-facet-categories .wpgb-select,
.news-filter-facet-tags .wpgb-select,
.news-filter-facet-date .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;
}

/* Updated search input styling */
.news-filter-facet-search .wpgb-search {
	cursor: text;
	padding-right: 60px; /* More space for the icon container */
}

/* Updated search placeholder styling */
.news-filter-facet-search .wpgb-search::placeholder {
	color: #000;
	font-family: "Hedvig Letters Serif";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 114%; /* 18.24px */
}

.news-filter-facet-search .wpgb-search:focus,
.news-filter-facet-categories .wpgb-select:focus,
.news-filter-facet-tags .wpgb-select:focus,
.news-filter-facet-date .wpgb-select:focus {
	outline: none;
	border-color: #954F1F;
}

/* Updated search icon container */
.news-filter-facet-search .wpgb-search-facet::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	width: 48px;
	height: 50px;
	padding: 7px 8px;
	align-items: center;
	gap: 10px;
	border-radius: 0px 5px 5px 0px;
	background: #AA622C;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMjIuMTY4NCAyMC42ODM4TDI2LjY2NjMgMjUuMTgwN0wyNS4xODAzIDI2LjY2NjdMMjAuNjgzNSAyMi4xNjg4QzE5LjAxMDMgMjMuNTEwMSAxNi45MjkxIDI0LjIzOTYgMTQuNzg0NiAyNC4yMzY2QzkuNTY3MzMgMjQuMjM2NiA1LjMzMzAxIDIwLjAwMjMgNS4zMzMwMSAxNC43ODVDNS4zMzMwMSA5LjU2NzcgOS41NjczMyA1LjMzMzM3IDE0Ljc4NDYgNS4zMzMzN0MyMC4wMDE5IDUuMzMzMzcgMjQuMjM2MiA5LjU2NzcgMjQuMjM2MiAxNC43ODVDMjQuMjM5MyAxNi45Mjk1IDIzLjUwOTcgMTkuMDEwNiAyMi4xNjg0IDIwLjY4MzhaTTIwLjA2MTggMTkuOTA0NkMyMS4zOTQzIDE4LjUzMzggMjIuMTM4NSAxNi42OTY3IDIyLjEzNTkgMTQuNzg1QzIyLjEzNTkgMTAuNzIzOSAxOC44NDU3IDcuNDMzNzMgMTQuNzg0NiA3LjQzMzczQzEwLjcyMzYgNy40MzM3MyA3LjQzMzM3IDEwLjcyMzkgNy40MzMzNyAxNC43ODVDNy40MzMzNyAxOC44NDYgMTAuNzIzNiAyMi4xMzYyIDE0Ljc4NDYgMjIuMTM2MkMxNi42OTYzIDIyLjEzODkgMTguNTMzNSAyMS4zOTQ2IDE5LjkwNDIgMjAuMDYyMUwyMC4wNjE4IDE5LjkwNDZaIiBmaWxsPSIjRkZGIi8+Cjwvc3ZnPg==');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
	pointer-events: none;
	z-index: 1;
}

/* Custom dropdown arrow for selects */
.news-filter-facet-categories .wpgb-select-facet::after,
.news-filter-facet-tags .wpgb-select-facet::after,
.news-filter-facet-date .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 */
.news-filter-facet-search .wpgb-search-controls,
.news-filter-facet-categories .wpgb-select-controls,
.news-filter-facet-tags .wpgb-select-controls,
.news-filter-facet-date .wpgb-select-controls {
	display: none !important;
}

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

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

/* Styling for active filter tags */
.news-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;
}

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

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

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

.news-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%;
}

/* News grid results - UPDATED STYLING */
.news-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px; /* Updated gap */
	margin-bottom: 40px;
}

/* News card styling - COMPLETELY UPDATED */
.news-item {
	background: #F8F8F8; /* Updated background color */
	border: none;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
	transition: none;
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 32px 24px; /* Added padding */
}

/* Left border styling */
.news-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, #341010 0%, #AA632C 100%);
}

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

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

.news-item-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	letter-spacing: 0.02em;
	height: 100%;
}

.news-item-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 16px;
}

/* Meta line with resource and service */
.news-item-meta-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.news-item-resource {
	color: var(--Text-primary, #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;
}

.news-meta-separator {
	color: #000;
	margin: 0 4px;
}

.news-item-service {
	color: var(--color-text-highlight, #AA632C);
	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;
}

/* News title */
.news-item-title {
	color: var(--color-text-default, #000);
	font-family: "Hedvig Letters Serif", serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 25.2px */
	margin: 0 0 16px 0;
}

/* Bottom section */
.news-item-bottom {
	margin-top: auto;
	margin-bottom: 16px;
}

/* Attorney section */
.news-item-attorney {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.news-attorney-image {
	width: 53px;
	height: 53px;
	object-fit: cover;
}

.news-attorney-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.news-attorney-name {
	color: var(--color-text-default, #000);
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 21px; /* 150% */
}

/* Date and read time styling */
.news-item-date-time {
	display: flex;
	align-items: center;
	gap: 8px;
}

.news-item-date,
.news-read-time {
	color: var(--color-text-default, #000);
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 21px; /* 150% */
}

.news-date-separator {
	color: var(--color-text-default, #000);
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	font-weight: 400;
}

/* Read more button styling */
.news-item-read-more {
	margin-top: auto;
}

.news-read-more-text {
	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;
	text-decoration: none;
}

.news-read-more-text::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;
}

.news-item-link:hover .news-read-more-text::after {
	transform: translateX(5px);
}

/* Load more button styling */
.news-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;
}

.wpgb-facet .wpgb-input{
	border-radius: 5px !important;
	border: 1px solid #AA622C !important;
	padding: 12px !important;
}

.wpgb-input-icon{
	display: none;
}

.wpgb-facet select.wpgb-select{
	border-radius: 5px !important;
	border: 1px solid #AA622C !important;
	padding: 12px !important;
	color: #000;
	font-family: 'Hedvig Letters Serif', serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 114%; /* 18.24px */
}

.wpgb-facet select.wpgb-select[placeholder]{

}

.news-filter-facet-load-more > .wpgb-load-more,
.news-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;
}

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

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

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

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

.news-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;
}

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

.news-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 */
.news-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%;
	border: none;
	cursor: pointer;
	position: relative;
}

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

/* Style the button label */
.news-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 */
.news-filter-facet-active .wpgb-button::after {
	content: '';
	width: 11px;
	height: 12px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDExIDEyIiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNMTAuMzk5NSAxMC43NzNMMTAuMDQ1OSAxMS4xMjY2QzkuODUwNjggMTEuMzIxOCA5LjUzNDExIDExLjMyMTggOS4zMzg4MSAxMS4xMjY2TDUuMjcyOTggNy4wNjA2OEwxLjIwNzA4IDExLjEyNjVDMS4wMTE4NiAxMS4zMjE4IDAuNjk1MjY3IDExLjMyMTggMC41MDAwMDQgMTEuMTI2NUwwLjE0NjQ0NyAxMC43NzNDLTAuMDQ4ODE1NiAxMC41Nzc3IC0wLjA0ODgxNTYgMTAuMjYxMiAwLjE0NjQ0NyAxMC4wNjU5TDQuMjEyMzMgNi4wMDAwM0wwLjE0NjQ0NyAxLjkzNDEzQy0wLjA0ODgxNTYgMS43Mzg5MSAtMC4wNDg4MTU2IDEuNDIyMzIgMC4xNDY0NDcgMS4yMjcwNkwwLjQ5OTk5NiAwLjg3MzUwNUMwLjY5NTI1OSAwLjY3ODI0MiAxLjAxMTg2IDAuNjc4MjQyIDEuMjA3MDggMC44NzM1MDVMNS4yNzI5OCA0LjkzOTM4TDkuMzM4ODEgMC44NzM0OThDOS41MzQxMSAwLjY3ODIzNSA5Ljg1MDY4IDAuNjc4MjM1IDEwLjA0NTkgMC44NzM0OThMMTAuMzk5NSAxLjIyNzA1QzEwLjU5NDggMS40MjIzMSAxMC41OTQ4IDEuNzM4OTEgMTAuMzk5NSAxLjkzNDEzTDYuMzMzNjMgNi4wMDAwM0wxMC4zOTk1IDEwLjA2NTlDMTAuNTk0OCAxMC4yNjEyIDEwLjU5NDggMTAuNTc3NyAxMC4zOTk1IDEwLjc3M1oiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex-shrink: 0;
}

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

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

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

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

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

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

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

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

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

/* Container styling to match your toggle design */
.news-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;
	box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
	height: fit-content;
	gap: 0;
	background-color: #F6F6F6;
}

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

/* Individual button styling */
.news-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 */
.news-filter-toggles .wpgb-radio-control {
	display: none;
}

/* Style the label */
.news-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 */
.news-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;
}

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

/* Hover effect for better UX */
.news-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 */
.news-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 */
.news-filter-toggles input[type="hidden"] {
	display: none !important;
}

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

.news-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%;
}

/* Mobile Filter Button */
.news-mobile-filter-button {
	display: none;
	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;
	align-items: center;
	gap: 8px;
	box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(1.46px);
}

.news-mobile-filter-button::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;
}

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

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

/* Mobile toggle dropdown button */
.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);
}

.wpgb-facet .wpgb-search-facet .wpgb-input{
	text-indent: 0 !important;
	color: #000;
	font-family: "Hedvig Letters Serif", serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}


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

@media (max-width: 768px) {
	/* Hide desktop toggle */
	.news-filter-toggles {
		display: none;
	}

	.nwsf-container{
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

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

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


	/* Show mobile buttons */
	.news-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;
	}

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

	/* Style the mobile toggle as View All dropdown */
	.news-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);
	}

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

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

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

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

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

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

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

	.news-results-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.news-item {
		padding: 24px;
	}

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

@media (max-width: 480px) {
	.news-filter-block-title {
		font-size: 28px;
		margin-bottom: 12px;
	}

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

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

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

	.news-item {
		padding: 20px;
	}

	.news-item-title {
		font-size: 16px;
		line-height: 140%;
	}

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

	.news-active-filters {
		width: 100%;
	}

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

	.news-attorney-image {
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 370px) {
	.wpgb-sr-only{
		display: none;
	}

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

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