:root {
  --hero-left-margin: 8%;
  --tablet-title-font-size: 4.25rem;
  --tablet-slogan-font-size: 1.5rem;
  --tablet-slogan-line-height: 1.87rem;
  --laptop-title-font-size: 7.5rem;
  --laptop-slogan-font-size: 2.4rem;
}

body {
  background: white !important;
  font-family: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

header.diversity-header {
  margin-top: 169px;
  margin-bottom: -32px;
}

@media only screen and (max-width: 768px) {
  header.diversity-header {
    margin-top: 169px;
  }
}

@media only screen and (max-width: 630px) {
  header.diversity-header {
    margin-top: 149px;
  }
}

img {
  border: none !important;
}

.hentry {
  margin-top: 0px;
}

.diversity-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.diversity-header-text {
  position: absolute;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: baseline;
  width: 90%;
}

h2.diversity-slogan {
  width: 100%;
}

h1.diversity-page-title {
  color: white;
  z-index: 500;
  position: relative;
  line-height: 2rem;
  font-weight: bold;
}

h2.diversity-slogan {
  color: white;
  z-index: 500;
  position: relative;
  font-size: 1rem;
  margin: 0 5%;
}

.diversity-header-image {
  background: black;
  margin-bottom: -7px;
}

.diversity-header-image img {
  width: calc(100vw - 15px);
  opacity: 62%;
}

@media only screen and (max-width: 490px) {
  h2.diversity-slogan {
    width: 100% !important;
  }
}

@media only screen and (max-width: 768px) {
  h1.diversity-page-title {
    margin-top: 13px;
    margin-bottom: 9px;
  }

  h2.diversity-slogan {
    width: 60%;
  }
}

@media screen and (min-width: 768px) {
  header.diversity-header {
    position: relative;
  }

  .diversity-header-text {
    display: flex;
    justify-content: center;
    position: absolute;
    height: 100%;
    align-items: flex-start;
    width: 90%;
    flex-direction: column;
    left: var(--hero-left-margin);
  }

  h1.diversity-page-title {
    position: relative;
    z-index: 500;
    font-size: var(--tablet-title-font-size);
    line-height: var(--tablet-title-font-size);
    font-weight: bold;
    color: white;
    margin: unset;
    margin-top: -15px;
    margin-bottom: 16px;
  }

  h2.diversity-slogan {
    position: relative;
    z-index: 500;
    font-size: 50px;
    color: white;
    font-weight: normal;
    font-size: var(--tablet-slogan-font-size);
    margin-top: -6px;
    margin-bottom: 0px;
    line-height: var(--tablet-slogan-line-height);
    margin-left: 5px;
  }

  #content {
    margin-top: unset;
  }

  .diversity-header-image img {
    width: calc(100vw - 15px);
  }

  h1.diversity-page-title {
    margin-top: -11px;
  }

  .desktop-skinny-image {
    display: block;
  }

  .mobile-wide-image {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  h1.diversity-page-title {
    margin-top: -24px;
    margin-bottom: 46px;
    font-size: var(--laptop-title-font-size);
  }

  h2.diversity-slogan {
    font-size: var(--laptop-slogan-font-size);
    margin-bottom: 0px;
    line-height: var(--laptop-slogan-font-size);
    margin-left: 5px;
  }
}

.kb-gallery-ul
  .kadence-blocks-gallery-item
  .kadence-blocks-gallery-item-inner
  figure
  .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic
  img {
  object-fit: scale-down;
  border: none;
}
