/* HS2 – søkelister (skjerm 30, 38, 40, 49, 52). Mobil først; 768 legger filter i venstre
   kolonne, 1200 legger «Se også» i høyre kolonne. Deles av klinikker/priser/leger/video. */

/* ---------- Tittelblokk ---------- */
.sok-hero { background: var(--hs-soft); border-bottom: 1px solid var(--hs-border); }
.sok-hero .inner { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; padding-bottom: 20px; }
.sok-hero .eyebrow { font-size: 12px; font-weight: 600; color: var(--hs-accent); }
.sok-hero .hs2-lead { font-size: 14px; }
.sok-hero .btn-link { font-size: 13px; }
.sok-hero--video { background: linear-gradient(205deg, var(--hs-navy), var(--hs-accent)); color: #fff; border-bottom: 0; }
.sok-hero--video .crumbs, .sok-hero--video .crumbs a { color: #BBDCEC; }
.sok-hero--video .hs2-h1 { color: #fff; }
.sok-hero--video .hs2-lead { color: #D7EAF4; font-size: 15px; }
@media (min-width: 768px) {
  .sok-hero .inner { gap: 12px; padding-top: 32px; padding-bottom: 26px; }
  .sok-hero .hs2-h1 { font-size: 36px; }
  .sok-hero .hs2-lead { font-size: 16px; }
}
@media (min-width: 1200px) {
  .sok-hero .inner { gap: 14px; padding-top: 40px; padding-bottom: 32px; }
  .sok-hero .hs2-h1 { font-size: 44px; }
  .sok-hero .hs2-lead { font-size: 18px; }
}

/* ---------- Grid: mobil = én kolonne, 768 = filter + treff, 1200 = + sidekolonne ---------- */
.sok-grid { display: flex; flex-direction: column; }
.sok-filter { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; padding-bottom: 12px; }
.sok-filter .ftitle { display: none; }
.sok-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hs-border); font-size: 13px; }
.sok-bar .count { font-weight: 600; color: var(--hs-text); }
.sok-bar .count .q { font-weight: 600; }
.sok-bar .sort { display: inline-flex; align-items: center; gap: 5px; color: var(--hs-muted); white-space: nowrap; }
/* Tjenestesøket (38M/38N): filterraden har ingen skillelinje under. */
.sok-grid--service .sok-bar { border-bottom: 0; }
.sok-results { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; padding-bottom: 20px; }
.sok-results .rhead { display: none; }
.sok-side { display: flex; flex-direction: column; gap: 16px; padding-bottom: 20px; }
@media (min-width: 768px) {
  .sok-grid { display: grid; grid-template-columns: 228px minmax(0, 1fr); column-gap: 24px; align-items: start; padding-top: 26px; padding-bottom: 26px; }
  .sok-aside { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; position: sticky; top: 16px; }
  /* Ingen ytterboks rundt filterkolonnen: filter, kategoripanel og sortering er egne flater. */
  .sok-filter { padding: 0; border: 0; border-radius: 0; background: none; gap: 14px; }
  .sok-filter .ftitle { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--hs-muted); }
  .sok-bar { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--hs-border); border-radius: 0; background: none; }
  .sok-bar .count { display: none; }
  .sok-bar .sort { flex-direction: column; align-items: stretch; gap: 7px; white-space: normal; }
  .sok-bar .sort .lead { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--hs-muted); }
  .sok-results { grid-column: 2; grid-row: 1; padding: 0; gap: 14px; }
  .sok-results .rhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .sok-results .rhead .n { font-size: 15px; font-weight: 700; color: var(--hs-navy); }
  .sok-results .rhead .d { font-size: 13px; color: var(--hs-muted); }
  .sok-side { grid-column: 2; grid-row: 2; padding: 0; }
}
@media (min-width: 1200px) {
  .sok-grid { grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .sok-filter { gap: 16px; }
  .sok-bar { margin-top: 16px; padding-top: 16px; }
  .sok-results { gap: 16px; }
  .sok-results .rhead .n { font-size: 17px; }
  .sok-results .rhead .d { font-size: 14px; }
}

/* ---------- Søkefelt ---------- */
.sok-search { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-radius: 12px; background: var(--hs-soft); border: 1px solid var(--hs-border); }
.sok-search .ic { color: var(--hs-muted); }
.sok-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--hs-text); outline: none; }
.sok-search input::placeholder { font-weight: 400; color: var(--hs-muted); }
.sok-search:focus-within { border-color: var(--hs-accent); }
.sok-search .clear { display: inline-flex; color: var(--hs-muted); }
@media (min-width: 768px) { .sok-search { padding: 11px 12px; border-radius: 11px; } }

/* ---------- Filterchips (nedtrekk) ---------- */
.sok-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sok-chips .dropdown .label { min-height: 32px; padding: 7px 11px; }
.sok-chips .dropdown .label .ic { flex: none; }
.sok-chips .dropdown.open .label { border-color: var(--hs-border-strong); }
.sok-chips .dropdown .options { max-width: calc(100vw - 2 * var(--hs-gutter)); }
.sok-chips .free-only { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--hs-border); background: #fff; color: var(--hs-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sok-chips .free-only.checked { background: var(--hs-wait-now-bg); border-color: #BFE3CC; color: var(--hs-success); }
.sok-chips .free-only:hover { text-decoration: none; }
@media (min-width: 768px) {
  .sok-chips { flex-direction: column; flex-wrap: nowrap; gap: 8px; }
  .sok-chips .dropdown { display: block; max-width: 100%; }
  .sok-chips .dropdown .label { display: flex; width: 100%; min-height: 40px; padding: 10px 12px; border-radius: 10px; background: #fff; border-color: var(--hs-border-strong); font-size: 14px; }
  .sok-chips .dropdown .label.active { background: var(--hs-navy); border-color: var(--hs-navy); }
  .sok-chips .dropdown .label .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .sok-chips .dropdown .options { position: static; margin-top: 6px; min-width: 0; max-width: none; box-shadow: none; }
  .sok-chips .free-only { justify-content: center; min-height: 40px; border-radius: 10px; font-size: 14px; }
  /* Åpent filterpanel er én egen flate: panelhode (uten flate, med skillelinje) + valgliste. */
  .sok-chips .dropdown.open .label,
  .sok-chips .dropdown.open .label.active { background: #fff; border-color: var(--hs-border-strong); border-bottom-color: var(--hs-border); border-radius: 12px 12px 0 0; color: var(--hs-text); }
  .sok-chips .dropdown.open .options { margin-top: 0; padding: 6px; border: 1px solid var(--hs-border-strong); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; }
}

/* ---------- Ledig plass-bryter (49) ---------- */
.sok-free { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; background: var(--hs-wait-now-bg); border: 1px solid #BFE3CC; color: #0E5C33; }
.sok-free:hover { text-decoration: none; }
.sok-free .iconbox { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: #fff; color: var(--hs-success); }
.sok-free .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sok-free .txt strong { font-size: 14px; font-weight: 700; color: #0E5C33; }
.sok-free .txt span { font-size: 12px; color: #2A7A4E; }
.sok-free .switch { flex: none; position: relative; width: 46px; height: 27px; border-radius: 999px; background: var(--hs-border-strong); transition: background .15s; }
.sok-free .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 999px; background: #fff; transition: left .15s; }
.sok-free.checked .switch { background: var(--hs-success); }
.sok-free.checked .switch::after { left: 22px; }
.sok-free:not(.checked) { background: #fff; border-color: var(--hs-border-strong); color: var(--hs-text); }
.sok-free:not(.checked) .txt strong { color: var(--hs-navy); }
.sok-free:not(.checked) .txt span { color: var(--hs-muted); }
.sok-free:not(.checked) .iconbox { background: var(--hs-soft); color: var(--hs-navy); }

/* ---------- Nedtrekksinnhold fra AJAX (row / radio / back / num) ---------- */
.dropdown .options .row { display: flex; align-items: center; gap: 4px; }
.dropdown .options .row a.radio { flex: 1; min-width: 0; min-height: 40px; }
.dropdown .options .row a.radio > span { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dropdown .options .row a.radio strong { font-weight: 400; }
.dropdown .options .row a.radio.checked strong { font-weight: 600; }
.dropdown .options .row a.radio::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 999px; border: 1.5px solid var(--hs-border-strong); background: #fff; }
.dropdown .options .row a.radio.checked::before { border: 5px solid var(--hs-navy); }
.dropdown .options i.all { font-style: normal; }
.dropdown .options i.num { font-style: normal; font-size: 12px; font-weight: 500; color: var(--hs-muted); }
.dropdown .options .row a.btn { flex: none; width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 8px; background: var(--hs-soft); border: 0; color: var(--hs-navy); }
/* Panelhodet i åpent filterpanel: ingen grå flate inni panelet, skillelinjen beholdt. */
.dropdown .options .row.back a.btn { width: 24px; height: 24px; border-radius: 6px; background: none; color: var(--hs-blue); }
.dropdown .options .row.back a.btn:hover { background: none; }
.dropdown .options .row a.btn::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin-left: -3px; }
.dropdown .options .row a.btn:hover { filter: none; background: #e6eef2; }
.dropdown .options .row.back { padding: 4px 4px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--hs-border); color: var(--hs-navy); font-size: 13px; font-weight: 600; }
.dropdown .options .row.back a.btn::before { transform: rotate(135deg); margin-left: 3px; }
.dropdown .options i.loading, .dropdown .options i.nohits { display: flex; align-items: center; gap: 8px; padding: 10px; font-style: normal; font-size: 13px; color: var(--hs-muted); }
.dropdown .options i.loading::before { content: ""; width: 14px; height: 14px; border-radius: 999px; border: 2px solid var(--hs-border-strong); border-top-color: var(--hs-navy); animation: sok-spin .8s linear infinite; }
@keyframes sok-spin { to { transform: rotate(360deg); } }

/* ---------- Sortering ---------- */
.sok-bar .sort .dropdown .label { padding: 0; min-height: 0; background: none; border: 0; color: var(--hs-blue); font-size: 13px; }
.sok-bar .sort .dropdown .options { left: auto; right: 0; }
.sok-bar .sort .dropdown .options .row a.radio { min-height: 40px; }
@media (min-width: 768px) {
  .sok-bar .sort .dropdown { display: block; }
  .sok-bar .sort .dropdown .label { display: none; }
  /* Sorteringen er en egen flate i filterkolonnen, som kategoripanelet. */
  .sok-bar .sort .dropdown .options { display: block; position: static; min-width: 0; padding: 6px; border: 1px solid var(--hs-border-strong); border-radius: 12px; background: #fff; box-shadow: none; max-height: none; }
  .sok-bar .sort .dropdown .options .row a.radio { padding: 8px 10px; }
}

/* ---------- Felles kortstil ---------- */
.sok-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--hs-border); border-radius: 16px; }
.sok-card .top { display: flex; gap: 12px; align-items: flex-start; }
.sok-card .top .logo-box { width: 92px; height: 46px; border-radius: 10px; }
.sok-card .top .logo-box .placeholder { font-size: 17px; color: var(--hs-blue); }
.sok-card .top .logo-box { background: var(--hs-soft); }
.sok-card .top .logo-box:has(img) { background: #fff; }
.sok-card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.sok-card .name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--hs-navy); }
.sok-card .place { display: inline-flex; align-items: flex-start; gap: 5px; font-size: 13px; font-weight: 500; color: var(--hs-muted); line-height: 1.3; }
.sok-card .place .ic { flex: none; margin-top: 1px; }
.sok-card .rating-row { font-size: 12px; font-weight: 500; color: var(--hs-muted); gap: 8px; }
.sok-card .chips { gap: 4px; }
.sok-card .chips .chip { padding: 4px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; color: var(--hs-muted); }
.sok-card .chips .chip-video { background: var(--hs-info-bg); color: var(--hs-blue); }
.sok-card .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--hs-muted); }
.sok-card .btn-link { font-size: 13px; }
.sok-card .mapwrap { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.sok-card .map { display: none; position: relative; height: 200px; border-radius: 12px; background: var(--hs-soft) center / cover no-repeat; border: 1px solid var(--hs-border); overflow: hidden; }
.sok-card .map a { position: absolute; right: 8px; width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 1px solid var(--hs-border-strong); color: var(--hs-navy); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.sok-card .map .btn-fullscreen { top: 8px; }
.sok-card .map .btn-fullscreen::before { content: "⤢"; }
.sok-card .map .btn-pluss { top: 48px; }
.sok-card .map .btn-pluss::before { content: "+"; }
.sok-card .map .btn-minus { top: 88px; }
.sok-card .map .btn-minus::before { content: "−"; }
.sok-card .map a:hover { text-decoration: none; }

/* Tjenester i klinikkort */
.sok-card .services { display: flex; flex-direction: column; }
.sok-card .services .eyebrow { padding-bottom: 4px; }
.sok-card .srow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hs-border); color: inherit; }
.sok-card .srow .stext { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: inherit; }
.sok-card .srow .stext:hover { text-decoration: none; }
.sok-card .srow .stext:hover .sname { text-decoration: underline; }
.sok-card .srow .sname { font-size: 14px; font-weight: 500; color: var(--hs-text); line-height: 1.35; }
.sok-card .srow .smeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sok-card .srow .service-coverage { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--hs-blue); background: var(--hs-info-bg); padding: 3px 7px; border-radius: 6px; }
.sok-card .srow .btn-book { flex: none; }
.sok-card .srow .srow-go { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; align-self: center; color: var(--hs-muted); }
.sok-card .srow:hover .srow-go { color: var(--hs-blue); }
.sok-card .more { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: var(--hs-soft); font-size: 13px; font-weight: 600; color: var(--hs-blue); }
.sok-card .more:hover { text-decoration: none; background: #e6eef2; }
.sok-card .bottom { display: flex; flex-direction: column; gap: 10px; }
.sok-card .bottom .btn-link { align-self: center; }

/* Kjedeavdelinger */
.sok-card .chain-departments summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 14px; border-radius: 10px; background: var(--hs-soft); font-size: 13px; font-weight: 600; color: var(--hs-blue); }
.sok-card .chain-departments summary::-webkit-details-marker { display: none; }
.sok-card .chain-departments summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.sok-card .chain-departments[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.sok-card .chain-departments ul { display: flex; flex-direction: column; margin-top: 4px; }
.sok-card .chain-departments li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--hs-border); font-size: 14px; font-weight: 600; color: var(--hs-navy); }
.sok-card .chain-departments li:first-child a { border-top: 0; }
.sok-card .chain-departments li a em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--hs-muted); }
.sok-card .coverage { font-size: 13px; color: var(--hs-muted); }

/* Tjenesterad (38): flat rad med skillelinje over, ingen egen flate og ingen radius. */
.sok-service .box { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hs-border); }
.sok-service .box .stext { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sok-service .box .sname { font-size: 14px; font-weight: 600; color: var(--hs-navy); line-height: 1.35; }
.sok-service .box .sinfo { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.sok-service .box .smeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sok-service .box .service-coverage { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--hs-blue); background: var(--hs-info-bg); padding: 3px 7px; border-radius: 6px; }
.sok-service .box .btn-book { flex: none; }
.sok-service .box .srow-go { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; align-self: center; color: var(--hs-muted); }
.sok-service .box:hover .srow-go { color: var(--hs-blue); }
.sok-service .links { display: flex; flex-wrap: wrap; gap: 16px; }
.sok-service .top .name { font-size: 16px; }

/* Legekort (40) */
.sok-doctor .top .avatar { width: 48px; height: 48px; }
.sok-doctor .top .avatar span { font-size: 15px; font-weight: 700; color: var(--hs-blue); }
.sok-doctor .name { font-size: 16px; }
.sok-doctor .job { font-size: 12px; font-weight: 600; color: var(--hs-blue); }
.sok-doctor .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: var(--hs-muted); }
.sok-doctor .clinics { display: flex; flex-direction: column; gap: 6px; }
.sok-doctor .clinics a, .sok-doctor .clinics span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--hs-soft); font-size: 13px; font-weight: 600; color: var(--hs-navy); }
.sok-doctor .clinics a:hover { text-decoration: none; background: #e6eef2; }
.sok-doctor .clinics .grow { flex: 1; min-width: 0; }
.sok-doctor .actions { display: flex; gap: 10px; }
.sok-doctor .actions .btn { flex: 1; }

/* Fastlegekort (49) */
.sok-gp { flex-direction: row; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; color: inherit; }
.sok-gp:hover { text-decoration: none; border-color: var(--hs-border-strong); background: var(--hs-soft); }
.sok-gp .avatar { width: 46px; height: 46px; }
.sok-gp .avatar span { font-size: 15px; font-weight: 700; color: var(--hs-blue); }
.sok-gp .avatar.free { background: var(--hs-wait-now-bg); border-color: #BFE3CC; }
.sok-gp .avatar.free span { color: var(--hs-success); }
.sok-gp .info { gap: 4px; }
.sok-gp .name { font-size: 15px; }
.sok-gp .job { font-size: 12px; color: var(--hs-muted); }
.sok-gp .place { font-size: 12px; font-weight: 400; }
.sok-gp .rating-row { font-size: 11px; font-weight: 600; }
.sok-gp .slots { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--hs-soft); color: var(--hs-muted); }
.sok-gp .slots.free { background: var(--hs-wait-now-bg); color: var(--hs-success); }
.sok-gp > .ic { flex: none; color: var(--hs-muted); }

/* ---------- Broer, notiser, tomtilstand ---------- */
.sok-bridge { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--hs-info-bg); border: 1px solid var(--hs-info-border); color: var(--hs-navy); font-size: 13px; font-weight: 600; line-height: 1.4; }
.sok-bridge:hover { text-decoration: none; background: #dfeef6; }
.sok-bridge .ic { flex: none; }
.sok-bridge .grow { flex: 1; min-width: 0; }
.sok-inperson { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 14px; background: var(--hs-soft); border: 1px solid var(--hs-border); }
.sok-inperson h2 { font-size: 15px; font-weight: 700; color: var(--hs-navy); }
.sok-inperson p { font-size: 13px; color: var(--hs-text); }
.sok-inperson .dropdown { display: block; }
.sok-inperson .dropdown .label { display: flex; width: 100%; min-height: 44px; padding: 12px 14px; border-radius: 11px; background: #fff; border-color: var(--hs-border-strong); color: var(--hs-text); font-size: 14px; }
.sok-inperson .dropdown .label .txt { flex: 1; }
.sok-inperson .dropdown .options { position: static; margin-top: 6px; min-width: 0; box-shadow: none; }
.sok-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 18px; text-align: center; border-radius: 14px; background: var(--hs-soft); border: 1px solid var(--hs-border); }
.sok-empty .ic { color: var(--hs-border-strong); }
.sok-empty strong { font-size: 14px; font-weight: 700; color: var(--hs-navy); }
.sok-empty p { font-size: 13px; color: var(--hs-muted); line-height: 1.5; }
.sok-empty .btn-link { margin-top: 4px; }

/* ---------- Paginering ---------- */
.sok-pager { display: flex; align-items: center; gap: 10px; padding: 0; }
.sok-pager .txt { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--hs-border); font-size: 14px; font-weight: 600; color: var(--hs-navy); }
.sok-pager .btns { display: contents; }
.sok-pager .btns a, .sok-pager .btns span { display: inline-flex; flex: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 11px; border: 0; background: var(--hs-navy); color: #fff; }
.sok-pager .btns a:hover { text-decoration: none; filter: brightness(1.08); }
.sok-pager .btns span { background: var(--hs-soft); color: var(--hs-border-strong); opacity: 1; }
.sok-pager .prev { order: -1; }

/* ---------- Se også ---------- */
.sok-seealso { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.sok-seealso h2 { font-size: 18px; font-weight: 700; color: var(--hs-navy); }
.sok-seealso a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 12px; background: var(--hs-soft); font-size: 14px; font-weight: 500; color: var(--hs-navy); line-height: 1.4; }
.sok-seealso a:hover { text-decoration: none; background: #e6eef2; }
.sok-seealso a .grow { flex: 1; min-width: 0; }
.sok-seealso a .n { font-size: 12px; color: var(--hs-muted); }
.sok-seealso a .ic { flex: none; color: var(--hs-navy); }
@media (min-width: 768px) { .sok-seealso { padding-top: 0; } }

/* Tjenestesøk gruppert på merkevare: flere tjenester per kort. Radene bærer skillelinjen selv,
   så listen har ingen gap; «Se alle N tjenester» får litt luft over seg. */
.sok-service .services { display: flex; flex-direction: column; gap: 0; }
.sok-service .services .more-services { align-self: flex-start; margin-top: 10px; font-size: 13px; }

/* 30D: bestill-knappen er 220 px og høyrestilt når resultatkolonnen er 892 px. */
@media (min-width: 1200px) {
  .sok-clinic .bottom { flex-direction: row; align-items: center; justify-content: flex-end; gap: 10px; }
  .sok-clinic .bottom .btn-link { align-self: flex-start; }
}
