/*
 * INTERSECTECH — VEIVISER TIL STILARKET
 *
 * 01 Farger og skrift       02 Grunnregler       03 Toppfelt og meny
 * 04 Forside og knapper     05 Seksjoner        06 Prosjektkort
 * 07 Arbeidsprinsipper      08 Bunnfelt         09 Undersider
 * 10 Artikler og faktapanel 11 Utvikling        12 Om-siden
 * 13 Feilside               14–18 Skjermbredder 19 Redusert bevegelse
 * 20 Kompakt desktop-forside (overstyringer)
 * 21 Artikkellesing: tekstbredde, skrift, kontrast og avstander
 *
 * Vanlige endringer:
 * Farger og sidebredde: :root i del 01.
 * Logo og meny: .brand img og .main-nav i del 03.
 * Forsidens overskrift: .hero h1 i del 04 og 20.
 * Mobilmeny: .menu-toggle i del 03 og navigasjonsreglene i del 16.
 * Mobiltilpasninger: del 16–18.
 *
 * Regler lenger nede kan overstyre tidligere regler. Kontroller også
 * mediereglene ved endringer. Rekkefølgen er bevart fra originalen.
 */

/* 01. Felles farger, skrift og maksimal bredde */

:root {
  color-scheme: dark;
  --bg: #080f18;
  --surface: #101b28;
  --surface-2: #142233;
  --line: #233247;
  --text: #eaf0f6;
  --muted: #9aaabd;
  --cyan: #70d7e9;
  --blue: #829fee;
  --max: 1240px;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none
}


/* 02. Grunnregler og tilgjengelighet */

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

button {
  font: inherit
}

button,a {
  -webkit-tap-highlight-color: transparent
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px
}

::selection {
  color: #080f18;
  background: var(--cyan)
}


/* 03. Sidebredde, toppfelt, logo og navigasjon */

.container {
  width: min(var(--max),calc(100% - 88px));
  margin-inline: auto
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #0b1420
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 40px
}

.brand {
  margin-right: auto;
  flex-shrink: 0
}

.brand img {
  width: 218px
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px
}

.main-nav a {
  color: #a8b8c9;
  position: relative;
  padding: 12px 0
}

.main-nav a:hover,.main-nav a[aria-current=page] {
  color: #f0f8ff
}

.main-nav a[aria-current=page]:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  background: var(--cyan)
}

.language {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
  font: 11px ui-monospace,SFMono-Regular,monospace
}

.language a {
  color: #7f93aa;
  padding: 6px 2px
}

.language a[aria-current=page] {
  color: var(--cyan)
}

.language span {
  color: #455970
}

.menu-toggle {
  display: none;
  border: 1px solid #35465a;
  border-radius: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  padding: 10px;
  flex-shrink: 0
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #d8e7f6;
  margin: 4px 0
}

.skip {
  position: absolute;
  top: -100px;
  left: 18px;
  z-index: 10;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--bg)
}

.skip:focus {
  top: 12px
}


/* 04. Forside: overskrift, knapper og illustrasjon */

.hero {
  padding: 75px 0 65px;
  background: radial-gradient(ellipse at 85% 25%,#12273b77,transparent 57%);
  border-bottom: 1px solid var(--line)
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  gap: 50px;
  align-items: center
}

.eyebrow {
  font: 10px ui-monospace,SFMono-Regular,monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 24px
}
.hero h1 {
    font-size: 30px !important;
}
/*.hero h1 {
  font-size: clamp(33.15px,3.825vw,56.1px);
  line-height: 1.12;
  font-weight: 550;
  letter-spacing: -2.8px;
  margin: 0 0 25px
}*/

.hero h1 span {
  color: var(--cyan)
}

.hero-copy {
  font-size: 15px;
  color: #a8b8ca;
  line-height: 1.9;
  max-width: 560px;
  margin: 0
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #132234;
  font-size: 12px;
  font-weight: 600;
  min-height: 46px
}

.button.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #09212d
}

.button:hover {
  border-color: #5d7d99;
  background: #1b3045
}

.button.primary:hover {
  background: #9ce8f3;
  border-color: #9ce8f3
}

.text-link {
  font-size: 12px;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #527b89
}

.text-link:hover {
  text-decoration-color: var(--cyan)
}

.hero-visual {
  position: relative
}

.hero-visual img {
  width: 100%
}

.visual-caption {
  font: 9px ui-monospace,monospace;
  color: #7790a9;
  text-align: right;
  margin: 12px 6px 0
}

.hero-footnote {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 50px;
  font: 10px ui-monospace,monospace;
  color: #8b9db1
}

.hero-footnote .line {
  height: 1px;
  width: 32px;
  background: #345166
}

.hero-footnote strong {
  font-weight: 400;
  color: #bdcddd
}


/* 05. Seksjoner og overskrifter */

.section {
  padding: 65px 0
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px
}

.section-heading .eyebrow {
  color: #839ab3;
  margin-bottom: 13px
}

h2 {
  font-size: clamp(25px,3vw,35px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 0
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 550;
  letter-spacing: -.35px;
  margin: 0 0 15px
}

.section-description {
  max-width: 580px;
  color: var(--muted);
  font-size: 13px;
  margin: 15px 0 0;
  line-height: 1.9
}


/* 06. Prosjektkort */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px
}

.project-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0
}

.project-art {
  position: relative;
  background: #101e2d;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 1.85;
  overflow: hidden
}

.project-art img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.art-label {
  position: absolute;
  bottom: 13px;
  left: 20px;
  font: 8px ui-monospace,monospace;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: #0a121ce6;
  padding: 4px 8px;
  border: 1px solid #2a3f55;
  color: #8fa7bd
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px
}

.project-number {
  font: 10px ui-monospace,monospace;
  color: #69829d
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ddc38e;
  background: #40372144;
  border: 1px solid #68573777;
  border-radius: 4px;
  font: 9px ui-monospace,monospace;
  padding: 4px 8px;
  white-space: nowrap
}

.status:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: currentColor
}

.project-body h3 {
  font-size: 24px;
  margin-bottom: 13px
}

.project-body>p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 20px
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 23px
}

.project-features span {
  font: 9px ui-monospace,monospace;
  color: #94abc3;
  padding: 5px 8px;
  border: 1px solid #2a3c51;
  border-radius: 3px
}

.project-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: auto
}

.project-bottom small {
  font-size: 9px;
  color: #7f95ad
}


/* 07. Arbeidsprinsipper og avslutning */

.philosophy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c1521
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.35fr);
  gap: 75px
}

.philosophy h2 {
  max-width: 350px
}

.principles {
  display: grid;
  gap: 27px
}

.principle {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px
}

.principle>span {
  font: 11px ui-monospace,monospace;
  color: #5a7c98;
  padding-top: 5px
}

.principle h3 {
  font-size: 15px;
  margin-bottom: 8px
}

.principle p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0
}

.closing {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 45px 0
}

.closing h2 {
  font-size: 24px
}

.closing p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0
}


/* 08. Bunnfelt */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 23px;
  color: #7e93a9
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px
}

.footer-brand {
  font-size: 17px;
  font-weight: 650;
  color: #c5d4e4
}

.footer-tagline {
  font-size: 11px;
  margin: 5px 0 0
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 11px;
  color: #9aafc4
}

.footer-links a:hover {
  color: var(--cyan)
}

.footer-bottom {
  border-top: 1px solid #1b2b3e;
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px
}


/* 09. Undersider og prosjektinformasjon */

.page-intro {
  padding: 62px 0 42px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg,#101e2e,#0b1420 75%)
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 10px;
  color: #8a9fb7;
  margin: 0 0 25px
}

.breadcrumb a:hover {
  color: var(--cyan)
}

.page-intro h1 {
  font-size: clamp(35px,4.5vw,55px);
  line-height: 1.14;
  letter-spacing: -2px;
  font-weight: 500;
  max-width: 880px;
  margin: 0 0 20px
}

.page-intro .lead {
  max-width: 730px;
  color: #a0b2c6;
  font-size: 15px;
  line-height: 1.9;
  margin: 0
}

.page-intro .eyebrow {
  margin-bottom: 20px
}

.status-note {
  border: 1px solid #3d4c5c;
  border-left: 2px solid #a69b72;
  border-radius: 4px;
  padding: 17px 21px;
  font-size: 12px;
  line-height: 1.85;
  color: #aabace;
  background: #111d2b;
  margin: 30px 0
}

.status-note strong {
  color: #dfcba2;
  font-weight: 500
}

.project-directory .project-body h3 {
  font-size: 25px
}

.purpose {
  font-size: 12px;
  color: #b6c6d8;
  line-height: 1.9;
  border-left: 1px solid #36506a;
  padding-left: 15px;
  margin-bottom: 23px
}

.purpose strong {
  display: block;
  font: 9px ui-monospace,monospace;
  color: #7e9ab5;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px
}

.project-tech {
  font-size: 10px;
  color: #8299b2;
  line-height: 1.8;
  margin-bottom: 20px
}

.project-tech strong {
  font-weight: 500;
  color: #afc2d6
}


/* 10. Artikkelinnhold og faktapanel */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 60px;
  align-items: start
}

.reading {
  min-width: 0
}

.reading section {
  margin-bottom: 42px;
  scroll-margin-top: 30px
}

.reading h2 {
  font-size: 26px;
  margin-bottom: 19px
}

.reading h3 {
  font-size: 16px;
  margin: 26px 0 10px
}

.reading p,.reading li {
  font-size: 13px;
  color: #a5b6ca;
  line-height: 1.95
}

.reading p {
  margin: 0 0 17px
}

.reading ul {
  padding-left: 20px
}

.reading li {
  padding-left: 5px;
  margin-bottom: 9px
}

.reading strong {
  font-weight: 550;
  color: #cfdeed
}

.reading figure {
  margin: 25px 0
}

.reading figure img {
  width: 100%;
  background: #101d2c;
  border: 1px solid var(--line);
  border-radius: 7px
}

.reading figcaption {
  font-size: 10px;
  color: #8299b2;
  line-height: 1.8;
  margin: 13px 0 0
}

.fact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
  padding: 25px;
  position: sticky;
  top: 24px
}

.fact-panel h2 {
  font: 10px ui-monospace,monospace;
  letter-spacing: 1px;
  color: #b8ccde;
  margin-bottom: 25px
}

.fact-panel dl {
  margin: 0
}

.fact-panel dt {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #748da6;
  margin: 20px 0 7px
}

.fact-panel dd {
  font-size: 11px;
  color: #a5bbd0;
  margin: 0;
  line-height: 1.8
}

.fact-panel .text-link {
  margin-top: 28px;
  font-size: 10px
}


/* 11. Innholdslenker og utviklingstrinn */

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 27px;
  font-size: 11px;
  color: #8eacc6
}

.toc a {
  text-decoration: underline;
  text-underline-offset: 5px
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px
}

.step-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px
}

.step-card>span {
  display: block;
  color: #6b90b2;
  font: 11px ui-monospace,monospace;
  margin-bottom: 24px
}

.step-card h2 {
  font-size: 21px;
  margin-bottom: 14px
}

.step-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.95;
  margin: 0
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin-top: 30px;
  overflow: hidden
}

.workflow div {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  background: var(--surface)
}

.workflow div:last-child {
  border-right: 0
}

.workflow span {
  display: block;
  font: 9px ui-monospace,monospace;
  color: #6c92b1;
  margin-bottom: 13px
}


/* 12. Om-siden */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 70px;
  align-items: start
}

.about-statement {
  font-size: clamp(26px,3.4vw,40px);
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -1.2px;
  margin: 0
}

.about-statement span {
  color: var(--cyan)
}

.about-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
  margin: 0 0 20px
}

.values {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 35px
}

.values p {
  margin-bottom: 16px
}

.values strong {
  display: block;
  color: #cddceb;
  font-weight: 500
}


/* 13. Feilsiden */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 70px 0
}

.error-page h1 {
  font-size: clamp(37px,5vw,65px);
  letter-spacing: -2px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 20px
}

.error-page p {
  color: var(--muted);
  max-width: 500px;
  font-size: 14px;
  line-height: 1.9
}

.error-page .hero-actions {
  margin-top: 28px
}


/* 14. Store skjermer: fra 1600 px */

@media(min-width:1600px) {
  .hero {
    padding: 95px 0 75px
  }

}


/* 15. Skjermer til og med 1100 px */

@media(max-width:1100px) {
  .container {
    width: calc(100% - 56px)
  }

  .header-inner {
    gap: 25px
  }

  .brand img {
    width: 195px
  }

  .main-nav {
    gap: 22px;
    font-size: 12px
  }

  .language {
    padding-left: 18px
  }

  .hero-grid {
    gap: 25px
  }

  .hero h1 {
    letter-spacing: -2px
  }

  .philosophy-grid {
    gap: 45px
  }

  .content-grid {
    gap: 35px;
    grid-template-columns: minmax(0,1fr) 240px
  }

}


/* 16. Nettbrett og mobilmeny: til og med 800 px */

@media(max-width:800px) {
  .header-inner {
    min-height: 78px;
    gap: 20px;
    flex-wrap: wrap;
    padding: 17px 0
  }

  .brand img {
    width: 195px
  }

  .menu-toggle {
    display: block;
    order: 2
  }

  .language {
    order: 1;
    margin-left: 0;
    padding-left: 17px
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    gap: 5px 25px
  }

  .js .main-nav {
    display: none
  }

  .js .main-nav.is-open {
    display: flex
  }

  .main-nav a {
    font-size: 13px
  }

  .hero {
    padding: 45px 0
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .hero h1 {
    font-size: clamp(38px,6.5vw,58px)
  }

  .hero-copy {
    max-width: 630px
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%
  }

  .hero-footnote {
    margin-top: 26px
  }

  .section {
    padding: 44px 0
  }

  .section-heading {
    align-items: flex-start;
    gap: 15px
  }

  .project-body {
    padding: 23px
  }

  .project-body h3 {
    font-size: 22px
  }

  .project-bottom {
    flex-wrap: wrap;
    gap: 12px
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 35px
  }

  .philosophy h2 {
    max-width: none
  }

  .principles {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .closing {
    padding: 34px 0
  }

  .content-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 24px
  }

  .fact-panel {
    position: static;
    order: -1;
    padding: 22px
  }

  .fact-panel dl {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px
  }

  .fact-panel dl div {
    min-width: 0
  }

  .fact-panel dt {
    margin-top: 0
  }

  .fact-panel .text-link {
    margin-top: 20px
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .about-statement {
    max-width: 650px
  }

  .workflow {
    grid-template-columns: 1fr
  }

  .workflow div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 24px
  }

  .workflow div:last-child {
    border-bottom: 0
  }

  .workflow span {
    margin: 0
  }

  .page-intro {
    padding: 43px 0 34px
  }

}


/* 17. Mobil: til og med 560 px */

@media(max-width:560px) {
  .container {
    width: calc(100% - 36px)
  }

  .header-inner {
    gap: 12px
  }

  .brand img {
    width: 165px
  }

  .language {
    padding-left: 11px;
    gap: 8px;
    font-size: 10px
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 7px
  }

  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.8px
  }

  .hero-copy {
    font-size: 13px
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px
  }

  .hero-actions {
    gap: 10px
  }

  .button {
    font-size: 11px;
    padding: 11px 15px;
    gap: 17px
  }

  .hero-visual {
    margin-top: 5px
  }

  .hero-footnote {
    font-size: 9px;
    gap: 10px
  }

  .section-heading {
    display: block
  }

  .section-heading>.text-link {
    margin-top: 19px
  }

  .project-grid,.step-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .project-body {
    padding: 24px
  }

  .project-art {
    aspect-ratio: 1.95
  }

  .project-body h3 {
    font-size: 24px
  }

  .project-bottom {
    flex-wrap: nowrap
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 25px
  }

  .principle {
    grid-template-columns: 25px 1fr;
    gap: 14px
  }

  .closing {
    display: block
  }

  .closing>.text-link {
    margin-top: 20px
  }

  .footer-top {
    display: block
  }

  .footer-links {
    margin-top: 23px;
    gap: 20px
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px
  }

  .page-intro h1 {
    font-size: 37px;
    letter-spacing: -1.5px
  }

  .page-intro .lead {
    font-size: 13px
  }

  .fact-panel dl {
    grid-template-columns: 1fr 1fr
  }

  .fact-panel h2 {
    margin-bottom: 20px
  }

  .step-card {
    padding: 24px
  }

  .about-statement {
    font-size: 29px
  }

  .reading h2 {
    font-size: 24px
  }

  .status-note {
    padding: 16px 18px
  }

  .visual-caption {
    font-size: 8px
  }

  .toc {
    gap: 11px 18px
  }

}


/* 18. Ekstra smale skjermer: til og med 350 px */

@media(max-width:350px) {
  .brand img {
    width: 143px
  }

  .header-inner {
    gap: 9px
  }

  .language {
    padding-left: 9px
  }

  .hero h1 {
    font-size: 34px
  }

}


/* 19. Redusert bevegelse */

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,*::before,*::after {
    animation: none!important;
    transition: none!important
  }

}


/* 20. Kompakt desktop-forside. Overstyrer tidligere desktop-regler.
   Behold denne delen sist. Mobilreglene ovenfor gjelder ved 800 px og mindre. */

@media (min-width: 801px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: clamp(33.15px, 3.825vw, 56.1px);
    margin-bottom: 20px;
  }

  .hero-footnote {
    margin-top: 35px;
  }

  .hero + .section {
    padding-top: 50px;
  }

}

@media (min-width: 1600px) {
  .hero {
    padding: 75px 0 55px;
  }

}

/* 21. Artikkellesing. Gjelder bare .article-page, ikke prosjekt- eller forsider.
   Tekst og artikkeltopp deler en sentrert kolonne på maksimalt 68ch.
   Brødtekst: 18px ved standard skriftinnstilling, 17px på mobil. */
.article-page {
  font-size: 1.125rem;
}

.article-page .container {
  width: min(68ch, calc(100% - 48px));
}

.article-page .page-intro {
  padding: 48px 0 36px;
}

.article-page .page-intro h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.article-page .page-intro .lead {
  max-width: none;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.65;
  color: var(--text);
}

.article-page .article-meta {
  margin: 24px 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #b3c2d3;
}

.article-page .section {
  padding: 40px 0 56px;
}

.article-page .reading {
  color: #d5dfeb;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.article-page .reading p,
.article-page .reading li {
  font-size: 1em;
  line-height: inherit;
  color: inherit;
}

.article-page .reading p {
  margin: 0 0 1.4em;
}

.article-page .reading section {
  margin-bottom: 0;
}

.article-page .reading h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.3;
  margin: 2.5em 0 0.8em;
  color: var(--text);
}

.article-page .reading h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 2em 0 0.75em;
  color: var(--text);
}

.article-page .reading strong {
  color: var(--text);
  font-weight: 650;
}

.article-page .article-back {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .article-page {
    font-size: 1.0625rem;
  }

  .article-page .container {
    width: min(68ch, calc(100% - 40px));
  }

  .article-page .page-intro {
    padding: 36px 0 28px;
  }

  .article-page .section {
    padding: 32px 0 40px;
  }
}
