/* AI-nyheder / 2026. Grafit, elektrisk lime og indhold med plads til at ånde. */
:root {
  --ink:#f2f3f5;
  --muted:#a6adb9;
  --blue:#d5ff5f;
  --line:#2c313b;
  --paper:#0c0e12;
  --soft:#171a21;
  --pale:#222b1a;
  --display:"Inter",system-ui,sans-serif;
  --body:"Inter",system-ui,sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Consolas,monospace;
  color-scheme:dark;
}

* {
  box-sizing:border-box;
}

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

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:1rem;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-underline-offset:4px;
}

button,input,select {
  font:inherit;
}

button,a,input,select,summary {
  -webkit-tap-highlight-color:transparent;
}

button,select,summary {
  cursor:pointer;
}

button {
  color:inherit;
  border:0;
}

button:disabled {
  cursor:wait;
}

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

h1,h2,h3,p {
  margin:0;
}

h1,h2,h3 {
  text-wrap:pretty;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:4px;
}

[hidden] {
  display:none!important;
}

::selection {
  background:var(--blue);
  color:#10130d;
}

.wrap {
  width:min(1320px,calc(100% - 80px));
  margin-inline:auto;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.skip-link {
  position:fixed;
  z-index:100;
  left:16px;
  top:12px;
  background:var(--blue);
  color:#10130d;
  padding:12px 20px;
  transform:translateY(-160%);
}

.skip-link:focus {
  transform:none;
}

/* En kompakt identitet og direkte adgang til hele sitet. */
.site-header {
  border-bottom:1px solid var(--line);
  background:#0c0e12;
}

.masthead {
  min-height:92px;
  display:flex;
  align-items:center;
  gap:30px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:var(--display);
  font-size:1.7rem;
  letter-spacing:-.065em;
  line-height:1.2;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

.brand img {
  width:40px;
  height:40px;
  flex:none;
}

.brand-accent {
  font-weight:500;
}

.brand-dot {
  color:var(--blue);
}

.masthead-note {
  font-size:.875rem;
  color:var(--muted);
  border-left:1px solid var(--line);
  padding-left:30px;
}

.header-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.header-newsletter {
  display:flex;
  gap:24px;
  align-items:center;
  text-decoration:none;
  font-size:.875rem;
  font-weight:600;
  min-height:44px;
  padding:10px 17px;
  border:1px solid #626d43;
  border-radius:8px;
  color:var(--blue);
}

.header-newsletter:hover {
  background:var(--pale);
}

.menu-button {
  display:none;
}

.search-toggle,.search-close {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  flex:none;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--soft);
}

.search-toggle {
  position:relative;
}

.search-toggle svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
}

.search-toggle:hover,.search-toggle[aria-expanded="true"],.search-close:hover {
  color:var(--blue);
  border-color:var(--blue);
}

.search-toggle.has-filters::after {
  content:"";
  position:absolute;
  top:5px;
  right:5px;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue);
}

.search-panel {
  padding-top:12px;
  padding-bottom:8px;
  border-top:1px solid var(--line);
}

.search-panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}

.search-panel-heading h2 {
  margin:0;
  font-size:1rem;
}

.search-close {
  background:transparent;
  border-color:transparent;
  font-size:1.6rem;
}

.navigation {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:53px;
  font-size:.875rem;
}

.navigation a {
  display:flex;
  min-height:53px;
  align-items:center;
  position:relative;
  text-decoration:none;
  white-space:nowrap;
  color:#b2b7c1;
}

.navigation a[aria-current] {
  font-weight:600;
  color:var(--blue);
}

.navigation a[aria-current]::after {
  content:"";
  position:absolute;
  bottom:-1px;
  height:2px;
  background:var(--blue);
  left:0;
  right:0;
}

.navigation a:hover {
  color:#fff;
}

.nav-about {
  margin-left:auto;
}

.edition {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:23px 0 12px;
  color:var(--muted);
  font-size:.75rem;
  font-family:var(--mono);
}

.edition>span:first-child {
  text-transform:capitalize;
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin:10px 0 30px;
}

.eyebrow {
  font-family:var(--mono);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--blue);
  margin-bottom:10px;
}

.page-heading h1 {
  font-family:var(--display);
  font-size:clamp(2.8rem,5.4vw,4.6rem);
  font-weight:600;
  letter-spacing:-.07em;
  line-height:1.08;
}

.page-heading .brand-dot {
  padding-left:3px;
}

.heading-aside {
  text-align:right;
  padding-bottom:4px;
}

.heading-aside p {
  color:var(--muted);
  font-size:.9375rem;
  line-height:1.6;
}

.browse-link {
  color:var(--ink);
  font-size:.875rem;
  display:inline-flex;
  align-items:center;
  gap:20px;
  min-height:40px;
  text-decoration:none;
}

.browse-link span {
  color:var(--blue);
}

.browse-link:hover {
  color:var(--blue);
}

.notice {
  background:var(--soft);
  border:1px solid var(--line);
  border-left:3px solid var(--blue);
  border-radius:8px;
  padding:14px 20px;
  font-size:.875rem;
  margin-bottom:24px;
}

/* Én hovedhistorie. De to næste får egne, tydelige pladser. */
.lead-grid {
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  align-items:start;
  gap:10px;
  margin-bottom:16px;
}

.lead-grid.single-story {
  grid-template-columns:minmax(0,1fr);
}

.lead-story {
  padding:12px;
  background:var(--blue);
  color:#12170b;
  border-radius:18px;
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  isolation:isolate;
}

.lead-story::before {
  content:"";
  position:absolute;
  right:-30px;
  top:-58px;
  width:240px;
  height:240px;
  border:1px solid #738d342e;
  border-radius:50%;
  box-shadow:0 0 0 32px #738d3410,0 0 0 64px #738d3409;
  z-index:-1;
  pointer-events:none;
}

.story-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px 12px;
  flex-wrap:wrap;
  font-size:.75rem;
  margin-bottom:0;
}

.lead-story .story-topline {
  margin-bottom:6px;
}

.story-date {
  color:var(--muted);
  font-size:.75rem;
  line-height:1.5;
  white-space:nowrap;
}

.category {
  font-family:var(--mono);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.035em;
  text-transform:uppercase;
  color:var(--blue);
}

.lead-story h2 {
  font-family:var(--display);
  font-size:clamp(1.85rem,3.2vw,2.8rem);
  letter-spacing:-.045em;
  font-weight:700;
  line-height:1.12;
  max-width:23ch;
}

.story-link {
  text-decoration:none;
  overflow-wrap:anywhere;
}

.story-link:hover {
  color:var(--blue);
}

.lead-summary {
  margin:0;
  color:#354220;
  line-height:1.65;
  font-size:1.0625rem;
  max-width:57ch;
}

.story-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px 12px;
  color:var(--muted);
  font-size:.75rem;
  line-height:1.6;
  margin-top:18px;
}

.story-meta .read-label {
  font-weight:600;
  color:var(--blue);
}

.lead-story .category,.lead-story .story-date {
  color:#364620;
}

.lead-story .story-link:hover {
  color:#344c12;
}

.lead-story a:focus-visible {
  outline-color:#12170b;
}

.feature-stack {
  display:grid;
  grid-template-rows:auto auto;
  align-items:start;
  gap:10px;
  min-width:0;
}

.feature-story {
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:18px;
  padding:12px;
  min-width:0;
  position:relative;
  display:flex;
  flex-direction:column;
  transition:border-color .18s,background .18s;
}

.feature-story:hover {
  border-color:#65724c;
  background:#1b1f27;
}

.feature-story h3 {
  font-family:var(--display);
  font-size:clamp(1.25rem,1.7vw,1.5rem);
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.035em;
  margin:6px 0;
}

.feature-story p {
  color:var(--muted);
  font-size:1rem;
  line-height:1.65;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.story-excerpt {
  --thumbnail-width:min(128px,34%);
  position:relative;
  min-width:0;
}

/* Teksten bestemmer højden. Billedet må aldrig skubbe kortets bund ned. */
.story-excerpt:has(.story-thumbnail)>p {
  margin-right:calc(var(--thumbnail-width) + 6px);
}

.lead-story .story-excerpt {
  margin-top:6px;
}

.story-thumbnail {
  display:block;
  position:absolute;
  top:0;
  right:0;
  margin:0;
  width:var(--thumbnail-width);
  height:100%;
  max-height:96px;
  object-fit:contain;
  object-position:right top;
  border-radius:8px;
}

.story-thumbnail[src$=".webp"],
.reader-image[src$=".webp"] {
  object-fit:contain;
  border-radius:0;
}

/* Et visuelt feed, frem for avisens lange spalte. */
.news-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 276px;
  gap:32px;
  align-items:start;
}

.news-section {
  min-width:0;
}

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

.section-heading h2 {
  font-size:1.8rem;
  line-height:1.2;
  font-weight:600;
  letter-spacing:-.045em;
}

.section-note {
  font-family:var(--mono);
  font-size:.75rem;
  color:var(--muted);
}

.news-controls {
  display:flex;
  gap:10px;
  margin-bottom:17px;
}

.search-field {
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:9px;
  padding:0 14px;
  flex:1;
  min-width:0;
  background:var(--soft);
}

.search-field svg {
  width:18px;
  height:18px;
  stroke:var(--muted);
  stroke-width:1.6;
  fill:none;
  flex:none;
}

.search-field input {
  border:0;
  background:transparent;
  color:var(--ink);
  padding:13px 0;
  min-width:0;
  width:100%;
  font-size:.9375rem;
  outline-offset:0;
}

.search-field:focus-within {
  border-color:var(--blue);
  box-shadow:0 0 0 1px var(--blue);
}

.search-field input:focus-visible {
  outline:none;
}

input::placeholder {
  color:#939dab;
}

.sort-field {
  display:flex;
  max-width:100%;
}

.sort-field select {
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--soft);
  padding:10px 30px 10px 12px;
  min-height:48px;
  color:var(--ink);
  font-size:.875rem;
  max-width:100%;
}

.category-list {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.category-list button {
  padding:8px 13px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:7px;
  font-size:.875rem;
  min-height:44px;
  white-space:nowrap;
}

.category-list button[aria-pressed=true] {
  background:var(--blue);
  color:#12170b;
  border-color:var(--blue);
  font-weight:600;
}

.category-list button:hover {
  border-color:var(--blue);
}

.filter-status {
  display:flex;
  gap:15px;
  justify-content:space-between;
  align-items:center;
  margin:16px 0;
  min-height:27px;
  color:var(--muted);
  font-size:.75rem;
}

.filter-status button {
  background:none;
  color:var(--blue);
  text-decoration:underline;
  font-size:.875rem;
  min-height:40px;
}

#nyhedsliste {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:10px;
}

.news-row {
  display:flex;
  flex-direction:column;
  position:relative;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#12151b;
  min-width:0;
  transition:background .18s,border-color .18s;
}

.news-row:hover {
  background:#191d24;
  border-color:#4c5640;
}

.news-row-content {
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
}

.news-row h3 {
  font-family:var(--display);
  font-weight:600;
  font-size:1.25rem;
  letter-spacing:-.025em;
  line-height:1.35;
  margin:6px 0;
}

.news-row p {
  font-size:1rem;
  color:var(--muted);
  line-height:1.7;
  max-width:70ch;
}

.load-more {
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:14px 20px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:9px;
  margin-top:24px;
  font-weight:500;
  font-size:.875rem;
  min-height:50px;
}

.load-more:hover {
  border-color:var(--blue);
  color:var(--blue);
}

.sidebar {
  display:grid;
  gap:26px;
  min-width:0;
}

.learn-card {
  padding:26px;
  background:#bcb0ff;
  color:#201641;
  border-radius:16px;
}

.learn-card .eyebrow {
  color:#443764;
}

.learn-card h2 {
  font-family:var(--display);
  font-size:2.65rem;
  line-height:1.02;
  font-weight:600;
  letter-spacing:-.06em;
  margin:25px 0 20px;
}

.learn-card p:not(.eyebrow) {
  color:#3f335d;
  font-size:1rem;
  line-height:1.7;
}

.learn-card a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:24px;
  padding:12px 15px;
  background:#201641;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-size:.875rem;
  font-weight:500;
  min-height:46px;
}

.learn-card a:hover {
  background:#392869;
}

.course-progress {
  display:flex;
  gap:5px;
  margin:26px 0 10px;
}

.course-progress i {
  height:4px;
  background:#9685ca;
  flex:1;
  border-radius:2px;
}

.course-progress i:first-child {
  background:#3b276c;
}

.small-text {
  font-family:var(--mono);
  font-size:.75rem;
  color:#443764;
}

.sidebar-section {
  border:1px solid var(--line);
  border-radius:14px;
  padding:24px;
  min-width:0;
}

.sidebar-section h2 {
  font-size:1.25rem;
  font-weight:600;
  line-height:1.3;
  letter-spacing:-.03em;
}

.sidebar-section .section-heading {
  margin-bottom:10px;
}

.sidebar-section .section-heading a {
  font-size:.8125rem;
  text-decoration:none;
  white-space:nowrap;
  color:var(--blue);
}

.video-link {
  display:flex;
  gap:10px;
  padding:17px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
}

.video-link:last-child {
  border-bottom:0;
  padding-bottom:0;
}

.video-link:hover {
  color:var(--blue);
}

.video-link .play-icon {
  font-size:1rem;
  color:var(--blue);
  flex:none;
}

.video-link h3 {
  font-size:.875rem;
  line-height:1.5;
  font-weight:500;
}

.video-link p {
  color:var(--muted);
  font-size:.75rem;
  margin-top:6px;
}

.editorial-note .eyebrow {
  font-size:.75rem;
}

.editorial-note p:not(.eyebrow) {
  font-size:.875rem;
  color:var(--muted);
  margin-top:15px;
  line-height:1.8;
}

.editorial-note summary {
  font-size:.875rem;
  font-weight:500;
  padding:18px 0 0;
  min-height:44px;
}

.newsletter {
  border:1px solid #424b31;
  border-radius:18px;
  background:#161d13;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  padding:38px 40px;
  margin:60px 0 0;
  align-items:center;
}

.newsletter h2 {
  font-family:var(--display);
  font-size:2rem;
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.2;
  margin-bottom:12px;
}

.newsletter>div>p:last-child {
  color:var(--muted);
  font-size:1rem;
}

.newsletter form label {
  display:block;
  font-size:.875rem;
  font-weight:500;
  margin-bottom:8px;
}

.subscribe-fields {
  display:flex;
  gap:8px;
}

.subscribe-fields input {
  background:#0c0e12;
  color:var(--ink);
  border:1px solid #4a533e;
  border-radius:8px;
  padding:12px;
  min-width:0;
  flex:1;
  font-size:1rem;
}

.subscribe-fields button {
  background:var(--blue);
  color:#12170b;
  border-radius:8px;
  padding:12px 17px;
  font-size:.875rem;
  font-weight:600;
  white-space:nowrap;
}

.newsletter form>p {
  font-size:.75rem;
  color:var(--muted);
  margin-top:10px;
}

.site-footer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:24px;
  padding:40px 0;
  margin-top:25px;
  font-size:.8125rem;
  color:var(--muted);
}

.site-footer .brand {
  font-size:1.4rem;
  color:var(--ink);
}

.site-footer .brand img {
  width:32px;
  height:32px;
}

.site-footer nav {
  display:flex;
  gap:22px;
  margin-left:auto;
  flex-wrap:wrap;
}

.site-footer a {
  text-decoration:none;
}

.site-footer a:hover {
  color:var(--blue);
}

.site-footer>span {
  width:100%;
  font-family:var(--mono);
  font-size:.75rem;
}

.loading-state,.empty-state {
  grid-column:1/-1;
  padding:40px 24px;
  color:var(--muted);
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:14px;
  text-align:center;
}

.empty-state h3 {
  font-size:1.2rem;
  color:var(--ink);
  margin-bottom:10px;
}

.empty-state button {
  margin-top:20px;
  padding:12px 20px;
  background:var(--blue);
  color:#12170b;
  border-radius:8px;
}

/* Rolig læseflade med samme identitet og kontrast. */
.reader-dialog {
  width:min(960px,calc(100% - 48px));
  max-height:calc(100dvh - 48px);
  padding:0;
  border:1px solid #3b424e;
  border-radius:18px;
  color:var(--ink);
  background:#12151b;
  overscroll-behavior:contain;
  box-shadow:0 24px 100px #0008;
}

.reader-dialog::backdrop {
  background:#05070acf;
  backdrop-filter:blur(8px);
}

body.reader-open {
  overflow:hidden;
}

.reader-toolbar {
  position:sticky;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 28px;
  border-bottom:1px solid var(--line);
  background:#12151b;
  z-index:2;
}

.reader-brand {
  display:flex;
  gap:10px;
  align-items:center;
  font-family:var(--display);
  font-size:1.2rem;
  font-weight:600;
  letter-spacing:-.05em;
  text-decoration:none;
}

.close-reader {
  display:flex;
  gap:15px;
  align-items:center;
  background:#252b35;
  min-height:44px;
  border-radius:8px;
  padding:6px 16px;
  font-size:.875rem;
}

.close-reader span {
  font-size:1.5rem;
}

.reader-content {
  padding:42px 58px 58px;
  max-width:820px;
  margin:auto;
}

.reader-content h1 {
  font-family:var(--display);
  font-size:clamp(2rem,4.4vw,3rem);
  line-height:1.13;
  letter-spacing:-.045em;
  font-weight:600;
  margin:16px 0;
}

.reader-deck {
  font-size:1.1875rem;
  line-height:1.75;
  color:#b5bdc9;
  margin:20px 0;
}

.reader-body {
  font-size:1.0625rem;
  line-height:1.9;
  color:#d9dde4;
}

.reader-body h2 {
  font-family:var(--display);
  font-size:1.65rem;
  font-weight:600;
  letter-spacing:-.03em;
  line-height:1.3;
  margin:32px 0 12px;
  color:var(--ink);
}

.reader-body p {
  margin:0 0 20px;
}

.reader-body li {
  margin-bottom:10px;
}

.reader-body ul {
  padding-left:24px;
}

.reader-image {
  width:100%;
  max-height:420px;
  object-fit:cover;
  border-radius:10px;
}

.reader-figure {
  margin:28px 0;
}

.reader-figure figcaption {
  font-size:.75rem;
  color:var(--muted);
  line-height:1.6;
  margin-top:8px;
}

.reader-callout {
  background:var(--pale);
  border:1px solid #465632;
  border-radius:10px;
  padding:20px 24px;
  margin:30px 0;
}

.reader-callout h2 {
  margin:0 0 10px;
  font-family:var(--body);
  font-size:.9375rem;
  font-weight:600;
  line-height:1.5;
  color:var(--blue);
}

.reader-callout p {
  margin:0;
  font-size:1rem;
}

.reader-source {
  border-top:1px solid var(--line);
  margin-top:32px;
  padding-top:24px;
}

.source-links {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.source-links a,.share-button,.permalink {
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  background:var(--soft);
  padding:10px 15px;
  border-radius:8px;
  font-size:.875rem;
  text-decoration:none;
  min-height:46px;
}

.source-links a:hover,.share-button:hover,.permalink:hover {
  border-color:var(--blue);
}

.reader-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:20px 0 28px;
}

.reader-note {
  font-size:.8125rem;
  line-height:1.7;
  color:var(--muted);
  margin-top:20px;
  overflow-wrap:anywhere;
}

.toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  max-width:calc(100% - 32px);
  z-index:20;
  background:var(--blue);
  color:#12170b;
  padding:12px 20px;
  border-radius:8px;
  font-size:.875rem;
}

@media(max-width:1100px) {
  .wrap {
    width:calc(100% - 48px);
  }

  .masthead-note {
    display:none;
  }

  .navigation {
    gap:23px;
  }

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

  .lead-story {
    padding:12px;
  }

  .feature-story {
    padding:12px;
  }

  .news-row {
    padding:12px;
  }

  .news-controls {
    flex-wrap:wrap;
  }

  .search-field {
    flex-basis:100%;
  }

  .newsletter {
    padding:30px;
    gap:30px;
  }

  .news-row h3 {
    font-size:1.15rem;
  }

}

@media(max-width:900px) {
  .news-layout {
    grid-template-columns:minmax(0,1fr);
  }

  .sidebar {
    grid-template-columns:1fr 1fr;
    margin-top:12px;
    gap:20px;
  }

  .editorial-note {
    grid-column:1/-1;
  }

  .navigation {
    overflow-x:auto;
    scrollbar-width:thin;
  }

  .navigation .nav-about {
    display:none;
  }

  .lead-grid {
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  }

  .lead-story h2 {
    font-size:1.9rem;
  }

  .feature-story h3 {
    font-size:1.25rem;
  }

  .news-controls {
    flex-wrap:nowrap;
  }

  .search-field {
    flex-basis:auto;
  }

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

  .site-footer nav {
    margin-left:0;
    width:100%;
  }

  .reader-content {
    padding:32px;
  }

  .news-row h3 {
    font-size:1.3rem;
  }

}

@media(max-width:650px) {
  .wrap {
    width:calc(100% - 32px);
  }

  .masthead {
    min-height:60px;
    gap:12px;
  }

  .brand {
    font-size:1.5rem;
    gap:10px;
  }

  .brand img {
    width:36px;
    height:36px;
  }

  .header-newsletter {
    display:none;
  }

  .menu-button {
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    background:var(--soft);
    border:1px solid var(--line);
    padding:9px 12px;
    border-radius:8px;
    font-size:.875rem;
    min-height:44px;
  }

  .navigation {
    display:none;
    overflow:visible;
    flex-wrap:wrap;
    gap:0;
    padding-bottom:10px;
  }

  .navigation.is-open {
    display:flex;
  }

  .navigation a {
    flex-basis:50%;
    min-height:46px;
    white-space:normal;
  }

  .navigation .nav-about {
    display:flex;
    margin:0;
  }

  .navigation a[aria-current]::after {
    display:none;
  }

  .edition {
    display:none;
  }

  .edition>span:first-child {
    display:none;
  }

  /* Bevar sidens h1 for skærmlæsere, uden en ekstra introduktion på mobil. */
  .page-heading {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }

  #udvalgte {
    margin-top:12px;
  }

  .page-heading h1 {
    font-size:2.9rem;
  }

  .page-heading .eyebrow {
    font-size:.75rem;
    letter-spacing:.02em;
  }

  .heading-aside {
    display:none;
  }

  .lead-grid {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
    margin-bottom:12px;
  }

  .lead-story {
    padding:8px 10px;
    border-radius:14px;
  }

  .lead-story h2 {
    font-size:1.65rem;
    line-height:1.14;
  }

  .lead-story .category {
    display:inline;
  }

  .lead-story .story-topline {
    margin-bottom:6px;
  }

  .lead-summary {
    font-size:1rem;
    margin:0;
    line-height:1.5;
  }

  .lead-story .story-excerpt {
    margin-top:6px;
  }

  .feature-stack {
    gap:8px;
  }

  .feature-story {
    padding:8px 10px;
    border-radius:14px;
  }

  .feature-story h3 {
    font-size:1.25rem;
    margin:6px 0;
  }

  .feature-story p {
    font-size:1rem;
    display:-webkit-box;
    -webkit-line-clamp:3;
    overflow:hidden;
    line-height:1.5;
  }

  .section-heading {
    gap:10px;
    margin-bottom:12px;
  }

  .section-heading h2 {
    font-size:1.65rem;
  }

  .news-controls {
    flex-wrap:wrap;
    margin-bottom:15px;
  }

  .search-field {
    flex-basis:100%;
  }

  .search-field input {
    font-size:1rem;
  }

  .sort-field {
    width:100%;
  }

  .sort-field select {
    width:100%;
    font-size:1rem;
  }

  .category-list {
    gap:7px;
  }

  .category-list button {
    padding:8px 11px;
  }

  .filter-status {
    align-items:flex-start;
  }

  #nyhedsliste {
    grid-template-columns:minmax(0,1fr);
    gap:8px;
  }

  .news-row {
    padding:8px 10px;
  }

  .news-row h3 {
    font-size:1.25rem;
  }

  .news-row p {
    font-size:1rem;
  }

  .story-excerpt {
    --thumbnail-width:min(112px,34%);
  }

  .story-thumbnail {
    max-height:84px;
  }

  .sidebar {
    grid-template-columns:1fr;
    gap:20px;
    margin-top:6px;
  }

  .learn-card {
    padding:28px;
  }

  .newsletter {
    padding:26px;
    margin-top:36px;
  }

  .newsletter h2 {
    font-size:1.8rem;
  }

  .subscribe-fields {
    flex-direction:column;
  }

  .subscribe-fields input,.subscribe-fields button {
    min-height:48px;
  }

  .site-footer {
    gap:18px;
  }

  .site-footer nav {
    gap:12px 22px;
  }

  .site-footer nav a {
    padding:8px 0;
  }

  .reader-dialog {
    width:100%;
    max-width:100%;
    max-height:100dvh;
    height:100dvh;
    margin:0;
    border:0;
    border-radius:0;
  }

  .reader-toolbar {
    padding:12px 20px;
  }

  .reader-content {
    padding:20px 18px 36px;
  }

  .reader-content h1 {
    font-size:2rem;
  }

  .reader-deck {
    font-size:1.125rem;
  }

  .reader-body {
    font-size:1.0625rem;
  }

  .reader-body h2 {
    font-size:1.5rem;
  }

  .reader-callout {
    padding:20px;
  }

  .reader-actions {
    gap:8px;
  }

  .source-links {
    gap:8px;
  }

}

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

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

}

@media print {
  body,.reader-dialog {
    background:#fff;
    color:#111;
  }

  .site-header,.sidebar,.news-controls,.category-list,.newsletter,.site-footer,.reader-toolbar,.reader-actions {
    display:none;
  }

  .reader-dialog[open] {
    position:static;
    display:block;
    max-height:none;
    height:auto;
    width:100%;
    border:0;
    box-shadow:none;
  }

  .reader-content {
    max-width:none;
    padding:0;
  }

  .reader-body,.reader-deck,.reader-body h2 {
    color:#111;
  }

  body.reader-open main {
    display:none;
  }

  .reader-callout {
    background:#f0f3e8;
    color:#111;
  }

}

/* En enkel indgang til den prioriterede værktøjsguide. */
.tools-teaser{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:22px}
.tools-teaser h2{font-size:1.5rem;line-height:1.2;letter-spacing:-.03em;margin:12px 0}
.tools-teaser>p:not(.eyebrow){color:var(--muted);font-size:.88rem}
.tools-teaser>a{display:inline-block;color:var(--blue);font-size:.85rem;font-weight:650;margin-top:18px;padding-block:6px}

/* Benchmark-genvejen er altid synlig på mobil, uden en ekstra bjælke. */
.mobile-benchmarks{display:none}
@media(max-width:650px){
 .mobile-benchmarks{display:inline-flex;align-items:center;min-height:44px;color:var(--blue);font-size:.75rem;font-weight:600;text-decoration:none;white-space:nowrap}
 .navigation .nav-benchmarks{display:none}
 .header-actions{gap:8px}
 .masthead .menu-label{display:none}
 .masthead .menu-button{width:44px;justify-content:center;padding:0;flex:none}
}
@media(max-width:380px){
 .masthead{gap:6px}
 .masthead .brand{font-size:1.25rem;gap:6px}
 .masthead .brand img{width:28px;height:28px}
 .header-actions{gap:6px}
 .masthead .search-toggle,.masthead .menu-button{width:40px}
}

/* Logo og navn læses som ét samlet mærke. */
.brand{gap:5px}
@media(max-width:650px){.brand{gap:4px}}
@media(max-width:380px){.masthead .brand{gap:4px}}


/* Mobil: en kompakt rytme af brede kort, par og åbne rækker. */
@media (max-width:650px) {
  .lead-summary {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden;
  }
  .feature-stack {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
  }
  .feature-story {
    border:0;
    border-top:2px solid #aaa0ef;
    border-radius:3px 3px 12px 12px;
    background:linear-gradient(155deg,#25213b,#171921);
  }
  .feature-story:nth-child(2) {
    border-top-color:#74d6c5;
    background:linear-gradient(155deg,#183334,#151e24);
  }
  .feature-story .category {color:#c4baf9;}
  .feature-story:nth-child(2) .category {color:#8cdfd1;}
  .feature-story .story-topline {gap:1px 6px;}
  .feature-story .category,.feature-story .story-date {font-size:.6875rem;}
  .feature-story h3 {font-size:1.125rem;line-height:1.25;letter-spacing:-.025em;}
  .feature-story p {font-size:.875rem;line-height:1.5;color:#c3c7d2;}
  /* Billedhistorier får hele linjen frem for en klemt tekstspalte. */
  .feature-stack:has(.story-thumbnail) {grid-template-columns:minmax(0,1fr);}
  #nyhedsliste {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .news-row {grid-column:1/-1;}
  .news-row p {
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    line-height:1.5;
  }
  .news-row--accent {
    isolation:isolate;
    overflow:hidden;
    padding:11px 12px;
    border-color:#37496a;
    background:linear-gradient(125deg,#1d304e 0%,#141c2a 80%);
  }
  .news-row--accent::before {
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
    width:128px;
    height:128px;
    right:-64px;
    top:-70px;
    border:1px solid #8cbcf32b;
    border-radius:50%;
    box-shadow:0 0 0 18px #8cbcf30a,0 0 0 36px #8cbcf307;
  }
  .news-row--accent .category {color:#a9d2ff;}
  .news-row--accent h3 {font-size:1.375rem;line-height:1.22;}
  .news-row--accent p {color:#c4cedc;}
  .news-row--teal {
    border-color:#2b514f;
    background:linear-gradient(125deg,#173737 0%,#141f25 80%);
  }
  .news-row--teal .category {color:#8cdfd1;}
  .news-row--pair {
    grid-column:auto;
    align-self:stretch;
    padding:9px 10px;
    border:0;
    border-radius:10px;
    background:#1b2029;
  }
  .news-row--pair + .news-row--pair {background:#22232c;}
  .news-row--pair .story-topline {gap:1px 6px;}
  .news-row--pair .category,.news-row--pair .story-date {font-size:.6875rem;}
  .news-row--pair .category {color:#c2ccdc;}
  .news-row--pair h3 {font-size:1.125rem;line-height:1.25;}
  .news-row--pair p {font-size:.875rem;line-height:1.5;color:#bdc3ce;}
  .news-row--plain {
    padding:8px 2px 10px;
    border:0;
    border-bottom:1px solid #29303a;
    border-radius:0;
    background:transparent;
  }
  .news-row--plain h3 {margin:5px 0;font-size:1.1875rem;}
  .news-row--plain .category {color:#b6c997;}
  .news-row--plain .story-thumbnail {object-position:left top;left:0;right:auto;}
  .news-row--plain .story-excerpt:has(.story-thumbnail)>p {
    margin-right:0;
    margin-left:calc(var(--thumbnail-width) + 6px);
  }
}
@media (max-width:359px) {
  .feature-stack {grid-template-columns:minmax(0,1fr);}
  .news-row--pair {grid-column:1/-1;}
  .feature-story h3,.news-row--pair h3 {font-size:1.1875rem;}
  .feature-story p,.news-row--pair p {font-size:1rem;}
}
