/* Rubrique Malédictions : styles limités aux nouveaux contenus et à leur encart d'accueil. */
.md-typeset .curse-page { color: #332b2a; font-size: .84rem; line-height: 1.8; min-width: 0; }
.md-typeset .curse-page p { text-align: left; margin: .6rem 0 !important; }
.md-typeset .curse-page h1 { font-size: 2.2rem; line-height: 1.16; margin: .25rem 0 .7rem !important; }
.md-typeset .curse-page h2 { font-size: 1.4rem !important; line-height: 1.4; margin: 2rem 0 .8rem !important; padding-top: .4rem; border-bottom: 1px solid #d8c9b4; padding-bottom: .4rem; scroll-margin-top: 4.5rem; }
.md-typeset .curse-page h3 { font-size: 1.02rem !important; line-height: 1.5; margin: 1.2rem 0 .3rem !important; scroll-margin-top: 4.5rem; }
.md-typeset .curse-page h4 { font-size: .88rem; margin: 1rem 0 .25rem; }
.md-typeset .curse-page li { line-height: 1.65 !important; margin: .25rem 0 !important; }
.md-typeset .curse-page a:not(.curse-button) { color: #822000; text-decoration: underline; text-underline-offset: .18em; }
.md-typeset .curse-page a:not(.curse-button):hover { color: #4e1605; }
.md-typeset .curse-hero p { hyphens: none; }
.curse-page a:focus-visible, .curse-home a:focus-visible { outline: 3px solid #a35424; outline-offset: 4px; }
.curse-hero { padding: 1.6rem 1.8rem; border: 1px solid #c9b89e; border-top: 4px solid #822000; border-radius: 6px; background: linear-gradient(125deg, #f4ebdc, #fcfaf6 70%); margin: 0 0 1.6rem; }
.md-typeset .curse-eyebrow { color: #705138; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin: 0 0 .6rem !important; }
.md-typeset .curse-lead { font-size: 1.12rem; line-height: 1.6; color: #654337; }
.md-typeset .curse-meta { font-size: .7rem; color: #63564b; margin-top: .9rem !important; }
.md-typeset .curse-kicker { font-size: .7rem; color: #63564b; }
.md-typeset .curse-toc-title { font-weight: 700; color: #653a27; margin-top: 0 !important; }
.curse-button { gap: .25em; }
.curse-method { border-left: 3px solid #a57a43; background: #faf6ef; margin: 1rem 0; padding: .6rem 1rem; }
.curse-future { padding: 1.2rem 1.4rem; background: #f1f3f3; border: 1px solid #bdc7c5; border-radius: 5px; }
.md-typeset .curse-status { display: inline-block; font-size: .68rem; font-weight: 700; color: #465953; border: 1px solid #8c9b95; border-radius: 1rem; padding: .1rem .6rem; margin-top: 0 !important; }
.curse-breadcrumb { font-size: .7rem; }
.curse-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 .25rem; }
.md-typeset a.curse-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem .85rem; border: 1px solid #822000; border-radius: 4px; background: #822000; color: #fff; font-size: .74rem; line-height: 1.5; font-weight: 700; text-decoration: none; text-align: center; }
.md-typeset a.curse-button:hover { background: #5e1907; border-color: #5e1907; color: #fff; }
.md-typeset a.curse-button--secondary { background: transparent; color: #822000; }
.md-typeset a.curse-button--secondary:hover { background: #f0e3d2; color: #651900; }
.curse-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 1.8rem; }
.curse-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.2rem; border: 1px solid #ddcdb9; border-top: 3px solid var(--curse-accent, #822000); border-radius: 5px; background: #fffdf9; min-width: 0; }
.curse-card--vampirisme { --curse-accent: #822000; }
.curse-card--garous { --curse-accent: #546548; }
.curse-card--hantise { --curse-accent: #735d85; }
.curse-card--revenants { --curse-accent: #8a683e; }
.curse-card--spectralite { --curse-accent: #355f75; }
.md-typeset .curse-card h3 { color: var(--curse-accent); font-size: 1.25rem !important; margin: 0 0 .4rem !important; }
.md-typeset .curse-card p { font-size: .78rem; }
.md-typeset .curse-card > p:last-child { margin-top: auto !important; padding-top: .7rem; }
.curse-comparison, .curse-note { border-left: 3px solid #a57a43; background: #f7f2e9; padding: .7rem 1.2rem; margin: 1rem 0; }
.curse-toc { border: 1px solid #ded2c1; border-radius: 5px; padding: 1rem 1.2rem; margin: 1.5rem 0; background: #fcfaf6; }
.md-typeset .curse-toc h2, .md-typeset .curse-toc h3 { font-size: 1rem !important; margin: 0 0 .7rem !important; border: 0; padding: 0; }
.curse-toc ul, .curse-toc ol { columns: 2; column-gap: 1.8rem; }
.curse-toc li { break-inside: avoid; font-size: .75rem; }
.curse-table { width: 100%; max-width: 100%; overflow-x: auto; margin: .9rem 0 1.3rem; }
.curse-table:focus-visible { outline: 2px solid #822000; outline-offset: 2px; }
.md-typeset .curse-table table:not([class]) { display: table; width: 100%; max-width: 100%; border: 1px solid #ded2c1; border-collapse: collapse; font-size: .72rem; margin: 0; }
.md-typeset .curse-table th, .md-typeset .curse-table td { padding: .6rem .65rem; line-height: 1.6; min-width: 5rem; white-space: normal; vertical-align: top; border-bottom: 1px solid #ded2c1; }
.md-typeset .curse-table th { background: #eee3d2; color: #4c2c20; font-weight: 700; }
.md-typeset .curse-table tbody th { background: transparent; font-weight: 600; }
.md-typeset .curse-table tbody tr:nth-child(even) { background: #faf6ef; }
.md-typeset .curse-table td:first-child { min-width: 3rem; }
.curse-table .md-typeset__scrollwrap, .curse-table .md-typeset__table { margin: 0; padding: 0; display: block; overflow: visible; }
.md-typeset .curse-section-intro { color: #6d6259; font-size: .74rem; }
.curse-home { padding: 1.3rem 1.5rem; border: 1px solid #c9b89e; border-left: 4px solid #822000; border-radius: 5px; background: #faf5ec; margin: 1.5rem 0; }
.md-typeset .curse-home h2 { font-size: 1.3rem !important; margin: 0 0 .5rem !important; }
.md-typeset .curse-home p { text-align: left; margin: .5rem 0 .8rem !important; line-height: 1.7; }
@media (max-width: 650px) {
  .md-typeset .curse-page { font-size: .8rem; }
  .curse-grid { grid-template-columns: minmax(0, 1fr); }
  .curse-hero { padding: 1.1rem; }
  .md-typeset .curse-page h1 { font-size: 1.8rem; }
  .curse-toc ul, .curse-toc ol { columns: 1; }
  .curse-actions { flex-direction: column; align-items: stretch; }
  .curse-card { padding: 1rem; }
  .md-typeset .curse-table table:not([class]) { min-width: 30rem; }
}
@media print {
  .curse-hero, .curse-card { background: none; box-shadow: none; }
  .curse-toc, .curse-actions, .curse-breadcrumb { display: none; }
  .curse-grid { display: block; }
  .curse-card { break-inside: avoid; margin-bottom: 1rem; }
  .curse-table { overflow: visible; }
  .md-typeset .curse-table table:not([class]) { min-width: 0; }
  .md-typeset .curse-page h2, .md-typeset .curse-page h3 { break-after: avoid; }
}

/* Six-page orientation and local summaries, scoped to curse articles. */
.curse-explore { margin: 1.2rem 0; border-top: 1px solid #ded2c1; border-bottom: 1px solid #ded2c1; padding: .7rem 0; }
.md-typeset .curse-explore ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem 1.5rem; list-style: none; padding: 0 !important; margin: .5rem 0 !important; }
.md-typeset .curse-explore li { margin: 0 !important; padding: 0; text-align: left; }
.curse-explore a { display: inline-block; font-weight: 600; line-height: 1.5; padding: .15rem 0; }
.curse-explore li > span { display: block; font-size: .72rem; color: #63564b; line-height: 1.5; }
.curse-explore [aria-current="page"]::before { content: "› "; }
.md-typeset .curse-explore--compact ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.curse-explore--compact a { font-size: .72rem; }
.curse-explore--compact .curse-toc-title { font-size: .75rem; }
.curse-local ul { columns: 2; }
.curse-legacy li:target { outline: 2px solid #822000; padding: .5rem; scroll-margin-top: 5rem; }
@media (max-width:650px) {
 .md-typeset .curse-explore ul { grid-template-columns: minmax(0,1fr); }
 .md-typeset .curse-explore--compact ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem .8rem; }
 .curse-local ul { columns: 1; }
}
@media print { .curse-explore { display: none; } }
