/* --- Core layout helpers --- */
.nr-frontpage { margin: 1.25rem 0; }
.nr-section { margin: 2rem 0; }
.nr-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 .85rem 0;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(0,0,0,.12);
}

.nr-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .nr-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nr-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Cards --- */
.nr-card {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.nr-card:hover { border-color: rgba(0,0,0,.18); }

.nr-card-kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .75;
  margin-bottom: .35rem;
}
.nr-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 .5rem 0;
}
.nr-card-title a { text-decoration: none; }
.nr-card-title a:hover { text-decoration: underline; }

.nr-card-excerpt {
  font-size: .95rem;
  line-height: 1.55;
  opacity: .92;
  margin: 0 0 .7rem 0;
}
.nr-card-meta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  font-size: .82rem;
  opacity: .72;
}

/* --- Hero block (seneste) --- */
.nr-hero {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  padding: 1.2rem;
  background: #fff;
}
.nr-hero-title {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 .6rem 0;
}
.nr-hero-title a { text-decoration: none; }
.nr-hero-title a:hover { text-decoration: underline; }

/* --- Lists (seneste) --- */
.nr-list { list-style: none; padding: 0; margin: 0; }
.nr-list-item { padding: .65rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.nr-list-item:last-child { border-bottom: 0; }
.nr-list-title { font-weight: 800; text-decoration: none; }
.nr-list-title:hover { text-decoration: underline; }
.nr-list-meta { font-size: .82rem; opacity: .72; margin-top: .2rem; }

/* --- Lang switch bar --- */
.nr-langbar {
  display: flex;
  gap: .5rem;
  align-items: center;
  padding: .65rem .75rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: #fff;
  width: fit-content;
  margin: .5rem 0 1.1rem 0;
}
.nr-langbar a {
  display: inline-block;
  padding: .38rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
}
.nr-langbar a.is-active {
  border-color: rgba(0,0,0,.22);
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
