/* Webvio Loan Filter */

.wvlf-wrap {
	--wvlf-blue: #1a4b8c;
	--wvlf-blue-light: #2d6cb5;
	--wvlf-teal: #188cb4;
	--wvlf-green: #7ac943;
	--wvlf-border: #1a4b8c;
	--wvlf-text: #333;
	--wvlf-muted: #999;
	--wvlf-bg: #fff;
	--wvlf-radius: 24px;
	--wvlf-sidebar-width: 290px;
	font-family: inherit;
	color: var(--wvlf-text);
	max-width: 100%;
}

.wvlf-wrap *,
.wvlf-wrap *::before,
.wvlf-wrap *::after {
	box-sizing: border-box;
}

/* Top bar */
.wvlf-top-bar {
	margin-bottom: 24px;
}

.wvlf-search-wrap {
	position: relative;
	margin-bottom: 16px;
}

.wvlf-search-input {
	width: 100%;
	padding: 14px 48px 14px 20px;
	border: 1px solid #ddd;
	border-radius: var(--wvlf-radius);
	font-size: 16px;
	line-height: 1.4;
	background: var(--wvlf-bg);
}

.wvlf-search-input:focus {
	outline: none;
	border-color: var(--wvlf-blue);
	box-shadow: 0 0 0 2px rgba(26, 75, 140, 0.15);
}

.wvlf-search-btn {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--wvlf-muted);
	display: flex;
	align-items: center;
	justify-content: center;
}

.wvlf-active-row {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 12px;
}

.wvlf-active-row.is-visible {
	display: flex;
}

.wvlf-active-filters {
	flex: 1;
	min-width: 0;
}

.wvlf-active-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
}

.wvlf-active-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--wvlf-text);
}

.wvlf-active-tag-label {
	font-weight: 700;
}

.wvlf-active-tag-value {
	font-weight: 400;
}

.wvlf-remove-tag {
	background: none;
	border: none;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	color: var(--wvlf-text);
	padding: 0 2px;
	margin-left: 2px;
}

.wvlf-remove-tag:hover {
	color: var(--wvlf-blue);
}

.wvlf-reset-btn {
	background: var(--wvlf-teal);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s;
	flex-shrink: 0;
}

.wvlf-reset-btn:hover {
	opacity: 0.9;
}

.wvlf-mobile-filter-toggle {
	display: none;
	width: 100%;
	background: var(--wvlf-green);
	color: #fff;
	border: none;
	border-radius: var(--wvlf-radius);
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

/* Layout */
.wvlf-layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.wvlf-sidebar {
	width: var(--wvlf-sidebar-width);
	flex-shrink: 0;
}

.wvlf-sidebar-inner {
	position: sticky;
	top: 20px;
}

.wvlf-sidebar-header {
	display: none;
}

.wvlf-main {
	flex: 1;
	min-width: 0;
}

/* Filter groups */
.wvlf-filter-groups {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wvlf-filter-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wvlf-filter-label {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--wvlf-text);
}

.wvlf-filter-control {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	background: var(--wvlf-bg);
	appearance: auto;
}

.wvlf-radio-group,
.wvlf-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wvlf-radio-item,
.wvlf-checkbox-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
	line-height: 1.4;
}

.wvlf-radio-item input,
.wvlf-checkbox-item input {
	margin-top: 3px;
	flex-shrink: 0;
}

/* Results grid */
.wvlf-results-wrap {
	position: relative;
	min-height: 120px;
}

.wvlf-loading {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.85);
	z-index: 5;
	font-size: 15px;
	color: var(--wvlf-blue);
	pointer-events: none;
}

.wvlf-loading.is-active {
	display: flex;
}

.wvlf-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid #ddd;
	border-top-color: var(--wvlf-blue);
	border-radius: 50%;
	animation: wvlf-spin 0.7s linear infinite;
}

@keyframes wvlf-spin {
	to { transform: rotate(360deg); }
}

.wvlf-results-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.wvlf-card {
	border: 2px solid var(--wvlf-border);
	border-radius: 16px;
	padding: 24px 20px;
	background: var(--wvlf-bg);
	display: flex;
	flex-direction: column;
}

.wvlf-card-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.wvlf-card-title a {
	color: var(--wvlf-blue);
	text-decoration: none;
}

.wvlf-card-title a:hover {
	text-decoration: underline;
}

.wvlf-card-details {
	flex: 1;
	font-size: 14px;
	line-height: 1.6;
	color: var(--wvlf-text);
}

.wvlf-card-detail {
	margin: 0 0 8px;
}

.wvlf-card-detail:last-child {
	margin-bottom: 0;
}

.wvlf-card-detail strong {
	font-weight: 700;
}

.wvlf-card-link {
	display: inline-block;
	margin-top: 16px;
	color: var(--wvlf-blue-light);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}

.wvlf-card-link:hover {
	text-decoration: underline;
}

.wvlf-no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 40px 20px;
	font-size: 16px;
	color: var(--wvlf-muted);
}

/* Scroll to top */
.wvlf-scroll-top-wrap {
	display: flex;
	justify-content: center;
	margin: 32px 0 24px;
}

.wvlf-scroll-top {
	background: none;
	border: none;
	color: var(--wvlf-blue);
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}

.wvlf-scroll-top:hover {
	opacity: 0.7;
}

/* Alphabet filter */
.wvlf-alphabet {
	width: 100%;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.wvlf-alphabet-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.wvlf-alpha-btn {
	background: none;
	border: none;
	padding: 6px 4px;
	font-size: 16px;
	font-weight: 700;
	color: var(--wvlf-text);
	cursor: pointer;
	line-height: 1;
	flex: 0 0 auto;
	min-width: 0;
}

.wvlf-alpha-btn.is-active {
	color: var(--wvlf-blue);
	text-decoration: underline;
}

.wvlf-alpha-btn.is-disabled,
.wvlf-alpha-btn:disabled {
	color: #ccc;
	cursor: default;
}

.wvlf-alpha-btn:not(.is-disabled):not(:disabled):hover {
	color: var(--wvlf-blue);
}

/* Overlay & mobile sidebar */
.wvlf-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9998;
}

.wvlf-overlay.is-visible {
	display: block;
}

.wvlf-apply-mobile {
	display: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.wvlf-results-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.wvlf-mobile-filter-toggle {
		display: flex;
	}

	.wvlf-layout {
		display: block;
	}

	.wvlf-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: min(320px, 88vw);
		height: 100vh;
		z-index: 9999;
		background: var(--wvlf-bg);
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
		overflow-y: auto;
	}

	.wvlf-sidebar.is-open {
		transform: translateX(0);
	}

	.wvlf-sidebar-inner {
		position: static;
		padding: 20px;
		min-height: 100%;
	}

	.wvlf-sidebar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 20px;
		padding-bottom: 12px;
		border-bottom: 1px solid #eee;
	}

	.wvlf-sidebar-header h3 {
		margin: 0;
		font-size: 18px;
		color: var(--wvlf-blue);
	}

	.wvlf-sidebar-close {
		background: none;
		border: none;
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
		color: var(--wvlf-text);
		padding: 0 4px;
	}

	.wvlf-apply-mobile {
		display: block;
		width: 100%;
		margin-top: 24px;
		background: var(--wvlf-teal);
		color: #fff;
		border: none;
		border-radius: 999px;
		padding: 12px 20px;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
	}

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

	.wvlf-active-row {
		flex-direction: column;
		align-items: stretch;
	}

	.wvlf-reset-btn {
		align-self: flex-start;
	}
}

@media (max-width: 480px) {
	.wvlf-search-input {
		font-size: 15px;
		padding: 12px 44px 12px 16px;
	}

	.wvlf-card {
		padding: 18px 16px;
	}

	.wvlf-card-title {
		font-size: 18px;
	}
}

/* ==========================================================
   Figma loan-directory skin (PAGE CONTENT ONLY)
   Header / navbar / footer / Elementor sections are untouched.
   Existing search, filters, AJAX and A-Z filter logic are preserved.
   ========================================================== */

.wvlf-wrap {
	--wvlf-blue: #005b93;
	--wvlf-blue-light: #00a2df;
	--wvlf-teal: #0ba6c8;
	--wvlf-border: #dce9ef;
	--wvlf-text: #282828;
	--wvlf-muted: #8b8b8b;
	--wvlf-bg: #ffffff;
	--wvlf-card-bg: #eaf7fc;
	/* --wvlf-sidebar-width: 188px; */
	font-size: 12px;
}

/* Search only occupies the filter/sidebar width like the Figma. */
.wvlf-top-bar {
	width: var(--wvlf-sidebar-width);
	max-width: 100%;
	margin: 0 0 11px;
}

.wvlf-search-wrap {
	margin: 0;
}

.wvlf-search-input {
	height: 30px;
	padding: 6px 34px 6px 10px;
	border: 1px solid #d7dde1;
	border-radius: 0;
	font-size: 11px;
	line-height: 1.2;
	box-shadow: none;
}

.wvlf-search-input:focus {
	border-color: #8ebfd4;
	box-shadow: none;
}

.wvlf-search-btn {
	right: 6px;
	padding: 3px;
	color: #123e5d;
}

.wvlf-search-btn svg {
	width: 14px;
	height: 14px;
}

/* Keep active filter behaviour, but make it compact. */
.wvlf-active-row {
	width: calc(100vw - 30px);
	max-width: 850px;
	margin: 8px 0 0;
	gap: 7px;
}

.wvlf-active-tags {
	gap: 5px 8px;
}

.wvlf-active-tag {
	font-size: 10px;
}

.wvlf-reset-btn {
	padding: 6px 11px;
	font-size: 10px;
	border-radius: 2px;
}

/* Figma proportions: narrow filters + three card columns. */
.wvlf-layout {
	gap: 24px;
	align-items: flex-start;
}

.wvlf-sidebar {
	width: var(--wvlf-sidebar-width);
}

.wvlf-sidebar-inner {
	top: 72px;
}

.wvlf-filter-groups {
	gap: 12px;
}

.wvlf-filter-group {
	gap: 5px;
}

.wvlf-filter-label {
	font-size: 10.5px;
	line-height: 1.2;
	font-weight: 700;
	color: #2d2d2d;
}

.wvlf-filter-control {
	height: 29px;
	padding: 4px 7px;
	border: 1px solid #d7dde1;
	border-radius: 2px;
	font-size: 10px;
	line-height: 1.15;
	color: #777;
	background: #fff;
}

.wvlf-radio-group,
.wvlf-checkbox-group {
	gap: 3px;
}

.wvlf-radio-item,
.wvlf-checkbox-item {
	gap: 5px;
	font-size: 9.5px;
	line-height: 1.25;
	color: #333;
}

.wvlf-radio-item input,
.wvlf-checkbox-item input {
	width: 11px;
	height: 11px;
	margin: 1px 0 0;
}

/* Cards */
.wvlf-results-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 10px;
	align-items: stretch;
}

.wvlf-card {
	position: relative;
	min-height: 214px;
	padding: 17px 14px 43px;
	border: 0;
	border-radius: 0;
	background: var(--wvlf-card-bg);
	overflow: hidden;
	box-shadow: none;
}

/* White curved cutout at the bottom-left of each Figma card. */
.wvlf-card::after {
	content: "";
	position: absolute;
	left: -6%;
	bottom: -31px;
	width: 78%;
	height: 52px;
	background: #fff;
	border-radius: 0 100% 0 0 / 0 100% 0 0;
	z-index: 0;
	pointer-events: none;
}

.wvlf-card-title,
.wvlf-card-details,
.wvlf-card-actions {
	position: relative;
	z-index: 1;
}

.wvlf-card-title {
	margin: 0 0 9px;
	font-size: 12.5px;
	line-height: 1.2;
	font-weight: 700;
}

.wvlf-card-title a {
	color: #064f83;
	text-decoration: none;
}

.wvlf-card-title a:hover {
	text-decoration: none;
	color: #003d68;
}



.wvlf-card-detail {
	margin: 0 0 6px;
}

.wvlf-card-detail:last-child {
	margin-bottom: 0;
}

.wvlf-card-detail strong {
	font-weight: 700;
}

.wvlf-card-actions {
	position: absolute;
	left: 14px;
	right: 10px;
	bottom: 11px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	z-index: 2;
}

.wvlf-card-link {
	margin: 0;
	padding: 0;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 700;
	color: #00a3df;
	text-decoration: none;
	white-space: nowrap;
}

.wvlf-card-link:hover {
	text-decoration: none;
	color: #007fb0;
}

.wvlf-card-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 55px;
	height: 21px;
	padding: 0 8px;
	border-radius: 2px;
	background: #005b93;
	color: #fff;
	font-size: 8px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.wvlf-card-apply:hover,
.wvlf-card-apply:focus {
	background: #004b79;
	color: #fff;
	text-decoration: none;
}

/* Pagination - added without changing the existing filter/query rules. */
.wvlf-pagination {
	margin-top: 20px;
	min-height: 20px;
}

.wvlf-pagination-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
	font-size: 9px;
	line-height: 1;
}

.wvlf-page-numbers {
	display: flex;
	align-items: center;
	gap: 4px;
}

.wvlf-page-btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #555;
	min-width: 17px;
	height: 18px;
	padding: 0 3px;
	font: inherit;
	cursor: pointer;
	border-radius: 1px;
}

.wvlf-page-btn:hover:not(:disabled),
.wvlf-page-btn.is-active {
	background: #eaf7fc;
	color: #005b93;
}

.wvlf-page-btn.is-active {
	font-weight: 700;
}

.wvlf-page-btn:disabled {
	opacity: 0.38;
	cursor: default;
}

.wvlf-page-prev,
.wvlf-page-next {
	width: auto;
	white-space: nowrap;
}

/* Keep original A-Z functionality intact. It remains available below pagination. */
.wvlf-alphabet {
	margin-top: 18px;
	padding-top: 13px;
}

.wvlf-alpha-btn {
	/*font-size: 10px;*/
	padding: 4px 2px;
}

/* The old floating scroll arrow is not part of the Figma card area. Keep the
   feature but reduce its visual footprint rather than deleting it. */
.wvlf-scroll-top-wrap {
	margin: 8px 0 0;
}

.wvlf-scroll-top {
	padding: 3px;
}

.wvlf-scroll-top svg {
	width: 14px;
	height: 14px;
}

/* Tablet */
@media (max-width: 1024px) {
	.wvlf-wrap {
		--wvlf-sidebar-width: 180px;
	}

	.wvlf-layout {
		gap: 18px;
	}

	.wvlf-results-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile behaviour remains the original slide-out filter drawer. */
@media (max-width: 768px) {
	.wvlf-top-bar {
		width: 100%;
	}

	.wvlf-search-input {
		height: 38px;
		font-size: 13px;
		padding: 8px 40px 8px 12px;
	}

	.wvlf-layout {
		display: block;
	}

	.wvlf-results-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.wvlf-card {
		min-height: 190px;
	}

	.wvlf-pagination-nav {
		justify-content: center;
		font-size: 10px;
		flex-wrap: wrap;
	}

	.wvlf-alpha-btn {
		font-size: 11px;
	}
}


/* ==========================================================
   FINAL FIGMA MEASURED SKIN â€” PAGE/SHORTCODE ONLY
   Reference matched from the supplied Figma screenshot.
   No header, navbar, footer, theme-template, query, filter,
   search, sorting or ACF logic is changed here.
   ========================================================== */

.wvlf-wrap {
	--wvlf-card-bg: #e9f7fc;
	--wvlf-figma-cyan: #00aeef;
	--wvlf-figma-text: #707070;
	--wvlf-figma-title: #222222;
	--wvlf-figma-line: #daf3fc;
	--wvlf-figma-navy: #14315a;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
}

/* Keep the measured Figma geometry from the previous skin. */
.wvlf-results-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 10px;
}

/* Search */
.wvlf-search-input {
	height: 30px;
	border: 1px solid #dedede;
	border-radius: 15px;
	padding: 6px 33px 6px 10px;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 400;
	color: #707070;
	background: #ffffff;
}

.wvlf-search-input::placeholder {
	color: #a4a4a4;
	opacity: 1;
}

.wvlf-search-btn {
	right: 4px;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	color: #ffffff;
	background: #132b61;
}

.wvlf-search-btn svg {
	width: 12px;
	height: 12px;
}

/* Filter typography/controls */
.wvlf-filter-label {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 10.5px;
	line-height: 1.2;
	font-weight: 700;
	color: #222222;
}

.wvlf-filter-control {
	height: 29px;
	border: 1px solid #dedede;
	border-radius: 1px;
	padding: 4px 23px 4px 7px;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: 400;
	color: #888888;
	background-color: #ffffff;
}

.wvlf-radio-item,
.wvlf-checkbox-item {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 9.5px;
	line-height: 1.25;
	font-weight: 400;
	color: #333333;
}

.wvlf-radio-item input,
.wvlf-checkbox-item input {
	accent-color: #20a9e0;
}

/* Exact card visual language from the supplied Figma reference. */
.wvlf-card {
	position: relative;
	min-height: 214px;
	padding: 17px 14px 43px;
	border: 1px solid var(--wvlf-figma-line);
	border-radius: 0;
	background: var(--wvlf-card-bg);
	box-shadow: none;
	overflow: hidden;
}

/* Replace the approximate ellipse with the Figma-style continuous wave.
   This affects only the visual mask; content and links remain unchanged. */
.wvlf-card::after {
	content: "";
	position: absolute;
	left: -1px;
	right: -1px;
	bottom: -1px;
	width: auto;
	height: 48px;
	border-radius: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 48' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C28 47 61 46 94 36 C128 26 161 8 195 7 C211 6 226 8 240 8 L240 48 L0 48 Z' fill='%23ffffff'/%3E%3Cpath d='M0 38 C28 47 61 46 94 36 C128 26 161 8 195 7 C211 6 226 8 240 8' fill='none' stroke='%23daf3fc' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")
		no-repeat left bottom / 100% 100%;
	z-index: 0;
	pointer-events: none;
}

.wvlf-card-title {
	margin: 0 0 9px;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 12.5px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--wvlf-figma-title);
}

.wvlf-card-title a,
.wvlf-card-title a:visited {
	color: var(--wvlf-figma-title);
	text-decoration: none;
}

.wvlf-card-title a:hover,
.wvlf-card-title a:focus {
	color: var(--wvlf-figma-title);
	text-decoration: none;
}

.wvlf-card-details {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.43;
    font-weight: 400;
    color: #000000;
}

.wvlf-card-detail {
	margin: 0 0 6px;
}

.wvlf-card-detail:last-child {
	margin-bottom: 0;
}

.wvlf-card-detail strong {
	font-weight: 700;
}

.wvlf-card-link,
.wvlf-card-link:visited {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 8.5px;
	line-height: 1;
	font-weight: 700;
	color: var(--wvlf-figma-cyan);
	text-decoration: none;
}

.wvlf-card-link:hover,
.wvlf-card-link:focus {
	color: var(--wvlf-figma-cyan);
	text-decoration: none;
}

/* Button gradient sampled from the supplied Figma reference. */
.wvlf-card-apply,
.wvlf-card-apply:visited {
	min-width: 55px;
	height: 21px;
	padding: 0 8px;
	border: 1px solid #76afd3;
	border-radius: 3px;
	background: linear-gradient(
		180deg,
		#0060a3 0%,
		#005999 20%,
		#00528d 40%,
		#004b83 58%,
		#004578 72%,
		#073e6e 84%,
		#14315a 100%
	);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 8px;
	line-height: 1;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
}

.wvlf-card-apply:hover,
.wvlf-card-apply:focus {
	color: #ffffff;
	text-decoration: none;
	filter: none;
}

/* Pagination */
.wvlf-pagination {
	margin-top: 20px;
}

.wvlf-pagination-nav {
	gap: 7px;
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: 400;
	color: #444444;
}

.wvlf-page-numbers {
	gap: 3px;
}

.wvlf-page-btn {
	min-width: 16px;
	height: 18px;
	padding: 0 3px;
	border-radius: 1px;
	color: #444444;
	background: transparent;
}

.wvlf-page-btn.is-active {
	background: #e9f7fc;
	color: #444444;
	font-weight: 400;
}

.wvlf-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 18px;
	min-width: 12px;
	color: #777777;
}

/* The Figma frame ends the directory at numbered pagination.
   Existing A-Z markup/JS remains in the plugin but is visually suppressed
   on this shortcode skin, so no query/filter code is removed. */
/*.wvlf-scroll-top-wrap {*/
/*	display: none;*/
/*}*/ 

@media (max-width: 1024px) {
	.wvlf-wrap {
		font-family: "Roboto", Arial, Helvetica, sans-serif;
	}
}

@media (max-width: 768px) {
	.wvlf-search-input {
		border-radius: 19px;
	}
}

/* ==========================================================
   CLIENT RESTORE: DESKTOP "MORE LOAN FILTERS"
   Keep filters through Purpose of Loan visible, then collapse
   all following existing filters until the user expands them.
   Mobile (<=768px) keeps the existing slide-out drawer behavior.
   ========================================================== */
@media (min-width: 769px) {
    .wvlf-filter-groups:not(.wvlf-more-open)
    [data-filter-group="purpose_of_loan"]
    ~ .wvlf-filter-group {
        display: none !important;
    }

    .wvlf-desktop-more-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 2px 0 0;
        padding: 10px 0;
        border: 0;
        border-top: 1px solid #dedede;
        background: transparent;
        color: #222222;
        font-family: "Roboto", Arial, Helvetica, sans-serif;
        font-size: 10.5px;
        line-height: 1.3;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .wvlf-desktop-more-toggle:hover,
    .wvlf-desktop-more-toggle:focus {
        color: #14315a;
        outline: none;
    }

    .wvlf-more-arrow {
        display: inline-block;
        font-size: 15px;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .wvlf-filter-groups.wvlf-more-open .wvlf-more-arrow {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .wvlf-desktop-more-toggle {
        display: none !important;
    }

    [data-filter-group="purpose_of_loan"]
    ~ .wvlf-filter-group {
        display: flex !important;
    }
}
