/* UI fix report 2026-11-15 - shared header, footer, back-to-top */

/* 2. One left edge: header rows and footer use the same 1320px container and fluid gutter as the blog sections */
.wp-block-kadence-header .wp-block-kadence-header-row .kadence-header-row-inner {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 3vw, 32px) !important;
  padding-right: clamp(16px, 3vw, 32px) !important;
  box-sizing: border-box;
}
.rm-footer { padding-left: 0 !important; padding-right: 0 !important; }
.rm-footer .rm-container {
  max-width: 1320px !important;
  padding-left: clamp(16px, 3vw, 32px) !important;
  padding-right: clamp(16px, 3vw, 32px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* 4. Back-to-top button clear of the content and legal links */
#kt-scroll-up { bottom: 40px !important; }
@media (max-width: 767px) {
  #kt-scroll-up { bottom: 90px !important; right: 16px !important; }
}
.rm-footer .rm-bottom { padding-bottom: 24px; }

/* 5. Footer legal links: 44px tap height without moving the layout */
@media (max-width: 767px) {
  .rm-footer .rm-bottom a { display: inline-block; padding: 13px 4px; margin: -13px 0; }
}
