#qodef-property-media {
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

#qodef-property-media.qodef-property-media--slider-shortcode {
    position: initial;
    width: 841px;
}

#qodef-property-media.qodef-property-media--slider-shortcode .qodef-image-wrapper {
    border-radius: 5px;
    overflow: hidden;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large .qodef-e {
    column-gap: 20px;
    display: grid;
    grid-template-areas: 'large normal normal' 'large normal normal';
    grid-template-columns: 2.7fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 41vw;
    max-height: 660px;
    row-gap: 20px;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large .qodef-e-item {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large .qodef-e-item:nth-child(1) {
    grid-area: large;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large .qodef-e-item:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(5)) {
    display: none;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large .qodef-e-item-button {
    left: 50%;
    position: absolute;
    bottom: 0;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

#qodef-property-media.qodef-property-media--gallery-custom-first-large img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
