/*
Theme Name: Minimal Body + Footer (Footer Page Editable)
Theme URI: https://example.com/
Author: ChatGPT
Author URI: https://example.com/
Description: Ultra-light pages-only theme. No header, no sidebars. Renders a medium H1, page content, and a footer. Footer content can be edited with the normal Page editor by creating a page with the slug "footer". Also provides one Footer widget area as a fallback. System fonts only; mobile responsive. Compatible with Rank Math SEO Pro, Autoptimize, Clicky Analytics, Header Cleanup, Redirect 404 to Homepage, and Gravity Forms.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-body-footer-footerpage
*/
:root{ --mbf-max-width: 960px; }
html{box-sizing:border-box;}
*,*::before,*::after{box-sizing:inherit;}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  line-height:1.55;
  color:#111;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.site-wrap{display:flex;min-height:100svh;flex-direction:column;}
main#content{flex:1 0 auto;width:100%;margin:0;padding:1.25rem;}
.content-inner{max-width:var(--mbf-max-width);margin:0 auto;width:100%;}
img,video,canvas,svg,iframe{max-width:100%;height:auto;}

h1.page-title{
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2rem);
  line-height:1.2;
  margin:0 0 1rem 0;
  font-weight:600;
}

.entry-content{margin:0;}
.alignwide{max-width:1200px;margin-left:auto;margin-right:auto;}
.alignfull{max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}

.gform_wrapper{width:100%;}
.gform_wrapper form{width:100%;}

footer.site-footer{
  flex-shrink:0;
  border-top:1px solid rgba(0,0,0,.06);
  padding:1rem 1.25rem;
  font-size:.95rem;
  background:#f9f9fb;
  color:#333;
}
.footer-inner{
  max-width:var(--mbf-max-width);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:.75rem;
}
.footer-widgets{display:block;}
.footer-default{opacity:.8; font-size:.9rem;}
@media (max-width:480px){
  main#content{padding:1rem;}
  footer.site-footer{padding:.875rem 1rem;}
}
