/* ═══════════════════════════════════════════════════════════
   akvariumguide.no — style.css
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h3 { font-size: 1.1rem; }
a  { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* ── Layout ──────────────────────────────────────────────── */
.container  { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 64px 0; }
.section-sm { padding: 36px 0; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo-icon { font-size: 1.4rem; }
.logo-name  { font-weight: 700; font-size: 1.05rem; }
.logo-img   { display: block; height: 40px; width: auto; }

.main-nav > ul { list-style: none; display: flex; gap: 2px; align-items: center; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; padding: 6px 11px; border-radius: 7px; transition: var(--transition); display: block; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { background: var(--bg); color: var(--primary); }

/* Dropdown */
.nav-has-sub { position: relative; }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 200px; padding: 6px; list-style: none; z-index: 200; }
.nav-has-sub.open .nav-sub { display: block; }
.nav-sub li a { white-space: nowrap; font-size: .85rem; }
.nav-sub li a:hover { background: var(--bg); color: var(--primary); border-radius: 6px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero-emoji { font-size: 3rem; display: block; margin-bottom: 16px; }
.hero h1    { color: #fff; margin-bottom: 16px; }
.hero-lead  { font-size: 1.1rem; opacity: .9; max-width: 580px; margin: 0 auto 28px; color: #fff; }
.btn-white  { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: #f0f0f0; color: var(--primary-dark); }

.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 52px 0; }
.page-hero h1, .page-hero p { color: #fff; }
.page-hero p { opacity: .88; margin-top: 10px; font-size: 1.05rem; }
.section-label { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.15); color: #fff; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }

/* ── Knapper ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); font-family: var(--font-body); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── Kategorigrid (forside) ──────────────────────────────── */
.kat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kat-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 14px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 4px; transition: var(--transition); }
.kat-card:hover { border-color: var(--primary); background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow); }
.kat-emoji { font-size: 1.5rem; }
.kat-card strong { font-size: .9rem; color: var(--text); }
.kat-card span   { font-size: .75rem; color: var(--text-muted); line-height: 1.4; }

/* ── Artikkelkort ────────────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 8px; transition: var(--transition); box-shadow: var(--shadow); }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: var(--primary); }
.article-card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); }
.article-card h3  { font-size: 1rem; color: var(--text); line-height: 1.3; }
.article-card p   { font-size: .85rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.article-card-meta { display: flex; gap: 12px; font-size: .75rem; color: var(--text-muted); margin-top: 4px; }
.section-title { font-size: 1.5rem; margin-bottom: 28px; }

/* ── Kategoriside intro ──────────────────────────────────── */
.kat-intro { max-width: 740px; font-size: 1.02rem; line-height: 1.8; color: var(--text); }
.kat-intro p { margin-bottom: 16px; }
.kat-intro strong { color: var(--text); }
.kat-intro em { font-style: italic; }

/* ── Artikkelside ────────────────────────────────────────── */
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }

.article-body { min-width: 0; }
.article-body h2 { font-size: 1.4rem; margin: 36px 0 14px; padding-top: 8px; border-top: 2px solid var(--border); }
.article-body h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--primary-dark); }
.article-body p  { margin-bottom: 18px; line-height: 1.8; font-size: 1rem; }
.article-body ul,
.article-body ol { margin: 0 0 18px 24px; line-height: 1.8; }
.article-body li { margin-bottom: 6px; }
.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }
.article-body a  { color: var(--primary); }
.article-body blockquote { border-left: 3px solid var(--primary); margin: 24px 0; padding: 12px 20px; background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-muted); }

/* Spec-boks (artsprofiler) */
.spec-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; margin: 0 0 32px; }
.spec-box h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 14px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 7px 0; font-size: .88rem; vertical-align: top; }
.spec-table td:first-child { color: var(--text-muted); width: 45%; padding-right: 12px; }
.spec-table td:last-child { font-weight: 500; color: var(--text); }

/* TL;DR boks */
.param-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 18px; }
.param-badge { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 10px; text-align: center; }
.param-badge svg { width: 22px; height: 22px; color: var(--primary); margin-bottom: 4px; }
.param-badge-label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.param-badge-value { display: block; font-size: .95rem; font-weight: 700; color: var(--text); margin-top: 2px; }

.art-figur { margin: 0 0 32px; text-align: center; }
.art-figur img { max-width: 320px; width: 100%; height: auto; }
.art-figur figcaption { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }

.foto-figur { margin: 0 0 32px; }
.foto-figur img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.foto-figur figcaption { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }
.foto-figur .foto-credit { float: right; opacity: .85; }
.foto-figur .foto-credit a { color: var(--text-muted); }

.tldr { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; }
.tldr h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 10px; }
.tldr ul { margin: 0 0 0 18px; }
.tldr li { font-size: .92rem; margin-bottom: 5px; color: var(--text); }

/* Forfatterblokk */
.author-box { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-top: 48px; }
.author-box-icon { font-size: 2rem; flex-shrink: 0; }
.author-box-name { font-size: 1rem; font-weight: 700; display: block; margin-bottom: 6px; }
.author-box-bio  { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 8px; }
.author-box-link { font-size: .82rem; color: var(--primary); }

/* Sidebar */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.sidebar-box h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 14px; }
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid var(--border); padding: 7px 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text); text-decoration: none; font-size: .85rem; line-height: 1.4; display: block; }
.sidebar-list a:hover { color: var(--primary); }
.sidebar-all { display: block; margin-top: 12px; font-size: .8rem; color: var(--primary); }

/* ── Om-siden prose ──────────────────────────────────────── */
.prose { max-width: 740px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose p  { font-size: 1rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 16px; }
.prose p a { color: var(--primary); }
.prose ul  { margin: 0 0 16px 24px; color: var(--text-muted); line-height: 1.8; }
.prose li  { margin-bottom: 4px; }

/* ── Om-forside strip ────────────────────────────────────── */
.about-strip { max-width: 680px; }
.about-strip h2 { margin-bottom: 16px; }
.about-strip p  { font-size: .97rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 12px; }

/* ── Kontakt ─────────────────────────────────────────────── */
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.info-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.info-card-icon  { font-size: 1.6rem; margin-bottom: 6px; }
.info-card-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.info-card-value { font-size: .9rem; font-weight: 600; color: var(--text); }
.info-card a { color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group   { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group textarea {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font-size: .95rem; font-family: var(--font-body);
  outline: none; transition: border-color var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 140px; }
.alert         { border-radius: var(--radius); padding: 14px 16px; font-size: .88rem; margin-bottom: 20px; }
.alert-success { background: #f0faf4; border: 1px solid #a7f3d0; color: #065f46; }

/* ── Juridisk ────────────────────────────────────────────── */
.legal-section h2 { font-size: 1.15rem; margin-bottom: 10px; }
.legal-section p  { font-size: .9rem; line-height: 1.75; color: var(--text-muted); }
.legal-section ul { font-size: .9rem; line-height: 1.75; color: var(--text-muted); margin: 10px 0 10px 24px; }
.legal-divider    { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: #0d1b2a; color: #d1d5db; padding: 48px 0 0; margin-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 1fr repeat(2, auto); gap: 32px 48px; padding-bottom: 40px; }
.footer-logo    { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 8px; display: block; }
.footer-logo-img { display: block; height: 36px; width: auto; margin-bottom: 8px; }
.footer-tagline { font-size: .85rem; color: #9ca3af; }
.footer-nav-group h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin-bottom: 12px; }
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav-group a  { color: #9ca3af; text-decoration: none; font-size: .85rem; transition: var(--transition); }
.footer-nav-group a:hover { color: #fff; }
.footer-bottom   { background: rgba(0,0,0,.2); padding: 16px 0; }
.footer-bottom p { font-size: .78rem; color: #6b7280; }

/* ── Flowchart ───────────────────────────────────────────── */
.flow { margin: 32px 0; }
.flow-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 20px; font-weight: 700; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.flow-start { background: var(--primary); color: #fff; border-radius: 24px; padding: 10px 20px; text-align: center; font-size: .9rem; font-weight: 700; margin: 0 auto 8px; max-width: 300px; }
.flow-q { background: #fff8e1; border: 2px solid #f59e0b; border-radius: 8px; padding: 12px 16px; text-align: center; font-size: .88rem; font-weight: 600; margin: 0 auto; max-width: 320px; color: #78350f; }
.flow-arrow { text-align: center; color: var(--text-muted); font-size: 1.4rem; line-height: 1.2; margin: 4px 0; }
.flow-branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 8px 0; }
.flow-branch { display: flex; flex-direction: column; gap: 6px; }
.flow-bl { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; text-align: center; padding: 3px 8px; border-radius: 4px; }
.flow-yes { background: #dcfce7; color: #15803d; }
.flow-no  { background: #fee2e2; color: #b91c1c; }
.flow-r { border-radius: 8px; padding: 12px 14px; font-size: .83rem; line-height: 1.5; }
.flow-r strong { display: block; margin-bottom: 4px; font-size: .88rem; }
.flow-ok   { background: #f0faf4; border: 1.5px solid #22c55e; }
.flow-warn { background: #fffbeb; border: 1.5px solid #f59e0b; }
.flow-bad  { background: #fef2f2; border: 1.5px solid #ef4444; }
.flow-info { background: #eff6ff; border: 1.5px solid #3b82f6; }

/* ── Algediagnose-grid ───────────────────────────────────── */
.alge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }
.alge-card { border-radius: var(--radius); padding: 16px; border-left: 5px solid; }
.alge-card h4 { font-size: .92rem; margin-bottom: 6px; }
.alge-card p  { font-size: .82rem; line-height: 1.55; color: var(--text-muted); margin-bottom: 0; }
.alge-card .tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 20px; margin-bottom: 8px; }
.alge-brun  { background: #fef9f0; border-color: #d97706; }
.alge-brun  .tag { background: #fef3c7; color: #92400e; }
.alge-gronn { background: #f0faf4; border-color: #16a34a; }
.alge-gronn .tag { background: #dcfce7; color: #15803d; }
.alge-svart { background: #f1f5f9; border-color: #334155; }
.alge-svart .tag { background: #e2e8f0; color: #1e293b; }
.alge-cyan  { background: #f0fdfa; border-color: #0d9488; }
.alge-cyan  .tag { background: #ccfbf1; color: #134e4a; }
.alge-vann  { background: #eff6ff; border-color: #2563eb; }
.alge-vann  .tag { background: #dbeafe; color: #1e40af; }
.alge-trad  { background: #fafaf9; border-color: #65a30d; }
.alge-trad  .tag { background: #ecfccb; color: #365314; }
.alge-staghorn { background: #f5f3ff; border-color: #7c3aed; }
.alge-staghorn .tag { background: #ede9fe; color: #4c1d95; }

/* ── Budsjett-kort ───────────────────────────────────────── */
.budget-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.budget-card { border-radius: var(--radius-lg); padding: 20px; border: 2px solid var(--border); }
.budget-price { font-size: 1.7rem; font-weight: 800; margin-bottom: 2px; }
.budget-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.budget-card ul { list-style: none; font-size: .82rem; line-height: 1.9; }
.budget-card ul li::before { content: '✓ '; font-weight: 700; }
.budget-t1 { background: #f8fafc; } .budget-t1 .budget-price { color: #64748b; } .budget-t1 ul li::before { color: #64748b; }
.budget-t2 { background: #f0faf4; } .budget-t2 .budget-price { color: #16a34a; } .budget-t2 ul li::before { color: #16a34a; }
.budget-t3 { background: #eff6ff; } .budget-t3 .budget-price { color: #2563eb; } .budget-t3 ul li::before { color: #2563eb; }
.budget-t4 { background: #faf5ff; } .budget-t4 .budget-price { color: #7c3aed; } .budget-t4 ul li::before { color: #7c3aed; }

/* ── Hardhetsskala og bytabell ───────────────────────────── */
.hardness-bar { display: flex; border-radius: var(--radius); overflow: hidden; margin: 16px 0; height: 36px; }
.hb-mykt  { background: #bfdbfe; flex: 2; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #1d4ed8; }
.hb-middels { background: #a7f3d0; flex: 3; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #065f46; }
.hb-hardt { background: #fde68a; flex: 3; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #92400e; }
.hb-vhardt { background: #fca5a5; flex: 2; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #991b1b; }
.city-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .85rem; }
.city-table th { background: var(--primary); color: #fff; padding: 9px 12px; text-align: left; font-size: .78rem; }
.city-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.city-table tr:nth-child(even) td { background: var(--bg); }
.soft-tag   { background: #dbeafe; color: #1e40af; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; }
.medium-tag { background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; }
.hard-tag   { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 700; }

/* ── Lysskala ────────────────────────────────────────────── */
.light-scale { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.light-row { display: flex; align-items: center; gap: 14px; }
.light-bar-fill { height: 32px; border-radius: 6px; display: flex; align-items: center; padding: 0 12px; font-size: .75rem; font-weight: 700; color: #fff; flex-shrink: 0; white-space: nowrap; }
.light-low   { background: #4d7c0f; width: 80px; }
.light-med   { background: #1d6b1d; width: 140px; }
.light-high  { background: #1a56db; width: 200px; }
.light-xhigh { background: #6d28d9; width: 260px; }
.light-row-label { font-size: .85rem; line-height: 1.4; }
.light-row-label strong { display: block; }
.light-row-label span { font-size: .78rem; color: var(--text-muted); }

/* ── Responsiv ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 2px; }
  .nav-sub { position: static; border: none; box-shadow: none; padding: 0 0 0 16px; }
  .nav-has-sub.open .nav-sub { display: block; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .kat-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (max-width: 480px) {
  .article-grid { grid-template-columns: 1fr; }
}

/* -- Les videre ------------------------------------------ */
.relatert { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.relatert h2 { font-size: 1.25rem; margin-bottom: 18px; }
.relatert-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.relatert-liste li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; transition: var(--transition); }
.relatert-liste li:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.relatert-liste a { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; color: var(--text); text-decoration: none; }
.relatert-liste li:hover a { color: var(--primary); }
.relatert-liste p { margin: 7px 0 0; font-size: .82rem; line-height: 1.55; color: var(--text-muted); }

/* -- Datatabeller (flerkolonnes, med overskriftsrad) ------ */
.tabell-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.data-tabell { width: 100%; min-width: 460px; border-collapse: collapse; font-size: .86rem; }
.data-tabell th { text-align: left; padding: 9px 12px 9px 0; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--primary);
  border-bottom: 2px solid var(--border); vertical-align: bottom; }
.data-tabell td { padding: 9px 12px 9px 0; vertical-align: top; line-height: 1.5;
  border-bottom: 1px solid var(--border); color: var(--text); }
.data-tabell tr:last-child td { border-bottom: none; }
.data-tabell th:last-child, .data-tabell td:last-child { padding-right: 0; }
.data-tabell td strong { font-weight: 600; }
.data-tabell em { font-style: italic; color: var(--text-muted); }
