/* köpa-hus.se – guider och artiklar. Bygger på startsidans CSS (/_next/static/css/index.*.css). */
body{--font-sans:'Geist';--font-serif:'Lora';}
.skip-link{position:absolute;left:12px;top:-60px;z-index:50;background:var(--forest);color:#fff;padding:10px 14px;border-radius:5px;font-weight:700}
.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--forest);outline-offset:2px}
.end-box a:focus-visible{outline-color:#fff}
.site-header nav a[aria-current="page"]{color:var(--forest);text-decoration:underline;text-underline-offset:5px}
.header-cta{display:inline-block}

.page-wrap{width:min(1180px,100% - 40px);margin-inline:auto;padding:28px 0 88px}
.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:28px}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0}
.breadcrumbs li+li::before{content:"›";margin-right:6px;color:#7b8580}
.breadcrumbs a{color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.breadcrumbs [aria-current]{color:#4a5752}

.article-head{max-width:46rem;margin-bottom:34px}
.article-head h1,.listing-head h1,.simple-page h1,.notfound h1{font-family:var(--font-serif),Georgia,serif;font-weight:500;letter-spacing:-1.4px;line-height:1.06;color:var(--ink);font-size:clamp(34px,5.2vw,58px);margin:0 0 20px}
.article-meta{display:flex;flex-wrap:wrap;gap:6px 18px;color:#4a5752;font-size:14px;font-weight:600}
.article-meta span+span::before{content:"·";margin-right:18px;color:#8a938f}

.article-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:48px}
@media (min-width:1080px){.article-layout{grid-template-columns:minmax(0,44rem) 270px;justify-content:space-between}}
.toc-side{display:none}
@media (min-width:1080px){.toc-side{display:block}.toc-mobile{display:none}}
.toc-side .toc-inner{position:sticky;top:24px;border-left:2px solid var(--forest);padding:4px 0 4px 20px;max-height:calc(100vh - 48px);overflow:auto}
.toc-title{font-size:12px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;color:var(--forest);margin:0 0 12px}
.toc ol{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:14.5px;line-height:1.35}
.toc a{color:#2d3b36;text-decoration:none}
.toc a:hover{color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.toc-mobile{background:#fff;border:1px solid #173f3524;margin:0 0 30px}
.toc-mobile summary{cursor:pointer;padding:15px 18px;font-weight:750;color:var(--forest);list-style-position:inside}
.toc-mobile ol{padding:0 18px 18px;gap:11px}

.prose{font-size:18px;line-height:1.72;color:var(--ink);max-width:44rem}
.prose>*{max-width:68ch}
.prose p,.prose ul,.prose ol,.prose blockquote,.prose .table-wrap{margin:0 0 1.15em}
.prose h2{font-family:var(--font-serif),Georgia,serif;font-weight:500;font-size:clamp(27px,3.2vw,35px);line-height:1.18;letter-spacing:-.6px;margin:2.1em 0 .6em;scroll-margin-top:20px}
.prose h3{font-family:var(--font-serif),Georgia,serif;font-weight:600;font-size:21px;line-height:1.3;margin:1.7em 0 .45em;scroll-margin-top:20px}
.prose ul{list-style:disc;padding-left:1.3em}
.prose ol{list-style:decimal;padding-left:1.4em}
.prose li{margin:.35em 0;padding-left:.15em}
.prose li::marker{color:var(--forest)}
.prose strong{font-weight:700}
.prose a{color:var(--forest);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:600}
.prose a:hover{text-decoration-thickness:2px}
.prose hr{border:0;border-top:1px solid #173f352e;margin:2.4em 0}
.prose blockquote{background:var(--sage);border-left:4px solid var(--forest);padding:18px 22px;margin-left:0}
.prose blockquote p:last-child{margin-bottom:0}
.prose .kommer-snart{font-weight:600;color:#33433d}
.prose .kommer-snart small{font-weight:500;color:#4f5c57;font-size:.82em;white-space:nowrap}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #173f3524}
.prose table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
.prose th,.prose td{text-align:left;vertical-align:top;padding:11px 14px;border-bottom:1px solid #e3e7e3}
.prose th{background:var(--sage-light);font-weight:700;color:var(--forest-deep)}
.prose tr:last-child td{border-bottom:0}
.prose td:last-child{white-space:nowrap}
.prose td:nth-child(2):last-child{white-space:normal}
.prose .cards table{font-size:15px}
.prose .cards th,.prose .cards td{padding:10px 8px}
.prose .cards td{white-space:nowrap}
.prose .cta-row{margin:1.4em 0 1.6em}
.prose .cta-row a,.cta-button{display:inline-block;background:var(--forest);color:#fff;text-decoration:none;padding:15px 22px;border-radius:5px;font-weight:700}
.prose .cta-row a:hover,.cta-button:hover{background:var(--forest-deep)}
.prose .sources-list{font-size:15.5px;line-height:1.55}
.prose .faq h3{font-family:var(--font-sans),Arial,sans-serif;font-size:18px;font-weight:700;margin:1.4em 0 .35em}

.end-box{background:var(--forest);color:#fff;padding:30px clamp(22px,4vw,40px);margin:56px 0 0;max-width:44rem}
.end-box h2{font-family:var(--font-serif),Georgia,serif;font-weight:500;font-size:28px;margin:0 0 10px;color:#fff}
.end-box p{color:#d5e0da;line-height:1.6;margin:0 0 18px}
.end-box .cta-button{background:var(--cream);color:var(--forest)}
.end-box .cta-button:hover{background:#fff}
.end-box .text-link-light{color:#fff;margin-left:18px;font-weight:700;text-decoration:underline;text-underline-offset:4px}

/* Guidelistan */
.listing-head{max-width:44rem;margin-bottom:40px}
.listing-head p{color:#4a5752;font-size:18px;line-height:1.65;margin:0}
.listing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;list-style:none;margin:0 0 64px;padding:0}
.listing-card{background:#fff;border:1px solid #173f3524;display:flex;flex-direction:column;padding:28px;min-height:240px;position:relative}
.listing-card .cat{color:var(--forest);font-size:11px;letter-spacing:1.4px;font-weight:800;text-transform:uppercase}
.listing-card h2{font-family:var(--font-serif),Georgia,serif;font-weight:600;font-size:24px;line-height:1.25;margin:14px 0 12px}
.listing-card h2 a{color:var(--ink)}
.listing-card h2 a::after{content:"";position:absolute;inset:0}
.listing-card h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.listing-card p{color:#4a5752;line-height:1.6;margin:0 0 18px}
.listing-card .card-foot{margin-top:auto;display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;color:var(--forest)}
.listing-card .card-foot time{color:#4a5752;font-weight:600}
.soon{border-top:1px solid #173f352e;padding-top:36px;max-width:44rem}
.soon h2{font-family:var(--font-serif),Georgia,serif;font-weight:500;font-size:30px;margin:0 0 8px}
.soon>p{color:#4a5752;margin:0 0 18px;line-height:1.6}
.soon ul{list-style:none;margin:0;padding:0;display:grid;gap:0}
.soon li{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #173f351f;color:#2d3b36;font-weight:600;line-height:1.4}
.soon li span{flex:none;font-size:12px;font-weight:700;color:#4f5c57;background:var(--sage);border-radius:99px;padding:4px 10px;align-self:center}

/* Enkla sidor och 404 */
.simple-page{max-width:44rem}
.notfound{max-width:40rem;padding:40px 0 20px}
.notfound p{font-size:18px;line-height:1.65;color:#33433d}
.notfound ul{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:12px}
.notfound li a{color:var(--forest);font-weight:700;text-decoration:underline;text-underline-offset:3px}

footer a.active-page{text-decoration:underline}
.footer-links a{text-underline-offset:3px}
.footer-links a:hover{text-decoration:underline}

@media (max-width:680px){
  .page-wrap{width:calc(100% - 36px);padding-top:20px}
  .breadcrumbs{font-size:13px;margin-bottom:20px}
  .article-crumbs li:last-child{display:none}
  .article-crumbs li:nth-last-child(2)::after{content:""}
  .article-meta{flex-direction:column;gap:4px}
  .article-meta span+span::before{display:none}
  .article-head h1,.listing-head h1,.simple-page h1,.notfound h1{font-size:34px;letter-spacing:-.8px}
  .prose{font-size:17px;line-height:1.68}
  .prose table{font-size:14.5px}
  .prose th,.prose td{padding:9px 10px}
  .prose td:last-child,.prose th:last-child{white-space:normal}
  .end-box .text-link-light{display:inline-block;margin:14px 0 0}
  .listing-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  .prose .table-wrap.cards{overflow:visible;background:none;border:0}
  .prose .cards table,.prose .cards tbody,.prose .cards tr,.prose .cards td{display:block;width:100%}
  .prose .cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .prose .cards tr{background:#fff;border:1px solid #173f3524;margin:0 0 10px}
  .prose .cards td{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:8px 12px;text-align:right;white-space:nowrap;border-bottom:1px solid #e3e7e3}
  .prose .cards td::before{content:attr(data-label);flex:1 1 auto;text-align:left;white-space:normal;font-weight:600;color:#4f5c57}
  .prose .cards td:first-child{background:var(--sage-light);color:var(--forest-deep);font-weight:700}
  .prose .cards td:first-child::before{color:var(--forest-deep)}
  .prose .cards td[data-label=""]::before{display:none}
  .prose .cards td[data-label=""]{justify-content:flex-start;text-align:left;white-space:normal}
  .prose .cards tr td:last-child{border-bottom:0}
}
@media print{.site-header,footer,.toc-side,.toc-mobile,.end-box,.skip-link{display:none}.prose{max-width:none}}
