/* AlbIT AB — Kunskap: artikel, hub och startside-teaser */

.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: 'Fragment Mono', monospace; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-decoration: none; margin-bottom: 18px; transition: color .2s; }
.back-link:hover { color: var(--accent-deep); }

.eyebrow { display: inline-block; color: var(--accent); margin-bottom: 14px; }

.article-head h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: 18px; }
.article-head .dek { font-family: 'Schibsted Grotesk', Georgia, sans-serif; font-style: italic; font-size: 1.25rem; color: var(--muted); line-height: 1.5; 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.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--accent); 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(--accent-soft); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; margin: 1.6em 0; }
.callout > * + * { margin-top: .8em; }
.callout p:first-child { margin-top: 0; }

.article-cta { margin-top: 56px; padding: 36px; border-radius: 18px; background: linear-gradient(180deg, #EDE7DC, #E4DECF); text-align: center; }
.article-cta h2 { font-size: 1.5rem; margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 20px; }

.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(--accent); text-decoration: none; font-weight: 600; }

/* Hub */
.hub-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.hub-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 16px; }
.hub-head .dek { font-family: 'Schibsted Grotesk', Georgia, sans-serif; font-style: italic; font-size: 1.2rem; color: var(--muted); }

/* Card grid (hub + teaser) */
.k-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.k-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.k-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26, 31, 28, .10); }
.k-card h2, .k-card h3 { font-size: 1.25rem; margin: 6px 0 10px; }
.k-card p { color: var(--muted); font-size: .96rem; }
.k-more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: .9rem; }

.teaser-all { text-align: center; margin-top: 26px; }
.teaser-all a { color: var(--accent); font-weight: 600; text-decoration: none; }

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