/* Classic09: presentation only. Font families, sizes and weights stay under existing WP controls.
 * Main page/archive/product titles and aMember top headings; auth legends preserve native semantics.
 * Home logo H1, card/section headings, footer and consent headings are not targeted. */
html body #primary h1:not(.site-title),
html body h1.page-title,
html body .summary h1.product_title,
html body .am-body-content-top > h1,
html body .am-body-content > h1,
html body .am-signup > .et-hero > h1,
html body .am-auth-form > form > fieldset > legend{text-align:center!important;display:block!important}
html body #primary h1:not(.site-title)::after,
html body h1.page-title::after,
html body .summary h1.product_title::after,
html body .am-body-content-top > h1::after,
html body .am-body-content > h1::after,
html body .am-signup > .et-hero > h1::after,
html body .am-auth-form > form > fieldset > legend::after{content:""!important;display:block!important;position:static!important;width:104px!important;max-width:100%!important;height:12px!important;margin:20px auto 0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22104%22%20height%3D%2212%22%20viewBox%3D%220%200%20104%2012%22%3E%3Cpath%20d%3D%22M0%203h38M66%203h38%22%20stroke%3D%22%23bc9c58%22%2F%3E%3Cpath%20d%3D%22M14%209h24M66%209h24%22%20stroke%3D%22%23bc9c58%22%20opacity%3D%22.55%22%2F%3E%3Cpath%20d%3D%22m52%202%204%204-4%204-4-4Z%22%20fill%3D%22%23bc9c58%22%2F%3E%3C%2Fsvg%3E") center/104px 12px no-repeat!important;pointer-events:none}

/* Replace aMember legacy flex side-lines with the selected single ornament. */
html body #primary h1:not(.site-title)::before,
html body h1.page-title::before,
html body .summary h1.product_title::before,
html body .am-body-content-top > h1::before,
html body .am-body-content > h1::before,
html body .am-signup > .et-hero > h1::before,
html body .am-auth-form > form > fieldset > legend::before{content:none!important;display:none!important}

/* Global H1 scale uses native WordPress desktop/tablet/mobile settings. */
html body h1:not(.site-title){font-size:var(--et-type-h1)!important}

/* Shared aMember content frame. Sidebar, forms and responsive cards retain their layouts. */
@media(min-width:651px){
 html body .am-body-content{box-sizing:border-box;width:1100px!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;}
 html body .am-body-content .am-signup{box-sizing:border-box;width:100%!important;max-width:100%!important;}
 html body .am-body-content .et-member-shell{width:100%;min-width:0;}
}
