html, body {max-width: 100%;overflow-x: hidden;}
:focus {outline: 0 !important;box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;}

/* Nyheds-prev/next */
.nyhed-nav {
  margin: 2rem;
  color: #fff!important;
}
.nyhed-nav a {
    color: #fff!important;
    text-decoration: none!important;
}
.nyhed-nav a:hover {
    color: #D28C0E!important;
}


.nyhed-nav__list {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* venstre / midt / højre */
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Lås hvert item til sin kolonne (samme række) */
.nyhed-nav__item { grid-row: 1; }
.nyhed-nav__item--prev { grid-column: 1; justify-self: start; }
.nyhed-nav__item--overview { grid-column: 2; justify-self: center; }
.nyhed-nav__item--next { grid-column: 3; justify-self: end; text-align: right; }

.nyhed-nav__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  text-decoration: none;
  color: #fff;
  column-gap: 0.75rem;
}

.nyhed-nav__item--next .nyhed-nav__link {
  grid-template-columns: 1fr auto;
}

.nyhed-nav__link:hover,
.nyhed-nav__overview-link:hover {
  text-decoration: underline;
}

.nyhed-nav__icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
}

.nyhed-nav__icon {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.85;
}

.nyhed-nav__text-col { line-height: 1.3; }
.nyhed-nav__meta { font-size: 0.85rem; opacity: 0.8; display: block; }
.nyhed-nav__title { font-weight: 600; display: block; }

.nyhed-nav__overview-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
