.for-sale-page {
	--fs-navy: #002b45;
	--fs-yellow: #ffcd00;
	--fs-paper: #f2f5f7;
	--fs-stone: #44403c;
	--fs-muted: #a8a29e;
	--fs-border: #e7e5e4;
	color: var(--fs-stone);
}

.for-sale-page .fs-container {
	width: min(1290px, calc(100% - 48px));
	max-width: 1290px;
	padding-right: 0;
	padding-left: 0;
}

.fs-hero {
	position: relative;
	display: flex;
	min-height: 530px;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background: var(--fs-navy);
}

.fs-hero::before {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: "";
	background: rgba(0, 43, 69, .78);
}

.fs-hero::after {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	width: 112px;
	height: 112px;
	content: "";
	background: var(--fs-yellow);
}

.fs-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fs-hero .fs-container {
	position: relative;
	z-index: 3;
	padding-top: 56px;
	padding-bottom: 56px;
}

.fs-breadcrumb {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 42px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 2.88px;
	text-transform: uppercase;
}

.fs-breadcrumb a,
.fs-breadcrumb span {
	color: #fff;
}

.fs-hero__row {
	align-items: end;
}

.fs-hero .listing-label {
	margin-bottom: 14px;
	color: var(--fs-yellow);
	font-size: 16px;
	letter-spacing: 3.52px;
}

.fs-hero h1 {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-size: 60px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -1.5px;
	text-transform: uppercase;
}

.fs-hero h1 mark {
	display: inline-block;
	padding: 0 12px 3px;
	color: var(--fs-navy);
	background: var(--fs-yellow);
}

.fs-hero__copy {
	max-width: 720px;
	margin: 24px 0 0;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.625;
}

.fs-hero__stats {
	display: grid;
	height: 94px;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid rgba(255, 255, 255, .15);
}

.fs-hero__stats div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-right: 1px solid rgba(255, 255, 255, .15);
}

.fs-hero__stats div:last-child {
	border-right: 0;
}

.fs-hero__stats strong {
	color: var(--fs-yellow);
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
}

.fs-hero__stats span {
	margin-top: 8px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.for-sale-page .listing-section {
	padding: 112px 0;
}

.for-sale-page .filter-section {
	padding: 64px 0 65px;
	border-bottom: 1px solid var(--fs-border);
	background: #fff;
}

.for-sale-page .section-heading {
	display: grid;
	grid-template-columns: 7fr 5fr;
	align-items: end;
	gap: 48px;
	margin-bottom: 56px;
}

.for-sale-page .filter-section .section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 32px;
}

.for-sale-page .listing-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--fs-yellow);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 3.52px;
	line-height: 24px;
	text-transform: uppercase;
}

.for-sale-page .listing-label span {
	width: 40px;
	height: 2px;
	background: currentColor;
}

.for-sale-page .section-heading h2 {
	margin: 0;
	color: var(--fs-navy);
	font-size: 60px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -1.5px;
	text-transform: uppercase;
}

.for-sale-page .filter-section .section-heading h2 {
	font-size: 48px;
	letter-spacing: -1.2px;
}

.for-sale-page .section-heading h2 span {
	display: block;
	color: var(--fs-muted);
}

.for-sale-page .section-heading > p {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

.fs-reset {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 12px 22px;
	border: 2px solid var(--fs-navy);
	color: var(--fs-navy);
	background: #fff;
	font-size: 16px;
}

.listing-filters {
	display: block;
	padding: 32px;
	border-top: 4px solid var(--fs-yellow);
	color: var(--fs-stone);
	background: var(--fs-paper);
}

.listing-filters__fields {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}

.listing-filters label {
	color: var(--fs-stone);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .8px;
	line-height: 24px;
	text-transform: uppercase;
}

.listing-filters select {
	display: block;
	width: 100%;
	height: 56px;
	padding: 0 42px 0 18px;
	border: 2px solid transparent;
	border-radius: 0;
	margin-top: 8px;
	color: var(--fs-navy);
	background-color: #fff;
	font-size: 16px;
	font-weight: 500;
}

.listing-filters select:focus {
	border-color: var(--fs-yellow);
	outline: 0;
}

.listing-filters__footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 20px;
	padding-top: 25px;
	border-top: 1px solid #d6d3d1;
	margin-top: 24px;
}

.listing-filters__footer p {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.listing-filters__count {
	color: var(--fs-navy);
	font-weight: 700;
}

.listing-filters__count span,
.listing-filters__help span {
	color: var(--fs-yellow);
}

.listing-filters__help {
	justify-self: end;
	color: #57534e;
	font-weight: 500;
}

.listing-filters__help a {
	margin-left: 8px;
	color: var(--fs-navy);
	font-weight: 700;
	text-decoration: underline;
}

.featured-section {
	background: var(--fs-paper);
}

.fs-featured-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.for-sale-page .featured-property {
	min-height: 652px;
	margin: 0;
}

.for-sale-page .featured-property:first-child {
	min-height: 692px;
}

.for-sale-page .featured-property__image {
	position: relative;
	overflow: hidden;
}

.for-sale-page .featured-property__image > a {
	display: block;
	height: 100%;
}

.for-sale-page .featured-property__image img {
	min-height: 652px;
}

.for-sale-page .featured-property:first-child .featured-property__image img {
	min-height: 692px;
}

.featured-property__badges {
	position: absolute;
	top: 20px;
	left: 20px;
	display: flex;
	gap: 8px;
}

.featured-property__badges span {
	padding: 8px 16px;
	color: var(--fs-navy);
	background: var(--fs-yellow);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .8px;
	line-height: 24px;
	text-transform: uppercase;
}

.featured-property__badges span + span {
	color: #fff;
	background: var(--fs-navy);
}

.for-sale-page .featured-property__content {
	display: flex;
	padding: 48px;
	justify-content: flex-start;
}

.for-sale-page .featured-property h3 {
	margin-bottom: 20px;
	font-size: 36px;
	line-height: 40px;
	letter-spacing: -.72px;
}

.for-sale-page .property-kicker {
	margin-bottom: 16px;
	color: var(--fs-yellow);
	font-size: 16px;
	letter-spacing: 3.2px;
}

.featured-property__address {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 24px;
	margin: 0;
	color: #57534e;
	font-size: 16px;
	line-height: 24px;
}

.featured-property__address img,
.featured-property__facts img,
.featured-property footer img {
	flex: 0 0 auto;
	min-height: 0 !important;
	object-fit: contain !important;
}

.featured-property__facts {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	padding-bottom: 28px;
}

.featured-property__facts div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 16px;
	background: var(--fs-paper);
}

.featured-property__facts strong {
	padding-top: 4px;
	color: var(--fs-navy);
	font-size: 18px;
	font-weight: 900;
	line-height: 27px;
}

.featured-property__facts span {
	color: #57534e;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .8px;
	line-height: 24px;
	text-transform: uppercase;
}

.featured-property__description {
	padding-bottom: 28px;
	margin: 0;
	color: var(--fs-stone);
	font-size: 18px;
	line-height: 28px;
}

.for-sale-page .featured-property footer {
	width: 100%;
	padding-top: 24px;
	border-top: 1px solid var(--fs-border);
	margin-top: auto;
}

.featured-property footer > div span,
.featured-property footer > div strong {
	display: block;
	text-transform: uppercase;
}

.featured-property footer > div span {
	color: #78716c;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .8px;
	line-height: 24px;
}

.featured-property footer > div strong {
	color: var(--fs-navy);
	font-size: 24px;
	font-weight: 900;
	line-height: 32px;
}

.featured-property footer .listing-button {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 24px;
	color: #fff;
	background: var(--fs-navy);
	font-size: 16px;
}

.property-grid-section {
	background: #fff;
}

.fs-property-grid .abr-property-card {
	border: 0;
	overflow: visible;
	background: #fff;
	box-shadow: none;
}

.fs-property-grid {
	--bs-gutter-x: 32px;
	--bs-gutter-y: 32px;
}

.fs-property-grid .abr-property-card__image {
	overflow: hidden;
	background: var(--fs-border);
}

.fs-property-grid .abr-property-card__image > img {
	width: 100%;
	height: 306px;
	aspect-ratio: auto;
	object-fit: cover;
}

.fs-property-grid .abr-property-card__image::after {
	display: none;
}

.fs-property-grid .abr-property-card__status {
	top: 16px;
	left: 16px;
	padding: 6px 14px;
	font-size: 16px;
	letter-spacing: .8px;
	line-height: 24px;
}

.fs-property-grid .abr-property-card__arrow {
	top: 16px;
	right: 16px;
	bottom: auto;
	width: 44px;
	height: 44px;
	background: #fff;
}

.fs-property-grid .abr-property-card__arrow img {
	width: 20px;
	height: 20px;
}

.fs-property-grid .abr-property-card__body {
	display: flex;
	flex-direction: column;
	gap: 11.5px;
	padding: 20px 0 0;
}

.abr-property-card__type {
	margin: 0;
	color: var(--fs-yellow);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 3.2px;
	line-height: 24px;
	text-transform: uppercase;
}

.fs-property-grid .abr-property-card__title {
	margin: 0;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -.48px;
	line-height: 32px;
}

.fs-property-grid .abr-property-card__address {
	gap: 8px;
	padding-bottom: 8px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.abr-property-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	border-top: 1px solid var(--fs-border);
}

.abr-property-card__facts {
	display: flex;
	gap: 16px;
}

.abr-property-card__facts span {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--fs-stone);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.fs-property-grid .abr-property-card__price {
	color: var(--fs-navy);
	font-size: 16px;
	font-weight: 900;
	letter-spacing: -.32px;
	line-height: 24px;
	text-transform: uppercase;
}

.fs-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 32px;
	border-top: 1px solid var(--fs-border);
	margin-top: 56px;
}

.fs-pagination p,
.fs-pagination div,
.fs-pagination a,
.fs-pagination span {
	display: flex;
	align-items: center;
}

.fs-pagination p {
	gap: 12px;
	margin: 0;
	color: var(--fs-stone);
	font-size: 16px;
	font-weight: 600;
}

.fs-pagination p strong {
	color: var(--fs-navy);
	font-weight: 800;
}

.fs-pagination div {
	gap: 12px;
}

.fs-pagination a,
.fs-pagination span {
	min-height: 52px;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid #d6d3d1;
	color: var(--fs-navy);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .8px;
	line-height: 24px;
	text-transform: uppercase;
}

.fs-pagination span {
	color: var(--fs-muted);
}

.for-sale-page .listing-cta {
	position: relative;
	min-height: 872px;
	padding: 112px 0;
	background: var(--fs-navy);
}

.for-sale-page .listing-cta::before {
	position: absolute;
	inset: 0 0 0 66.6667%;
	content: "";
	background: var(--fs-yellow);
}

.for-sale-page .listing-cta::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 128px;
	height: 128px;
	content: "";
	background: var(--fs-yellow);
}

.for-sale-page .listing-cta > .container {
	position: relative;
	z-index: 1;
	width: min(1290px, calc(100% - 48px));
	max-width: 1290px;
	padding-right: 0;
	padding-left: 0;
}

.for-sale-page .listing-cta .row {
	min-height: 648px;
	--bs-gutter-x: 40px;
}

.for-sale-page .listing-cta h2 {
	font-size: 72px;
	line-height: 1;
	letter-spacing: -1.8px;
	color: #fff;
}

.for-sale-page .listing-cta__suffix {
	display: block;
	color: #fff;
}

.for-sale-page .listing-cta mark {
	display: inline;
	padding: 0 10px;
	color: var(--fs-navy);
	background: var(--fs-yellow);
}

.for-sale-page .listing-cta .col-lg-7 > p:not(.listing-label) {
	max-width: 672px;
	padding-top: 12px;
	margin: 0;
	color: rgba(255, 255, 255, .85);
	font-size: 20px;
	line-height: 28px;
}

.for-sale-page .listing-actions {
	padding-top: 20px;
	margin: 0;
}

.for-sale-page .listing-actions .listing-button {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 32px;
	font-size: 16px;
	line-height: 24px;
}

.for-sale-page .listing-cta ul {
	gap: 24px;
	padding-top: 19px;
	margin: 0;
}

.for-sale-page .listing-cta ul li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 24px;
}

.for-sale-page .listing-cta-card {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 40px 40px 48px;
	border-bottom: 8px solid var(--fs-yellow);
	background: #fff;
}

.listing-cta-card__heading {
	display: flex;
	align-items: center;
	gap: 16px;
}

.listing-cta-card__heading > span {
	display: grid;
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	place-items: center;
	background: var(--fs-yellow);
}

.for-sale-page .listing-cta-card h3 {
	margin: 0;
	color: var(--fs-navy);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -.4px;
	line-height: 28px;
	text-transform: uppercase;
}

.for-sale-page .listing-cta-card__heading p {
	margin: 0;
	color: #57534e;
	font-size: 16px;
	line-height: 24px;
}

.for-sale-page .listing-cta-card ol {
	margin: 0;
}

.for-sale-page .listing-cta-card li {
	gap: 16px;
	padding: 16px 0;
}

.for-sale-page .listing-cta-card li > span {
	width: 40px;
	flex: 0 0 40px;
	color: var(--fs-yellow);
	font-size: 16px;
	font-weight: 900;
}

.for-sale-page .listing-cta-card li strong {
	color: var(--fs-navy);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .8px;
	line-height: 24px;
	text-transform: uppercase;
}

.for-sale-page .listing-cta-card li small {
	color: #57534e;
	font-size: 16px;
	line-height: 24px;
}

.for-sale-page .listing-cta-card > .listing-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	padding: 16px;
	color: #fff;
	background: var(--fs-navy);
	font-size: 16px;
}

@media (max-width: 1399.98px) {
	.fs-hero h1,
	.for-sale-page .section-heading h2 {
		font-size: 54px;
	}

	.for-sale-page .listing-cta h2 {
		font-size: 62px;
	}
}

@media (max-width: 1199.98px) {
	.listing-filters__fields {
		grid-template-columns: repeat(3, 1fr);
	}

	.for-sale-page .featured-property__content {
		padding: 36px;
	}
}

@media (max-width: 991.98px) {
	.fs-hero {
		min-height: 620px;
	}

	.fs-hero::after {
		width: 72px;
		height: 72px;
	}

	.fs-hero__stats {
		margin-top: 36px;
	}

	.for-sale-page .listing-section,
	.for-sale-page .listing-cta {
		padding: 80px 0;
	}

	.for-sale-page .listing-cta::before {
		display: none;
	}

	.for-sale-page .section-heading {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.for-sale-page .featured-property--reverse .featured-property__image {
		order: 0;
	}
}

@media (max-width: 767.98px) {
	.for-sale-page .fs-container {
		width: min(100% - 32px, 1290px);
	}

	.fs-breadcrumb {
		margin-bottom: 32px;
		font-size: 13px;
	}

	.fs-hero h1,
	.for-sale-page .section-heading h2,
	.for-sale-page .filter-section .section-heading h2 {
		font-size: 42px;
		line-height: 1.03;
	}

	.for-sale-page .filter-section .section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.listing-filters__fields {
		grid-template-columns: repeat(2, 1fr);
	}

	.listing-filters__footer {
		grid-template-columns: 1fr;
	}

	.listing-filters__help {
		justify-self: start;
	}

	.for-sale-page .listing-cta h2 {
		font-size: 48px;
	}

	.fs-pagination {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
	}
	    .featured-property__image img, .success-story__image img, .for-sale-page .featured-property__image img {
        min-height: 18rem;
    }
	.for-sale-page .featured-property:first-child .featured-property__image img {
	min-height: 18rem;
}
}

@media (max-width: 575.98px) {
	.fs-hero {
		min-height: max-content;
	}

	.fs-hero h1,
	.for-sale-page .section-heading h2,
	.for-sale-page .filter-section .section-heading h2 {
		font-size: 34px;
	}

	.fs-hero__stats strong {
		font-size: 24px;
	}

	.fs-hero__stats span {
		font-size: 12px;
	}

	.for-sale-page .listing-section,
	.for-sale-page .listing-cta {
		padding: 64px 0;
	}

	.listing-filters {
		padding: 24px 18px;
	}

	.listing-filters__fields {
		grid-template-columns: 1fr;
	}

	.for-sale-page .featured-property__content {
		padding: 28px 22px;
	}

	.featured-property__facts {
		gap: 6px;
	}

	.featured-property__facts div {
		padding: 12px 6px;
	}

	.for-sale-page .featured-property h3 {
		font-size: 28px;
		line-height: 1.1;
	}

	.for-sale-page .listing-cta h2 {
		font-size: 40px;
	}
	.for-sale-page .featured-property footer div{
		margin-bottom: 15px;
	}
}
