/* K16-8: lavmælt, tilgjengelig bunntekst og tilbake-til-toppen-kontroll. */
.lb-footer-lbo-note {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 17px auto 0;
  padding: 17px 18px 1px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .005em;
  border-top: 1px solid rgba(21, 52, 88, .14);
  color: #405874;
}
.lb-footer-lbo-note strong {font-weight: 700;}
.lb-footer-lbo-note em {font-style: italic;}
.site-footer .lb-footer-lbo-note {
  color: #d1daeb;
  border-top-color: rgba(222, 230, 241, .21);
}
.lb-back-to-top {
  position: fixed;
  z-index: 90;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dce3eb;
  border-radius: 50%;
  background: #fff;
  color: #102b50;
  box-shadow: 0 2px 10px rgba(16, 43, 80, .09);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(7px);
  transition: background-color .18s ease, box-shadow .18s ease, opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.lb-back-to-top.lb-back-to-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.lb-back-to-top svg {display:block;width:22px;height:22px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lb-back-to-top:hover {background:#f5f7fa;box-shadow:0 3px 13px rgba(16,43,80,.13);}
.lb-back-to-top:focus-visible {outline:3px solid #b27b15;outline-offset:3px;}
.lb-back-to-top::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  right: -1px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #102b50;
  color: #fff;
  white-space: nowrap;
  font: 500 12px/1.4 Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(16,43,80,.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
}
.lb-back-to-top:hover::after, .lb-back-to-top:focus-visible::after {opacity: 1;visibility: visible;}
@media (max-width: 600px) {
  .lb-back-to-top {right:max(16px, env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));width:44px;height:44px;}
  .lb-footer-lbo-note {font-size:12px;margin-top:15px;padding:16px 17px 0;}
}
@media (prefers-reduced-motion: reduce) {
  .lb-back-to-top, .lb-back-to-top::after {transition:none;}
}

/* K16-9: Hold LBO-informasjonen over den eksisterende gullstreken i lys footer. */
.lb-new-oversikt .ov-footer > .lb-footer-lbo-note {
  max-width: 1120px;
  margin: 0 auto 24px;
  padding: 0 18px;
  border-top: 0;
  color: #405874;
  font-size: 12.5px;
  line-height: 1.65;
}
/* La fjellillustrasjonen være en ren dekorasjon nedenfor opphavsrettslinjen. */
.lb-new-oversikt .ov-footer .ov-footer-bottom { padding-bottom: 94px; }
@media (max-width: 600px) {
  .lb-new-oversikt .ov-footer > .lb-footer-lbo-note {
    margin-bottom: 20px;
    padding: 0 18px;
    font-size: 12px;
  }
}


/* K16-10: Balansert, midtstilt LBO-opplysning på mørkeblå footere.
   K16-9s lyse firekolonne-footer er helt uendret. */
.site-footer.site-footer--lbo > .lb-footer-lbo-note {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1080px;
  margin: 29px auto 0;
  padding: 16px 15px;
  border-top: 1px solid rgba(222, 230, 241, .25);
  border-bottom: 1px solid rgba(222, 230, 241, .25);
  color: #dce5f1;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
}
.site-footer.site-footer--lbo > .lb-footer-lbo-note strong {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  font-weight: 700;
}
.site-footer.site-footer--lbo > .lb-footer-lbo-note strong em {
  font-style: italic;
}
@media (min-width: 1100px) {
  .site-footer.site-footer--lbo > .lb-footer-lbo-note {
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .site-footer.site-footer--lbo > .lb-footer-lbo-note {
    max-width: 100%;
    margin-top: 25px;
    padding: 16px 9px;
    font-size: 12.5px;
    white-space: normal;
  }
}


/* K16-11: Stram footerjustering godkjent 3. november 2026.
   Begge footer-varianter har den samme diskré gullstreken RETT UNDER
   LBO-opplysningen. Ingen ekstra bunnluft i den lyse eller mørke footeren. */
.lb-new-oversikt .ov-footer > .lb-footer-lbo-note {
  margin-bottom: 7px;
}
/* Fjern K16-9s unødvendige 94 px bunnpadding: tilbake til originalen. */
.lb-new-oversikt .ov-footer .ov-footer-bottom {
  padding-bottom: 17px;
}
/* Én gullstrek under teksten, lik den i lys footer. */
.site-footer.site-footer--lbo > .lb-footer-lbo-note {
  max-width: 1120px;
  margin-top: 19px;
  padding: 0 15px 7px;
  border-top: 0;
  border-bottom: 1px solid #cfb47c;
}
/* Fjern overflødig bunnluft på alle mørkeblå LBO-sider. */
.site-footer.site-footer--lbo {
  padding-bottom: 13px;
}
@media (max-width: 700px) {
  .site-footer.site-footer--lbo {
    padding-bottom: 13px;
  }
  .site-footer.site-footer--lbo > .lb-footer-lbo-note {
    margin-top: 17px;
    padding-bottom: 7px;
  }
  .lb-new-oversikt .ov-footer > .lb-footer-lbo-note {
    margin-bottom: 7px;
  }
}
