/* SLFF:s befintliga artikelklasser, inbyggda i Läsrummets färgskala. */
/* -------- GRANSKAD-BAR / BYLINE (klassen "slff-review-bar") -------- */
body.slr-site.single-post .slff-review-bar,
body.slr-site.page .slff-review-bar {
    background: #edf1e6;
    border-left: 4px solid #12483e;
    padding: 12px 18px;
    margin: 0 0 26px 0;
    border-radius: 4px;
    color: #153b33;
    font-size: 14px;
    line-height: 1.6;
}

body.slr-site.single-post .slff-review-bar a,
body.slr-site.page .slff-review-bar a {
    color: #12483e;
    text-decoration: underline;
    text-decoration-color: #5e7338;
    text-underline-offset: 3px;
    font-weight: 600;
}


/* -------- INFO-BOX "Bra att veta" (klassen "slff-info-box") -------- */
body.slr-site.single-post .slff-info-box,
body.slr-site.page .slff-info-box {
    background-color: #ffffff;
    border: 1px solid #ccd8cc;
    border-left: 5px solid #5e7338;
    padding: 18px 22px;
    margin: 26px 0;
    border-radius: 4px;
    color: #29483c;
    line-height: 1.65;
    box-shadow: 0 1px 3px rgba(18, 72, 62, 0.08);
}

body.slr-site.single-post .slff-info-box strong,
body.slr-site.page .slff-info-box strong {
    color: #12483e;
}

body.slr-site.single-post .slff-info-box a,
body.slr-site.page .slff-info-box a {
    color: #12483e;
    text-decoration: underline;
    text-decoration-color: #5e7338;
    text-underline-offset: 3px;
    font-weight: 500;
}


/* -------- SNABBFAKTA-BOX (klassen "slff-snabbfakta") -------- */
body.slr-site.single-post .slff-snabbfakta,
body.slr-site.page .slff-snabbfakta {
    background: #edf1e6;
    border: 1px solid #bdcdb7;
    border-radius: 8px;
    padding: 16px 22px;
    margin: 26px 0;
    color: #153b33;
    line-height: 1.65;
}

body.slr-site.single-post .slff-snabbfakta-title,
body.slr-site.page .slff-snabbfakta-title {
    font-weight: 700;
    color: #12483e;
    margin-bottom: 10px;
    font-size: 1.02em;
    letter-spacing: 0.3px;
}

body.slr-site.single-post .slff-snabbfakta ul,
body.slr-site.page .slff-snabbfakta ul {
    margin: 0 !important;
    padding-left: 22px !important;
    list-style: disc !important;
}

body.slr-site.single-post .slff-snabbfakta ul li,
body.slr-site.page .slff-snabbfakta ul li {
    padding-left: 0 !important;
    margin-bottom: 6px !important;
    font-size: 0.95em !important;
    color: #153b33 !important;
}

body.slr-site.single-post .slff-snabbfakta ul li::before,
body.slr-site.page .slff-snabbfakta ul li::before {
    display: none !important;
    content: none !important;
}

body.slr-site.single-post .slff-snabbfakta ul li::marker,
body.slr-site.page .slff-snabbfakta ul li::marker {
    color: #5e7338 !important;
}

body.slr-site.single-post .slff-snabbfakta strong,
body.slr-site.page .slff-snabbfakta strong {
    color: #12483e;
}

body.slr-site.single-post .slff-snabbfakta a,
body.slr-site.page .slff-snabbfakta a {
    color: #12483e;
    font-weight: 500;
}


/* -------- TIPS-RUTA (klassen "slff-tip") -------- */
body.slr-site.single-post .slff-tip,
body.slr-site.page .slff-tip {
    background: #f2f7d7;
    border-left: 4px solid #5e7338;
    border-radius: 0 6px 6px 0;
    padding: 14px 18px;
    margin: 22px 0;
    color: #153b33;
    font-size: 0.96em;
    line-height: 1.65;
}

body.slr-site.single-post .slff-tip strong,
body.slr-site.page .slff-tip strong {
    color: #12483e;
}


/* -------- VARNINGS-RUTA (klassen "slff-warning") -------- */
body.slr-site.single-post .slff-warning,
body.slr-site.page .slff-warning {
    background: #fff4df;
    border-left: 4px solid #a44726;
    border-radius: 0 6px 6px 0;
    padding: 14px 18px;
    margin: 22px 0;
    color: #153b33;
    font-size: 0.96em;
    line-height: 1.65;
}

body.slr-site.single-post .slff-warning strong,
body.slr-site.page .slff-warning strong {
    color: #a44726;
}


/* -------- REDAKTÖRENS TIPS (klassen "slff-editor-tip") -------- */
body.slr-site.single-post .slff-editor-tip,
body.slr-site.page .slff-editor-tip {
    background: #12483e;
    color: #edf1e6;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 4px;
    line-height: 1.65;
    box-shadow: 0 3px 8px rgba(18, 72, 62, 0.25);
    border-left: 5px solid #5e7338;
    position: relative;
}

/* Tvinga ALL text inuti boxen till ljus */
body.slr-site.single-post .slff-editor-tip,
body.slr-site.single-post .slff-editor-tip *,
body.slr-site.single-post .slff-editor-tip p,
body.slr-site.single-post .slff-editor-tip span,
body.slr-site.single-post .slff-editor-tip h1,
body.slr-site.single-post .slff-editor-tip h2,
body.slr-site.single-post .slff-editor-tip h3,
body.slr-site.single-post .slff-editor-tip h4,
body.slr-site.single-post .slff-editor-tip h5,
body.slr-site.single-post .slff-editor-tip h6,
body.slr-site.single-post .slff-editor-tip li,
body.slr-site.single-post .slff-editor-tip td,
body.slr-site.single-post .slff-editor-tip th,
body.slr-site.page .slff-editor-tip,
body.slr-site.page .slff-editor-tip *,
body.slr-site.page .slff-editor-tip p,
body.slr-site.page .slff-editor-tip span,
body.slr-site.page .slff-editor-tip h1,
body.slr-site.page .slff-editor-tip h2,
body.slr-site.page .slff-editor-tip h3,
body.slr-site.page .slff-editor-tip h4,
body.slr-site.page .slff-editor-tip h5,
body.slr-site.page .slff-editor-tip h6,
body.slr-site.page .slff-editor-tip li,
body.slr-site.page .slff-editor-tip td,
body.slr-site.page .slff-editor-tip th {
    color: #edf1e6 !important;
}

body.slr-site.single-post .slff-editor-tip strong,
body.slr-site.page .slff-editor-tip strong {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
    color: #5e7338 !important;
    letter-spacing: 0.5px;
}

body.slr-site.single-post .slff-editor-tip a,
body.slr-site.page .slff-editor-tip a {
    color: #5e7338 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}


/* -------- BOK-NOTIS / TANKEBUBBLA (klassen "slff-bubble") --------
   Använd med klassen slff-bubble-badge för badge
   och slff-bubble-arrow för nedre pil. -------- */
body.slr-site.single-post .slff-bubble,
body.slr-site.page .slff-bubble {
    position: relative;
    background: #ffffff;
    border: 2px solid #12483e;
    padding: 48px 26px 24px 26px;
    margin: 52px 0 40px 0;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(18, 72, 62, 0.12);
    color: #29483c;
    line-height: 1.65;
}

body.slr-site.single-post .slff-bubble p,
body.slr-site.page .slff-bubble p {
    margin-top: 0;
    margin-bottom: 0;
}

body.slr-site.single-post .slff-bubble-badge,
body.slr-site.page .slff-bubble-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: #12483e;
    color: #5e7338;
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    z-index: 2;
    text-transform: uppercase;
    border: 1px solid #5e7338;
}

body.slr-site.single-post .slff-bubble-arrow,
body.slr-site.page .slff-bubble-arrow {
    position: absolute;
    bottom: -10px;
    left: 48px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-right: 2px solid #12483e;
    border-bottom: 2px solid #12483e;
    transform: rotate(45deg);
}


/* -------- CITATBLOCK (klassen "slff-quote") -------- */
body.slr-site.single-post .slff-quote,
body.slr-site.page .slff-quote {
    position: relative;
    background: #edf1e6;
    border-left: 5px solid #12483e;
    padding: 24px 28px 24px 64px;
    margin: 30px 0;
    border-radius: 4px;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: #153b33;
}

body.slr-site.single-post .slff-quote::before,
body.slr-site.page .slff-quote::before {
    content: "\201C";
    position: absolute;
    left: 18px;
    top: 4px;
    font-size: 56px;
    color: #5e7338;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1;
    font-style: normal;
}

body.slr-site.single-post .slff-quote cite,
body.slr-site.page .slff-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-style: normal;
    color: #12483e;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* -------- PLATTFORMSKORT (klassen "slff-card") --------
   För jämförelser med 2 kolumner-style: rubrik + nyckel-värde-rader. -------- */
body.slr-site.single-post .slff-card,
body.slr-site.page .slff-card {
    background: #ffffff;
    border: 1px solid #ccd8cc;
    border-left: 4px solid #206151;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 0 0 12px 0;
    box-shadow: 0 1px 4px rgba(18, 72, 62, 0.05);
    font-size: 0.96em;
    line-height: 1.55;
}

body.slr-site.single-post .slff-card-title,
body.slr-site.page .slff-card-title {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #12483e;
}

body.slr-site.single-post .slff-card-title a,
body.slr-site.page .slff-card-title a {
    color: #12483e;
    text-decoration: none;
}

body.slr-site.single-post .slff-card-row,
body.slr-site.page .slff-card-row {
    margin-bottom: 4px;
    color: #29483c;
}

body.slr-site.single-post .slff-card-label,
body.slr-site.page .slff-card-label {
    color: #54695e;
    display: inline-block;
    min-width: 80px;
}

body.slr-site.single-post .slff-card-yes,
body.slr-site.page .slff-card-yes {
    color: #2c7a4b;
    font-weight: 700;
}

body.slr-site.single-post .slff-card-no,
body.slr-site.page .slff-card-no {
    color: #c62828;
    font-weight: 700;
}



/* Bigger type, native list semantics and comfortable spacing on small screens. */
.slr-site .slr-prose .slff-review-bar{font-size:14px;line-height:1.8;border-radius:0;padding:19px 22px;margin-bottom:28px}
.slr-site .slr-prose .slff-review-bar strong{font-weight:750}
.slr-site .slr-prose .slff-editor-tip{box-shadow:none;border-left-color:#ddef8b;border-radius:0}
.slr-site .slr-prose .slff-editor-tip strong,.slr-site .slr-prose .slff-editor-tip a{color:#ddef8b!important}
.slr-site .slr-prose .slff-editor-tip :where(h2,h3,h4){border:0;padding-top:0}
.slr-site .slr-prose .slff-bubble-badge{background:#12483e;color:#ddef8b;border-color:#ddef8b;font-size:13px;letter-spacing:0;text-transform:none}
.slr-site .slr-prose .slff-quote cite{font-size:14px;letter-spacing:0;text-transform:none}
.slr-site .slr-prose .slff-list{padding-left:25px}
.slr-site .slr-prose :where(.slff-info-box,.slff-snabbfakta,.slff-tip,.slff-warning,.slff-card){border-radius:0;box-shadow:none}
.slr-site .slr-prose .slff-card-label{color:#54695e}
.slr-site .slr-prose :where(.slff-info-box,.slff-snabbfakta,.slff-tip,.slff-warning,.slff-editor-tip)>:last-child{margin-bottom:0}
/* These are existing content tools. Keep their IDs, HTML and calculation scripts. */
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool){font-family:var(--slr-sans)!important;max-width:100%!important;width:100%;padding:0!important;margin:32px 0!important;color:var(--slr-ink)!important;scroll-margin-top:24px}
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool)>div:first-child{background:#edf1e6!important;border-color:#bdcdb7!important;border-radius:0!important;padding:25px!important}
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool) :where(h3,label){color:#12483e!important;font-family:var(--slr-sans)!important}
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool) h3{font-size:25px!important;line-height:1.3!important}
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool) :where(input,button){border-radius:2px!important;font-family:var(--slr-sans)!important}
.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool) input:not([type=range]){border-color:#9ab18c!important;min-width:0}
.slr-site .slr-prose #slff-isbn-check,.slr-site .slr-prose #slff-cost-tool .slff-period-btn.slff-active{background:#12483e!important;border-color:#12483e!important;color:#fff!important}
.slr-site .slr-prose #slff-isbn-clear,.slr-site .slr-prose #slff-cost-tool .slff-period-btn:not(.slff-active){background:#fff!important;border-color:#9ab18c!important;color:#12483e!important}
.slr-site .slr-prose #slff-cost-tool input[type=range]{background:#bdcdb7!important;accent-color:#12483e}
.slr-site .slr-prose #slff-cost-tool input[type=range]::-webkit-slider-runnable-track{background:#bdcdb7}
.slr-site .slr-prose #slff-cost-tool input[type=range]::-moz-range-track{background:#bdcdb7}
.slr-site .slr-prose #slff-cost-tool input[type=range]::-webkit-slider-thumb{background:#12483e}
.slr-site .slr-prose #slff-cost-tool input[type=range]::-moz-range-thumb{background:#12483e}
.slr-site .slr-prose #slff-results{background:#12483e!important}
.slr-site .slr-prose :where(#slff-cost-new,#slff-cost-used,#slff-cost-resell,#slff-savings,#slff-savings-pct){color:#ddef8b!important}
@media(max-width:700px){.slr-site .slr-prose :where(.slff-info-box,.slff-snabbfakta,.slff-editor-tip,.slff-card){padding:20px}.slr-site .slr-prose .slff-review-bar{padding:17px 18px}.slr-site .slr-prose .slff-bubble{padding:42px 20px 24px}.slr-site .slr-prose .slff-quote{padding:24px 20px 24px 50px;font-size:17px}.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool)>div:first-child{padding:19px!important}.slr-site .slr-prose :where(#slff-isbn-tool,#slff-cost-tool) h3{font-size:23px!important}}
