/* Top gallery slider: photos fill the full slider height (legacy fity/maxy=305) */
#itemGallery .objectsList .objectBlock__img {
    height: 305px;
    max-height: none;
    width: auto;
    object-fit: cover;
}
@media (max-width: 767px) {
    #itemGallery .objectsList .objectBlock__img {
        height: 220px;
    }
}

/* Related-places thumbnail strip: fixed 267.5x174 tiles, images cropped to fill */
.mapSldrThumbs .objectsList__el {
    width: 267.5px;
}
.mapSldrThumbs .objectBlock {
    display: block;
    width: 100%;
    height: 174px;
}
.mapSldrThumbs .objectBlock__img {
    width: 100%;
    height: 174px;
    max-height: none;
    object-fit: cover;
}

/* Detail-page map markers: same artwork as the main map app */
.lia-marker {
    background: none;
    border: 0;
}
.lia-marker--place .lia-marker__shape {
    fill: #dc8e8c;
}
.lia-marker--place:hover .lia-marker__shape {
    fill: #c4423f;
}

/* Embed pages: fixed site header, no footer, iframe fills the rest */
.lia-embed-page .page-content {
    padding-top: var(--headerHt);
}
.lia-embed-main {
    margin: 0;
    line-height: 0;
}
.lia-embed-main iframe {
    display: block;
    width: 100%;
    height: calc(100vh - var(--headerHt));
    border: 0;
}

/* Active place on record-page maps (driven by the slider) */
.lia-marker--hl .lia-marker__shape {
    fill: #c4423f;
}
/* above Leaflet's per-latitude marker z-indexes (~500-600) */
.lia-marker--hl,
.lia-marker:hover {
    z-index: 1000 !important;
}
