/* =========================================================
   TLG Submit Vertical Position Fix
   Purpose: /soumettre and /soumettre/* use <main class="tlg-submit-shell">,
   while most other routed pages place the same top rhythm before their
   visible shell. This moves the submit main shell itself down to the same
   vertical start line, then removes the duplicated inner top padding so the
   breadcrumb/hero still starts cleanly.
   ========================================================= */
:root{
  --tlg-submit-main-offset:clamp(28px,5vw,76px);
}

body.tlg-body:not(.home):not(.front-page) main.tlg-submit-shell{
  margin-top:var(--tlg-submit-main-offset)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:0!important;
  padding-bottom:clamp(42px,7vw,88px)!important;
  padding-left:var(--tlg-page-gutter,16px)!important;
  padding-right:var(--tlg-page-gutter,16px)!important;
  max-width:var(--tlg-page-max,1180px)!important;
  width:100%!important;
  box-sizing:border-box!important;
}

body.tlg-body:not(.home):not(.front-page) main.tlg-submit-shell > .tlg-submit-breadcrumb:first-child{
  margin-top:0!important;
}

body.tlg-body:not(.home):not(.front-page) main.tlg-submit-shell > .tlg-submit-hero:first-of-type{
  margin-top:0!important;
  padding-top:0!important;
}

@media (max-width:640px){
  :root{--tlg-submit-main-offset:22px;}
  body.tlg-body:not(.home):not(.front-page) main.tlg-submit-shell{
    padding-left:16px!important;
    padding-right:16px!important;
    padding-bottom:56px!important;
  }
}
