.kompetanse-hero.text-bottom .kompetanse-hero-content {
  margin-bottom: 0;
  margin-top: 5rem;
}
@container main (max-width: 79.9375rem) {
  .kompetanse-hero.text-bottom .kompetanse-hero-content {
    margin-top: 3.75rem;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero.text-bottom .kompetanse-hero-content {
    margin-top: 6.25rem;
  }
}
.kompetanse-hero .kompetanse-hero-content {
  margin-top: 4.375rem;
  margin-bottom: 5rem;
}
@container main (max-width: 79.9375rem) {
  .kompetanse-hero .kompetanse-hero-content {
    margin-bottom: 3.75rem;
    margin-top: 0;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-content {
    margin-bottom: 6.25rem;
    -webkit-transform: none !important;
            transform: none !important;
  }
}
.kompetanse-hero .kompetanse-hero-content h1 {
  font: var(--h1-font);
  display: inline;
}
.kompetanse-hero .kompetanse-hero-content .preheader {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font: var(--body-font);
  background-color: var(--purple-opacity);
  padding: 0.25rem 0.75rem;
  margin-right: 0.625rem;
  vertical-align: baseline;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
}
.kompetanse-hero .kompetanse-hero-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr 1.5rem 1fr;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 768px) {
  .kompetanse-hero .kompetanse-hero-gallery {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 390px) {
  .kompetanse-hero .kompetanse-hero-gallery {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.kompetanse-hero .kompetanse-hero-gallery .gallery-item {
  will-change: transform;
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item {
    -webkit-transform: none !important;
            transform: none !important;
  }
}
.kompetanse-hero .kompetanse-hero-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(1) {
  aspect-ratio: 608/384;
  -ms-grid-column: 1;
  -ms-grid-column-span: 4;
  grid-column: 1/5;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 12;
    grid-column: 1/13;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }
}
.kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(2) {
  margin-top: 6rem;
  aspect-ratio: 768/983;
  margin-left: -6rem;
  -ms-grid-column: 5;
  -ms-grid-column-span: 5;
  grid-column: 5/10;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
}
@container main (min-width: 90rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(2) {
    -ms-grid-column: 5;
    -ms-grid-column-span: 4;
    grid-column: 5/9;
  }
}
@container main (max-width: 79.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(2) {
    -ms-grid-column: 5;
    -ms-grid-column-span: 5;
    grid-column: 5/10;
    margin-top: 3.75rem;
    margin-left: -3.5rem;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(2) {
    margin-top: 0;
    -ms-grid-column: 1;
    -ms-grid-column-span: 12;
    grid-column: 1/13;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    margin-left: 0;
  }
}
.kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(3) {
  margin-top: 12rem;
  aspect-ratio: 801/544;
  -ms-grid-column: 8;
  -ms-grid-column-span: 5;
  grid-column: 8/13;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
}
@container main (max-width: 79.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(3) {
    margin-top: 7.5rem;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery .gallery-item:nth-child(3) {
    margin-top: 0;
    -ms-grid-column: 1;
    -ms-grid-column-span: 12;
    grid-column: 1/13;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
  }
}
.kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(1) {
  aspect-ratio: 801/544;
  margin-top: 0;
  -ms-grid-column: 8;
  -ms-grid-column-span: 5;
  grid-column: 8/13;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
  z-index: 1;
}
@container main (min-width: 48rem) and (max-width: 79.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(1) {
    -ms-grid-column: 6;
    -ms-grid-column-span: 7;
    grid-column: 6/13;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 12;
    grid-column: 1/13;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }
}
.kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(2) {
  margin-left: 0;
  -ms-grid-column: 5;
  -ms-grid-column-span: 4;
  grid-column: 5/9;
  margin-top: 8.9375rem;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1/2;
  aspect-ratio: 768/983;
  z-index: 2;
}
@container main (min-width: 120rem) {
  .kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(2) {
    -ms-grid-column: 4;
    -ms-grid-column-span: 5;
    grid-column: 4/9;
  }
}
@container main (min-width: 48rem) and (max-width: 79.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(2) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 7;
    grid-column: 1/8;
  }
}
@container main (max-width: 47.9375rem) {
  .kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(2) {
    margin-top: 0;
    -ms-grid-column: 1;
    -ms-grid-column-span: 12;
    grid-column: 1/13;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    margin-left: 0;
  }
}
.kompetanse-hero .kompetanse-hero-gallery.has-two-images .gallery-item:nth-child(3) {
  display: none;
}

.kompetanse-hero-gallery {
  position: relative;
}

.kompetanse-hero-gallery .gallery-item {
  will-change: transform;
}