
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background: #eee;
    padding: 20px;
    font-family: 'PropaBeta Texte', sans-serif;
  }

  #download {
    margin-bottom: 20px;
    padding: 10px 15px;
    font-size: 16px;
  }

.a4-wrapper {
  width: 100%;
  overflow-x: auto; /* fallback if content overflows */
  display: flex;
  justify-content: center; /* center horizontally */
  margin: 0 auto;
}

.a4-scale {
  transform: scale(0.6);
  transform-origin: top center;
}

  .tract-container {
    width: 1240px;
    height: 1754px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    margin: 2em auto;
    font-family: "Barlow" , sans-serif;
  }

  .tract-content {
    width: 100%;
    height: 100%;
    padding: 60px; /* safe print margins (~10mm à 300dpi) */
    font-family: 'PropaBeta Texte', sans-serif;
    position: relative;
    font-size: 20px;
    overflow: hidden;
  }


  .entry-bloc{
    border: 1px solid #ccc;
  }

  .tract-content h1 {
    font-size: 100px;
    line-height: 100px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .tract-content .entry-bloc{
      border: 1px solid #ccc;
      display: block;
      width: 100%;
      padding: 10px;
      overflow: hidden;
      font-size: 20px;
      line-height: 1.2323;
  }

  .entry-bloc.bloc-2-col{
      columns: 2;
  }

  .tract-content .bloc-colonne{
        font-size: 16px;
        padding-top: 20px;
  }

  .tract-content .entry-footer{
    background: #FFE522;
    text-align: center;
    font-size: 32px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
  }
  .tract-content h2 {
    font-size: 46px;
    line-height: 1.2323;
    text-align: left;
    color: #EF3D3D;
  font-family: 'PropaBeta Titrage', sans-serif;
    }

  .tract-content h3 {
    font-size: 36px;
    line-height: 1.2323;
    text-align: left;
  font-family: 'PropaBeta Titrage', sans-serif;
    }    

  .tract-content p {
    margin-bottom: 10px;
    font-family: 'PropaBeta Texte', sans-serif;
    font-size: 22px;
  }

    .tract-content ul {
      list-style: circle;
      margin-left: 10px;
    }
    .tract-content ul li{
      list-style: circle;
      text-align: left;
      bottom: 3px;
      font-size: 22px;
      margin-left: 10px;
      line-height: 110%;
    }

  .bloc-contenu-colonne h2,
  .bloc-contenu-colonne h3{
    font-family: 'PropaBeta Titrage', sans-serif;
    font-weight: 800;
    color: #156082;
  }

  /* FOOTER */

  .entry-footer h2{
    color: #156082;
    text-align: center;
    margin-top: 0;
    font-size: 54px;
  }


  /* GRID DES TRACT */

/* on change la taille du bloc global de layout et la taille de chaque bloc de contenu en fonction du layout */


  /* SANS footer, SANS colonne */

.no-footer .main-bloc.no-col{
   overflow: hidden;
}

/* No internal scrollbars; keep text inside the box */
.main-bloc[contenteditable] {
  overflow: hidden;
  /* optional smoothing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Make long words wrap instead of widening the box */
.main-bloc[contenteditable] p,
.main-bloc[contenteditable] li,
.main-bloc[contenteditable] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Optional: smoothen size changes when applied */
.main-bloc[contenteditable] p,
.main-bloc[contenteditable] li {
  transition: font-size 0.2s ease;
}


.main-bloc h2 {
  flex-shrink: 0; /* title takes only its space */
  margin: 0 0 0.5em;
}



