/* Aktuelt – oversikt og artikler. Bygger på style.css (.page, .wrap, .eyebrow, .btn). */

.art-side { padding-bottom: 80px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.art-kat { color: var(--accent); }

/* Filter */
.art-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 28px; }
.art-filter__knapp { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 14px; color: var(--muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.art-filter__knapp:hover { color: var(--text); border-color: var(--text); }
.art-filter__knapp[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Kort */
.art-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.art-liste--to { margin-top: 18px; }
.art-kort[hidden] { display: none; }
.art-kort { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); }
.art-kort:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); transform: translateY(-3px); }
.art-kort__lenke { display: flex; flex-direction: column; height: 100%; padding: 28px; text-decoration: none; color: inherit; }
.art-kort__lenke:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.page .art-kort__tittel, .art-kort__tittel { margin: 0 0 12px; font-size: 26px; line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.art-kort__ingress { margin: 0 0 22px; color: #c3c1c9; font-size: 16px; }
.art-kort__les { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--accent); }
.art-kort__les span { display: inline-block; transition: transform 0.3s var(--ease); }
.art-kort:hover .art-kort__les span { transform: translateX(4px); }
.art-kort--stor { grid-column: 1 / -1; }
.art-kort--stor .art-kort__lenke { padding: 40px; }
.art-kort--stor .art-kort__tittel { font-size: clamp(30px, 4vw, 46px); max-width: 22ch; }
.art-kort--stor .art-kort__ingress { font-size: 18px; max-width: 60ch; }

/* Artikkel */
.art .art-smuler { margin: 0 0 30px; font-size: 13px; }
.art .art-smuler a { color: var(--muted); text-decoration: none; }
.art .art-smuler a:hover { color: var(--text); }
.page .art__tittel { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; font-size: clamp(32px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.05em; margin: 0 0 22px; text-wrap: balance; }
.art__ingress { margin: 0 0 40px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.35; color: var(--text) !important; }
.art__brod { font-size: 18px; line-height: 1.7; }
.art__brod p, .art__brod li { color: #cfcdd4; }
.art__brod h2 { font-size: 28px; letter-spacing: -0.035em; margin: 52px 0 12px; line-height: 1.15; }
.art__brod h3 { font-size: 21px; letter-spacing: -0.02em; margin: 34px 0 8px; }
.art__brod ul, .art__brod ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.art__brod li { margin: 0 0 0.5em; padding-left: 0.2em; }
.art__brod li::marker { color: var(--accent); }
.art__brod a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art__brod a:hover { color: var(--accent); }
.art__brod strong { color: var(--text); }
.art__brod blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); }
.art__brod blockquote p { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.4; color: var(--text); }
.art__brod code { font-family: var(--mono); font-size: 0.85em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); }

.art-kilder { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.page .art-kilder h2 { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.art-kilder ol { margin: 0; padding-left: 1.2em; font-size: 15px; }
.art-kilder li { margin-bottom: 6px; }
.art-kilder a { color: var(--muted); text-underline-offset: 3px; }
.art-kilder a:hover { color: var(--text); }

.art-cta { margin: 56px 0 0; padding: 36px; border-radius: var(--radius); border: 1px solid rgba(200, 242, 90, 0.25); background: radial-gradient(ellipse at top right, rgba(200, 242, 90, 0.10), transparent 60%), rgba(255, 255, 255, 0.02); }
.art-cta .eyebrow { margin-bottom: 14px; }
.art-cta__tittel { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; color: var(--text) !important; line-height: 1.15; }
.art-cta p { margin: 0 0 22px; }

.page .art-mer h2 { font-size: 24px; margin: 64px 0 0; }

/* Forsiden: de tre nyeste */
.art-liste--tre { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
.art-liste--tre .art-kort__tittel { font-size: 23px; }
.art-alle { margin: 32px 0 0; }
@media (max-width: 1080px) { .art-liste--tre { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .art-liste { grid-template-columns: 1fr; }
  .art-kort--stor .art-kort__lenke, .art-kort__lenke { padding: 24px; }
  .art__brod { font-size: 17px; }
  .art-cta { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .art-kort, .art-kort__les span { transition: none; }
  .art-kort:hover { transform: none; }
}
