/**
 * Landing admin metabox + front-end SEO blocks.
 */

.nbse-metabox-table th {
	width: 200px;
	vertical-align: top;
	padding-top: 12px;
}

.nbse-metabox-table td {
	padding-top: 8px;
}

.nbse-metabox-table .description {
	margin-top: 6px;
	color: #646970;
}

.nbse-archive-title,
.nb-landing-intro__title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.nbse-content,
.nb-landing-seo-wrap .entry-content {
	margin: 1.5rem 0;
	line-height: 1.7;
}

.nb-landing-seo-wrap + #search-header {
	margin-top: 0.5rem;
}

.nb-landing-top-content {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.35rem;
	background: #fff;
	border: 1px solid var(--gray-200, #e6e6e6);
	border-radius: 14px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.nb-landing-top-content .nb-landing-article__body {
	max-height: none;
	overflow: visible;
}

/* ——— Bottom article block ——— */

.nb-landing-article-wrap {
	margin-top: 2.5rem;
	margin-bottom: 2rem;
}

.nb-landing-article {
	--nb-article-collapsed-max: 22rem;
	position: relative;
	padding: 1.75rem 1.5rem 1.25rem;
	background: linear-gradient(180deg, #fafbfb 0%, #fff 100%);
	border: 1px solid var(--gray-200, #e6e6e6);
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(17, 75, 95, 0.06);
}

@media (min-width: 768px) {
	.nb-landing-article {
		padding: 2rem 2.25rem 1.5rem;
	}
}

.nb-landing-article__body {
	color: var(--text-600, #383838);
	font-size: 0.975rem;
	line-height: 1.95;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
	transition: max-height 0.45s ease;
}

.nb-landing-article__body--collapsed {
	max-height: var(--nb-article-collapsed-max);
	overflow: hidden;
}

.nb-landing-article__body--expanded {
	max-height: none;
	overflow: visible;
}

.nb-landing-article__body > *:first-child {
	margin-top: 0;
}

.nb-landing-article__body > *:last-child {
	margin-bottom: 0;
}

.nb-landing-article__body p,
.nb-landing-top-content .nb-landing-article__body p {
	margin: 0 0 1.15em !important;
	padding: 0;
}

.nb-landing-article__body p + p,
.nb-landing-top-content .nb-landing-article__body p + p {
	margin-top: 1.15em !important;
}

.nb-landing-article__body p:empty,
.nb-landing-article__body p:has(> br:only-child) {
	display: none;
	margin: 0 !important;
	padding: 0 !important;
}

.nb-landing-article__body h2,
.nb-landing-article__body h2.wp-block-heading,
.nb-landing-article__body h3,
.nb-landing-article__body h4 {
	color: var(--heading-200, #181616);
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
	margin: 0 !important;
}

.nb-landing-article__body h2,
.nb-landing-article__body h2.wp-block-heading {
	font-size: 1.35rem;
	padding: 2.25rem 0 1rem !important;
	border-bottom: 2px solid var(--primary-100-20, rgba(29, 186, 181, 0.2)) !important;
}

.nb-landing-article__body > :first-child:is(h2, h2.wp-block-heading) {
	padding-top: 0 !important;
}

/* فاصلهٔ بعد از خط h2 — padding تا margin-collapse نشود */
.nb-landing-article__body h2 + *,
.nb-landing-article__body h2.wp-block-heading + * {
	margin-top: 0 !important;
	padding-top: 2rem !important;
}

.nb-landing-article__body h2 + p,
.nb-landing-article__body h2.wp-block-heading + p {
	margin-bottom: 1.15em !important;
}

.nb-landing-article__body h3 {
	font-size: 1.15rem;
	padding: 1.75rem 0 0.75rem !important;
}

.nb-landing-article__body h4 {
	font-size: 1.05rem;
	padding: 1.5rem 0 0.65rem !important;
	color: var(--secondary-100, #114b5f);
}

.nb-landing-article__body h2:empty,
.nb-landing-article__body h2:has(> br:only-child),
.nb-landing-article__body h3:empty,
.nb-landing-article__body h4:empty {
	display: none;
	margin: 0;
	padding: 0;
	border: none;
}

.nb-landing-article__body h3,
.nb-landing-article__body h4,
.nb-landing-article__body p,
.nb-landing-article__body div,
.nb-landing-article__body li,
.nb-landing-article__body ul,
.nb-landing-article__body ol,
.nb-landing-article__body strong,
.nb-landing-article__body b {
	border: none !important;
	box-shadow: none;
}

.nb-landing-article__body hr,
.nb-landing-article__body .wp-block-separator {
	display: none !important;
	border: none;
	margin: 0;
	height: 0;
}

.nb-landing-article__body ul,
.nb-landing-article__body ol {
	margin: 0 0 1.25em;
	padding-inline-start: 1.35em;
	padding-inline-end: 0;
}

.nb-landing-article__body li {
	margin-bottom: 0.45em;
}

.nb-landing-article__body li::marker {
	color: var(--primary-100, #1dbab5);
}

.nb-landing-article__body a {
	color: var(--primary-200, #159f9b);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.nb-landing-article__body a:hover {
	color: var(--secondary-100, #114b5f);
}

.nb-landing-article__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.25em auto;
	border-radius: 12px;
}

.nb-landing-article__body blockquote {
	margin: 1.25em 0;
	padding: 0.85em 1.1em;
	border-inline-start: 4px solid var(--primary-100, #1dbab5);
	background: var(--primary-100-20, rgba(29, 186, 181, 0.12));
	border-radius: 0 10px 10px 0;
	font-style: normal;
	text-align: justify;
}

.nb-landing-article__body table {
	width: 100%;
	margin: 1.25em 0;
	border-collapse: collapse;
	font-size: 0.92em;
}

.nb-landing-article__body th,
.nb-landing-article__body td {
	padding: 0.55em 0.75em;
	border: 1px solid var(--gray-200, #e6e6e6);
	text-align: right;
}

.nb-landing-article__body th {
	background: var(--gray-100, #f7f7f7);
	font-weight: 600;
}

.nb-landing-article__fade {
	position: absolute;
	inset-inline: 0;
	bottom: 3.5rem;
	height: 5.5rem;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.88) 55%,
		#fff 100%
	);
	border-radius: 0 0 16px 16px;
	transition: opacity 0.3s ease;
}

.nb-landing-article__fade[hidden] {
	display: none !important;
}

.nb-landing-article__actions {
	display: flex;
	justify-content: center;
	padding-top: 0.75rem;
	margin-top: 0.5rem;
}

.nb-landing-article__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10.5rem;
	padding: 0.65rem 1.5rem;
	border: 1px solid var(--primary-100-36, rgba(29, 186, 181, 0.36));
	border-radius: 999px;
	background: #fff;
	color: var(--primary-200, #159f9b) !important;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb-landing-article__toggle:hover,
.nb-landing-article__toggle:focus-visible {
	background: var(--primary-100, #1dbab5);
	border-color: var(--primary-100, #1dbab5);
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(29, 186, 181, 0.28);
	outline: none;
}

.nb-landing-article__toggle[hidden] {
	display: none !important;
}

.nb-landing-article.is-expanded .nb-landing-article__fade {
	opacity: 0;
}

/* ——— FAQ accordion (RTL) ——— */

.nb-faq {
	direction: rtl;
	margin: 2.5rem 0 2rem;
	text-align: right;
}

.nb-faq__title {
	position: relative;
	margin: 0 0 1.35rem;
	padding-inline-start: 0.9rem;
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.5;
	color: var(--heading-200, #181616);
	text-align: right;
}

.nb-faq__title::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0.18em;
	bottom: 0.18em;
	width: 5px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--primary-100, #1dbab5), var(--secondary-100, #114b5f));
}

.nb-faq__list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.nb-faq__item {
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--gray-200, #e6e6e6);
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba(17, 75, 95, 0.04);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nb-faq__item:hover {
	border-color: var(--primary-100-36, rgba(29, 186, 181, 0.36));
	box-shadow: 0 6px 20px rgba(17, 75, 95, 0.08);
}

.nb-faq__item:has(.nb-faq__question[aria-expanded="true"]) {
	border-color: var(--primary-100, #1dbab5);
	box-shadow: 0 8px 24px rgba(29, 186, 181, 0.14);
}

.nb-faq__heading {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	color: inherit;
}

.nb-faq__question {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 1.1rem 1.25rem;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.7;
	color: var(--secondary-100, #114b5f);
	text-align: right;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.nb-faq__question:hover {
	background: var(--primary-100-20, rgba(29, 186, 181, 0.07));
}

.nb-faq__question:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--primary-100, #1dbab5);
}

.nb-faq__question[aria-expanded="true"] {
	color: var(--primary-200, #159f9b);
}

.nb-faq__q-text {
	flex: 1;
	min-width: 0;
}

.nb-faq__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--primary-100-20, rgba(29, 186, 181, 0.12));
	color: var(--primary-200, #159f9b);
	transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.nb-faq__question[aria-expanded="true"] .nb-faq__icon {
	transform: rotate(180deg);
	background: var(--primary-100, #1dbab5);
	color: #fff;
}

.nb-faq__answer {
	padding: 0 1.25rem 1.2rem;
	color: var(--text-600, #383838);
	font-size: 0.96rem;
	line-height: 1.95;
	text-align: justify;
	text-justify: inter-word;
}

.nb-faq__answer[hidden] {
	display: none;
}

.nb-faq__answer-inner {
	padding-top: 0.85rem;
	border-top: 1px dashed var(--gray-200, #e6e6e6);
	animation: nb-faq-reveal 0.28s ease;
}

.nb-faq__answer-inner > *:first-child {
	margin-top: 0;
}

.nb-faq__answer-inner > *:last-child {
	margin-bottom: 0;
}

.nb-faq__answer-inner p {
	margin: 0 0 0.85em;
}

.nb-faq__answer-inner a {
	color: var(--primary-200, #159f9b);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nb-faq__answer-inner a:hover {
	color: var(--secondary-100, #114b5f);
}

.nb-faq__answer-inner ul,
.nb-faq__answer-inner ol {
	margin: 0.5em 0 0.75em;
	padding-inline-start: 1.35em;
	padding-inline-end: 0;
}

.nb-faq__answer-inner li {
	margin-bottom: 0.4em;
}

.nb-faq__answer-inner li::marker {
	color: var(--primary-100, #1dbab5);
}

@keyframes nb-faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.nb-faq {
		margin: 2rem 0 1.5rem;
	}

	.nb-faq__title {
		font-size: 1.25rem;
	}

	.nb-faq__question {
		padding: 0.95rem 1rem;
		font-size: 0.96rem;
	}

	.nb-faq__answer {
		padding: 0 1rem 1rem;
	}
}

/* ——— Landing page layout (differs from /search/) ——— */

.nb-landing-layout {
	--nb-landing-sidebar-top: 96px;
}

/* overflow-x on #container breaks position:sticky in WebKit/Blink */
body.nb-landing-page #container {
	overflow-x: clip;
}

@supports not (overflow: clip) {
	body.nb-landing-page #container {
		overflow-x: visible;
	}
}

/* Hero replaces search box */
#search-header.nb-landing-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	height: auto;
	padding: 2.5rem 2rem;
	margin-bottom: 2rem;
	text-align: center;
}

#search-header.nb-landing-hero::before,
#search-header.nb-landing-hero::after {
	opacity: 0.35;
}

.nb-landing-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	margin: 0 auto;
}

.nb-landing-hero__title {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 700;
	line-height: 1.45;
}

.nb-landing-hero__description {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
	line-height: 1.85;
}

@media (max-width: 767px) {
	#search-header.nb-landing-hero {
		min-height: 150px;
		padding: 1.75rem 1.25rem;
		margin-bottom: 1.5rem;
		border-radius: 24px;
	}
}

/* ——— Landing filters sidebar (premium sticky card) ——— */

#primary[data-nb-landing="1"].content-area-with-sidebar {
	align-items: stretch !important;
}

body.nb-landing-page #container,
body.nb-landing-page #page-body,
body.nb-landing-page #page-main {
	overflow: visible;
}

[data-nb-landing="1"] .nb-landing-sidebar {
	align-self: stretch !important;
	display: flex;
	flex-direction: column;
	z-index: 12;
	overflow: visible;
}

[data-nb-landing="1"] .nb-landing-sidebar #widget-area {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
}

[data-nb-landing="1"] .nb-landing-sidebar-sticky-placeholder {
	display: none;
	width: 100%;
}

[data-nb-landing="1"] [data-nb-landing-sticky].is-sticky-fixed,
[data-nb-landing="1"] [data-nb-landing-sticky].is-sticky-bottom {
	z-index: 20;
}

[data-nb-landing="1"] .nb-landing-sidebar .widget:not(.nb-landing-filters-card) {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

[data-nb-landing="1"] .nb-landing-sidebar .widget.nb-landing-filters-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: visible;
	margin: 0;
	padding: 0 !important;
	border-radius: 20px;
	border: 2px solid rgba(17, 75, 95, 0.28) !important;
	background: #fff !important;
	box-shadow:
		0 0 0 1px rgba(29, 186, 181, 0.35),
		0 10px 28px rgba(17, 75, 95, 0.14) !important;
}

[data-nb-landing="1"] .nb-landing-filters-card {
	display: flex;
	flex-direction: column;
	overflow: visible;
	border-radius: 20px;
	border: 2px solid rgba(17, 75, 95, 0.28);
	background: #fff;
	box-shadow:
		0 0 0 1px rgba(29, 186, 181, 0.35),
		0 10px 28px rgba(17, 75, 95, 0.14);
}

[data-nb-landing="1"] .nb-landing-filters-card__head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1.1rem 1.15rem;
	margin: -1px -1px 0;
	border-radius: 18px 18px 0 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(135deg, var(--secondary-100, #114b5f) 0%, #0d6278 55%, var(--primary-200, #159f9b) 100%);
	color: #fff;
}

[data-nb-landing="1"] .nb-landing-filters-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 1.25rem;
	backdrop-filter: blur(4px);
}

[data-nb-landing="1"] .nb-landing-filters-card__head-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

[data-nb-landing="1"] .nb-landing-filters-card__title {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.4;
}

[data-nb-landing="1"] .nb-landing-filters-card__subtitle {
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

[data-nb-landing="1"] .nb-landing-filters-card__body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.15rem;
	border-radius: 0 0 18px 18px;
	background: #fff;
}

[data-nb-landing="1"] .nb-filter-dropdown {
	position: relative;
	padding: 0;
	border: 0;
	width: 100%;
}

[data-nb-landing="1"] .nb-filter-dropdown.is-open {
	z-index: 50;
}

[data-nb-landing="1"] .nb-filter-dropdown__label {
	display: block;
	margin: 0 0 0.4rem;
	padding: 0;
	border: 0;
	background: none;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: right;
	color: var(--text-500, #747474);
}

[data-nb-landing="1"] .nb-filter-dropdown__control {
	position: relative;
	width: 100%;
}

[data-nb-landing="1"] .nb-filter-dropdown__trigger {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem;
	width: 100%;
	box-sizing: border-box;
	min-height: 52px;
	padding: 0.45rem 0.85rem;
	border: 1.5px solid rgba(29, 186, 181, 0.55);
	border-radius: 999px;
	background: #fff;
	color: var(--text-600, #383838);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown__trigger:hover {
	border-color: var(--primary-100, #1dbab5);
}

[data-nb-landing="1"] .nb-filter-dropdown__trigger:focus-visible {
	border-color: var(--primary-100, #1dbab5);
	box-shadow: 0 0 0 3px var(--primary-100-20, rgba(29, 186, 181, 0.2));
	outline: none;
}

[data-nb-landing="1"] .nb-filter-dropdown.has-value .nb-filter-dropdown__trigger {
	border-color: var(--primary-100, #1dbab5);
	background: #fff;
}

[data-nb-landing="1"] .nb-filter-dropdown.is-open .nb-filter-dropdown__trigger {
	border-color: var(--primary-100, #1dbab5);
	box-shadow: 0 0 0 3px var(--primary-100-20, rgba(29, 186, 181, 0.2));
}

[data-nb-landing="1"] .nb-filter-dropdown__field-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--primary-100-20, rgba(29, 186, 181, 0.2));
	color: var(--primary-200, #159f9b);
	font-size: 1rem;
}

[data-nb-landing="1"] .nb-filter-dropdown:not(.has-value) .nb-filter-dropdown__value {
	color: var(--text-300, #888);
	font-weight: 500;
}

[data-nb-landing="1"] .nb-filter-dropdown__value {
	flex: 1;
	min-width: 0;
	text-align: right;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-nb-landing="1"] .nb-filter-dropdown__actions {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	margin-inline-start: auto;
}

[data-nb-landing="1"] .nb-filter-dropdown__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gray-100, #f7f7f7);
	color: var(--text-400, #848484);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown__clear:hover {
	background: rgba(214, 0, 67, 0.1);
	color: var(--red, #d60043);
	transform: scale(1.05);
}

[data-nb-landing="1"] .nb-filter-dropdown__clear[hidden] {
	display: none !important;
}

[data-nb-landing="1"] .nb-filter-dropdown__chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--primary-200, #159f9b);
	border-bottom: 2px solid var(--primary-200, #159f9b);
	transform: rotate(45deg);
	margin-top: -2px;
	transition: transform 0.22s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown.is-open .nb-filter-dropdown__chevron {
	transform: rotate(-135deg);
	margin-top: 3px;
}

[data-nb-landing="1"] .nb-filter-dropdown.has-value .nb-filter-dropdown__chevron {
	display: none;
}

[data-nb-landing="1"] .nb-filter-dropdown__panel {
	position: absolute;
	inset-inline: 0;
	top: calc(100% + 6px);
	z-index: 60;
	display: flex;
	flex-direction: column;
	max-height: min(300px, 48vh);
	overflow: hidden;
	padding: 0.75rem;
	border: 1.5px solid var(--primary-100, #1dbab5);
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 4px 6px rgba(17, 75, 95, 0.04),
		0 16px 40px rgba(17, 75, 95, 0.16);
	animation: nb-landing-panel-in 0.18s ease;
}

@keyframes nb-landing-panel-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

[data-nb-landing="1"] .nb-filter-dropdown__panel[hidden] {
	display: none !important;
}

[data-nb-landing="1"] .nb-filter-dropdown__search-wrap {
	position: relative;
	margin-bottom: 0.55rem;
	flex-shrink: 0;
}

[data-nb-landing="1"] .nb-filter-dropdown__search-icon {
	position: absolute;
	inset-inline-end: 0.85rem;
	inset-inline-start: auto;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.9rem;
	color: var(--text-300, #888);
	pointer-events: none;
}

[data-nb-landing="1"] .nb-filter-dropdown__search {
	width: 100%;
	box-sizing: border-box;
	padding: 0.62rem 0.85rem;
	padding-inline-end: 2.35rem;
	border: 1.5px solid var(--primary-100, #1dbab5);
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
	color: var(--text-600, #383838);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown__search::placeholder {
	color: var(--text-300, #888);
}

[data-nb-landing="1"] .nb-filter-dropdown__search:focus {
	outline: none;
	border-color: var(--primary-200, #159f9b);
	box-shadow: 0 0 0 3px var(--primary-100-20, rgba(29, 186, 181, 0.2));
}

[data-nb-landing="1"] .nb-landing-filters-card .widgettitle,
[data-nb-landing="1"] .nb-landing-sidebar .widgettitle {
	background: none !important;
	color: inherit !important;
	text-align: right !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}

[data-nb-landing="1"] .nb-filter-dropdown__options {
	overflow: auto;
	padding: 2px 0;
	scrollbar-width: thin;
	scrollbar-color: var(--primary-100-36, rgba(29, 186, 181, 0.36)) transparent;
}

[data-nb-landing="1"] .nb-filter-dropdown__option {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.7rem;
	padding: 0.62rem 0.7rem;
	margin-bottom: 3px;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown__option:hover {
	background: var(--primary-100-20, rgba(29, 186, 181, 0.14));
}

[data-nb-landing="1"] .nb-filter-dropdown__option.is-selected {
	background: var(--primary-100-20, rgba(29, 186, 181, 0.18));
	color: var(--secondary-100, #114b5f);
}

[data-nb-landing="1"] .nb-filter-dropdown:not(.has-value):not(.is-open) .nb-filter-dropdown__trigger {
	border-color: var(--gray-300, #dbdbdb);
}

[data-nb-landing="1"] .nb-filter-dropdown__option.nb-search-filter-item::before {
	content: none !important;
	display: none !important;
}

[data-nb-landing="1"] .nb-filter-dropdown__option input[type="checkbox"] {
	position: absolute !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

[data-nb-landing="1"] .nb-filter-dropdown__option-text {
	flex: 1;
	min-width: 0;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.45;
	text-align: right;
}

[data-nb-landing="1"] .nb-filter-dropdown__option.is-selected .nb-filter-dropdown__option-text {
	font-weight: 700;
}

[data-nb-landing="1"] .nb-filter-dropdown__option-check {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--gray-300, #dbdbdb);
	background: #fff;
	transition: all 0.18s ease;
}

[data-nb-landing="1"] .nb-filter-dropdown__option.is-selected .nb-filter-dropdown__option-check {
	border-color: var(--primary-100, #1dbab5);
	background: var(--primary-100, #1dbab5);
	box-shadow: inset 0 0 0 3px #fff;
}

[data-nb-landing="1"] .nb-filter-dropdown__option.nb-filter-item--search-hidden {
	display: none !important;
}

/* Regular search sidebar titles */
[data-nb-search-root]:not([data-nb-landing="1"]) .widgettitle {
	display: block;
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
}

/* Bottom article inside results column */
[data-nb-landing="1"] .nb-landing-article-wrap {
	margin-top: 2rem;
}

[data-nb-landing="1"] #search-results {
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	#primary[data-nb-landing="1"] .nb-landing-sidebar {
		align-self: stretch !important;
	}
}

@media (max-width: 767px) {
	[data-nb-landing="1"] .nb-landing-sidebar {
		align-self: flex-start !important;
	}
}

@media (max-width: 767px) {
	[data-nb-landing="1"] .content-area-with-sidebar #search-results {
		order: 1;
	}

	[data-nb-landing="1"] .content-area-with-sidebar .nb-landing-sidebar {
		order: 2;
	}

	[data-nb-landing="1"] .nb-landing-filters-card__body {
		padding: 0.9rem;
	}
}
