/* WWCFAM responsive overlap/cut-off guard — 2026-09 full-site integration patch */
html,body{max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
img,video,canvas,svg,iframe,audio,object,embed{max-width:100%}
input,select,textarea,button{max-width:100%}
.wwc-panel,.mag-wrap,.mag-grid,.mag-card,.mag-viewer,.viewer-stage,.viewer-center,.viewer-copy,.feature-grid,.feature-card,.feature-copy,.custom-sections-wrap,.custom-section-card,.custom-section-inner,.approved-live-grid,.approved-live-card{min-width:0;max-width:100%}
.mag-title,.mag-text,.mag-copy,.viewer-copy,.feature-copy,.custom-section-copy,.announcement-copy{overflow-wrap:anywhere;word-break:normal}
.mag-actions,.viewer-head,.feature-card,.custom-section-actions{min-width:0;flex-wrap:wrap}
.mag-actions>a,.custom-section-actions>a,.feature-btn,.mag-btn{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
.mag-grid,.feature-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}
.viewer-center{grid-template-columns:minmax(0,1fr)!important}
.viewer-cover{width:min(100%,430px);margin-inline:auto}
.approved-mini-gallery{min-width:0}
.announcement-track,.announcement-move{max-width:100%}
@media(max-width:760px){
  .wwc-panel,.mag-wrap{width:calc(100% - 12px)!important;margin-inline:auto!important;padding-left:12px!important;padding-right:12px!important}
  .mag-head,.mag-copy,.viewer-head,.viewer-copy,.feature-copy,.custom-section-inner{min-width:0}
  .viewer-head{align-items:flex-start!important;flex-direction:column!important}
  .mag-actions,.custom-section-actions{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .mag-actions>a,.custom-section-actions>a,.feature-btn,.mag-btn{width:100%!important;min-width:0!important}
  .feature-card,.mag-card,.mag-viewer,.approved-live-card{overflow:hidden}
  .approved-live-grid{grid-template-columns:1fr!important}
}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
