/*
Theme Name: Divi Child theme of Divi
Theme URI: 
Description: Child theme of Divi theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 4.4.7
*/

/* Generated by Orbisius Child Theme Creator (http://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Tue, 02 Jun 2020 10:25:32 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/


/* Force 16:9 aspect ratio on featured images in blog listings */
.et_pb_post .entry-featured-image-url {
    position: relative !important;
    display: block;
    width: 100%;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
    height: auto !important;
}

.et_pb_post .entry-featured-image-url img,
.et_pb_blog_grid .et_pb_post .entry-featured-image-url img,
.et_pb_salvattore_content .entry-featured-image-url img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/* Related posts - maintain 4:3 ratio */
.rt-img-holder {
    height: auto;
    max-height: 268px;
}


/* Featured image hero on single blog posts - 16:9 ratio */

.single-post .et_pb_module.et_pb_image .et_pb_image_wrap {
    position: relative !important;
    display: block;
    width: 100%;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    overflow: hidden;
    height: 0 !important;
}


.single-post .et_pb_module.et_pb_image .et_pb_image_wrap img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}