/* EHN Faktaboks 1.7.0. All selectors are scoped; no global Salient overrides. */
.ehn-ui-factbox {
    --ehn-fact-accent: #FFCC00;
    --ehn-fact-ink: #18181B;
    --ehn-fact-muted: #52525B;
    --ehn-fact-radius: 16px;
    --ehn-fact-padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: var(--ehn-fact-padding);
    overflow-wrap: anywhere;
    border: 1px solid var(--ehn-fact-custom-line, color-mix(in srgb, var(--ehn-fact-accent) 26%, #e4e4e7));
    border-radius: var(--ehn-fact-radius);
    background: var(--ehn-fact-custom-bg, color-mix(in srgb, var(--ehn-fact-accent) 8%, #fff));
    color: var(--ehn-fact-ink);
    font-family: inherit;
    font-size: inherit;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
}
.ehn-ui-factbox *,
.ehn-ui-factbox *::before,
.ehn-ui-factbox *::after { box-sizing: border-box; }
.ehn-ui-factbox--stripe {
    border-left: 5px solid var(--ehn-fact-accent);
    background: var(--ehn-fact-custom-bg, #fff);
}
.ehn-ui-factbox--outline {
    border: 2px solid var(--ehn-fact-custom-line, var(--ehn-fact-accent));
    background: var(--ehn-fact-custom-bg, #fff);
}
.ehn-ui-factbox--solid {
    --ehn-fact-ink: #fff;
    --ehn-fact-muted: rgba(255,255,255,.82);
    border-color: var(--ehn-fact-custom-line, #1f2026);
    background: var(--ehn-fact-custom-bg, #1f2026);
}
.ehn-ui-factbox--shadow-sm { box-shadow: 0 3px 14px rgba(22,25,34,.07); }
.ehn-ui-factbox--shadow-md { box-shadow: 0 12px 34px rgba(22,25,34,.12); }
.ehn-ui-factbox--icon-top { flex-direction: column; gap: 17px; }
.ehn-ui-factbox--align-center { text-align: center; }
.ehn-ui-factbox--align-center.ehn-ui-factbox--icon-top { align-items: center; }
.ehn-ui-factbox .ehn-ui-factbox__icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: var(--ehn-fact-accent);
    background: var(--ehn-fact-custom-icon-bg, color-mix(in srgb, var(--ehn-fact-accent) 15%, #fff));
}
.ehn-ui-factbox--solid .ehn-ui-factbox__icon {
    color: #fff;
    background: var(--ehn-fact-custom-icon-bg, color-mix(in srgb, var(--ehn-fact-accent) 25%, #1f2026));
}
.ehn-ui-factbox .ehn-ui-factbox__icon svg { display: block; width: 25px; height: 25px; }
.ehn-ui-factbox .ehn-ui-factbox__main { flex: 1 1 auto; min-width: 0; }
.ehn-ui-factbox .ehn-ui-factbox__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-bottom: 9px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--ehn-fact-custom-badge-bg, color-mix(in srgb, var(--ehn-fact-accent) 22%, #fff));
    color: var(--ehn-fact-custom-badge-ink, #18181B);
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: .016em;
}
.ehn-ui-factbox--solid .ehn-ui-factbox__badge {
    background: var(--ehn-fact-custom-badge-bg, var(--ehn-fact-accent));
}
.ehn-ui-factbox .ehn-ui-factbox__title {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ehn-fact-ink);
    font-family: inherit;
    font-size: clamp(1.13rem, 1.65vw, 1.45rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.012em;
    text-transform: none;
}
.ehn-ui-factbox .ehn-ui-factbox__description {
    display: block;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    color: var(--ehn-fact-muted);
    font-family: inherit;
    font-size: .97rem;
    line-height: 1.6;
}
.ehn-ui-factbox .ehn-ui-factbox__body { margin-top: 14px; min-width: 0; color: var(--ehn-fact-ink); }
.ehn-ui-factbox .ehn-ui-factbox__body > :last-child,
.ehn-ui-factbox .ehn-ui-factbox__body p:last-child { margin-bottom: 0 !important; }
.ehn-ui-factbox .ehn-ui-factbox__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ehn-ui-factbox--align-center .ehn-ui-factbox__actions { justify-content: center; }
.ehn-ui-factbox .ehn-ui-factbox__cta {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    max-width: 100%;
    min-height: 41px;
    padding: 9px 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.ehn-ui-factbox .ehn-ui-factbox__cta svg { flex: 0 0 16px; width: 16px; height: 16px; }
.ehn-ui-factbox .ehn-ui-factbox__cta--solid {
    background: var(--ehn-fact-custom-cta-bg, #18181B);
    color: var(--ehn-fact-custom-cta-ink, #fff);
}
.ehn-ui-factbox--solid .ehn-ui-factbox__cta--solid {
    background: var(--ehn-fact-custom-cta-bg, #fff);
    color: var(--ehn-fact-custom-cta-ink, #18181B);
}
.ehn-ui-factbox .ehn-ui-factbox__cta--outline {
    border-color: var(--ehn-fact-custom-cta-bg, var(--ehn-fact-accent));
    background: transparent;
    color: var(--ehn-fact-custom-cta-ink, var(--ehn-fact-ink));
}
.ehn-ui-factbox .ehn-ui-factbox__cta--soft {
    background: var(--ehn-fact-custom-cta-bg, color-mix(in srgb, var(--ehn-fact-accent) 17%, #fff));
    color: var(--ehn-fact-custom-cta-ink, #18181B);
}
.ehn-ui-factbox .ehn-ui-factbox__cta--link {
    padding-left: 0;
    background: transparent;
    color: var(--ehn-fact-custom-cta-ink, var(--ehn-fact-ink));
}
@media (hover:hover) {
    .ehn-ui-factbox .ehn-ui-factbox__cta:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(.97); }
}
.ehn-ui-factbox .ehn-ui-factbox__cta:focus-visible {
    outline: 2px solid var(--ehn-fact-accent);
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .ehn-ui-factbox { flex-direction: column; gap: 15px; padding: min(var(--ehn-fact-padding), 24px); }
    .ehn-ui-factbox .ehn-ui-factbox__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; }
    .ehn-ui-factbox .ehn-ui-factbox__icon svg { width: 23px; height: 23px; }
    .ehn-ui-factbox .ehn-ui-factbox__title { font-size: 1.16rem; }
    .ehn-ui-factbox .ehn-ui-factbox__description { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ehn-ui-factbox .ehn-ui-factbox__cta { transition: none; }
    .ehn-ui-factbox .ehn-ui-factbox__cta:hover { transform: none; }
}
