@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@font-face {
  font-family: Bluebeard;
  src: url("bluebeard.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #181818;
  --muted: #545454;
  --rule: #d2d2d2;
  --red: #a12228;
  --display: Bluebeard, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 8rem; }
body { margin: 0; background: #fff; color: var(--ink); font: 1.0625rem/1.65 var(--serif); }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .13em; }
.masthead { position: sticky; top: 0; z-index: 5; background: #fff; border-top: .32rem solid var(--red); border-bottom: 1px solid var(--red); }
.masthead-inner { max-width: 77rem; margin: auto; padding: 0 2.75rem; }
.identity {
  display: inline-block; color: var(--ink); text-decoration: none;
  font: 400 clamp(1.3rem, 3vw, 1.9rem)/1.25 var(--display); margin: 1.35rem 0 1rem;
}
nav { border-top: 2px solid var(--red); font: 500 .875rem/1.35 var(--sans); }
nav ul { margin: 0; padding: 0; list-style: none; }
nav > ul { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.7rem; }
nav > ul > li { position: relative; }
nav a, nav summary { display: block; padding: .72rem 0; text-decoration: none; }
nav a:hover, nav summary:hover, nav [aria-current="page"] { text-decoration: underline; }
nav details > summary { list-style: none; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
nav summary::after, .numero > summary::after {
  content: "";
  display: inline-block;
  width: .44em;
  height: .44em;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  transform: rotate(-45deg);
  color: var(--red);
}
nav summary::after { margin-inline-start: .55em; vertical-align: .12em; transform: rotate(45deg); }
nav details[open] > summary::after { transform: rotate(225deg); }
.numero[open] > summary::after { transform: rotate(45deg); }
nav details > ul {
  background: #fff; border: 1px solid var(--red); border-top-width: 2px; padding: .35rem .9rem;
  position: absolute; inset-inline-start: -.9rem; top: 100%; width: min(18rem, 75vw); z-index: 2;
}
nav details li + li { border-top: 1px solid var(--rule); }
nav details li a { padding: .55rem 0; }
main { width: min(54rem, calc(100% - 5.5rem)); margin: clamp(2rem, 6vw, 4rem) auto 5rem; }
.page-heading {
  border-bottom: 4px double var(--red);
  margin: 0 0 1.75rem;
  padding: .85rem 0 .9rem;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(1.45rem, 3.5vw, 2rem); margin: 0; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.12rem; }
.article > p { max-width: 70ch; }
.article > p:first-of-type { margin-top: 0; }
.article a { text-decoration-color: var(--red); }
img, video, iframe { max-width: 100%; }
img { height: auto; }
table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
td, th { border-bottom: 1px solid var(--rule); padding: .4rem; }
.skip { position: absolute; left: -200vw; }
.skip:focus { left: 0; padding: .6rem; background: #fff; z-index: 6; }
.catalogue-tools, .site-search { margin-block: 1.75rem; }
label, select, button { font-family: var(--sans); }
label { font-size: .9rem; font-weight: 600; }
input[type="search"] { display: block; max-width: 34rem; width: 100%; padding: .58rem .65rem; margin-block: .25rem .4rem; border: 1px solid #666; color: inherit; background: #fff; font: .95rem var(--sans); border-radius: 0; }
.catalogue-tools p { margin: 0; font: .875rem var(--sans); }
.catalogue-tools p:empty { display: none; }
.numero { border-block-start: 1px solid var(--rule); scroll-margin-top: 1rem; }
.numero:last-child { border-block-end: 1px solid var(--rule); }
.numero > summary, .numero > .notice-title {
  display: grid; grid-template-columns: minmax(0, 1fr) 1.2rem; gap: .65rem; list-style: none;
  padding: .72rem 0; font: 550 .96rem/1.45 var(--sans);
}
.numero > summary::after { align-self: center; justify-self: center; }
.sommaire { padding: 0 1.6rem .85rem 0; font-size: .97rem; }
.search-results { padding-left: 1.35rem; }
.search-results li { margin-block: .8rem; }
.search-results p { margin-block: .2rem; font-size: .9rem; }
:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
@media (max-width: 680px) {
  html { scroll-padding-top: 11rem; }
  .masthead-inner { padding-inline: 1rem; }
  nav > ul { column-gap: 1rem; }
  nav details > ul { position: static; width: auto; padding-inline: .5rem; }
  main { width: calc(100% - 2rem); }
}
.lecture { margin-top: 1.5rem; border-bottom: 1px solid var(--rule); }
.lecture details > summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 1.2rem; gap: .65rem;
  list-style: none; border-top: 1px solid var(--rule); padding: .68rem 0;
  font: 550 .97rem/1.45 var(--sans);
}
.lecture details > summary::after {
  content: ""; width: .44em; height: .44em; justify-self: center; align-self: center;
  border-inline-end: 1.5px solid var(--red); border-block-end: 1.5px solid var(--red);
  transform: rotate(-45deg);
}
.lecture details[open] > summary::after { transform: rotate(45deg); }
.texte-ouvrage { padding: 0 1rem .75rem 1rem; font-size: .9rem; line-height: 1.65; }
.texte-ouvrage > p { max-width: 70ch; }
.sommaire .rubrique-sommaire { margin: .75rem 0 .25rem; font: 650 .9rem var(--sans); }
.sommaire ul.entrees-sommaire { list-style: none; padding: 0; margin: .2rem 0 .75rem; }
.entrees-sommaire li { border-bottom: 1px solid var(--rule); padding: .25rem 0; }
.sommaire .page-pdf { white-space: nowrap; }
