#sujet-html,
#sujet-html * {
  box-sizing: border-box;
}

#sujet-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #111;
  background: transparent;
  font: 16px/1.45 Arial, Helvetica, sans-serif;
  text-align: left;
  container-type: inline-size;
  container-name: bac-document;
}

#sujet-html .sujet-bac-pages {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
  background: transparent;
}

#sujet-html .sujet-bac-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 28px 16px 18px;
  border-bottom: 1px solid #d2d2d2;
  background: #fff;
  color: #111;
  font: 16px/1.45 Arial, Helvetica, sans-serif;
  text-align: left;
}

#sujet-html .sujet-bac-page:last-child {
  border-bottom: 0;
}

#sujet-html .sujet-bac-contenu {
  min-width: 0;
}

#sujet-html .sujet-bac-page p,
#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4 {
  margin: 0;
  padding: 0;
  max-width: none;
  background: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: normal;
  text-transform: none;
}

#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4 {
  font-weight: 700;
  text-align: left;
}

#sujet-html .sujet-bac-page sup {
  font-size: 0.67em;
  line-height: 0;
  vertical-align: super;
}

#sujet-html .sujet-bac-pied-de-page {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 27px;
  color: #111;
  background: transparent;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}

#sujet-html .sujet-bac-reference {
  font-weight: 700;
}

#sujet-html .sujet-bac-contenu-garde {
  text-align: center;
}

#sujet-html .sujet-bac-garde .sujet-bac-contenu-garde p {
  text-align: center;
}

#sujet-html .sujet-bac-garde .sujet-bac-diplome {
  font-size: 20px;
  font-weight: 700;
}

#sujet-html .sujet-bac-garde .sujet-bac-session,
#sujet-html .sujet-bac-garde .sujet-bac-matiere,
#sujet-html .sujet-bac-garde .sujet-bac-epreuve,
#sujet-html .sujet-bac-garde .sujet-bac-date {
  font-size: 18px;
  font-weight: 700;
}

#sujet-html .sujet-bac-garde .sujet-bac-session {
  margin-top: 30px;
}

#sujet-html .sujet-bac-garde .sujet-bac-matiere {
  margin-top: 54px;
}

#sujet-html .sujet-bac-garde .sujet-bac-epreuve {
  margin-top: 28px;
}

#sujet-html .sujet-bac-garde .sujet-bac-date {
  margin-top: 48px;
}

#sujet-html .sujet-bac-garde .sujet-bac-duree {
  margin-top: 32px;
}

#sujet-html .sujet-bac-garde .sujet-bac-coefficient {
  margin-top: 5px;
}

#sujet-html .sujet-bac-garde .sujet-bac-interdiction {
  margin-top: 46px;
}

#sujet-html .sujet-bac-garde .sujet-bac-verification {
  margin-top: 30px;
}

#sujet-html .sujet-bac-garde .sujet-bac-pagination {
  margin-top: 8px;
}

#sujet-html .sujet-bac-page .sujet-bac-objet {
  border: 1px solid #777;
  padding: 1px 7px;
  font-weight: 700;
  line-height: 1.18;
}

#sujet-html .sujet-bac-page-commentaire h3 {
  margin-top: 19px;
}

#sujet-html .sujet-bac-page-commentaire .sujet-bac-objet {
  margin-top: 15px;
}

#sujet-html .sujet-bac-page .sujet-bac-consigne-commentaire {
  margin-top: 15px;
}

#sujet-html .sujet-bac-page .sujet-bac-auteur {
  margin-top: 15px;
}

#sujet-html .sujet-bac-page .sujet-bac-presentation {
  margin-top: 15px;
}

#sujet-html .sujet-bac-citation {
  margin-top: 15px;
  margin-left: 18px;
  position: relative;
  text-align: justify;
}

#sujet-html .sujet-bac-citation p {
  text-align: justify;
  text-indent: 1.2em;
  line-height: 1.32;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-repere-5 { anchor-name: --sujet-bac-repere-5; }
#sujet-html .sujet-bac-repere-10 { anchor-name: --sujet-bac-repere-10; }
#sujet-html .sujet-bac-repere-15 { anchor-name: --sujet-bac-repere-15; }
#sujet-html .sujet-bac-repere-20 { anchor-name: --sujet-bac-repere-20; }
#sujet-html .sujet-bac-repere-25 { anchor-name: --sujet-bac-repere-25; }

#sujet-html .sujet-bac-numero-ligne {
  position: absolute;
  top: anchor(top);
  left: -27px;
  width: 23px;
  color: #111;
  font-size: 0.78em;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  text-indent: 0;
}

#sujet-html .sujet-bac-repere-5 .sujet-bac-numero-ligne { position-anchor: --sujet-bac-repere-5; }
#sujet-html .sujet-bac-repere-10 .sujet-bac-numero-ligne { position-anchor: --sujet-bac-repere-10; }
#sujet-html .sujet-bac-repere-15 .sujet-bac-numero-ligne { position-anchor: --sujet-bac-repere-15; }
#sujet-html .sujet-bac-repere-20 .sujet-bac-numero-ligne { position-anchor: --sujet-bac-repere-20; }
#sujet-html .sujet-bac-repere-25 .sujet-bac-numero-ligne { position-anchor: --sujet-bac-repere-25; }

#sujet-html .sujet-bac-notes {
  margin-top: 20px;
  padding-top: 12px;
  position: relative;
  font-size: 13px;
  line-height: 1.19;
}

#sujet-html .sujet-bac-notes::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  max-width: 55%;
  border-top: 1px solid #333;
  content: "";
}

#sujet-html .sujet-bac-notes p {
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

#sujet-html .sujet-bac-page-dissertation .sujet-bac-objet {
  margin-top: 20px;
}

#sujet-html .sujet-bac-page .sujet-bac-introduction-dissertation {
  margin-top: 21px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-sujet {
  margin-top: 22px;
}

#sujet-html .sujet-bac-sujet + .sujet-bac-sujet {
  margin-top: 36px;
}

#sujet-html .sujet-bac-sujet h4 {
  margin-bottom: 5px;
}

#sujet-html .sujet-bac-sujet .sujet-bac-oeuvre,
#sujet-html .sujet-bac-sujet .sujet-bac-parcours {
  line-height: 1.32;
}

#sujet-html .sujet-bac-sujet .sujet-bac-question {
  margin-top: 20px;
  text-align: justify;
  line-height: 1.33;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-sujet .sujet-bac-consigne {
  margin-top: 18px;
  text-align: justify;
  line-height: 1.33;
  hyphens: auto;
  -webkit-hyphens: auto;
}

@container bac-document (min-width: 400px) {
  #sujet-html .sujet-bac-citation p,
  #sujet-html .sujet-bac-introduction-dissertation,
  #sujet-html .sujet-bac-sujet .sujet-bac-question,
  #sujet-html .sujet-bac-sujet .sujet-bac-consigne {
    hyphens: none;
    -webkit-hyphens: none;
  }
}

@container bac-document (min-width: 718px) {
  #sujet-html .sujet-bac-pages {
    gap: 18px;
    padding: 18px;
    background: #eeeeee;
  }

  #sujet-html .sujet-bac-page {
    aspect-ratio: 595.22 / 842;
    padding: 11.9% 11.3% 5.7% 11.9%;
    border: 0;
    font-size: 1.913cqw;
    line-height: 1.32;
  }

  #sujet-html .sujet-bac-citation {
    margin-top: 1.744cqw;
    margin-left: 0;
  }

  #sujet-html .sujet-bac-page .sujet-bac-consigne-commentaire,
  #sujet-html .sujet-bac-page .sujet-bac-auteur,
  #sujet-html .sujet-bac-page .sujet-bac-presentation {
    margin-top: 1.744cqw;
  }

  #sujet-html .sujet-bac-notes {
    margin-top: 1.163cqw;
    padding-top: 1.395cqw;
  }

  #sujet-html .sujet-bac-page .sujet-bac-introduction-dissertation {
    margin-top: 2.442cqw;
  }

  #sujet-html .sujet-bac-sujet h4 {
    margin-bottom: 0.581cqw;
  }

  #sujet-html .sujet-bac-sujet .sujet-bac-question {
    margin-top: 2.326cqw;
  }

  #sujet-html .sujet-bac-sujet .sujet-bac-consigne {
    margin-top: 2.093cqw;
  }

  #sujet-html .sujet-bac-numero-ligne {
    left: -5.000cqw;
    width: 2.558cqw;
  }

  #sujet-html .sujet-bac-garde {
    padding-top: 12.65%;
  }

  #sujet-html .sujet-bac-page .sujet-bac-pied-de-page {
    margin-left: -2.9%;
    margin-right: -3.1%;
    padding-top: 0;
    font-size: 1.860cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-diplome {
    font-size: 2.895cqw;
    line-height: 1.15;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-session,
  #sujet-html .sujet-bac-garde .sujet-bac-matiere,
  #sujet-html .sujet-bac-garde .sujet-bac-epreuve,
  #sujet-html .sujet-bac-garde .sujet-bac-date {
    font-size: 2.581cqw;
    line-height: 1.12;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-session {
    margin-top: 5.814cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-matiere {
    margin-top: 14.651cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-epreuve {
    margin-top: 5.814cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-date {
    margin-top: 10.233cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-duree {
    margin-top: 6.047cqw;
    font-size: 2.244cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-coefficient {
    margin-top: 0.930cqw;
    font-size: 2.244cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-interdiction {
    margin-top: 9.186cqw;
    font-size: 2.244cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-verification {
    margin-top: 6.163cqw;
    font-size: 2.244cqw;
  }

  #sujet-html .sujet-bac-garde .sujet-bac-pagination {
    margin-top: 1.163cqw;
    font-size: 2.244cqw;
  }

  #sujet-html .sujet-bac-page-commentaire h3 {
    margin-top: 1.860cqw;
  }

  #sujet-html .sujet-bac-page-commentaire .sujet-bac-objet {
    margin-top: 1.977cqw;
  }

  #sujet-html .sujet-bac-notes {
    font-size: 1.587cqw;
    line-height: 1.17;
  }

  #sujet-html .sujet-bac-page-dissertation .sujet-bac-objet {
    margin-top: 2.326cqw;
  }

  #sujet-html .sujet-bac-sujet {
    margin-top: 2.326cqw;
  }

  #sujet-html .sujet-bac-sujet + .sujet-bac-sujet {
    margin-top: 4.419cqw;
  }
}
