/* ---- Blog posts / reports (single.php, .cl-article): full width, readable text lines, tables and boxes use the whole width ---- */
.cl-article > :is(p, ul, ol, h2, h3, details) { max-width: 54rem; }
.cl-article > h1 { margin: 6px 0 14px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; font-weight: 800; color: var(--nh-ink); max-width: 60rem; }
.cl-article > h2 { margin: 40px 0 12px; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; font-weight: 800; color: var(--nh-ink); }
.cl-article .cl-lede { max-width: 54rem; margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--nh-ink); }
.cl-article .cl-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--nh-brand-soft); color: var(--nh-ink); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cl-article .cl-kicker::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--cl-svg-star-filled) center / contain no-repeat; mask: var(--cl-svg-star-filled) center / contain no-repeat; }
/* stat tiles: one per loan amount */
.cl-stats { list-style: none; margin: 22px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: none !important; }
.cl-stats li { margin: 0; padding: 16px 18px 18px; border: 1px solid var(--nh-line); border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .04); }
.cl-stats .cl-stat__what { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px; background: #f3f5f8; color: #4b5563; font-size: 12.5px; font-weight: 700; }
.cl-stats .cl-stat__num { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; color: var(--nh-ink); }
.cl-stats .cl-stat__lbl { display: block; margin: 2px 0 10px; font-size: 13px; color: var(--nh-muted); }
.cl-stats .cl-stat__range { display: block; padding-top: 10px; border-top: 1px solid var(--nh-line); font-size: 13px; line-height: 1.5; color: var(--nh-text); }
.cl-stats li.is-main { border-color: var(--nh-brand); background: var(--nh-brand-soft); }
.cl-stats li.is-main .cl-stat__what { background: #fff; }
@media (max-width: 991px) { .cl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .cl-stats .cl-stat__num { font-size: 26px; } }
/* tags in tables and text */
.cl-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 4px 2px 0; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.cl-tag--cheap { background: #e6f5ec; color: #0b7536; }
.cl-tag--dear { background: #fde8f1; color: #a8235c; }
.cl-tag--fixed { background: #eef1f4; color: #4b5563; }
.cl-tag--soon { background: #fff4d6; color: #8a5a12; }
.cl-article table.cl-ctable td strong { white-space: nowrap; }
/* highlighted box (replaces the plain "Bra att veta" paragraph) */
.cl-article .cl-callout { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: start; max-width: none; margin: 22px 0; padding: 18px 20px; border: 1px solid var(--nh-brand); border-left-width: 6px; border-radius: 16px; background: var(--nh-brand-soft); }
.cl-article .cl-callout > .cl-callout__ic { width: 44px; height: 44px; }
.cl-article .cl-callout > .cl-callout__ic svg { display: block; width: 44px; height: 44px; }
.cl-article .cl-callout strong.cl-callout__title { display: block; font-size: 17px; line-height: 1.3; color: var(--nh-ink); }
.cl-article .cl-callout .cl-callout__text { margin: 4px 0 0; max-width: 60rem; font-size: 15.5px; line-height: 1.6; }
/* three fee cards */
.cl-cards { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: none !important; }
.cl-cards li { margin: 0; padding: 18px 18px 16px; border: 1px solid var(--nh-line); border-radius: 18px; background: #fff; }
.cl-cards .cl-card__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; font-weight: 800; color: var(--nh-ink); }
.cl-cards .cl-card__big { display: block; margin: 0 0 6px; font-size: 26px; line-height: 1.15; font-weight: 800; }
.cl-cards .cl-card--cheap .cl-card__big { color: #0b7536; }
.cl-cards .cl-card--dear .cl-card__big { color: #a8235c; }
.cl-cards .cl-card__t { display: block; font-size: 14.5px; line-height: 1.55; color: var(--nh-text); }
@media (max-width: 991px) { .cl-cards { grid-template-columns: minmax(0, 1fr); } }
/* method box */
.cl-article .cl-method { max-width: none; margin: 18px 0; padding: 20px 22px; border: 1px solid var(--nh-line); border-radius: 18px; background: #fafbfc; }
.cl-article .cl-method > h2 { margin: 0 0 12px; font-size: 20px; }
.cl-article .cl-method ul { margin: 0; padding: 0; list-style: none; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.cl-article .cl-method li { position: relative; margin: 0; padding-left: 28px; font-size: 14.5px; line-height: 1.55; }
.cl-article .cl-method li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: #2e9e5b; -webkit-mask: var(--cl-svg-circle-check) center / contain no-repeat; mask: var(--cl-svg-circle-check) center / contain no-repeat; }
@media (max-width: 767px) { .cl-article .cl-method ul { grid-template-columns: minmax(0, 1fr); } }
.cl-article .cl-gap { max-width: none; margin: 18px 0; }
.cl-article .cl-gap .cl-gap__boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.cl-article .cl-gap .cl-gap__row, .cl-article .cl-gap .cl-gap__diff { margin: 0; }
@media (max-width: 991px) { .cl-article .cl-gap .cl-gap__boxes { grid-template-columns: minmax(0, 1fr); } }
.cl-article ol.cl-steps { max-width: none; }

/* "Vad kostar X kr?" as bars: one row per lender, solid bar = lowest published price, light extension = up to highest (rate set per customer) */
.cl-rank { list-style: none; margin: 14px 0 6px; padding: 0; max-width: none !important; }
.cl-rank li { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) minmax(96px, 150px); align-items: center; gap: 4px 14px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--nh-line); font-size: 14.5px; }
.cl-rank li:last-child { border-bottom: 0; }
.cl-rank .cl-rank__name { font-weight: 800; color: var(--nh-ink); line-height: 1.3; }
.cl-rank .cl-rank__name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--nh-muted); }
.cl-rank .cl-rank__bar { position: relative; display: block; height: 14px; border-radius: 999px; background: #f1f3f6; overflow: hidden; }
.cl-rank .cl-rank__bar b, .cl-rank .cl-rank__bar i { position: absolute; left: 0; top: 0; bottom: 0; display: block; border-radius: 999px; }
.cl-rank .cl-rank__bar i { background: #f4c9dc; }
.cl-rank .cl-rank__bar b { z-index: 1; background: #2e9e5b; }
.cl-rank li.is-mid .cl-rank__bar b { background: #8a8f98; }
.cl-rank li.is-dear .cl-rank__bar b { background: #c4467f; }
.cl-rank .cl-rank__val { text-align: right; font-weight: 800; color: var(--nh-ink); white-space: nowrap; }
.cl-rank .cl-rank__val small { display: block; font-size: 11.5px; font-weight: 500; color: var(--nh-muted); }
@media (max-width: 767px) { .cl-rank li { grid-template-columns: minmax(0, 1fr) auto; } .cl-rank .cl-rank__bar { grid-column: 1 / -1; order: 3; } }
.cl-article details.cl-more { max-width: none; margin: 10px 0; border: 1px solid var(--nh-line); border-radius: 16px; background: #fff; }
.cl-article details.cl-more > summary { cursor: pointer; padding: 14px 18px; font-weight: 800; color: var(--nh-ink); }
.cl-article details.cl-more > .cl-rank { padding: 0 18px 8px; margin: 0; }
.cl-rank-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 4px; font-size: 12.5px; color: var(--nh-muted); }
.cl-rank-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; background: var(--c); }
