/* Anciennes pages : largeur de contenu identique à l’accueil.
   Référence : modern.css, --max:1740px, marges latérales de 20px.
   Ces règles s’appliquent uniquement sur ordinateur. */
@media screen and (min-width:1024px) {
  body.ve-legacy-wide { --ve-legacy-content-max:1740px; }
  body.ve-legacy-wide .page,
  body.ve-legacy-wide #content,
  body.ve-legacy-wide [class*="wrapper_"] {
    box-sizing:border-box;
    width:100% !important;
    max-width:none !important;
    margin-inline:auto !important;
  }
  body.ve-legacy-wide .container {
    box-sizing:border-box;
    width:min(calc(100% - 40px),var(--ve-legacy-content-max)) !important;
    max-width:var(--ve-legacy-content-max) !important;
    margin-inline:auto !important;
    padding-inline:0 !important;
  }
  body.ve-legacy-wide .container .row {
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    width:100%;
    margin:0 !important;
  }
  body.ve-legacy-wide .container .row::before,
  body.ve-legacy-wide .container .row::after { content:none; display:none; }
  body.ve-legacy-wide .row > [class*="grid_"] {
    box-sizing:border-box;
    float:none !important;
    flex:0 0 auto;
    min-width:0;
    margin-inline:0 !important;
  }
  body.ve-legacy-wide .row > .grid_1 { width:calc(8.33333333% - 27.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_2 { width:calc(16.66666667% - 25.00000000px) !important; }
  body.ve-legacy-wide .row > .grid_3 { width:calc(25.00000000% - 22.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_4 { width:calc(33.33333333% - 20.00000000px) !important; }
  body.ve-legacy-wide .row > .grid_5 { width:calc(41.66666667% - 17.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_6 { width:calc(50.00000000% - 15.00000000px) !important; }
  body.ve-legacy-wide .row > .grid_7 { width:calc(58.33333333% - 12.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_8 { width:calc(66.66666667% - 10.00000000px) !important; }
  body.ve-legacy-wide .row > .grid_9 { width:calc(75.00000000% - 7.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_10 { width:calc(83.33333333% - 5.00000000px) !important; }
  body.ve-legacy-wide .row > .grid_11 { width:calc(91.66666667% - 2.50000000px) !important; }
  body.ve-legacy-wide .row > .grid_12 { width:100% !important; }
  body.ve-legacy-wide.ve-legacy-photo-first .ve-legacy-photo-heading,
  body.ve-legacy-wide.ve-legacy-photo-first .ve-legacy-first-photo {
    box-sizing:border-box;
    width:min(calc(100% - 40px),var(--ve-legacy-content-max)) !important;
    max-width:var(--ve-legacy-content-max) !important;
    margin-inline:auto !important;
  }
  body.ve-legacy-wide #content img { max-width:100%; height:auto; }
  body.ve-legacy-wide #content iframe { max-width:100%; }
}
