/*
Theme Name: Motivar Child
Description: Motivar Child Theme
Author: Motivar
Template: motivar
Version: 1.0
*/

@import url("../motivar/style.css");

/* Image fit helpers used by flx_image_element()/flx_sync_image_element() class "cover"/"contain".
   The old sbp Filox CSS shipped them; the current Filox does not.
   "cover" fills its positioned parent with object-fit instead of the old min-size + zoom:1% hack
   (guest/style.min.css: img.cover{zoom:1%}): since Chrome 128 standardised zoom, that hack
   scales min-height:100% by 100x and the card shows a blown-up corner of the photo. */
.cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    max-height: none;
    object-fit: cover;
}

html img.cover {
    zoom: normal;
}

.contain {
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}