/*
Theme Name: QuSolar Group
Theme URI: https://deenote.nl/qusolar/
Description: Divi child theme for the QuSolar Group website. Intentionally contains no CSS: all presentation is managed natively in Divi.
Version: 2.0.0
Author: Deenote
Author URI: https://www.deenote.nl/
Template: Divi
Text Domain: qusolar-group
*/

/* Divi removes focus outlines; keyboard users need to see where they are. */
#page-container a:focus-visible,
#page-container .mobile_menu_bar:focus-visible { outline: 2px solid #296f37; outline-offset: 3px; }
#page-container .et_pb_bg_layout_dark a:focus-visible,
#page-container #contact-cta a:focus-visible { outline-color: #fff; }
/* The logo box clips anything outside it. */
#page-container .et_pb_menu__logo a:focus-visible { outline-offset: -2px; }

@media (min-width: 981px) {
  /* Seven menu items: a narrower logo and button column keeps the menu on one row from about 1165 px. */
  #page-container .et_pb_row_0_tb_header .et_pb_column_0_tb_header,
  #page-container .et_pb_row_0_tb_header .et_pb_column_2_tb_header { width: 15.875%; }
  #page-container .et_pb_row_0_tb_header .et_pb_column_1_tb_header { width: 57.25%; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  /* Below that, a narrower logo column and closer items keep it on one row down to the mobile menu. */
  #page-container .et_pb_row_0_tb_header .et_pb_column_0_tb_header { width: 11.875%; }
  #page-container .et_pb_row_0_tb_header .et_pb_column_1_tb_header { width: 61.25%; }
  #page-container .et_pb_menu_0_tb_header .et-menu > li { padding-left: 7px; padding-right: 7px; }
}

/* The stacked division marks share a canvas; keep their symbols and baselines aligned. */
#page-container .et_pb_image .et_pb_image_wrap img.division-logo {
  width: auto;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

/* All divisions now share the same brand palette. */
#page-container .et_pb_divider.division-accent::before {
  border-top-color: #286140;
}

/* Partner logos have different proportions; give each the same centred 84px slot. */
#page-container .partner-logos .et_pb_image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  max-width: 170px;
  padding: 0;
}

#page-container .partner-logos .et_pb_image .et_pb_image_wrap img {
  width: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

/* An incomplete last leadership row is centred under the full rows above it. */
#page-container .leadership-row-centered {
  display: flex;
  justify-content: center;
}

@media (max-width: 980px) {
  /* Match the two-up width Divi gives full four-column rows on smaller screens. */
  #page-container .leadership-row-centered > .et_pb_column {
    width: 47.25%;
    margin-right: 0;
  }
}

/*
 * Names of people who don't want to be found through search engines. The name
 * is shown (and read by screen readers) from CSS only, so it never appears in
 * the page HTML that search engines index. Keep their photo file names and alt
 * text neutral as well. Usage: <span class="private-name" data-name="a"></span>
 */
.private-name[data-name="a"]::before { content: "Peter Jan Blok"; }
.private-name[data-name="b"]::before { content: "Jesper van der Zwaag"; }
.private-name[data-name="c"]::before { content: "Koen Smit"; }
.private-name[data-name="d"]::before { content: "Loth Polhuijs"; }
.private-name[data-name="e"]::before { content: "Inna Zou"; }
.private-name[data-name="f"]::before { content: "Hans Hoorndijk"; }
