/* HS2 – artikler og blogg (skjerm 32, 33, 50, 53, 55, 56) + kategori-erfaringer.
   Mobil først; 768/1200 legger innholdsfortegnelse og tilbydere i sidekolonne (retningslinje 8). */

/* ---------- Tittelblokk (b6CgV: uten bakgrunn på mobil, tittel 30 / ingress 16) ---------- */
.art-head .inner { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; padding-bottom: 20px; }
.art-head .text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.art-head .crumbs a:hover { color: var(--hs-navy); }
.art-head .crumbs .cur { color: var(--hs-muted); }
.art-title { font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--hs-navy); letter-spacing: -.01em; overflow-wrap: anywhere; }
.art-title .loc { font-weight: 500; color: var(--hs-muted); }
.art-lead { font-size: 16px; line-height: 1.55; color: var(--hs-text); }
.art-lead > * + * { margin-top: 8px; }
.art-lead strong { font-weight: inherit; }
.art-lead a { font-weight: 600; }
.art-lead h2, .art-lead h3 { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--hs-navy); margin-top: 16px; }
.art-lead ul, .art-lead ol { padding-left: 22px; }
.art-lead ul { list-style: disc; }
.art-lead ol { list-style: decimal; }
.art-lead img { height: auto; border-radius: 12px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.art-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--hs-muted); }
.art-meta .ic { color: var(--hs-muted); }
/* Forfatterrad (E-E-A-T): etikett i muted 12 px, navnet i blue halvfet. Ingen lenke. */
.art-author { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.art-author .ic { flex: none; color: var(--hs-muted); }
.art-author .lbl { font-size: 12px; font-weight: 500; color: var(--hs-muted); }
.art-author .nm { font-size: 12px; font-weight: 600; color: var(--hs-blue); }
.art-head--soft { background: var(--hs-soft); border-bottom: 1px solid var(--hs-border); }
.art-head--soft .inner { gap: 14px; padding-top: 24px; }
.art-head--compact .art-title { font-size: 29px; }
.art-head--compact .art-lead { font-size: 15px; }

/* Startvalg (50 – bare på /hjelp/bestille-time) */
.art-start { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.art-start a { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px; border-radius: 13px; color: var(--hs-navy); background: #fff; border: 1px solid var(--hs-border-strong); }
.art-start a:hover { text-decoration: none; background: var(--hs-soft); }
.art-start a.primary { background: var(--hs-navy); border-color: var(--hs-navy); color: #fff; }
.art-start a.primary:hover { background: var(--hs-navy); filter: brightness(1.08); }
.art-start a.primary .ic { color: #fff; }
.art-start .ic { color: var(--hs-blue); }
.art-start strong { font-size: 14px; font-weight: 700; line-height: 1.25; }
.art-start span { font-size: 11px; line-height: 1.35; color: var(--hs-muted); }
.art-start a.primary span { color: #BBDCEC; }

/* Illustrasjon: full bredde på mobil, avrundet på 768+, høyre kolonne på 1200 */
.art-illustration { display: flex; flex-direction: column; gap: 8px; margin: 4px calc(-1 * var(--hs-gutter)) 0; }
.art-illustration img, .art-illustration .ph { display: block; width: 100%; aspect-ratio: 390 / 210; height: auto; object-fit: cover; background: #DCE4E8; }
.art-illustration .ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 390 / 190; color: rgba(255,255,255,.8); background: linear-gradient(205deg, #004867, #0091CF); }
.art-illustration figcaption { padding: 0 var(--hs-gutter); font-size: 12px; color: var(--hs-muted); line-height: 1.4; }

@media (min-width: 768px) {
  .art-head { background: var(--hs-soft); border-bottom: 1px solid var(--hs-border); }
  .art-head .inner { gap: 16px; padding-top: 32px; padding-bottom: 24px; }
  .art-head .text { gap: 14px; }
  .art-title { font-size: 40px; line-height: 1.1; }
  .art-lead { font-size: 18px; }
  .art-head--compact .art-title { font-size: 34px; }
  .art-head--compact .art-lead { font-size: 18px; }
  .art-head--soft .inner { padding-top: 36px; padding-bottom: 32px; }
  .art-start { grid-template-columns: 1fr 1fr; gap: 14px; }
  .art-start a { flex-direction: row; align-items: center; gap: 14px; padding: 20px; border-radius: 14px; }
  .art-start .txt { display: flex; flex-direction: column; gap: 3px; }
  .art-illustration { margin: 4px 0 0; }
  .art-illustration img, .art-illustration .ph { border-radius: 18px; aspect-ratio: 704 / 320; }
  .art-illustration figcaption { display: none; }
  .art-head--blog .inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 28px; align-items: center; }
  .art-head--blog .art-illustration img, .art-head--blog .art-illustration .ph { aspect-ratio: 300 / 230; border-radius: 16px; }
}
@media (min-width: 1200px) {
  .art-head .inner { display: grid; grid-template-columns: minmax(0, 1fr) 480px; column-gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 44px; }
  .art-head .inner.no-image { display: flex; }
  .art-head .text { gap: 18px; }
  .art-title { font-size: 46px; }
  .art-lead { font-size: 20px; }
  .art-head--compact .art-title { font-size: 40px; }
  .art-head--compact .art-lead { font-size: 19px; }
  .art-illustration { margin: 0; }
  .art-illustration img, .art-illustration .ph { aspect-ratio: 480 / 320; border-radius: 20px; }
  .art-head--blog .inner { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 36px; }
  .art-head--blog .art-illustration img, .art-head--blog .art-illustration .ph { aspect-ratio: 300 / 230; }
  .art-narrow .inner, .art-narrow.art-body { max-width: calc(900px + 2 * var(--hs-gutter)); }
}

/* ---------- Fanerad ---------- */
.art-tabs { padding-left: 0; padding-right: 0; }
@media (min-width: 768px) { .art-tabs { padding-top: 18px; padding-bottom: 18px; border-bottom: 0; } }

/* ---------- Grid: mobil = én kolonne i designets rekkefølge, 768+ = to kolonner ---------- */
.art-body { display: flex; flex-direction: column; gap: 22px; padding-top: 20px; padding-bottom: 16px; }
.art-body > .col-main, .art-body > .col-side { display: contents; }
.art-body .art-cta { order: 1; }
.art-body .art-toc { order: 2; }
.art-body .art-widget { order: 3; }
.art-body .art-text { order: 10; }
.art-body .art-share { order: 11; }
.art-body .art-after { order: 12; }
.art-body .art-side-sections { order: 20; }
.art-body .art-updated { order: 30; }
.art-body .art-side-sections { display: flex; flex-direction: column; gap: 22px; }
@media (min-width: 768px) {
  .art-body { display: grid; grid-template-columns: minmax(0, 1fr) 240px; column-gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 36px; }
  .art-body > .col-main { display: flex; flex-direction: column; gap: 26px; grid-column: 1; min-width: 0; }
  .art-body > .col-side { display: flex; flex-direction: column; gap: 16px; grid-column: 2; }
  .art-body > .col-main > *, .art-body > .col-side > * { order: 0; }
  .art-body--single { display: flex; flex-direction: column; }
  .art-body--single > .col-main { gap: 32px; }
}
@media (min-width: 1200px) {
  .art-body { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .art-body > .col-main { gap: 30px; }
  .art-body > .col-side { gap: 20px; }
  .art-body:not(.art-body--single) .art-text, .art-body:not(.art-body--single) .art-share { max-width: 720px; }
}

/* ---------- Handlingsboks (33): Finn klinikker / på video ---------- */
.art-cta { display: flex; flex-direction: column; gap: 10px; }
.art-cta .btn { width: 100%; }
@media (min-width: 768px) {
  .art-cta { padding: 16px; border-radius: 14px; background: var(--hs-soft); border: 1px solid var(--hs-border); }
}
@media (min-width: 1200px) { .art-cta { padding: 20px; } }

/* ---------- Innholdsfortegnelse ---------- */
.art-toc { background: var(--hs-soft); border: 1px solid var(--hs-border); border-radius: 14px; overflow: hidden; }
.art-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hs-navy); }
.art-toc summary::-webkit-details-marker { display: none; }
.art-toc summary .ic { color: var(--hs-blue); transition: transform .15s; }
.art-toc[open] summary .ic { transform: rotate(180deg); }
.art-toc ol { display: flex; flex-direction: column; padding: 0 14px 12px; }
.art-toc li + li { border-top: 1px solid var(--hs-border); }
.art-toc a { display: flex; align-items: baseline; gap: 9px; padding: 9px 0; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--hs-navy); }
.art-toc a .num { flex: none; font-size: 12px; font-weight: 700; color: var(--hs-border-strong); }
.art-toc a:hover { text-decoration: none; color: var(--hs-blue); }

/* ---------- Priser og ventetider (tilbyderwidget) ---------- */
.art-widget { display: flex; flex-direction: column; gap: 12px; margin: 0 calc(-1 * var(--hs-gutter)); padding: 24px var(--hs-gutter); background: var(--hs-soft); border-top: 1px solid var(--hs-border); border-bottom: 1px solid var(--hs-border); }
.art-widget .head { display: flex; flex-direction: column; gap: 4px; }
.art-widget .head h2 { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--hs-navy); }
.art-widget .head p { font-size: 13px; line-height: 1.5; color: var(--hs-text); }
/* Logoen på egen linje, detaljraden under: info til venstre, pris (eller chevron) til høyre. */
.art-clinic { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; color: inherit; }
.art-clinic:hover { text-decoration: none; background: var(--hs-soft); }
.art-clinic .logo-box { width: 84px; height: 42px; flex: none; }
.art-clinic .logo-box .placeholder { font-size: 11px; letter-spacing: .06em; color: var(--hs-muted); }
.art-clinic .detail { display: flex; align-items: center; gap: 12px; min-width: 0; }
.art-clinic .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.art-clinic .metarow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.art-clinic .name { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--hs-navy); }
.art-clinic .addr { font-size: 12px; line-height: 1.4; color: var(--hs-muted); }
.art-clinic .price { flex: none; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--hs-navy); white-space: nowrap; }
.art-clinic .ic-chevron-right { flex: none; color: var(--hs-border-strong); }
.art-widget .btn-more { background: #fff; }
.art-widget .none { font-size: 13px; color: var(--hs-muted); }
@media (min-width: 768px) {
  .art-widget { margin: 0; padding: 16px; border: 1px solid var(--hs-border); border-radius: 14px; }
  .art-widget .head h2 { font-size: 15px; }
  .art-clinic { gap: 8px; padding: 12px; }
  .art-widget .btn-more { min-height: 40px; font-size: 13px; }
}
@media (min-width: 1200px) {
  .art-widget { padding: 20px; }
  .art-clinic { padding: 14px; }
}

/* ---------- Artikkeltekst ---------- */
.art-text { display: flex; flex-direction: column; gap: 26px; padding: 4px 0; }
.art-section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 16px; }
.art-section-head { display: flex; align-items: center; gap: 8px; }
.art-section-head .num { font-size: 12px; font-weight: 700; color: var(--hs-accent); }
.art-section-head::after { content: ""; flex: 1; height: 1px; background: var(--hs-border); }
.art-section h2 { font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--hs-navy); }
.art-section figure { display: flex; flex-direction: column; gap: 8px; }
.art-section figure img { width: 100%; height: auto; border-radius: 12px; }
.art-section figcaption { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.art-content { font-size: 15px; line-height: 1.6; color: var(--hs-text); overflow-wrap: anywhere; }
.art-content > * + * { margin-top: 10px; }
.art-content h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--hs-navy); margin-top: 16px; }
.art-content h4 { font-size: 15px; font-weight: 700; color: var(--hs-navy); margin-top: 14px; }
.art-content ul, .art-content ol { padding-left: 22px; }
.art-content ul { list-style: disc; }
.art-content ol { list-style: decimal; }
.art-content li + li { margin-top: 4px; }
.art-content li::marker { color: var(--hs-accent); }
.art-content img { height: auto; border-radius: 12px; }
.art-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.art-content th, .art-content td { padding: 8px 10px; border-bottom: 1px solid var(--hs-border); text-align: left; vertical-align: top; }
.art-content th { color: var(--hs-navy); font-weight: 600; background: var(--hs-soft); }
.art-content .table-wrap { overflow-x: auto; }
.art-content blockquote { padding: 12px 16px; border-left: 3px solid var(--hs-accent); background: var(--hs-soft); border-radius: 0 10px 10px 0; }
.art-content a { font-weight: 600; }
.art-content iframe, .art-content video { max-width: 100%; }
@media (min-width: 1200px) {
  .art-section { gap: 12px; }
  .art-section h2 { font-size: 26px; }
  .art-content { font-size: 17px; line-height: 1.6; }
  .art-content h3 { font-size: 19px; }
  .art-content h4 { font-size: 17px; }
}

/* ---------- Lenkechips i teksten («Undersøkelser du kan bestille», «Les mer i litteraturen») ---------- */
.art-chips { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--hs-soft); }
.art-chips .label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hs-muted); }
.art-chips .chips { gap: 8px; }
.art-chip { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hs-border-strong); color: var(--hs-blue); font-size: 13px; font-weight: 600; line-height: 1.2; }
.art-chip:hover { text-decoration: none; background: var(--hs-blue); border-color: var(--hs-blue); color: #fff; }
.art-chips h2 { font-size: 17px; font-weight: 700; color: var(--hs-navy); }
.art-text > .art-section + .art-chips { margin-top: -12px; }
.col-side .art-chips { padding: 16px; border: 1px solid var(--hs-border); border-radius: 14px; }
/* Punkt 1 (53T/53D): «Les mer» mister ytre flate og ramme – chipsene er kortene. Mobil (53M) beholder boksen. */
@media (min-width: 768px) {
  .col-side .art-chips { padding: 0; background: none; border: 0; border-radius: 0; }
}

/* ---------- Relaterte tjenester / Se også (artikkelkort, liten rad) ---------- */
.art-links { display: flex; flex-direction: column; gap: 12px; }
.art-links h2 { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--hs-navy); }
.art-links .list-plain { display: flex; flex-direction: column; gap: 8px; }
.art-link { display: flex; align-items: center; gap: 11px; padding: 14px; background: #fff; border: 1px solid var(--hs-border); border-radius: 12px; color: var(--hs-navy); font-size: 14px; font-weight: 600; line-height: 1.3; }
.art-link:hover { text-decoration: none; background: var(--hs-soft); }
.art-link .ibox { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--hs-soft); color: var(--hs-blue); }
.art-link .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.art-link .sub { font-size: 12px; font-weight: 400; color: var(--hs-muted); line-height: 1.4; }
.art-link .ic-chevron-right { flex: none; color: var(--hs-blue); }
/* Punkt 1: ingen flate+ramme rundt kortlister – det er de indre kortene som er de ekte kortene.
   Seksjonen står fritt, bare med luft over/under. */
.col-main .art-links--soft { margin: 0; padding: 6px 0 2px; background: none; border: 0; }
.art-links--rows .art-link { background: var(--hs-soft); border-color: transparent; padding: 13px 14px; }
.art-links--rows .art-link:hover { background: #e6eef2; }
.col-side .art-links { padding: 0; background: none; border: 0; }
.col-side .art-links .art-link { padding: 12px; }
@media (min-width: 768px) {
  .col-main .art-links--soft { padding: 0; }
  .col-main .art-links .list-plain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .art-body--single .art-links--rows .list-plain { grid-template-columns: repeat(3, 1fr); }
  .art-body--single .art-links--rows .art-link { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; background: #fff; border-color: var(--hs-border); border-radius: 14px; }
  .art-body--single .art-links--rows .art-link .ibox { width: 38px; height: 38px; }
  .art-body--single .art-links--rows .art-link .ic-chevron-right { align-self: flex-end; margin-top: auto; }
  .art-links h2 { font-size: 20px; }
}
@media (min-width: 1200px) {
  .col-side .art-links .list-plain { grid-template-columns: 1fr; }
  .art-body--single .art-links h2 { font-size: 24px; }
  .art-link { padding: 16px 18px; }
}

/* ---------- Blogginnlegg-kort (55) ---------- */
.art-posts { display: flex; flex-direction: column; gap: 12px; }
.art-posts h2 { font-size: 17px; font-weight: 700; color: var(--hs-navy); }
.art-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hs-border); border-radius: 16px; overflow: hidden; color: inherit; }
.art-post:hover { text-decoration: none; background: var(--hs-soft); }
.art-post .thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 358 / 170; color: rgba(255,255,255,.8); background: linear-gradient(205deg, #004867, #0091CF); }
.art-post .thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-post .body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.art-post .metarow { display: flex; align-items: center; gap: 8px; }
.art-post .badge { display: inline-flex; padding: 4px 8px; border-radius: 7px; background: var(--hs-soft); color: var(--hs-blue); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.art-post h3 { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--hs-navy); }
.art-post .more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hs-blue); }
.art-posts .empty { flex-direction: row; justify-content: center; padding: 20px 18px; border-style: solid; border-color: var(--hs-border); background: var(--hs-soft); font-size: 13px; }
@media (min-width: 768px) {
  .art-posts h2 { font-size: 20px; }
  .art-post { flex-direction: row; }
  .art-post .thumb { flex: none; width: 270px; aspect-ratio: auto; min-height: 200px; }
  .art-post .body { padding: 20px; justify-content: center; }
  .art-post h3 { font-size: 19px; }
}
@media (min-width: 1200px) {
  .art-posts h2 { font-size: 24px; }
  .art-posts .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .art-post .thumb { width: 220px; }
}

/* ---------- Delingsrad ---------- */
.art-share { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.art-share .lbl { font-size: 13px; font-weight: 600; color: var(--hs-muted); margin-right: 2px; }
.art-share a, .art-share button { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 999px; background: var(--hs-soft); border: 1px solid var(--hs-border); color: var(--hs-navy); }
.art-share a:hover, .art-share button:hover { background: #e6eef2; text-decoration: none; }
.art-share button.done { background: var(--hs-wait-now-bg); color: var(--hs-success); border-color: #BFE3CC; }
.art-share .copied { font-size: 12px; color: var(--hs-success); font-weight: 600; }

/* ---------- Sist oppdatert (hjelpesider) ---------- */
.art-updated { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--hs-muted); }

/* ---------- Kategori-erfaringer (samme mønster som klinikkens Erfaringer-fane) ---------- */
.art-reviews-head { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; padding-bottom: 8px; }
.art-reviews-head .crumbs .cur { color: var(--hs-muted); }
.art-reviews .section { padding-left: 0; padding-right: 0; }
.art-reviews .filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.art-reviews .summary { font-size: 13px; color: var(--hs-muted); margin-bottom: 10px; }
.art-reviews .review { display: flex; flex-direction: column; gap: 11px; padding: 15px; }
.art-reviews .review .top { display: flex; align-items: center; gap: 11px; }
.art-reviews .review .top .info { display: flex; flex-direction: column; gap: 4px; }
.art-reviews .review .itemlink { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--hs-blue); line-height: 1.35; }
.art-reviews .review .text { font-size: 15px; line-height: 1.55; color: var(--hs-text); }
.art-reviews .review .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.art-reviews .review .report { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--hs-muted); }
.art-reviews .review-summary { display: flex; align-items: center; gap: 14px; padding: 14px; }
.art-reviews .review-summary .big { font-size: 32px; font-weight: 700; color: var(--hs-navy); line-height: 1; }
.art-reviews .review-summary .count { display: block; margin-top: 4px; font-size: 12px; color: var(--hs-muted); }
.art-reviews .review-summary .bars { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.art-reviews .review-summary .bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hs-muted); }
.art-reviews .review-summary .bar:hover { text-decoration: none; color: var(--hs-navy); }
.art-reviews .review-summary .bar i { flex: 1; height: 6px; border-radius: 999px; background: var(--hs-border); overflow: hidden; }
.art-reviews .review-summary .bar i b { display: block; height: 100%; background: var(--hs-star); }
@media (min-width: 768px) {
  .art-reviews-head { padding-top: 30px; }
  .art-reviews .col-main { max-width: 760px; }
  .art-reviews .review-summary { padding: 18px 20px; gap: 24px; }
}
@media (min-width: 1200px) {
  .art-reviews-head { padding-top: 40px; }
}
