/* AlbIT AB — Kunskap: artikel, hub och startside-teaser.
   v2 (2026-07-09): omtemad till nya varumärket (guld/Montserrat/Inter) i samma
   veva som site.v2.css — mönstren speglar /kampanj (eyebrow-streck, more-link,
   note-callout, kortskuggor). Bumpat filnamn: /assets/* serveras immutable. */

.article-wrap, .hub-wrap { max-width: 1140px; margin: 0 auto; padding: 64px 26px 96px; position: relative; z-index: 1; }
.kunskap-article .article, .article { max-width: 720px; margin: 0 auto; }

.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.back-link { display: inline-flex; align-items: center; gap: 7px; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 18px; transition: color .2s; }
.back-link:hover { color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .32em; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex-shrink: 0; }

.article-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin-bottom: 18px; }
.article-head .dek { font-size: 1.15rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.byline { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

.prose { margin-top: 40px; font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 18px; color: var(--muted); font-style: italic; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.2em 0; }

.callout { background: var(--bg2); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 22px 24px; margin: 1.6em 0; }
.callout > * + * { margin-top: .8em; }
.callout p:first-child { margin-top: 0; }

.article-cta { margin-top: 56px; padding: 44px 36px; border-radius: var(--r); background: var(--ink); text-align: center; color: var(--on-dark); }
.article-cta h2 { font-size: 1.5rem; margin-bottom: 10px; color: var(--on-dark); }
.article-cta p { color: var(--muted-l); margin-bottom: 22px; }
.article-cta .btn { background: var(--paper); color: var(--ink); }
.article-cta .btn:hover { box-shadow: 0 12px 34px rgba(255, 255, 255, .16); }

.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.related h2 { font-size: 1.1rem; margin-bottom: 14px; }
.related ul { list-style: none; display: grid; gap: 10px; }
.related a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.related a:hover { color: var(--muted); }

/* Hub */
.hub-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.hub-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); margin-bottom: 16px; }
.hub-head .dek { font-size: 1.1rem; color: var(--muted); }

/* Card grid (hub + teaser) */
.k-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.k-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(17, 17, 17, .05), 0 14px 34px -20px rgba(17, 17, 17, .15); transition: border-color .3s, transform .3s var(--spring), box-shadow .3s; }
.k-card:hover { border-color: var(--ink); transform: translateY(-5px); box-shadow: 0 16px 44px rgba(17, 17, 17, .08); }
.k-card h2, .k-card h3 { font-size: 1.15rem; margin: 8px 0 10px; }
.k-card p { color: var(--muted); font-size: .93rem; }
.k-card .eyebrow { margin-bottom: 0; letter-spacing: .2em; }
.k-more { display: inline-block; margin-top: 16px; font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 3px; }

.teaser-all { text-align: center; margin-top: 26px; }
.teaser-all a { font-family: 'Montserrat', 'Montserrat Fallback', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 3px; }

@media (max-width: 720px) {
  .article-wrap, .hub-wrap { padding: 40px 20px 64px; }
}
