.nrf {
    /* Ärver Elementor- och Astra-färger när de finns, annars Nyttodatas accentfärg. */
    --nrf-bg: transparent;
    --nrf-fg: inherit;
    --nrf-accent: var(--e-global-color-accent, var(--ast-global-color-0, #b94843));
    --nrf-visible: 3;
    --nrf-line: color-mix(in srgb, currentColor 22%, transparent);
    color: var(--nrf-fg);
    background: var(--nrf-bg);
    font: inherit;
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
}
.nrf--light { --nrf-bg: #fff; --nrf-fg: #101218; }
.nrf--dark { --nrf-bg: #161c24; --nrf-fg: #f3f5f5; --nrf-accent: #ff9a94; }
@media (prefers-color-scheme: dark) {
    .nrf--auto { --nrf-bg: #161c24; --nrf-fg: #f3f5f5; --nrf-accent: #ff9a94; }
}
.nrf *, .nrf *::before, .nrf *::after { box-sizing: border-box; }
.nrf [hidden] { display: none !important; }
.nrf a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.nrf a:hover { text-decoration-thickness: 2px; }
.nrf-cards { display: grid; grid-template-columns: repeat(var(--nrf-visible), minmax(0, 1fr)); gap: 1.25rem; }
.nrf-card { overflow-wrap: anywhere; animation: nrf-appear var(--nrf-animation, 300ms) ease; }
.nrf-card blockquote { margin: 1rem 0; padding: 0; border: 0; color: inherit; font: inherit; }
.nrf-card p { margin: .75rem 0; }
.nrf-source { min-height: 38px; display: flex; align-items: center; font-weight: 600; font-size: .9em; }
.nrf .nrf-google-logo { display: block; height: 18px; width: auto; max-width: none; margin: 10px 10px 5px; background: #fff; box-shadow: 0 0 0 10px #fff; }
.nrf-stars { color: var(--nrf-accent); letter-spacing: .1em; font-size: 1.35em; }
.nrf-author { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.nrf-author img { border-radius: 50%; width: 32px; height: 32px; }
.nrf-company { display: block; font-weight: 400; font-size: .9em; }
.nrf-date { font-size: .9em; }
.nrf-disclosure, .nrf-policy { font-size: .85em; line-height: 1.6; }
.nrf-disclosure { margin: 0 0 1.5rem; }
.nrf-attribution { display: inline-block; margin: 0 1.5rem 1rem 0; font-weight: 600; }
.nrf-more summary { cursor: pointer; list-style: none; }
.nrf-more summary::-webkit-details-marker { display: none; }
.nrf-more[open] .nrf-short { display: none; }
.nrf-readmore { font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.nrf-more[open] .nrf-readmore { display: none; }

/* Design: kort. */
.nrf--card .nrf-card { border: 1px solid var(--nrf-line); border-radius: 12px; padding: clamp(1rem, 2vw, 1.5rem); }

/* Design: minimalistisk. */
.nrf--minimal { padding-inline: 0; background: transparent; }
.nrf--minimal .nrf-card { border: 0; border-top: 2px solid var(--nrf-accent); padding: .5rem 0 0; }
.nrf--minimal .nrf-card blockquote { font-size: 1.1em; }

.nrf-trustbox { margin-top: 1.5rem; }
.nrf-trustpilot { margin: 1.5rem 0 0; text-align: center; }
.nrf .nrf-button { display: inline-block; min-height: 44px; padding: .65rem 1.2rem; border: 2px solid var(--nrf-accent); border-radius: 6px; font-weight: 600; text-decoration: none; color: inherit; }
.nrf .nrf-button:hover { background: var(--nrf-accent); color: var(--nrf-bg, #fff); }
.nrf-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.nrf-controls button { font: inherit; min-width: 44px; min-height: 44px; padding: .5rem .8rem; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 6px; cursor: pointer; }
.nrf :focus-visible { outline: 3px solid var(--nrf-accent); outline-offset: 4px; }
.nrf-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.nrf-dots button { border: 0; padding: 16px; background: transparent; min-width: 0; }
.nrf-dots button::after { content: ''; display: block; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.nrf-dots button[aria-current="true"]::after { background: currentColor; }
@media (max-width: 600px) {
    .nrf-dots { order: 3; flex-basis: 100%; }
}
.nrf-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@keyframes nrf-appear { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .nrf-card { animation: none; } }
