/* ─────────────────────────────────────────────
   EloReview – Frontend CSS  (V3)
   Skrifter: Source Serif 4 (overskrifter + brødtekst), Geist (tal og UI)
   Én bærende idé: karakterbladet, der viser hvordan karakteren er bygget op.
──────────────────────────────────────────────*/

.elr-page {
  --ink:        #14181f;
  --ink-2:      #3b414b;
  --muted:      #6a717c;
  --muted-2:    #9aa0a8;
  --rule:       #e5e7e2;
  --rule-2:     #d5d9d2;
  --wash:       #f3f5f1;
  --paper:      #ffffff;
  --accent:     #16a34a;
  --accent-ink: #11823a;
  --accent-wash:#ebf6ee;
  --neg:        #c2362f;

  /* Vurderingspunkterne – én farve hver, brugt konsekvent overalt */
  --t-pris:     #e0661c;
  --t-trov:     #2a5bd7;
  --t-ks:       #0f9488;
  --t-bv:       #8a5cf0;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Geist", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.elr-page *, .elr-page *::before, .elr-page *::after { box-sizing: border-box; }
.elr-page a:focus-visible,
.elr-page button:focus-visible { outline: 2px solid var(--t-trov); outline-offset: 3px; border-radius: 6px; }

.elr-tone-pris            { background: var(--t-pris); }
.elr-tone-trovaerdighed   { background: var(--t-trov); }
.elr-tone-kundeservice    { background: var(--t-ks); }
.elr-tone-brugervenlighed { background: var(--t-bv); }

.elr-col { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ── Knapper ─────────────────────────────────── */
.elr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none !important; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.elr-btn--aff   { background: var(--accent); color: #fff !important; }
.elr-btn--aff:hover { background: var(--accent-ink); }
.elr-btn--plain { background: var(--paper); color: var(--ink) !important; border: 1.5px solid var(--rule-2); }
.elr-btn--plain:hover { border-color: var(--ink); }
.elr-btn--sm    { min-height: 38px; padding: 0 16px; font-size: 14px; }
.elr-btn--block { display: flex; width: 100%; }
.elr-aff-mark   { font-size: .7em; margin-left: 1px; line-height: 0; position: relative; top: -.45em; vertical-align: baseline; }
.elr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.elr-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--accent-ink); text-decoration: none;
}
.elr-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.elr-stars { display: inline-flex; gap: 1px; vertical-align: -1px; }
.elr-logo-init {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  font-family: var(--sans); font-weight: 700; font-size: 18px; color: var(--ink-2); background: var(--wash);
}

/* ─────────────────────────────────────────────
   HOVED
──────────────────────────────────────────────*/
.elr-hdr { padding: 16px 0 24px; border-bottom: 1px solid var(--rule); }

.elr-bc {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 16px;
}
.elr-bc a { color: var(--muted); text-decoration: none; }
.elr-bc a:hover { color: var(--ink); text-decoration: underline; }
.elr-bc__sep { color: var(--muted-2); }
.elr-bc [aria-current] { color: var(--ink-2); }

.elr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}
.elr-hero:not(.has-score):not(:has(.elr-hero__score)) { grid-template-columns: 1fr; }

.elr-hero__id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.elr-hero__logo {
  flex: 0 0 auto; width: 72px; height: 72px; border-radius: 18px;
  border: 1px solid var(--rule); background: var(--paper);
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px;
}
.elr-hero__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }

.elr-hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
  text-wrap: balance;
}
.elr-hero__byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 8px 0 0; font-size: 14.5px; color: var(--muted);
}
.elr-hero__avatar img { width: 26px; height: 26px; border-radius: 50%; display: block; }

/* Karakteren i hovedet */
.elr-hero__score {
  display: flex; align-items: center; gap: 24px;
  border: 1px solid var(--rule-2); border-radius: 18px; padding: 14px 14px 14px 22px;
  background: var(--paper);
}
.elr-hero__score.is-bare { border: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.elr-hero__score-top { display: flex; align-items: center; gap: 14px; }
.elr-hero__num {
  font-family: var(--sans); font-weight: 650; font-size: 42px; line-height: .9;
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.elr-hero__of { font-size: 16px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; margin-left: 2px; }
.elr-hero__verdict { display: flex; flex-direction: column; gap: 4px; }
.elr-hero__word { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.elr-hero__rank {
  font-size: 13.5px; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.elr-hero__rank:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.elr-hero__cta-wrap { display: flex; flex-direction: column; align-items: center; }
.elr-hero__score .elr-hero__disclosure { margin-top: 4px; }
.elr-hero__disclosure,
.elr-aside__disclosure,
.elr-final__disclosure {
  display: block; margin-top: 8px; text-align: center;
  font-size: 12px; color: var(--muted-2); text-decoration: none;
}
.elr-hero__score.is-bare .elr-hero__disclosure { text-align: right; }

/* ─────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────*/
.elr-body { padding: 44px 0 88px; }
.elr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 72px;
  align-items: start;
}
.elr-layout.no-aside { grid-template-columns: minmax(0, 780px); }
.elr-main { min-width: 0; }

/* Indledning */
.elr-desc {
  font-family: var(--serif); font-size: 20px; line-height: 1.65; color: var(--ink-2);
  max-width: 68ch; margin-bottom: 40px;
}
.elr-desc p { margin: 0 0 1em; }
.elr-desc p:last-child { margin-bottom: 0; }

/* Brødtekst i afsnit */
.elr-prose {
  font-family: var(--serif); font-size: 18px; line-height: 1.75; color: var(--ink-2);
  max-width: 68ch;
}
.elr-prose > :first-child { margin-top: 0; }
.elr-prose p { margin: 0 0 1.1em; }
.elr-prose ul, .elr-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.elr-prose li { margin-bottom: .45em; padding-left: .2em; }
.elr-prose li::marker { color: var(--muted-2); }
.elr-prose h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); margin: 1.6em 0 .5em; }
.elr-prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.elr-prose strong { color: var(--ink); font-weight: 600; }
.elr-prose img { max-width: 100%; height: auto; border-radius: 12px; }

/* ─────────────────────────────────────────────
   KARAKTERBLADET
──────────────────────────────────────────────*/
.elr-sheet {
  background: var(--wash); border-radius: 20px; padding: 30px 32px 28px;
  scroll-margin-top: 100px;
}
.elr-sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.elr-sheet__title { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.elr-sheet__how { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.elr-sheet__how:hover { color: var(--ink); }

/* Den sammensatte bjælke: summen af de fire vægtede bidrag på en 0–5-skala */
.elr-build { margin-bottom: 20px; }
.elr-build__track {
  display: flex; height: 16px; border-radius: 999px; overflow: hidden;
  background: #e1e5dd;
}
.elr-build__seg { height: 100%; box-shadow: inset -2px 0 0 var(--wash); }
.elr-build__seg:last-child { box-shadow: none; }
.elr-build__scale {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-size: 11.5px; color: var(--muted-2); font-variant-numeric: tabular-nums;
}

/* Rækker */
.elr-rows { list-style: none; margin: 0; padding: 0; }
.elr-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 46px minmax(80px, 180px) 44px 52px;
  align-items: center; gap: 14px;
  padding: 11px 12px; margin: 0 -12px; border-radius: 10px;
  color: var(--ink); text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.elr-row:hover { background: var(--paper); }
.elr-row__dot, .elr-crit__dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.elr-row__name { font-size: 15.5px; font-weight: 550; }
.elr-row__weight { font-size: 13px; color: var(--muted); text-align: right; }
.elr-row__bar { height: 6px; border-radius: 999px; background: #e1e5dd; overflow: hidden; }
.elr-row__bar span { display: block; height: 100%; border-radius: 999px; }
.elr-row__score { font-size: 15.5px; font-weight: 650; text-align: right; }
.elr-row__contrib { font-size: 13.5px; color: var(--muted); text-align: right; }
.elr-rows__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 6px; padding: 12px 0 0; border-top: 1px solid var(--rule-2);
  font-variant-numeric: tabular-nums;
}
.elr-rows__total .elr-row__name { font-weight: 650; }
.elr-rows__total .elr-row__contrib { font-size: 17px; font-weight: 700; color: var(--ink); }

/* Fordele og ulemper */
.elr-pc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px;
}
.elr-pc__col { background: var(--paper); border-radius: 14px; padding: 20px 22px; }
.elr-pc__title { font-family: var(--sans); font-size: 15px; font-weight: 650; margin: 0 0 12px; }
.elr-pc__title.is-pro { color: var(--accent-ink); }
.elr-pc__title.is-con { color: var(--neg); }
.elr-pc__list { list-style: none; margin: 0; padding: 0; }
.elr-pc__list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  font-size: 15px; line-height: 1.5; color: var(--ink-2); padding: 6px 0;
}
.elr-pc__mark {
  width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.elr-pc__mark.is-pro { background: var(--accent-wash); color: var(--accent-ink); }
.elr-pc__mark.is-con { background: #fbeceb; color: var(--neg); }

/* Nøgletal */
.elr-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; margin: 14px 0 0; border-radius: 14px; overflow: hidden;
  background: var(--rule);
}
.elr-facts__item { background: var(--paper); padding: 16px 18px; }
.elr-facts dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.elr-facts dd { margin: 0; }
.elr-facts__val { display: block; font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; }
.elr-facts__note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }

/* ─────────────────────────────────────────────
   VURDERINGSPUNKTER
──────────────────────────────────────────────*/
.elr-crit { padding-top: 56px; scroll-margin-top: 90px; }
.elr-crit__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 14px;
}
.elr-crit__title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0;
}
.elr-crit__dot { width: 12px; height: 12px; flex: 0 0 auto; }
.elr-crit__weight { margin: 6px 0 0 24px; font-size: 14px; color: var(--muted); }
.elr-crit__score { text-align: right; flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.elr-crit__num { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; }
.elr-crit__of { font-size: 15px; color: var(--muted-2); margin-left: 2px; }
.elr-crit__word { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.elr-crit__bar { height: 4px; border-radius: 999px; background: var(--rule); overflow: hidden; margin-bottom: 26px; }
.elr-crit__bar span { display: block; height: 100%; border-radius: 999px; }

.elr-note {
  display: flex; gap: 10px; align-items: flex-start;
  max-width: 68ch; margin: 4px 0 0; padding: 14px 16px;
  background: var(--wash); border-radius: 12px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
}
.elr-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--muted); }
.elr-note b { font-weight: 650; }
.elr-note .is-pos { color: var(--accent-ink); }
.elr-note .is-neg { color: var(--neg); }

/* Samlet vurdering */
.elr-final {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px;
  margin-top: 64px; padding: 32px; border-radius: 20px;
  background: var(--accent-wash); scroll-margin-top: 90px;
}
.elr-final__badge {
  width: 112px; height: 112px; border-radius: 50%; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: inset 0 0 0 4px var(--accent);
}
.elr-final__num { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.elr-final__title { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 4px 0 14px; letter-spacing: -0.01em; }
.elr-final .elr-prose { font-size: 18px; color: var(--ink); }
.elr-final__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.elr-final__disclosure { display: inline; margin: 0; }

/* ─────────────────────────────────────────────
   BLOKKE (priser, alternativer, metode, FAQ …)
──────────────────────────────────────────────*/
.elr-block { margin-top: 72px; scroll-margin-top: 90px; }
.elr-block__title {
  font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 8px; line-height: 1.2;
}
.elr-block__lead { font-size: 15.5px; color: var(--muted); margin: 0 0 22px; max-width: 64ch; line-height: 1.55; }
.elr-block__foot { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; line-height: 1.6; max-width: 72ch; }
.elr-block__foot a { color: var(--accent-ink); font-weight: 600; }

.elr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.elr-tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--wash); color: var(--ink-2); font-size: 12.5px; font-weight: 550;
}
.elr-tag.is-good   { background: var(--accent-wash); color: var(--accent-ink); }
.elr-tag.is-accent { background: #fff1e6; color: #b04a0e; }

/* Nyheder */
.elr-news__list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.elr-news__link {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
  color: var(--ink); text-decoration: none;
}
.elr-news__text { font-size: 16.5px; font-weight: 550; }
.elr-news__link:hover .elr-news__text { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.elr-news__date { font-size: 13.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Elaftaler */
.elr-deal-list { border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.elr-deal {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: center;
  padding: 18px 22px;
}
.elr-deal + .elr-deal { border-top: 1px solid var(--rule); }
.elr-deal__name { font-size: 17px; font-weight: 650; margin-bottom: 7px; }
.elr-deal__prices { display: flex; gap: 28px; margin: 0; }
.elr-deal__prices dt { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.elr-deal__prices dd { margin: 0; font-size: 17px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.elr-deal__prices small { font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* Alternativer */
.elr-alt__list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.elr-alt__item {
  display: grid; grid-template-columns: 28px 52px minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  padding: 18px 22px;
}
.elr-alt__item + .elr-alt__item { border-top: 1px solid var(--rule); }
.elr-alt__rank {
  width: 28px; height: 28px; border-radius: 50%; background: var(--wash);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 650; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.elr-alt__logo {
  text-decoration: none;
  width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--rule); padding: 7px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.elr-alt__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.elr-alt__name { font-size: 17px; font-weight: 650; color: var(--ink); text-decoration: none; }
.elr-alt__name:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.elr-alt__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); margin: 3px 0 7px; }
.elr-alt__rating { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.elr-alt__price { text-align: right; font-variant-numeric: tabular-nums; }
.elr-alt__annual { font-size: 19px; font-weight: 700; white-space: nowrap; }
.elr-alt__annual small { font-size: 13px; font-weight: 500; color: var(--muted); }
.elr-alt__sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.elr-alt__save { font-size: 13px; font-weight: 600; color: var(--accent-ink); margin-top: 4px; }
.elr-alt__actions { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.elr-alt__review { font-size: 13px; color: var(--muted); }
.elr-alt__review:hover { color: var(--ink); }

/* Metode */
.elr-meth__weights {
  display: flex; gap: 3px; height: 30px; border-radius: 10px; overflow: hidden; margin-bottom: 22px;
}
.elr-meth__weights span {
  display: flex; align-items: center; padding: 0 10px;
  color: #fff; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.elr-meth__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin: 0; }
.elr-meth__item dt { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.elr-meth__w { font-weight: 500; color: var(--muted); font-size: 14px; }
.elr-meth__item dd { margin: 0 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* FAQ */
.elr-faq { border-top: 1px solid var(--rule); }
.elr-faq-item { border-bottom: 1px solid var(--rule); }
.elr-faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink);
}
.elr-faq-q:hover { color: var(--accent-ink); }
.elr-faq-chevron { flex: 0 0 auto; color: var(--muted); transition: transform .2s; display: flex; }
.elr-faq-item.open .elr-faq-chevron { transform: rotate(180deg); }
.elr-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.elr-faq-a-inner {
  padding: 0 0 22px; max-width: 68ch;
  font-family: var(--serif); font-size: 17.5px; line-height: 1.7; color: var(--ink-2);
}
.elr-faq-a-inner a { color: var(--accent-ink); }

/* Forfatter */
.elr-author {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--rule);
}
.elr-author__avatar img { width: 64px; height: 64px; border-radius: 50%; display: block; }
.elr-author__name { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.elr-author__name span { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.elr-author__bio { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 10px; max-width: 68ch; }
.elr-author__meta { font-size: 14px; color: var(--muted); margin: 0; }
.elr-author__meta a { color: var(--accent-ink); font-weight: 600; margin-left: 4px; }

/* Ikke anmeldt endnu */
.elr-pending {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 28px; border-radius: 18px; background: var(--wash);
}
.elr-pending__icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; color: var(--ink-2);
}
.elr-pending__title { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.elr-pending__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 12px; max-width: 60ch; }

/* ─────────────────────────────────────────────
   SIDEBAR
──────────────────────────────────────────────*/
.elr-aside { position: sticky; top: 96px; }
.elr-aside__inner { display: flex; flex-direction: column; gap: 12px; }
.elr-aside__score {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border: 1px solid var(--rule); border-radius: 16px;
}
.elr-aside__logo {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--rule); padding: 6px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto;
}
.elr-aside__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.elr-aside__num { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.elr-aside__num small { font-size: 14px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.elr-aside__card { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.elr-aside__disclosure { margin-top: -4px; }
/* Mens hovedets karakter og knap er synlige, viser sidebaren kun indholdet */
.elr-js .elr-aside:not(.is-stuck) .elr-aside__card { display: none; }

.elr-toc { margin-top: 0; }
.elr-toc__title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 8px; }
.elr-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.elr-toc a {
  display: block; margin-left: -2px; padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 14.5px; line-height: 1.35; color: var(--muted); text-decoration: none;
}
.elr-toc a:hover { color: var(--ink); }
.elr-toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }

/* Reklamelinks */
.elr-disclosure {
  max-width: 1180px; margin: 0 auto; padding: 0 32px 48px;
  font-size: 13px; color: var(--muted);
}

/* Fast knap nederst */
.elr-sticky {
  position: fixed; left: 50%; bottom: 16px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  width: min(560px, calc(100% - 24px)); padding: 10px 10px 10px 12px;
  background: var(--paper); border: 1px solid var(--rule-2); border-radius: 18px;
  box-shadow: 0 12px 32px -12px rgba(20, 24, 31, .28);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.elr-sticky.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.elr-sticky__logo {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--rule); padding: 5px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex: 0 0 auto;
}
.elr-sticky__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.elr-sticky__text { flex: 1 1 auto; min-width: 0; }
.elr-sticky__name { font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elr-sticky__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Skjul den faste knap, mens sidebarens knap er synlig (stor skærm) */
@media (min-width: 1025px) {
  .elr-sticky { display: none; }
}

/* ─────────────────────────────────────────────
   RESPONSIVT
──────────────────────────────────────────────*/
@media (max-width: 1024px) {
  .elr-layout, .elr-layout.no-aside { grid-template-columns: minmax(0, 1fr); }
  .elr-aside { display: none; }
  .elr-main { max-width: 780px; }
}

@media (max-width: 800px) {
  .elr-col { padding: 0 18px; }
  .elr-disclosure { padding: 0 18px 100px; }
  .elr-hdr { padding: 14px 0 28px; }
  .elr-bc { margin-bottom: 22px; }
  .elr-hero { grid-template-columns: 1fr; gap: 24px; }
  .elr-hero__id { gap: 16px; }
  .elr-hero__logo { width: 56px; height: 56px; border-radius: 14px; padding: 8px; }
  .elr-hero__score.is-bare { align-items: stretch; }
  .elr-hero__score.is-bare .elr-hero__disclosure { text-align: center; }
  .elr-hero__num { font-size: 40px; }
  .elr-hero__score { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .elr-hero__cta-wrap .elr-btn { width: 100%; }

  .elr-body { padding: 32px 0 64px; }
  .elr-desc { font-size: 18.5px; margin-bottom: 32px; }

  .elr-sheet { padding: 22px 18px; margin: 0 -6px; border-radius: 16px; }
  .elr-sheet__head { flex-direction: column; gap: 4px; }
  .elr-sheet__title { font-size: 21px; }
  .elr-row { grid-template-columns: 10px minmax(0, 1fr) minmax(56px, 90px) 40px; gap: 10px; }
  .elr-row__weight, .elr-row__contrib { display: none; }
  .elr-rows__total .elr-row__contrib { display: inline; }
  .elr-pc { grid-template-columns: 1fr; }
  .elr-facts { grid-template-columns: 1fr 1fr; }
  .elr-facts__item { padding: 14px; }
  .elr-facts__val { font-size: 15.5px; }

  .elr-crit { padding-top: 44px; }
  .elr-crit__title { font-size: 24px; }
  .elr-crit__num { font-size: 28px; }
  .elr-prose { font-size: 17.5px; }

  .elr-final { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; margin-top: 48px; }
  .elr-final__badge { width: 88px; height: 88px; }
  .elr-final__num { font-size: 28px; }

  .elr-block { margin-top: 56px; }
  .elr-block__title { font-size: 24px; }

  .elr-deal { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .elr-deal .elr-btn { width: 100%; }

  .elr-alt__item { grid-template-columns: 28px 44px minmax(0, 1fr); gap: 12px 14px; padding: 18px; }
  .elr-alt__logo { width: 44px; height: 44px; }
  .elr-alt__price { grid-column: 2 / -1; text-align: left; }
  .elr-alt__actions { grid-column: 2 / -1; flex-direction: row; justify-content: space-between; }

  .elr-meth__list { grid-template-columns: 1fr; }
  .elr-meth__weights span { padding: 0 6px; font-size: 12px; }
  .elr-faq-q { font-size: 17.5px; }
  .elr-author { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .elr-author__avatar img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .elr-page *, .elr-sticky { transition: none !important; }
}

.elr-hero__score.is-bare .elr-hero__cta { width: auto; }
@media (max-width: 800px) { .elr-hero__score.is-bare .elr-hero__cta { width: 100%; } }

/* Logoer: altid hele logoet, uanset temaets billedregler */
.elr-hero__logo img, .elr-aside__logo img, .elr-sticky__logo img, .elr-alt__logo img {
  width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important;
  object-fit: contain; display: block; margin: 0;
}
