/* Hjelpesenteret (hjelp.php): oversikt med bildekort, og artikler bygget som en bloggartikkel:
   innhold til venstre, grå sidekolonne til høyre (forfatter, innholdsfortegnelse, handlingsboks),
   lesefremdrift øverst, og kontaktkort og flere artikler i full bredde under.
   Rette hjørner på bilder og flater; bare knapper og portretter er runde. DM Sans og Snapprens-blått.
   site-no-borders.css fjerner kantlinjer, så streker lages med box-shadow. */
.hj { --hj-blue: #075ac6; --hj-ink: #21262e; --hj-text: #3b4552; --hj-muted: #65717e; --hj-bg: #fff; --hj-panel: #f2f4f7; --hj-line: #e3e7ec; --hj-r: 16px; --hj-sky: #e8f3ff;
    --hj-gut: max(var(--sp-page-pad, 18px), calc((100vw - var(--sp-page-max, 1520px)) / 2 + var(--sp-page-pad, 18px)));
    padding: 40px 0 0; background: var(--hj-bg); color: var(--hj-text); font-family: 'DM Sans', system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
.hj *, .hj *::before, .hj *::after { box-sizing: border-box; }
.hj--art { padding-top: 0; }
.hj-wrap { width: calc(min(var(--sp-page-max, 1520px), 100%) - 2 * var(--sp-page-pad, 18px)); margin-inline: auto; }
.hj :focus-visible { outline: 3px solid var(--hj-blue); outline-offset: 2px; }
.hj a { color: var(--hj-blue); }
.hj h1 { margin: 0 0 20px; color: var(--hj-ink); font-size: clamp(34px, 8.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.hj h2 { margin: 0; color: var(--hj-ink); letter-spacing: -0.02em; font-weight: 800; }
.hj p { margin: 0; }
.hj svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hj-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--hj-blue); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hj-btn:hover { background: #06499e; }
.hj-kicker { color: var(--hj-blue) !important; }
.hj-fill { padding: 2px 8px; background: #fff1b8; color: #6b4e00; font-weight: 700; font-size: .92em; }
.hj-kicker, .hj-back, .hj-card-meta { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hj-kicker { margin-bottom: 12px !important; color: var(--hj-muted); }

/* Bilder: foto fyller flaten, skjermbilder fra Min side og produktbilder står på en farget flate */
.hj-pic { display: block; overflow: hidden; background: var(--hj-panel); }
.hj-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hj-pic--app { position: relative; background: #075ac6; }
.hj-pic--app img { position: absolute; left: 50%; top: 10%; width: 54%; height: auto; transform: translateX(-50%); object-fit: fill; border-radius: 16px; box-shadow: 0 0 0 1px rgb(16 32 56 / 10%); }
.hj-hero .hj-pic--app, .hj-fig .hj-pic--app { aspect-ratio: 1; }
.hj-hero .hj-pic--app img, .hj-fig .hj-pic--app img { top: 7%; width: 72%; max-width: 380px; }
.hj-pic--produkt { display: grid; place-items: center; padding: 6%; background: #fff; }
.hj-pic--produkt img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }

/* Kort med bilde (oversikten og «Flere hjelpeartikler») */
.hj-top { padding-bottom: 72px; }
.hj-top h1 { margin-bottom: 32px; }
.hj-cards { display: grid; gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.hj-cards a { display: flex; flex-direction: column; align-items: flex-start; height: 100%; color: var(--hj-text); text-decoration: none; }
.hj-cards .hj-pic { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 18px; }
.hj-cards .hj-pic--foto img { transition: transform .35s; }
.hj-cards a:hover .hj-pic--foto img { transform: scale(1.03); }
.hj-card-meta { margin-bottom: 6px; color: var(--hj-muted); }
.hj-cards h2, .hj-cards h3 { margin: 0 0 6px; color: var(--hj-ink); font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.hj-cards p { font-size: 16px; line-height: 1.45; }
.hj-pill { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; padding: 0 20px; border-radius: 8px; background: #fff; color: var(--hj-ink); font-size: 15px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--hj-line); transition: background .15s, color .15s; }
.hj-cards a:hover .hj-pill { background: var(--hj-ink); color: #fff; box-shadow: none; }
.hj-cards a > :last-child { margin-top: auto; }
.hj-cards a > .hj-pill { margin-top: auto; transform: translateY(0); }
.hj-cards h2 + .hj-pill, .hj-cards h3 + .hj-pill, .hj-cards p + .hj-pill { margin-top: auto; }
.hj-cards p, .hj-cards h3 { margin-bottom: 18px; }

/* Lesefremdrift */
.hj-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 3px; pointer-events: none; }
.hj-progress span { display: block; height: 100%; background: var(--hj-ink); transform: scaleX(0); transform-origin: 0 50%; }

/* Artikkelen */
.hj-art { min-width: 0; padding: 28px var(--hj-gut) 64px; }
.hj-art > * { max-width: 760px; }
.hj-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 20px; color: var(--hj-ink) !important; text-decoration: none; }
.hj-back:hover { color: var(--hj-blue) !important; }
.hj-meta { margin-bottom: 10px !important; color: var(--hj-muted); font-size: 14px; font-weight: 500; letter-spacing: .03em; }
.hj-meta i { margin: 0 8px; font-style: normal; opacity: .45; }
.hj-ingress { color: var(--hj-ink); font-size: clamp(19px, 4.9vw, 21px); line-height: 1.6; }
.hj-hero { margin: 32px 0 0; }
.hj-hero .hj-pic { aspect-ratio: 16 / 10; }
.hj-short { margin-top: 32px; padding: 24px 26px; border-radius: var(--hj-r); background: var(--hj-sky); }
.hj-short h2 { margin-bottom: 10px; font-size: 18px; }
.hj-short ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hj-short li { position: relative; padding-left: 30px; color: var(--hj-ink); font-weight: 600; }
.hj-short li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--hj-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.8 10.3 2.8 2.8 5.600-6'/%3E%3C/svg%3E") center/20px no-repeat; }
.hj-body section { margin-top: 52px; scroll-margin-top: calc(var(--hj-top, 80px) + 28px); }
.hj-body h2 { margin-bottom: 12px; font-size: clamp(25px, 6.2vw, 32px); line-height: 1.15; }
.hj-body p + p, .hj-body ul + p, .hj-body p + ul { margin-top: 14px; }
.hj-body ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; list-style: disc; }
.hj-body li::marker { color: var(--hj-blue); }
.hj-body b { color: var(--hj-ink); }
.hj-fig { margin: 28px 0 0; }
.hj-fig .hj-pic { aspect-ratio: 16 / 9; }
.hj-faq details { box-shadow: inset 0 -1px 0 var(--hj-line); }
.hj-faq details:first-of-type { box-shadow: inset 0 -1px 0 var(--hj-line), inset 0 1px 0 var(--hj-line); margin-top: 18px; }
.hj-faq summary, .hj-toc-m summary { position: relative; display: block; padding: 18px 44px 18px 0; color: var(--hj-ink); font-weight: 700; line-height: 1.35; cursor: pointer; list-style: none; }
.hj-faq summary::-webkit-details-marker, .hj-toc-m summary::-webkit-details-marker { display: none; }
.hj-faq summary::after, .hj-toc-m summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; transition: transform .2s;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321262e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat; }
.hj-faq details[open] summary::after, .hj-toc-m[open] summary::after { transform: rotate(180deg); }
.hj-faq details > div { padding: 0 0 20px; }

/* Forfatter, innholdsfortegnelse og handlingsboks */
.hj-author { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; align-items: center; }
.hj-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--hj-sky); }
.hj-author b { display: block; color: var(--hj-ink); font-size: 19px; font-weight: 700; line-height: 1.25; }
.hj-author span { display: block; color: var(--hj-muted); font-size: 16px; line-height: 1.4; }
.hj-author-line { grid-column: 1 / -1; margin-top: 16px !important; color: var(--hj-muted); font-size: 16px; line-height: 1.55; }
.hj-author > a { grid-column: 1 / -1; justify-self: start; margin-top: 8px; color: var(--hj-text); font-size: 16px; text-decoration: none; }
.hj-author > a:hover { color: var(--hj-blue); text-decoration: underline; }
.hj-author.hj-m { margin-top: 28px; padding: 20px 0; box-shadow: inset 0 1px 0 var(--hj-line), inset 0 -1px 0 var(--hj-line); grid-template-columns: 56px 1fr; column-gap: 14px; }
.hj-author.hj-m img { width: 56px; height: 56px; }
.hj-author.hj-m .hj-author-line { margin-top: 12px !important; }
.hj-toc-m { margin-top: 28px; box-shadow: inset 0 1px 0 var(--hj-line), inset 0 -1px 0 var(--hj-line); }
.hj-toc-m ol { margin: 0; padding: 0 0 14px; list-style: none; box-shadow: inset 1px 0 0 var(--hj-line); }
.hj-toc-m a { display: block; padding: 9px 0 9px 16px; color: var(--hj-text); font-size: 15.5px; text-decoration: none; }
.hj-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hj-cta { padding: 26px 24px 22px; border-radius: var(--hj-r); background: var(--hj-blue); color: #fff; }
.hj .hj-cta h2 { margin-bottom: 6px; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.2; }
.hj .hj-cta > p { color: #e3eefc; font-size: 15.5px; line-height: 1.5; }
.hj-cta-field { position: relative; margin-top: 16px; }
.hj-cta .sp-addr-search { height: 54px; padding-left: 14px; gap: 8px; border-radius: 12px; color: var(--hj-ink); }
.hj-cta .sp-addr-search svg { stroke-width: 2; }
.hj-cta .sp-addr-search.is-active, html body .hj-cta .sp-addr-search:focus-within { background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #9cc7ff; }
html body .hj-cta .sp-addr-search input { font-size: 16px; }
.hj-cta .sp-addr-search-locate { border-radius: 10px; }
.hj-cta-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.hj-cta-list li { position: relative; padding-left: 26px; color: #fff; font-size: 15.5px; line-height: 1.4; }
.hj-cta-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d5f5ea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 10.5 3.500 3.500 7.500-8'/%3E%3C/svg%3E") center/18px no-repeat; }
.hj .hj-cta-proof { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 16px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); color: #dbe8fa; font-size: 14.5px; }
.hj-cta-proof b { color: #fff; font-weight: 600; }
.hj-cta-g { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.hj-cta-g svg { width: 16px; height: 16px; stroke: none; }
.hj-cta :focus-visible { outline-color: #fff; }
.hj-cta.hj-m { margin-top: 56px; }
.hj-side { display: none; }

/* Under artikkelen: flere artikler og kontaktkortet, i full bredde */
.hj-more-sec { padding: 64px 0; background: var(--hj-panel); }
.hj-more-sec h2 { margin-bottom: 28px; font-size: clamp(28px, 6.6vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.hj-contact-sec { padding: 64px 0 80px; background: var(--hj-bg); }
.hj-contact { display: grid; gap: 14px; }
.hj-contact-ph { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--hj-r); background: var(--hj-panel); }
.hj-contact-ph img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hj-contact-who { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hj-contact-who b { font-size: 21px; }
.hj-contact-text { display: flex; flex-direction: column; padding: 32px 24px; border-radius: var(--hj-r); background: var(--hj-panel); }
.hj-contact h2 { margin-bottom: 10px; font-size: clamp(30px, 7vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.hj-contact-lead { color: var(--hj-muted); font-size: 19px; }
.hj-contact-foot { display: grid; gap: 28px; margin-top: 48px; }
.hj-contact-n b { display: block; color: var(--hj-ink); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.hj-contact-n span { display: block; margin-top: 4px; color: var(--hj-muted); font-size: 15px; }
.hj-contact ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hj-contact li { display: flex; align-items: flex-start; gap: 12px; color: var(--hj-ink); }
.hj-contact li svg { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--hj-muted); }
.hj-contact li a { color: var(--hj-ink); font-size: 19px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.hj-contact li a:hover { color: var(--hj-blue); }
.hj-contact li small { display: block; color: var(--hj-muted); font-size: 14px; }
.hj-contact .hj-btn { justify-self: start; }

@media (max-width: 639px) {
    /* «Flere hjelpeartikler» sveipes sidelengs på mobil */
    .hj-cards--more { display: flex; gap: 14px; margin: 0 calc(-1 * var(--sp-page-pad, 18px)); padding: 0 var(--sp-page-pad, 18px) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--sp-page-pad, 18px); scrollbar-width: none; }
    .hj-cards--more::-webkit-scrollbar { display: none; }
    .hj-cards--more li { flex: 0 0 80%; scroll-snap-align: start; }
    .hj-hero { margin-inline: calc(-1 * var(--hj-gut)); max-width: none; }
}
@media (min-width: 640px) {
    .hj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hj-contact-text { padding: 44px; }
    .hj-contact-foot { grid-template-columns: 1fr auto; align-items: end; }
}
@media (min-width: 1000px) {
    .hj { padding-top: 64px; }
    .hj--art { padding-top: 0; }
    .hj-top { padding-bottom: 112px; }
    .hj-top h1 { margin-bottom: 48px; }
    .hj-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
    .hj-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(380px, 33.5%, 560px); }
    .hj-art { padding: 56px 72px 112px calc(var(--hj-gut) + clamp(0px, 4vw, 72px)); }
    .hj-art > * { max-width: 800px; }
    .hj-back { margin-bottom: 36px; }
    .hj-m { display: none !important; }
    .hj-hero { margin-top: 44px; }
    .hj-hero .hj-pic--app, .hj-fig .hj-pic--app { aspect-ratio: 4 / 3; }
    .hj-side { display: block; background: var(--hj-panel); }
    .hj-side-in { position: sticky; top: var(--hj-top, 80px); max-height: calc(100vh - var(--hj-top, 80px)); overflow-y: auto; scrollbar-width: none; padding: 26px var(--hj-gut) 32px 44px; }
    .hj-side-in::-webkit-scrollbar { display: none; }
    .hj-side .hj-author { margin: 32px var(--hj-gut) 0 44px; padding-bottom: 24px; box-shadow: inset 0 -1px 0 var(--hj-line); }
    .hj-toc { padding: 0 0 28px; }
    .hj-side .hj-cta-list { display: none; }
    .hj-side .hj-cta { padding: 22px 22px 18px; }
    .hj-toc h2 { margin-bottom: 12px; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
    .hj-toc ol { margin: 0; padding: 0; list-style: none; box-shadow: inset 1px 0 0 var(--hj-line); }
    .hj-toc a { display: block; padding: 6px 0 6px 16px; color: var(--hj-muted); font-size: 14.5px; line-height: 1.4; letter-spacing: .03em; text-decoration: none; }
    .hj-toc a:hover { color: var(--hj-ink); }
    .hj-toc a.on { color: var(--hj-ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--hj-ink); }
    .hj-more-sec { padding: 96px 0 104px; }
    .hj-more-sec h2 { margin-bottom: 44px; }
    .hj-contact-sec { padding: 96px 0 120px; }
    .hj-contact { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 20px; }
    .hj-contact-ph img { aspect-ratio: auto; min-height: 420px; }
    .hj-contact-text { padding: 56px 60px; }
    .hj-contact-foot { margin-top: auto; padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { .hj * { transition: none !important; } }

/* Nummererte lister i artiklene */
.hj-body ol { margin: 0; padding-left: 24px; display: grid; gap: 6px; }
.hj-body ol li::marker { color: var(--hj-blue); font-weight: 700; }
.hj-body p + ol, .hj-body ol + p { margin-top: 14px; }

/* ---------- Oversikten (/hjelp): søk og mest stilte spørsmål til venstre, temaer og kontakt i grå boks til høyre ---------- */
.hj-home { display: grid; gap: 40px; padding-bottom: 24px; }
.hj-home-main { min-width: 0; }
.hj-home h1 { margin-bottom: 20px; font-size: clamp(30px, 7.4vw, 44px); letter-spacing: -0.03em; }
.hj-search { position: relative; }
html body .hj-search input { width: 100%; height: 58px; margin: 0; padding: 0 20px 0 52px; border: 0; border-radius: 12px; background: #fff; color: var(--hj-ink);
    font: 500 17px/1.2 'DM Sans', system-ui, sans-serif; outline: none; box-shadow: inset 0 0 0 1.5px #cfd6de; -webkit-appearance: none; appearance: none; }
html body .hj-search input:focus { box-shadow: inset 0 0 0 2px var(--hj-blue), 0 0 0 4px #cfe3ff; }
.hj-search input::-webkit-search-cancel-button { display: none; }
.hj-search span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); display: grid; pointer-events: none; }
.hj-search svg { width: 20px; height: 20px; stroke: var(--hj-ink); stroke-width: 2.2; }
.hj-results[hidden], #hj-list[hidden] { display: none; }
.hj-home-main h2 { margin: 40px 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.hj-pop { margin: 0; padding: 0; list-style: none; }
.hj-pop li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 22px 0; box-shadow: inset 0 -1px 0 var(--hj-line); }
.hj-pop li:last-child { box-shadow: none; }
.hj-pop li > svg { width: 22px; height: 22px; margin-top: 3px; color: var(--hj-blue); }
.hj .hj-pop-q { color: var(--hj-blue); font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.hj .hj-pop-q:hover { text-decoration: underline; }
.hj-pop p { margin-top: 6px; color: var(--hj-text); font-size: 16.5px; line-height: 1.55; }
.hj .hj-pop-tag { display: inline-block; margin-top: 8px; color: var(--hj-blue); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.hj span.hj-pop-tag { color: var(--hj-muted); }
.hj a.hj-pop-tag:hover { text-decoration: underline; }
.hj-results > p { margin-top: 10px; }
.hj-home-side { align-self: start; padding: 32px 28px 28px; border-radius: var(--hj-r); background: var(--hj-panel); }
.hj-home-side h2 { margin-bottom: 14px; font-size: 18px; letter-spacing: 0; font-weight: 700; }
.hj-home-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.hj .hj-home-side li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--hj-blue); font-size: 17px; font-weight: 500; text-decoration: none; }
.hj .hj-home-side a:hover { text-decoration: underline; }
.hj-home-contact { margin-top: 20px; padding-top: 22px; box-shadow: inset 0 1px 0 #d9dee5; }
.hj .hj-home-contact > a { color: var(--hj-blue); font-size: 17px; font-weight: 700; text-decoration: none; }
.hj-home-contact p { margin-top: 4px; color: var(--hj-muted); font-size: 16px; line-height: 1.5; }
.hj .hj-home-contact p a { color: var(--hj-ink); font-weight: 600; text-decoration: none; }
@media (min-width: 1000px) {
    .hj-home { grid-template-columns: minmax(0, 780px) 380px; justify-content: center; gap: 96px; }
    .hj-home-side { position: sticky; top: calc(var(--sp-nav-height, 72px) + 60px); padding: 40px 40px 36px; }
}
