/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Author: Mirko Schubert
Author URI: https://mirkoschubert.de
Description: A Divi Child Theme with lots of GDPR and page speed optimizations and some tweaks and bug fixed for the parent theme.
Tags: child-theme
Version: 2.3.0
Requires at least: 5.0
Tested up to: 6.0.1
Requires PHP: 7.4
License: GNU General Public License version 3.0
License URI: http: //www.gnu.org/licenses/gpl-3.0.html
Template: Divi
Text Domain: divi-child
Domain Path: /languages
*/


/* For adding CSS rules to this file please use the .child class! */

/** VARIABLES **/

:root {
  --header-height: 64px;
}

/** -------- Add your own code after this! -------- **/

body.child {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 100%;
  font-weight: 400;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

.child .hero .et_pb_row {
  display: grid;
  grid-template-columns: 38.2% 61.8%;
  justify-items: stretch;
  width: 100%!important;
  gap: 0;
}

.child .hero .et_pb_row .et_pb_column_0 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: auto !important;
  height: max-content;
  margin-right: 0 !important;
}

.child .hero .et_pb_row .et_pb_column_1 {
  width: auto !important;
  margin-right: 0 !important;
  justify-self: stretch;
}

.child .hero .et_pb_row .et_pb_column_1 .et_pb_image,
.child .hero .et_pb_row .et_pb_column_1 .et_pb_image_wrap {
  height: 100%;
}

.child .hero .et_pb_row .et_pb_column_1 .et_pb_image img {
  object-fit: cover;
  object-position: center center;
  height: 100%;
}

@media only screen and (max-width: 980px) {
  .child .hero .et_pb_row {
    grid-template-columns: 1fr;
  }
  .child .hero .et_pb_row .et_pb_column_0 {
    margin-bottom: 0 !important;
  }
  .child .hero .et_pb_row .et_pb_column_1 .et_pb_image_wrap {
    display: block;
  }
  .child .hero .et_pb_row .et_pb_column_1 .et_pb_image img {
    aspect-ratio: 16/9;
    width: 100%;
  }
}