/* HEADIT downloads page */

.native-downloads-hero {
  --downloads-hero-header-overlap: 80px;
  position: relative;
  z-index: 0;
  margin-top: calc(-1 * var(--downloads-hero-header-overlap));
  background-color: #0082cb;
  background-image: url("../img/global/hit_kompetenzen.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  overflow: hidden;
}

.native-downloads-hero__inner {
  max-width: var(--hit-container);
  margin: 0 auto;
  min-height: 640px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: var(--downloads-hero-header-overlap) var(--hit-gutter) 0;
  box-sizing: border-box;
}

.native-downloads-hero__content {
  width: 50%;
  max-width: 100%;
  box-sizing: border-box;
}

.native-downloads-hero__title {
  margin: 50px 0 0;
  color: #ffffff;
  font-family: "PT Sans Narrow", "PT Sans", Arial, sans-serif;
  font-size: 55px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.native-downloads-hero__subtitle {
  margin: 120px 0 50px;
  color: #ffffff;
  font-family: "PT Sans Narrow", "PT Sans", Arial, sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.native-downloads {
  padding: 50px 15px 70px;
  background: #f2f2f2;
  color: #6c6c6c;
  font-family: "PT Sans", Arial, sans-serif;
}

.native-downloads__inner {
  max-width: var(--hit-container);
  margin: 0 auto;
  padding: 0 var(--hit-gutter);
  box-sizing: border-box;
}

.native-downloads__header {
  max-width: 720px;
  margin-bottom: 28px;
}

.native-downloads__header h2 {
  margin: 0 0 16px;
  color: #2a82c9;
  font-family: "PT Sans Narrow", "PT Sans", Arial, sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.15;
}

.native-downloads__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.native-downloads__card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background: #fff;
}

.native-downloads__preview {
  display: flex;
  min-height: 185px;
  align-items: center;
  justify-content: center;
  padding: 34px 30px;
}

.native-downloads__preview--light {
  background: #fff;
}

.native-downloads__preview--blue {
  background: #0082ca;
}

.native-downloads__preview img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
}

.native-downloads__content {
  padding: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.native-downloads__content h3 {
  margin: 0 0 5px;
  color: #1f1f1f;
  font-family: "PT Sans Narrow", "PT Sans", Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.2;
}

.native-downloads__content p {
  margin: 0 0 17px;
  font-size: 18px;
  line-height: 1.45;
}

.native-downloads__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.native-downloads__links a,
.native-downloads__links a:visited {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 5px;
  background: #2a82c9;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.native-downloads__links a:hover,
.native-downloads__links a:focus-visible {
  background: #2374b5;
  color: #fff;
  text-decoration: none;
}

.native-downloads__links a:focus-visible {
  outline: 2px solid rgba(42, 130, 201, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1366px) {
  .native-downloads-hero {
    height: 550px;
  }

  .native-downloads-hero__inner {
    min-height: 550px;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .native-downloads-hero__inner {
    padding-left: 11px;
    padding-right: 11px;
  }

  .native-downloads-hero__title {
    font-size: 44px;
  }
}

@media (max-width: 1024px) {
  .native-downloads-hero__inner {
    min-height: 450px;
  }

  .native-downloads-hero__title,
  .native-downloads-hero__subtitle {
    font-size: 35px;
  }
}

@media (max-width: 767px) {
  .native-downloads-hero {
    height: auto;
    min-height: 359px;
  }

  .native-downloads-hero__inner {
    min-height: 300px;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: calc(125px + var(--downloads-hero-header-overlap)) 15px 50px;
  }

  .native-downloads-hero__content {
    width: 100%;
    text-align: center;
  }

  .native-downloads-hero__title {
    margin: 25px 0 0;
    font-size: 30px;
  }

  .native-downloads-hero__subtitle {
    margin: 25px 0 0;
    font-size: 30px;
  }

  .native-downloads {
    padding: 40px 10px 50px;
  }

  .native-downloads__inner {
    padding-right: 0;
    padding-left: 0;
  }

  .native-downloads__grid {
    grid-template-columns: 1fr;
  }

  .native-downloads__preview {
    min-height: 165px;
    padding: 30px 24px;
  }
}
