/* Rails Simone : confinement des contenus larges sur les écrans très étroits. */
@media (max-width:320px){
  html{overflow-x:clip}
  .layout{grid-template-columns:minmax(0,1fr)!important}
  .layout>.content,.layout>.toc{box-sizing:border-box;min-width:0;max-width:100%}
  .moule-chretien .shell,.moule-chretien .hero,.moule-chretien .content,.moule-chretien .content>*{box-sizing:border-box;min-width:0;max-width:100%}
  .moule-chretien h1,.moule-chretien h2,.moule-chretien h3,.moule-chretien .eyebrow{max-width:100%;overflow-wrap:anywhere;word-break:break-all}
  .voie-bloc,.dossier{padding:20px 14px!important}
  .voie-entete{display:block!important;width:100%;max-width:100%}
  .voie-entete .toggle{display:inline-block;max-width:100%;margin-top:.5rem}
  .tiroir-guide summary{gap:8px!important;padding:12px 10px!important;flex-wrap:wrap}
  .tiroir-guide summary small{box-sizing:border-box;width:100%;padding-left:calc(1.25rem + 8px);text-align:left!important}
  .corps{box-sizing:border-box;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .corps table{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed}
  .corps th,.corps td{box-sizing:border-box;min-width:0!important;overflow-wrap:anywhere;word-break:break-word}
  .memo-grid{display:block!important;width:100%;max-width:100%}
  .memo-grid dt,.memo-grid dd{display:block;width:100%;max-width:100%}
}
