/* Nyt redaktionelt layout. Alle regler er afgrænset til .gm. */
/* 17-11-2026: farverne er sitets variabler, så siden også virker i mørk tilstand (aldrig faste lyse
   farver), og skriften er sitets egen. Panelet bag topbilledet er altid mørkt, fordi tegningen har
   lys tekst. Figurerne har deres egen lyse baggrund og står som et billede i begge tilstande. */
.gm{--gm-ink:var(--text);--gm-paper:var(--bg-alt);--gm-yellow:#f5c536;--gm-muted:var(--text-muted);--gm-line:var(--border);--gm-panel:#17211e;max-width:1200px;margin:0 auto;padding:38px 40px 80px;color:var(--gm-ink);font-family:var(--sans)}
.gm *{box-sizing:border-box}.gm a{color:inherit}.gm-crumb{font-size:13px;color:var(--gm-muted);margin-bottom:45px}.gm-crumb a{text-decoration:none}.gm-crumb span{padding:0 10px}
.gm-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.85fr);gap:55px;align-items:center;padding-bottom:46px}.gm-eyebrow{font-size:11px!important;text-transform:uppercase;letter-spacing:.14em;font-weight:700!important;margin:0 0 25px!important;line-height:1.5!important}.gm-eyebrow span{font-weight:400;margin-left:6px;color:var(--gm-muted)}
.gm h1{font-size:clamp(38px,4.8vw,64px);line-height:1.02;letter-spacing:-.055em;margin:0 0 28px;max-width:14ch;font-weight:700}.gm-deck{font-size:19px;line-height:1.65;max-width:48ch;margin:0}.gm-byline{font-size:12px;margin:25px 0 0;font-weight:700}.gm-byline span{font-weight:400;color:var(--gm-muted)}
.gm-head__art{background:var(--gm-panel);padding:28px 22px;border-radius:2px;align-self:stretch;display:flex;align-items:center;min-width:0}.gm-head__art svg{display:block;width:100%;height:auto;max-width:390px;margin:auto}
.gm-index{border-top:1px solid var(--gm-ink);border-bottom:1px solid var(--gm-line);display:flex;flex-wrap:wrap;gap:14px 28px;padding:19px 0;margin:0 0 66px}.gm-index a{font-size:12px;text-decoration:none;line-height:1.6}.gm-index a:hover{text-decoration:underline}.gm-index span{font-size:10px;color:var(--gm-muted);margin-right:7px}
.gm-story{max-width:970px;margin:0 auto}.gm-section{display:grid;grid-template-columns:145px minmax(0,690px);gap:40px;margin:0 0 64px;scroll-margin-top:100px}.gm-margin{border-top:1px solid var(--gm-line);padding-top:15px}.gm-margin>span{font-size:32px;letter-spacing:-.06em;color:#aab2a9}.gm-margin p{font-size:12px;line-height:1.65;color:var(--gm-muted);max-width:13ch}.gm-copy{min-width:0}.gm-copy h2{font-size:30px;line-height:1.2;letter-spacing:-.025em;margin:0 0 22px;max-width:26ch}.gm-copy>p{font-size:17px;line-height:1.8;margin:0 0 19px;max-width:67ch}.gm-copy a{text-decoration-color:#bf970e;text-underline-offset:4px}.gm-copy strong{font-weight:700}.gm-list{padding-left:21px;margin:24px 0}.gm-list li{padding-left:8px;margin:0 0 14px;font-size:16px;line-height:1.75}.gm-list li::marker{color:#a07900}
.gm-pullquote{font-size:26px;line-height:1.35;letter-spacing:-.025em;border-left:4px solid var(--gm-yellow);padding:5px 0 5px 23px;margin:32px 0;max-width:28ch}.gm-figure{margin:28px 0 32px;padding:0;background:transparent;border:0}.gm-figure svg{width:100%;height:auto;display:block;max-width:580px}.gm-figure figcaption{font-size:12px;line-height:1.65;color:var(--gm-muted);margin-top:12px;max-width:65ch}
.gm-end{background:var(--gm-paper);padding:38px 48px;margin:20px 0 50px;border-top:3px solid var(--gm-yellow)}.gm-end .gm-eyebrow{margin-bottom:14px!important}.gm-end h2{font-size:32px;line-height:1.15;letter-spacing:-.035em;max-width:26ch;margin:0 0 18px}.gm-end p{font-size:16px;line-height:1.7;max-width:65ch}.gm-link{display:inline-block;margin-top:10px;font-weight:700;font-size:14px;text-decoration:none;border-bottom:1px solid var(--gm-ink);padding-bottom:8px}.gm-link span{margin-left:30px}
.gm-questions,.gm-sources{max-width:690px;margin:0 0 40px 185px}.gm-questions h2{font-size:24px;margin:0 0 20px;letter-spacing:-.025em}.gm-questions details{border-top:1px solid var(--gm-line);padding:18px 0}.gm summary{cursor:pointer;line-height:1.5;font-size:15px;font-weight:700}.gm-questions p{font-size:15px;line-height:1.75;margin:14px 0 0}.gm-sources{border-top:1px solid var(--gm-ink);padding-top:18px}.gm-sources summary span{font-size:12px;color:var(--gm-muted);font-weight:400;margin-left:12px}.gm-sources li{font-size:13px;line-height:1.6;margin:14px 0}.gm-sources li span{display:block;font-size:12px;color:var(--gm-muted)}.gm-sources>p{font-size:12px;line-height:1.6;color:var(--gm-muted)}
@media(max-width:900px){.gm{padding:25px 26px 60px}.gm-head{gap:28px;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)}.gm h1{font-size:45px}.gm-section{grid-template-columns:85px minmax(0,1fr);gap:25px}.gm-questions,.gm-sources{margin-left:110px}.gm-margin p{max-width:10ch}}
@media(max-width:640px){.gm{padding:24px 20px 50px}.gm-crumb{margin-bottom:30px}.gm-head{grid-template-columns:1fr;gap:30px;padding-bottom:30px}.gm h1{font-size:44px;max-width:16ch}.gm-deck{font-size:17px}.gm-head__art{padding:20px;max-width:none}.gm-head__art svg{max-width:320px}.gm-index{margin-bottom:40px;gap:12px 20px}.gm-index a{min-height:28px;display:flex;align-items:center}.gm-section{display:block;margin-bottom:44px}.gm-margin{display:flex;align-items:center;gap:15px;margin-bottom:18px;padding-top:10px}.gm-margin>span{font-size:22px}.gm-margin p{font-size:11px;max-width:none;margin:0}.gm-copy h2{font-size:27px}.gm-copy>p{font-size:16px;line-height:1.75}.gm-pullquote{font-size:24px}.gm-end{padding:28px 24px;margin-bottom:35px}.gm-end h2{font-size:28px}.gm-questions,.gm-sources{margin-left:0}.gm-head__art svg text{font-family:Arial,Helvetica,sans-serif}}

.gm{background:var(--bg)}.gm a:focus-visible,.gm summary:focus-visible{outline:3px solid #a07900;outline-offset:5px}
@media(min-width:641px) and (max-width:1000px){.gm-head{grid-template-columns:1fr}.gm h1{max-width:20ch}.gm-head__art{min-width:340px;max-width:500px;width:100%}}

/* Henriks faktabokse og afslutning, der følger brødtekstens bredde. */
.gm h1,.gm h2{color:var(--gm-ink)}
.gm-story{max-width:875px}
.gm-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:875px;margin:0 auto 42px}
.gm-fact{border:1px solid var(--border);border-top:3px solid #eebc16;border-radius:16px;background:var(--bg-alt);padding:24px 20px;min-width:0}
.gm-fact .gm-fact__label{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--gm-muted);margin:0 0 14px;line-height:1.6}
.gm-fact h2{font-size:23px;line-height:1.35;letter-spacing:-.025em;margin:0 0 12px}
.gm-fact p{font-size:15px;line-height:1.7;margin:0;overflow-wrap:break-word;hyphens:none}
/* Henrik 17-11-2026: "må gerne være bredere". Afslutning, spørgsmål og kilder står i hele tekstbredden
   (875 px) ligesom faktaboksene og tilbudsboksen under artiklen. */
.gm-end,.gm-questions,.gm-sources{width:auto;max-width:875px;margin-left:auto;margin-right:auto}
.gm-end{padding:30px 32px}
@media(max-width:900px){.gm-end,.gm-questions,.gm-sources{max-width:none;margin-left:0;margin-right:0}.gm-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.gm-end,.gm-questions,.gm-sources{width:100%;max-width:none;margin-left:0}.gm-end{padding:26px 24px}.gm-facts{gap:12px}.gm-fact{padding:20px 16px}.gm-fact h2{font-size:21px}.gm-fact p{font-size:14px}}
@media(max-width:420px){.gm-facts{grid-template-columns:1fr}.gm-fact{padding:22px}}

/* 17-11-2026: siden har sitets moduler under artiklen (tilbudsboks, tilbudstjek, "Læs også").
   main styrer ikke bredden her; .gm og .gm-efter gør. .gm-efter flugter med tekstspalten. */
main.gm-side{max-width:none;padding:0}
.gm-side .gm{padding-bottom:8px}
.gm-efter{max-width:955px;margin:0 auto;padding:0 40px 40px}
.gm-figure svg{border-radius:4px}
@media(max-width:900px){.gm-efter{padding:0 26px 32px}}
@media(max-width:640px){.gm-efter{padding:0 20px 28px}}
/* Lange ord i H1 ("papegøjeplader.") når ud til kanten i 320 px ved 44 px. */
@media(max-width:370px){.gm h1{font-size:36px}}

/* Artikler med faktabokse kan åbne uden en dekorativ illustration. */
.gm-head--tekst{display:block;max-width:875px;margin-inline:auto}.gm-head--tekst h1{max-width:22ch}.gm-head--tekst .gm-deck{max-width:65ch}
.gm-data{margin:30px 0;min-width:0}.gm-data figcaption{font-size:12px;line-height:1.65;color:var(--gm-muted);margin-top:12px;overflow-wrap:anywhere}.gm-data h3{font-size:19px;margin:0 0 15px}
.gm-table-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--gm-line);border-radius:5px}.gm-table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.55}.gm-table th,.gm-table td{padding:13px 15px;text-align:left;vertical-align:top;border-bottom:1px solid var(--gm-line);min-width:100px}.gm-table thead{background:var(--gm-paper);border-top:3px solid var(--gm-yellow)}.gm-table tbody th{font-weight:600}.gm-table tbody tr:last-child>*{border-bottom:0}.gm-table-scroll:focus-visible{outline:3px solid var(--gul);outline-offset:3px}
.gm-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.gm-numbers>div{border-top:2px solid var(--gm-yellow);padding:15px 0}.gm-numbers dt{font-size:13px;line-height:1.5;color:var(--gm-muted)}.gm-numbers dd{margin:8px 0 0;font-size:25px;line-height:1.3;font-weight:700}.gm-numbers dd span{display:block;font-size:14px;font-weight:400;margin-top:5px}
.gm-steps{list-style:decimal;padding-left:25px;margin:0}.gm-steps li{border-top:1px solid var(--gm-line);padding:16px 0 16px 8px}.gm-steps li::marker{color:var(--gul);font-weight:700}.gm-steps strong{font-size:16px}.gm-steps p{font-size:15px;line-height:1.7;margin:8px 0 0}
.gm-bars{display:grid;gap:22px}.gm-bar{display:grid;grid-template-columns:1fr auto;gap:7px 15px;font-size:14px;line-height:1.5}.gm-bar small{display:block;color:var(--gm-muted);font-size:12px}.gm-bar__track{grid-column:1/-1;height:12px;background:var(--bg-alt)}.gm-bar__track i{display:block;height:100%;background:var(--gm-yellow)}
@media(max-width:640px){.gm-table th,.gm-table td{padding:11px 12px}.gm-numbers{gap:12px}.gm-numbers dd{font-size:23px}.gm-head--tekst h1{font-size:40px}.gm-index a{font-size:13px}}


.gm-facts,.gm-questions,.gm-sources,.gm-head--tekst{width:100%;max-width:100%;margin-left:0;margin-right:0}
.gm-questions p,.gm-sources>p{max-width:78ch}

/* Fotos af bilerne i artiklerne (Henrik 17-11-2026: behold fotos). */
.gm-foto img{display:block;width:100%;max-width:720px;height:auto;border-radius:4px;background:var(--bg-alt)}
