.dok-container {
    background-color: #f9f9f9;
  }
.hero-wrapper {
    width: 100%;
    overflow: hidden;
  }
  
  .hero-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f0f0f0; /* fallback in case image doesn't load */
  }
  .hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain; /* Ensures full image is visible */
  }

  /* Overlay content inside image */
  .hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
  }

  .hero-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
  }

  .image-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  margin: 0;
  color: #fff;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.45);
  padding: 2px 6px;
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  pointer-events: none; /* valgfritt */
}

  .partners-container {
    padding: 1rem;
    background-color: #f9f9f9;
    flex: 1;
    min-height: calc(10vh - 15px); /* Adjust based on header/footer height */
  }

  .card-body {
    padding: 1.5rem;
    background-color: #f9f9f9;
    /*border: 1px solid #ddd;
    border-radius: 5px;*/
  }



  .col-md-6 {
    flex: 1 1 calc(50% - 1rem); /* 50% width minus gap */
    max-width: calc(50% - 1rem);
    margin-bottom: 15px;
  }

  .list-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition:
      background-color 0.3s ease,
      box-shadow 0.3s ease;
  }

  .list-group-item:hover {
    background-color: #e6f7ff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .arrow-icon {
    margin-left: 1rem;
    color: #007bff;
    transition: transform 0.3s ease;
  }

  .list-group-item:hover .arrow-icon {
    transform: translateX(5px);
  }

  .hero-image-container {
  position: relative;
  height: clamp(200px, 35vh, 420px);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}
.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(12px, 2.5vw, 28px);
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 60%);
}
.hero-title {
  color: #fff;
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}
.image-credit {
  color: rgba(255,255,255,.85);
  font-size: clamp(.75rem, .65rem + .25vw, .9rem);
  margin-top: .35rem;
}
/* Litt strammere på mobil */
@media (max-width: 576px) {
  .hero-image-container {
    height: clamp(160px, 24vh, 260px);
  }
}
/* Litt luft før innholdet under */
.partners-container {
  margin-top: 1.25rem;
}