.block--showhomes-listings {
	padding: 200px 0;
}

@media screen and (max-width: 768px) {
	.block--showhomes-listings {
		padding: 120px 0;
	}
}

@media screen and (max-width: 640px) {
	.block--showhomes-listings {
		padding: 80px 0;
	}
}

.block--showhomes-listings .js-tabs__controls {
	display: flex;
	gap: 48px;
	list-style: none;
	padding: 0;
	border-bottom: 1px solid var(--wp--preset--color--sw-sky);
	margin-bottom: 64px;
	overflow-x: auto;
}

@media screen and (max-width: 640px) {
	.block--showhomes-listings .js-tabs__controls {
		margin-bottom: 32px;
		gap: 24px;
	}
}

.block--showhomes-listings .js-tabs__controls a {
	display: flex;
	padding: 10px;
	text-decoration: none;
	border-bottom: 4px solid transparent;
	color: #666;
	font-size: 24px;
	font-size: clamp(1rem, 0.6rem + 1vw, 1.5rem);
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 33.6px */
	white-space: nowrap;
}

.block--showhomes-listings .js-tabs__controls a[aria-selected='true'] {
	border-color: var(--wp--preset--color--sw-yellow);
	color: #01395c;
}

.block--showhomes-listings--cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 24px;
	padding: 0;
}

@media screen and (max-width: 640px) {
	.block--showhomes-listings--cards {
		grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
		gap: 16px;
	}
}

.block--showhomes-listings--card {
	display: flex;
	flex-direction: column;

	border-radius: 20px;
	min-height: 100%;
}

.block--showhomes-listings--card--thumb {
	aspect-ratio: 3 / 2;
	border-radius: 20px;
	overflow: hidden;
	background-color: #01395c;
	position: relative;
}

.block--showhomes-listings--card--thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.block--showhomes-listings--card--content {
	display: flex;
	flex-direction: column;
	padding: 36px 24px 24px;
	border: 1px solid var(--wp--preset--color--sw-sky);
	margin-top: -24px;
	border-radius: 0 0 20px 20px;
	flex-grow: 1;
}

.block--showhomes-listings--card--content--term {
	color: #666;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 120%; /* 19.2px */
	text-transform: uppercase;
	margin-bottom: 8px;
	display: block;
}

.block--showhomes-listings--card--content a {
	text-decoration: none;
	color: #01395c;
}

.block--showhomes-listings--card--content a h3 {
	color: #01395c;
}

.block--showhomes-listings--search-bar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: -40px;
}

@media screen and (max-width: 768px) {
	.block--showhomes-listings--search-bar {
		margin-bottom: 16px;
		justify-content: flex-start;
	}

	.block--showhomes-listings--search-bar > * {
		width: 100%;
	}
}

.block--showhomes-listings--search-bar input {
	padding: 10px 24px 10px 12px;
	border-radius: 4px;
	border: 1px solid var(--wp--preset--color--sw-sky);
	background-color: transparent;
	color: #666;
	font-size: 14px;
	font-style: normal;
	font-family: inherit;
	font-weight: 300;
	line-height: 120%; /* 19.2px */
	height: 42px;
}

@media screen and (max-width: 768px) {
	.block--showhomes-listings--search-bar input {
		flex-grow: 1;
	}
}

.block--showhomes-listings--search-bar .fake-button {
	cursor: pointer;
	/* aspect-ratio: 1 / 1; */
	border-radius: 4px;
	background-color: var(--wp--preset--color--sw-yellow);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 42px;
	width: 42px;
}
