/* AJ Page Manager 3.2.0: standard layout ONLY for pages using
   "Anurag Full Width (Elementor)". No global theme styles are changed. */
body.ajvm-standard-elementor-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
/* Keep the existing header and footer. Fill the unused page height so
   the footer stays at the bottom on short pages, not partway up. */
body.ajvm-standard-elementor-layout > main.aj-elementor-page {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-block: clamp(32px, 4vw, 64px);
  padding-inline: max(32px, calc((100% - 1200px) / 2));
}
body.ajvm-standard-elementor-layout > footer#site-footer {
  margin-top: auto;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  body.ajvm-standard-elementor-layout > main.aj-elementor-page {
    padding-block: 28px 40px;
    padding-inline: 18px;
  }
}
/* When the admin toolbar takes up space, keep the footer in view. */
@media (min-width: 783px) {
  body.admin-bar.ajvm-standard-elementor-layout { min-height: calc(100dvh - 32px); }
}
@media (max-width: 782px) {
  body.admin-bar.ajvm-standard-elementor-layout { min-height: calc(100dvh - 46px); }
}
