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

#sujet-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #111;
  background: transparent;
  font: 400 16px/1.3 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;
  min-width: 0;
}

#sujet-html .sujet-bac-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 25px 23px 14px;
  background: #fff;
  border-bottom: 1px solid #d2d2d2;
  overflow-wrap: break-word;
}

#sujet-html .sujet-bac-page p,
#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4,
#sujet-html .sujet-bac-page h5 {
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
}

#sujet-html .sujet-bac-page p {
  margin: 0 0 11px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

#sujet-html .sujet-bac-page h3,
#sujet-html .sujet-bac-page h4,
#sujet-html .sujet-bac-page h5 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 700;
}

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

#sujet-html .sujet-bac-en-tete,
#sujet-html .sujet-bac-page .sujet-bac-en-tete {
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-en-tete {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
}

#sujet-html .sujet-bac-page .sujet-bac-document-titre {
  margin-bottom: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 16px;
}

#sujet-html .sujet-bac-page .sujet-bac-article-titre {
  margin-bottom: 17px;
  font-size: 16px;
}

#sujet-html .sujet-bac-page .sujet-bac-sous-titre-article {
  margin-bottom: 18px;
}

#sujet-html .sujet-bac-page .sujet-bac-passage {
  position: relative;
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-page .sujet-bac-nouveau-paragraphe {
  margin-top: 14px;
}

#sujet-html .sujet-bac-page .sujet-bac-passage-repere {
  position: relative;
}

#sujet-html .sujet-bac-page .sujet-bac-numero-ligne {
  position: absolute;
  top: 0;
  right: calc(100% + 8px);
  font-size: 13px;
  line-height: 1.3;
  width: 22px;
  text-align: right;
  font-weight: 400;
}

#sujet-html .sujet-bac-page .sujet-bac-ellipse {
  margin: 14px 0;
  font-size: 15px;
}

#sujet-html .sujet-bac-page .sujet-bac-source {
  margin-top: 17px;
  margin-left: auto;
  max-width: 95%;
  text-align: right;
  font-size: 13px;
  line-height: 1.2;
}

#sujet-html .sujet-bac-page .sujet-bac-adresse {
  text-decoration: underline;
  overflow-wrap: anywhere;
  hyphens: none;
  -webkit-hyphens: none;
}

#sujet-html .sujet-bac-page .sujet-bac-note-bas-de-page {
  margin-top: auto;
  margin-bottom: 14px;
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
}

#sujet-html .sujet-bac-page .sujet-bac-note {
  margin: 13px 0;
  font-size: 14px;
}

#sujet-html .sujet-bac-page sup {
  font-size: 70%;
  line-height: 0;
}

#sujet-html .sujet-bac-pied-de-page {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  flex: 0 0 auto;
  min-width: 0;
  margin-top: auto;
  padding-top: 26px;
  color: #111;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
  text-align: left;
}

#sujet-html .sujet-bac-page .sujet-bac-sujet-encadre {
  border: 1px solid #aaa;
  padding: 3px 5px;
  margin-bottom: 27px;
  text-align: center;
}

#sujet-html .sujet-bac-page .sujet-bac-thematique {
  margin-bottom: 35px;
  text-align: center;
  font-weight: 700;
}

#sujet-html .sujet-bac-page .sujet-bac-consigne {
  margin-bottom: 21px;
  text-align: left;
  line-height: 1.24;
}

#sujet-html .sujet-bac-page .sujet-bac-consigne-anglais {
  margin-bottom: 22px;
  text-align: left;
  line-height: 1.28;
}

#sujet-html .sujet-bac-page .sujet-bac-separateur {
  width: 56%;
  border-top: 1px solid #aaa;
  margin: 5px auto 28px;
}

#sujet-html .sujet-bac-couverture {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  text-align: center;
}

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

#sujet-html .sujet-bac-page .sujet-bac-couverture-baccalaureat {
  font-size: 18px;
  margin-bottom: 19px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-epreuve {
  font-size: 14px;
  margin-bottom: 22px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-session {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 35px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-specialite {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 39px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-option {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 50px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-duree {
  font-size: 16px;
  margin-bottom: 48px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-regle {
  font-size: 13px;
  font-style: italic;
  margin-bottom: 32px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-complet {
  font-size: 13px;
  margin-bottom: 34px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-choix {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 37px;
}

#sujet-html .sujet-bac-page .sujet-bac-couverture-bareme {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 7px;
}

#sujet-html .sujet-bac-table-points {
  border-collapse: collapse;
  width: 72%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.25;
}

#sujet-html .sujet-bac-table-points td {
  padding: 7px 5px;
  border: 1px solid #aaa;
  text-align: center;
  vertical-align: middle;
  font-weight: 700;
  overflow-wrap: anywhere;
}

#sujet-html .sujet-bac-table-points .sujet-bac-cellule-libelle {
  width: 70%;
}

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

#sujet-html .sujet-bac-image-declencheur {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  outline-offset: 3px;
  background: transparent;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
  appearance: none;
}

#sujet-html .sujet-bac-illustration img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  object-fit: contain;
}

#sujet-html .sujet-bac-illustration-hawaii .sujet-bac-image-declencheur {
  width: 94%;
  margin-inline: auto;
}

#sujet-html .sujet-bac-illustration-maori .sujet-bac-image-declencheur {
  width: 78%;
  margin-inline: auto;
}

#sujet-html .sujet-bac-illustration .sujet-bac-note {
  margin-top: 20px;
}

#sujet-html .sujet-bac-zoom {
  display: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: #090909;
  color: white;
  text-align: left;
  box-shadow: none;
  overflow: hidden;
}

#sujet-html .sujet-bac-zoom:popover-open {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
}

#sujet-html .sujet-bac-zoom:popover-open::backdrop {
  background: rgba(0,0,0,.87);
}

#sujet-html .sujet-bac-zoom-bandeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 57px;
  padding: 12px 18px;
  background: #1a1a1a;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

#sujet-html .sujet-bac-zoom-fermer {
  display: block;
  flex: 0 0 auto;
  padding: 7px 13px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #303030;
  color: #fff;
  font: 400 16px/1.25 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

#sujet-html .sujet-bac-zoom-corps {
  min-height: 0;
  width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px;
  text-align: center;
}

#sujet-html .sujet-bac-zoom-corps img {
  display: block;
  height: auto;
  max-width: none;
  margin: 0 auto;
  border: 0;
}

#sujet-html #sujet-bac-zoom-hawaii .sujet-bac-zoom-corps img {
  width: min(141cqw, 635px);
}

#sujet-html #sujet-bac-zoom-maori .sujet-bac-zoom-corps img {
  width: min(116cqw, 470px);
}

#sujet-html .sujet-bac-zoom-aide {
  margin: 0;
  padding: 12px 16px;
  background: #1a1a1a;
  color: #dedede;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}

@container bac-document (min-width: 400px) {
  #sujet-html .sujet-bac-page .sujet-bac-passage,
  #sujet-html .sujet-bac-page .sujet-bac-consigne,
  #sujet-html .sujet-bac-page .sujet-bac-consigne-anglais {
    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 {
    flex: 0 0 auto;
    aspect-ratio: 595.32 / 841.92;
    padding: 5.9% 9% 4%;
    border: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.07);
  }

  #sujet-html .sujet-bac-page p,
  #sujet-html .sujet-bac-page h3,
  #sujet-html .sujet-bac-page h4,
  #sujet-html .sujet-bac-page h5 {
    font-size: 15px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-en-tete {
    font-size: 16px;
    margin-bottom: 29px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-document-titre,
  #sujet-html .sujet-bac-page .sujet-bac-article-titre {
    font-size: 15px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-passage {
    line-height: 1.24;
  }

  #sujet-html .sujet-bac-page .sujet-bac-numero-ligne {
    font-size: 13px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-sujet-encadre {
    margin-bottom: 26px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-thematique {
    margin-bottom: 35px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-source,
  #sujet-html .sujet-bac-page .sujet-bac-ellipse {
    font-size: 13px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-note-bas-de-page {
    font-size: 12px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-note {
    font-size: 13px;
  }

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

  #sujet-html .sujet-bac-page-garde .sujet-bac-couverture p {
    line-height: 1.25;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-baccalaureat {
    font-size: 19px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-epreuve {
    font-size: 14px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-session {
    font-size: 17px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-specialite {
    font-size: 23px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-option {
    font-size: 20px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-duree,
  #sujet-html .sujet-bac-page .sujet-bac-couverture-choix {
    font-size: 15px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-complet,
  #sujet-html .sujet-bac-page .sujet-bac-couverture-regle {
    font-size: 13px;
  }

  #sujet-html .sujet-bac-page .sujet-bac-couverture-bareme {
    font-size: 14px;
  }

  #sujet-html .sujet-bac-table-points {
    font-size: 12px;
  }

  #sujet-html .sujet-bac-illustration-maori .sujet-bac-image-declencheur {
    width: min(77%, 470px);
  }

  #sujet-html .sujet-bac-image-declencheur {
    pointer-events: none;
    cursor: default;
  }
}

@container bac-document (min-width: 718px) and (max-width: 760px) {
  #sujet-html .sujet-bac-page-texte .sujet-bac-nouveau-paragraphe {
    margin-top: 8px;
  }

  #sujet-html .sujet-bac-page-texte .sujet-bac-ellipse {
    margin: 6px 0;
  }

  #sujet-html .sujet-bac-page-texte .sujet-bac-article-titre {
    margin-bottom: 11px;
  }

  #sujet-html .sujet-bac-page-texte .sujet-bac-en-tete {
    margin-bottom: 22px;
  }

  #sujet-html .sujet-bac-page-texte .sujet-bac-source {
    margin-top: 10px;
  }
}
