﻿/* Fixed-size frame for venue images */
.venue-image-frame {
    width: 100%; /* fill card width */
    height: 200px; /* your fixed height – adjust if needed */
    overflow: hidden; /* clip tall images */
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

    /* Image behavior:
   - never upscale small images
   - shrink big images to fit width
   - maintain aspect ratio
*/
    .venue-image-frame img {
        max-width: 100%; /* if wider than frame → shrink */
        width: auto; /* keep original width if smaller */
        height: auto; /* maintain aspect ratio */
        display: block;
    }
/* Fixed-size frame for rental unit images */
.rentalunit-image-frame {
    width: 100%; /* fill card width */
    height: 200px; /* fixed height – adjust if you want */
    overflow: hidden; /* clip tall images */
    display: flex;
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

    /* Image behavior:
   - never upscale small images
   - shrink big images to fit width
   - maintain aspect ratio
*/
    .rentalunit-image-frame img {
        max-width: 100%; /* if wider than card → shrink */
        width: auto; /* keep original width if smaller */
        height: auto; /* keep aspect ratio */
        display: block;
    }
.venue-main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
}

.venue-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.venue-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.35rem;
    cursor: pointer;
    flex: 0 0 auto;
}
.unit-main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
}

.unit-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 0.5rem;
}

.unit-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 0.35rem;
    cursor: pointer;
    flex: 0 0 auto;
}
