/* .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: 310px 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.50);
    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: 42px 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:hover .block--property-card--content {
    border: 1px solid #01395C;
}

.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: 1rem;
}

.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 */
}