/* .block-editor .is-style-eyebrow-text {
    margin-bottom: 0;
} */

p.is-style-eyebrow-text {
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	color: var(--wp--preset--color--sw-sky);
	font-size: clamp(14px, 0.984rem + ((1vw - 3.2px) * 0.779), 18px);
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.has-no-text-decoration {
	text-decoration: none !important;
}

.has-no-text-decoration > * {
	text-decoration: none !important;
}

/* TODO: Move to components styles */

.has-ibm-plex-serif-font-family {
	font-weight: 400;
}

.block--property-card {
	display: grid;
	grid-template-rows: 270px minmax(0, 1fr);
}

@media screen and (max-width: 640px) {
	.block--property-card {
		display: grid;
		grid-template-rows: 260px minmax(0, 1fr);
	}
}

.block--property-card--thumb {
	position: relative;
	/* overflow: hidden; */
	border-radius: 20px;
}

/* .block--property-card--thumb a {
    display: flex;
} */

.block--property-card--figure {
	overflow: hidden;
	border-radius: 20px;
}

.block--property-card--thumb a:focus {
	outline-color: var(--wp--preset--color--sw-grey);
	outline-offset: 2px;
	outline-style: dotted;
	outline-width: 1px;
}

.block--property-card--thumb a:focus figure {
	outline-color: var(--wp--preset--color--sw-grey);
	outline-offset: 2px;
	outline-style: dotted;
	outline-width: 1px;
}

.block--property-card--thumb .add-to-compare {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
}

.block--property-card--meta {
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 2;
	opacity: 1;
	transform: translateY(0);
	transition: none;
}

@media (pointer: fine) {
	.block--property-card--meta {
		opacity: 0;
		transform: translateY(5px);
		transition: all 0.2s ease;
	}

	.block--property-card:hover .block--property-card--meta {
		opacity: 1;
		transform: translateY(0);
	}
}

.block--property-card--meta .property-details {
	display: inline-flex;
	align-items: center;
	padding: 12px 12px;
	border-radius: 4.783px;
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(2px);
	gap: 12px;
	border: none;
}

.block--property-card--meta .property-detail--label {
	display: flex;
	align-items: center;
	gap: 4px;
}

.block--property-card--meta .property-detail--label svg {
	height: 24px;
	width: 24px;
}

.block--property-card--meta .property-detail--value {
	color: var(--wp--preset--color--sw-blue);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 22.958px */
	letter-spacing: 0.574px;
	text-transform: capitalize;
}

.block--property-card--figure {
	height: 100%;
	width: 100%;
	position: relative;
	z-index: 0;
}

.block--property-card--figure img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

@media screen and (max-width: 1024px) {
	.block--property-card--thumb {
		overflow: hidden;
		border-radius: 20px;
	}
}

.block--property-card--content {
	margin-top: -20px;
	padding: 40px 24px 24px;
	border: 1px solid #01395c;
	border: 1px solid #6ca6cc;
	border-radius: 0 0 20px 20px;
	display: flex;
	flex-direction: column;
	transition: all 0.4s ease;
}

.block--property-card--content .design-series-label {
	text-transform: uppercase;
	margin-bottom: 4px;
	font-size: 12px;
	color: #01395c;
	padding: 6px 8px;
	border-radius: 20px;
	border: 0.5px solid #666;
	display: flex;
	align-self: baseline;
	text-box-trim: trim-both;
	text-box-edge: cap alphabetic;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-weight: 400;
	line-height: 1;
}

.block--property-card:hover .block--property-card--content {
	border: 1px solid #01395c;
}

.block--property-card--content--has-pricing {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.block--property-card--content--has-pricing .pricing-label {
	flex-shrink: 0;
}

.block--property-card--content--has-pricing .pricing-label .pricing {
	color: #666;
	leading-trim: both;
	text-edge: cap;
	font-family: 'IBM Plex Mono';
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 14.4px */
	text-transform: uppercase;
	margin-bottom: 0;
}

.block--property-card--content--has-pricing .pricing-label .pricing span {
	color: #01395c;
	leading-trim: both;
	text-edge: cap;
	font-family: var(--wp--preset--font-family--lexend);
	/* font-size: 32px; */
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 44.8px */
}

.block--property-card--content--has-pricing .pricing-label .pricing span sup {
	font-size: 14px;
}

.block--property-card--content--has-pricing h3 {
	margin-bottom: 12px !important;
}

.block--property-card .property-size {
	color: #666;
	font-family: var(--wp--preset--font-family--ibm-plex-mono);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.block--property-card h3 {
	margin-bottom: 12px;
	font-size: clamp(20px, 1.25rem + ((1vw - 3.2px) * 1.053), 28px);
}

.block--property-card p {
	margin-bottom: 1.5rem;

	display: -webkit-box;
	-webkit-line-clamp: 2; /* Limit to 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 3rem; /* Adjust based on your line-height */
	line-height: 1.5rem; /* Adjust this for proper spacing */
}
