/* Juridik-ia – Fiches, Questions & Sources
   Couleurs modifiables depuis Elementor > Réglages du site > CSS personnalisé :
   :root { --jkf-accent: #votrecouleur; } */
:root {
	--jkf-accent: #1f3a5f;
	--jkf-accent-soft: #eef3f9;
	--jkf-ink: inherit;
	--jkf-muted: #5f6b7a;
	--jkf-line: #dde3ea;
	--jkf-ok: #1e7a46;
	--jkf-ok-soft: #e7f5ec;
	--jkf-warn: #9a5b00;
	--jkf-warn-soft: #fdf3e1;
	--jkf-radius: 10px;
}

.jkf { color: var(--jkf-ink); line-height: 1.6; }
.jkf h2 { margin: 2rem 0 .75rem; font-size: 1.35em; }
.jkf h3 { margin: 1.25rem 0 .5rem; font-size: 1.1em; }
.jkf ul, .jkf ol { padding-left: 1.25em; }
.jkf li { margin: .35em 0; }

.jkf-disclaimer { font-size: .9em; color: var(--jkf-muted); border-left: 3px solid var(--jkf-line); padding: .25em .75em; margin: 0 0 1.25rem; }

.jkf-toc { background: var(--jkf-accent-soft); border-radius: var(--jkf-radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.jkf-toc__title { font-weight: 700; margin: 0 0 .25rem; }
.jkf-toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.jkf-toc a { text-decoration: none; }
@media (max-width: 640px) { .jkf-toc ol { columns: 1; } }

.jkf-section { scroll-margin-top: 100px; }
.jkf-essentiel { border: 2px solid var(--jkf-accent); border-radius: var(--jkf-radius); padding: .75rem 1.25rem; }
.jkf-essentiel ul { margin: 0; }

.jkf-steps { counter-reset: jkf-step; list-style: none; padding-left: 0; }
.jkf-steps > li { counter-increment: jkf-step; position: relative; padding-left: 2.75rem; margin: 1rem 0; }
.jkf-steps > li::before { content: counter(jkf-step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--jkf-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.jkf-steps p { margin: .25rem 0 0; }

.jkf-letter { border: 1px solid var(--jkf-line); border-radius: var(--jkf-radius); padding: 1rem 1.25rem; }
.jkf-letter__title { font-weight: 700; margin: 0 0 .5rem; }
.jkf-letter__text { white-space: pre-wrap; word-wrap: break-word; font-family: inherit; font-size: .95em; background: #fafbfc; color: #1d2733; border-radius: 6px; padding: 1rem; margin: 0 0 .75rem; max-height: 480px; overflow: auto; }
.jkf-letter__note { font-size: .85em; color: var(--jkf-muted); margin: .5rem 0 0; }

.jkf-sources { list-style: none; padding-left: 0; }
.jkf-source { border-bottom: 1px solid var(--jkf-line); padding: .75rem 0; }
.jkf-source__label { font-weight: 700; }
.jkf-source__summary { margin: .25rem 0; }
.jkf-source__meta { margin: .25rem 0 0; font-size: .9em; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.jkf-badge { display: inline-block; font-size: .8em; padding: .1em .6em; border-radius: 999px; }
.jkf-badge--ok { background: var(--jkf-ok-soft); color: var(--jkf-ok); }
.jkf-badge--todo { background: var(--jkf-warn-soft); color: var(--jkf-warn); }

.jkf-button { display: inline-block; background: var(--jkf-accent); color: #fff !important; border: 0; border-radius: 6px; padding: .6em 1.1em; font-weight: 600; text-decoration: none; cursor: pointer; font-size: .95em; }
.jkf-button:hover, .jkf-button:focus { opacity: .9; }

.jkf-cta { margin-top: 2.5rem; background: var(--jkf-accent-soft); border-radius: var(--jkf-radius); padding: 1.25rem; }
.jkf-cta p { margin: 0 0 .75rem; }

.jkf-answer { background: var(--jkf-accent-soft); border-radius: var(--jkf-radius); padding: 1rem 1.25rem; font-size: 1.05em; }
.jkf-answer__label { font-size: .8em; text-transform: uppercase; letter-spacing: .05em; color: var(--jkf-muted); margin: 0; }
.jkf-answer p:last-child { margin-bottom: 0; }
.jkf-more { margin: 1.25rem 0; }
.jkf-more p { margin: 0 0 .5rem; }

.jkf-facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.jkf-facts dt { font-weight: 700; }
.jkf-facts dd { margin: 0; }

.jkf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.jkf-card { display: flex; flex-direction: column; gap: .4rem; border: 1px solid var(--jkf-line); border-radius: var(--jkf-radius); padding: 1rem 1.1rem; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.jkf-card:hover { border-color: var(--jkf-accent); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.jkf-card__tag { font-size: .75em; text-transform: uppercase; letter-spacing: .05em; color: var(--jkf-accent); font-weight: 700; }
.jkf-card__title { font-weight: 700; font-size: 1.05em; }
.jkf-card__text { font-size: .9em; color: var(--jkf-muted); }

.jkf-annuaire__tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1rem; }
.jkf-input { flex: 1 1 260px; padding: .6em .8em; border: 1px solid var(--jkf-line); border-radius: 6px; font: inherit; }
select.jkf-input { flex: 0 1 220px; }
.jkf-annuaire__count { margin: 0; font-size: .9em; color: var(--jkf-muted); flex-basis: 100%; }
.jkf-qa { list-style: none; padding-left: 0; }
.jkf-qa > li { border-bottom: 1px solid var(--jkf-line); padding: .6rem 0; }
.jkf-qa__q { font-weight: 600; }
.jkf-qa__a { margin: .2rem 0 0; font-size: .92em; color: var(--jkf-muted); }

.jkf-table-wrap { overflow-x: auto; }
.jkf-sources-table table { width: 100%; border-collapse: collapse; font-size: .92em; }
.jkf-sources-table th, .jkf-sources-table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--jkf-line); vertical-align: top; }
.jkf-muted, .jkf-empty { color: var(--jkf-muted); }
