/* Laget av samme team, bare på .no. Eneste regelsett for referansene (FORSIDE1). */
.team-references {
  background: var(--navy-2);
  border-top: 1px solid var(--line);
}
/* Sentrert som de andre seksjonene (FORSIDE2, GRANSK2 småpunkt). */
.team-references .sec-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.team-references .sec-head h2 {
  margin-inline: auto;
  color: var(--ink);
  font-size: 1.75rem;
}
.team-references .sec-head p {
  margin-inline: auto;
  font-size: .95rem;
}
.team-reference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.team-reference {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  min-width: 0;
}
.team-reference img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line-strong, #53677a);
  border-radius: 0;
  transition: transform .5s var(--ease, ease);
}
.team-reference:hover img { transform: translateY(-4px); }
.team-reference-copy {
  min-width: 0;
}
.team-reference h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.3;
}
.team-reference p {
  margin-top: .3rem;
  color: var(--ink-dim);
  font-size: .9rem;
  max-width: 34ch;
}
.team-reference a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  min-height: 44px;
  margin-top: .2rem;
  font-size: .9rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.team-reference a:hover {
  color: var(--ink);
}
.team-reference .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 860px) {
  .team-reference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .team-reference-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .team-reference {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 14px;
  }
  .team-reference img {
    aspect-ratio: 1 / 1;
  }
}
