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

#corrige-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #141414;
  font: 16px/1.36 Arial, Helvetica, sans-serif;
  text-align: left;
  container-type: inline-size;
  container-name: bac-document;
  overflow-wrap: break-word;
}

#corrige-html .corrige-bac-pages {
  width: 100%;
  min-width: 0;
  background: transparent;
}

#corrige-html .corrige-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  padding: 24px 16px 16px;
  background: #fff;
  overflow: hidden;
}

#corrige-html .corrige-bac-page + .corrige-bac-page {
  border-top: 1px solid #d2d2d2;
}

#corrige-html .corrige-bac-page > :not(.corrige-bac-pied-de-page) {
  flex-shrink: 0;
}

#corrige-html .corrige-bac-page p,
#corrige-html .corrige-bac-page h3,
#corrige-html .corrige-bac-page h4 {
  padding: 0;
  background-color: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: normal;
  text-shadow: none;
}

#corrige-html .corrige-bac-page p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.36;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#corrige-html .corrige-bac-page strong {
  font-weight: 700;
}

#corrige-html .corrige-bac-page h3.corrige-bac-exercice {
  margin: 0 0 15px;
  padding: 2px 4px;
  background-color: #98cfbe;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

#corrige-html .corrige-bac-page h4.corrige-bac-question,
#corrige-html .corrige-bac-page h4.corrige-bac-affirmation {
  margin: 18px 0 9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

#corrige-html .corrige-bac-page h3 + h4,
#corrige-html .corrige-bac-page h3 + p {
  margin-top: 0;
}

#corrige-html .corrige-bac-page p.corrige-bac-etape {
  margin-top: 16px;
  text-align: left;
}

#corrige-html .corrige-bac-formule {
  max-width: 100%;
  min-width: 0;
  margin: 9px 0 15px;
  padding: 2px 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  text-align: center;
  background:
    linear-gradient(to right, #fff 28%, transparent) left center / 28px 100% no-repeat local,
    linear-gradient(to left, #fff 28%, transparent) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, #0003, transparent) left center / 10px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, #0003, transparent) right center / 10px 100% no-repeat scroll;
}

#corrige-html .corrige-bac-page math {
  font-family: "Cambria Math", "STIX Two Math", "Latin Modern Math", serif;
  font-size: 1.03em;
  text-align: center;
}

#corrige-html .corrige-bac-formule math[display="block"] {
  width: max-content;
  min-width: 100%;
  margin-inline: auto;
  font-size: 1.08em;
}

#corrige-html .corrige-bac-formule math[display="block"] mtd {
  math-style: normal;
}

#corrige-html .corrige-bac-page a {
  color: #276ab0;
  text-decoration: underline;
  hyphens: none;
}

#corrige-html .corrige-bac-pied-de-page {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 32px;
  color: #808080;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
}

#corrige-html .corrige-bac-pied-de-page span:last-child {
  flex-shrink: 0;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-couverture {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-couverture p {
  text-align: center;
}

#corrige-html .corrige-bac-titre-couverture {
  font-weight: 700;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-titre-couverture p {
  margin: 0 0 5px;
  font-size: 21px;
  font-weight: 700;
}

#corrige-html .corrige-bac-session {
  margin-top: 70px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session p {
  margin-bottom: 16px;
  font-size: 14px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-strong,
#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-matiere {
  font-weight: 700;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-matiere {
  margin-top: 30px;
  margin-bottom: 9px;
  font-size: 17px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-specialite {
  margin-top: 32px;
  font-size: 12px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-duree {
  margin-top: 26px;
  font-size: 12px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-session .corrige-bac-calculatrice {
  margin-top: 22px;
  font-size: 12px;
}

#corrige-html .corrige-bac-credit {
  margin-top: auto;
  padding-top: 65px;
}

#corrige-html .corrige-bac-page-1 .corrige-bac-credit p {
  margin-bottom: 21px;
  font-size: 13px;
  line-height: 1.35;
}

#corrige-html .corrige-bac-figure {
  width: min(100%, 385px);
  margin: 12px auto 28px;
  text-align: center;
}

#corrige-html .corrige-bac-image-bouton {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  text-align: center;
  cursor: zoom-in;
}

#corrige-html .corrige-bac-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: auto;
  object-fit: contain;
}

#corrige-html .corrige-bac-popover {
  display: none;
}

#corrige-html .corrige-bac-popover:popover-open {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #121212;
  color: #fff;
  overflow: hidden;
}

#corrige-html .corrige-bac-popover::backdrop {
  background: #000c;
}

#corrige-html .corrige-bac-zoom-bandeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #222;
  color: #fff;
  font-size: 16px;
}

#corrige-html .corrige-bac-zoom-bandeau button {
  margin: 0;
  padding: 9px 15px;
  border: 1px solid #777;
  border-radius: 6px;
  background: #333;
  color: #fff;
  font: 15px/1.2 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

#corrige-html .corrige-bac-zoom-contenu {
  min-height: 0;
  overflow: auto;
  padding: 20px 10px;
  text-align: center;
}

#corrige-html .corrige-bac-zoom-contenu img {
  display: block;
  width: min(117vw, 383px);
  max-width: none;
  height: auto;
  margin: 0 auto;
}

#corrige-html .corrige-bac-popover p.corrige-bac-zoom-indication {
  margin: 0;
  padding: 12px 10px;
  background: #222;
  color: #dedede;
  font-size: 12px;
  text-align: center;
}

#corrige-html .corrige-bac-page-3 .corrige-bac-bloc-ex1 {
  margin-top: 50px;
}

#corrige-html .corrige-bac-page-4 .corrige-bac-bloc-ex2 {
  margin-top: 52px;
}

#corrige-html .corrige-bac-page-7 .corrige-bac-trait {
  width: 34px;
  height: 1px;
  margin-top: 38px;
  margin-bottom: 32px;
  background: #888;
}

#corrige-html .corrige-bac-page p.corrige-bac-conclusion {
  font-size: 13px;
  text-align: left;
}

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

  #corrige-html .corrige-bac-page {
    width: 100%;
    aspect-ratio: 595.32 / 841.92;
    height: auto;
    padding: 8.1% 10.8% 4.5%;
    border: 0;
    font-size: 15px;
  }

  #corrige-html .corrige-bac-page + .corrige-bac-page {
    border-top: 0;
  }

  #corrige-html .corrige-bac-page p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.32;
  }

  #corrige-html .corrige-bac-page h3.corrige-bac-exercice {
    font-size: 16px;
    margin-bottom: 11px;
  }

  #corrige-html .corrige-bac-page h4.corrige-bac-question,
  #corrige-html .corrige-bac-page h4.corrige-bac-affirmation {
    margin: 12px 0 9px;
    font-size: 15px;
  }

  #corrige-html .corrige-bac-formule {
    margin: 6px 0 12px;
    padding: 0 0 2px;
  }

  #corrige-html .corrige-bac-page p.corrige-bac-etape {
    margin-top: 15px;
  }

  #corrige-html .corrige-bac-page-1 {
    padding-top: 4.8%;
  }

  #corrige-html .corrige-bac-page-3 .corrige-bac-bloc-ex1 {
    margin-top: 205px;
  }

  #corrige-html .corrige-bac-page-4 .corrige-bac-bloc-ex2 {
    margin-top: 76px;
  }

  #corrige-html .corrige-bac-page-5 .corrige-bac-affirmation {
    margin-top: 30px;
  }

  #corrige-html .corrige-bac-figure {
    margin-bottom: 25px;
  }

  #corrige-html .corrige-bac-image-bouton {
    pointer-events: none;
    cursor: default;
  }
}

@container bac-document (min-width: 718px) and (max-width: 839px) {
  #corrige-html .corrige-bac-page {
    padding: 6.7% 9.4% 3.3%;
  }

  #corrige-html .corrige-bac-page p {
    margin-bottom: 7px;
    font-size: 14.7px;
    line-height: 1.23;
  }

  #corrige-html .corrige-bac-page h4.corrige-bac-question,
  #corrige-html .corrige-bac-page h4.corrige-bac-affirmation {
    margin: 8px 0 5px;
    font-size: 14.7px;
  }

  #corrige-html .corrige-bac-formule {
    margin: 3px 0 6px;
  }

  #corrige-html .corrige-bac-page p.corrige-bac-etape {
    margin-top: 9px;
  }

  #corrige-html .corrige-bac-page-3 .corrige-bac-bloc-ex1 {
    margin-top: 145px;
  }

  #corrige-html .corrige-bac-page-4 .corrige-bac-bloc-ex2 {
    margin-top: 30px;
  }

  #corrige-html .corrige-bac-pied-de-page {
    padding-top: 14px;
  }
}
