/*
 * ---------------------------------------------------------------------
 * Modul 027: Zufallsmix Bilder einheitlich
 * ---------------------------------------------------------------------
 */

/*
 * Das bestehende Newspaper-Raster, seine Spaltenzahl, Abstände und Außenränder
 * bleiben unangetastet. Ausschließlich die Bildflächen im Zufallsmix werden
 * auf dasselbe Seitenverhältnis festgelegt.
 */
body.home .exthoria-random-bilder .td-image-container,
body.home .exthoria-random-bilder .td-module-thumb,
body.home .exthoria-random-bilder .td-module-thumb .td-image-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.home .exthoria-random-bilder .td-module-thumb img.entry-thumb,
body.home .exthoria-random-bilder .td-module-thumb .td-image-wrap > img.entry-thumb {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
}

/* Newspaper kann die Vorschau auch als CSS-Hintergrund ausgeben. */
body.home .exthoria-random-bilder .td-module-thumb span.entry-thumb.td-thumb-css {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    display: block !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
