/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.omni-property-listing-wrapper {
    width: 75rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;

    .omni-property-listing {
        margin-top: 2rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: flex-start;

        .omni-single-property {

            display: flex;
            flex-basis: calc(33.33% - 2rem);
            flex-direction: column;

            .omni-listing-panel-image {
                aspect-ratio: 4/2;
                width: 100%;
                overflow: hidden;
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }
            .omni-listing-panel-info {
                padding: 0.5rem 0.75rem 0.75rem 0.75rem;
                height: 5.5rem;
                background-color: #3d3d3d;
                color: #d3d3d3;
                border-top: 2px solid rgb(237, 187, 95);
                .omni-listing-name {
                    height: 3rem;
                    line-height: 1.4;
                    margin-bottom: 0.5rem;
                    font-weight: bold;
                }
                .omni-listing-panel-bottom {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: flex-end;
                    height: 2rem;
                    .omni-listing-button-wrapper {
                        height: 100%;
                        .button {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            background-color: rgb(237, 187, 95);
                            color: black;
                            width: 10rem;
                            height: 100%;
                            margin-left: auto;
                            border-radius: 0.5rem;
                        }
                    }

                }
            }
        }
    }
}