/* Banque d'exemples et d'arguments — réutilise .quiz-back/.page-header/.page-intro/.empty-state du reste du site. */

.exb-filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin: 0 0 .6rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; }
.exb-f { display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; font-weight: 700; color: var(--color-text-muted); min-width: 0; }
.exb-f-search { flex: 2 1 220px; }
.exb-f select, .exb-f input { font: inherit; font-weight: 500; font-size: .92rem; padding: .5rem .6rem; border: 1px solid var(--color-border); border-radius: 9px; background: #fff; color: inherit; min-width: 0; }
.exb-kinds { flex-direction: row; gap: 0; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; align-self: end; }
.exb-chip { border: 0; background: #fff; color: inherit; font: inherit; font-size: .82rem; font-weight: 600; padding: .5rem .85rem; cursor: pointer; }
.exb-chip + .exb-chip { border-left: 1px solid var(--color-border); }
.exb-chip[aria-pressed="true"] { background: var(--color-primary, #b8872b); color: #fff; }
.exb-count { margin: 0 0 1rem; font-size: .85rem; color: var(--color-text-muted); }
.exb-reset { border: 0; background: none; padding: 0; font: inherit; color: var(--color-primary, #b8872b); text-decoration: underline; cursor: pointer; }

.exb-group { margin: 0 0 1.8rem; }
.exb-group[hidden], .exb-card[hidden] { display: none; }
.exb-group-title { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; margin: 0 0 .7rem; padding-bottom: .35rem; border-bottom: 2px solid var(--color-border); }
.exb-dot { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.exb-grid { display: flex; flex-direction: column; gap: .6rem; }
.exb-card { display: grid; grid-template-columns: 9.5rem 1fr; column-gap: 1rem; row-gap: .15rem; align-items: start; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: .75rem 1rem; text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.exb-card:hover { border-color: var(--color-primary, #b8872b); }
.exb-card .exb-badge { grid-column: 1; grid-row: 1 / span 2; align-self: start; text-align: center; }
.exb-card .exb-card-title, .exb-card .exb-card-resume { grid-column: 2; }
.exb-card-title { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.exb-card-resume { font-size: .85rem; color: var(--color-text-muted); line-height: 1.4; }

.exb-badge { align-self: flex-start; display: inline-block; padding: .12rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.exb-badge-exemple { background: #e5f0ff; color: #1d4f91; }
.exb-badge-argument { background: #fff3cf; color: #7a5a00; }

.exb-titre { margin: .3rem 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.3; }
.exb-badges { margin: 0 0 .6rem; }
.exb-lead { margin: 0 0 .4rem; font-size: 1.02rem; line-height: 1.55; color: var(--color-text-muted); max-width: 52rem; }
.page-eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }

.exb-detail { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 2rem; }
.exb-section h2 { font-size: 1.12rem; margin: 0 0 .6rem; padding-bottom: .3rem; border-bottom: 2px solid var(--color-border); }
.exb-section-reperes { background: var(--color-bg, #f2ead8); border-radius: 12px; padding: .8rem 1.1rem; }
.exb-section-reperes h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: .3rem; font-size: 1rem; }
.exb-section-emploi { background: #fff8e6; border: 1px solid #f0dfae; border-radius: 12px; padding: .9rem 1.1rem; }
.exb-section-emploi h2 { border-bottom: 0; padding-bottom: 0; }
.exb-html { line-height: 1.65; }
.exb-html p { margin: 0 0 .9rem; }
.exb-html ul, .exb-html ol { margin: 0 0 .9rem; padding-left: 1.4rem; }
.exb-html li { margin: 0 0 .45rem; }
.exb-html h3 { font-size: 1.02rem; margin: 1rem 0 .5rem; }
.exb-html h4 { font-size: .95rem; margin: .8rem 0 .4rem; }
.exb-html blockquote { margin: 0 0 .9rem; padding: .7rem 1.1rem; border-left: 3px solid var(--color-primary, #b8872b); background: var(--color-bg, #f2ead8); font-style: italic; border-radius: 0 10px 10px 0; }
.exb-html blockquote cite { display: block; margin-top: .35rem; font-style: normal; font-size: .84rem; color: var(--color-text-muted); }
.exb-html table { border-collapse: collapse; width: 100%; margin: 0 0 .9rem; }
.exb-html th, .exb-html td { border: 1px solid var(--color-border); padding: .4rem .6rem; text-align: left; }

.exb-next { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.2rem; }
.exb-next p { margin: 0 0 .6rem; }
.exb-next-title { font-weight: 800; }
.exb-next-list { margin: 0 0 .6rem; padding-left: 1.2rem; }
.exb-next-list li { margin: 0 0 .35rem; }
.exb-next-list .exb-badge { margin-left: .3rem; }

@media (max-width: 600px) { .exb-kinds { width: 100%; } .exb-chip { flex: 1; padding: .5rem .3rem; } .exb-card { grid-template-columns: 1fr; } .exb-card .exb-badge { justify-self: start; } .exb-card .exb-badge, .exb-card .exb-card-title, .exb-card .exb-card-resume { grid-column: 1; grid-row: auto; } }
@media (prefers-color-scheme: dark) {
    .exb-filters, .exb-card, .exb-next, .exb-f select, .exb-f input, .exb-chip { background: var(--color-surface, #1c1c1c); }
    .exb-badge-exemple { background: #16304f; color: #a9ccf5; }
    .exb-badge-argument { background: #3a2f16; color: #f0d58a; }
    .exb-section-emploi { background: #2b2412; border-color: #4a3d1c; }
}
