/* AOM V49.3 — consistent internal-page navigation and safe product artwork. */
.aom-page-back-wrap {
  position: relative;
  z-index: 8;
  width: min(100% - 40px, 1780px);
  margin: 0 auto -62px;
  padding-top: 92px;
  pointer-events: none;
}
.aom-page-back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(39, 215, 242, .28);
  border-radius: 12px;
  color: #dffaff;
  background: rgba(5, 20, 30, .82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.aom-page-back:hover {
  border-color: rgba(39, 215, 242, .62);
  background: rgba(7, 31, 43, .94);
  transform: translateX(-2px);
}
.aom-page-back-arrow { color: #27d7f2; font-size: 18px; line-height: 1; }

/* Product artwork must always remain completely visible. */
.product-detail-hero .v40-logo-stage,
.product-detail-hero .v39-logo-stage,
.product-detail-hero .v38-logo-stage,
.product-detail-hero .v37-logo-stage { overflow: hidden !important; }
.product-detail-hero .v40-logo-stage img,
.product-detail-hero .v39-logo-stage img,
.product-detail-hero .v38-logo-stage img,
.product-detail-hero .v37-logo-stage img {
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .aom-page-back-wrap {
    width: calc(100% - 28px);
    margin-bottom: -56px;
    padding-top: 78px;
  }
  .aom-page-back { min-height: 40px; padding: 8px 13px; }
}

/* DGEA product-card safe fit */
.product-card .product-logo img[src*="/dgea.png"]{object-fit:contain!important;object-position:center!important;transform:none!important;padding:7px 12px!important;box-sizing:border-box!important;background:#020b14!important}
.product-card:hover .product-logo img[src*="/dgea.png"]{transform:none!important}

/* V49.3.1 safe back-button layout */
.aom-page-back-wrap{position:relative!important;width:min(100% - 40px,1780px)!important;margin:0 auto!important;padding-top:92px!important;padding-bottom:0!important;pointer-events:none!important}
.aom-page-back{pointer-events:auto!important}
#main>.aom-page-back-wrap+.section-first{padding-top:24px!important}
.product-card .product-logo img[src*="/dgea.png"]{object-fit:contain!important;object-position:center!important;transform:none!important;padding:7px 12px!important;box-sizing:border-box!important;background:#020b14!important}
.product-card:hover .product-logo img[src*="/dgea.png"]{transform:none!important}
@media(max-width:760px){.aom-page-back-wrap{width:calc(100% - 28px)!important;padding-top:78px!important}.aom-page-back-wrap+.section-first{padding-top:18px!important}}

/* Back button position fix */
.aom-page-back-wrap{position:relative!important;width:min(100% - 40px,1780px)!important;margin:0 auto!important;padding-top:92px!important;padding-bottom:0!important;pointer-events:none!important}
.aom-page-back{pointer-events:auto!important}
#main>.aom-page-back-wrap+.section-first{padding-top:24px!important}
@media(max-width:760px){.aom-page-back-wrap{width:calc(100% - 28px)!important;padding-top:78px!important}.aom-page-back-wrap+.section-first{padding-top:18px!important}}

/* V49.3.2 consistent navigation and product-logo scale */
.aom-page-back-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:92px 44px 0!important;box-sizing:border-box!important}
.product-card .product-logo img:not([src*="aom-hedge-pro.png"]):not([src*="/dgea.png"]){object-fit:contain!important;object-position:center!important;transform:scale(.86)!important}
.product-card:hover .product-logo img:not([src*="aom-hedge-pro.png"]):not([src*="/dgea.png"]){transform:scale(.86)!important}
@media(max-width:760px){.aom-page-back-wrap{width:100%!important;padding:78px 14px 0!important}}

/* V49.3.3 unified internal-page alignment */
:root{--aom-unified-gutter:clamp(24px,3.2vw,64px)}
.aom-page-back-wrap{width:min(1760px,calc(100% - (var(--aom-unified-gutter) * 2)))!important;max-width:1760px!important;margin-left:auto!important;margin-right:auto!important;padding:92px 0 0!important;box-sizing:border-box!important}
#main>.aom-page-back-wrap+.page-hero.section-first>.container,#main>.aom-page-back-wrap+.hero.section-first>.container,#main>.aom-page-back-wrap+.product-detail-hero.section-first>.container,#main>.aom-page-back-wrap+.legal-hero.section-first>.container,#main>.aom-page-back-wrap+.partner-page .partner-wide{width:min(1760px,calc(100% - (var(--aom-unified-gutter) * 2)))!important;max-width:1760px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
#main>.aom-page-back-wrap+.page-hero.section-first,#main>.aom-page-back-wrap+.hero.section-first,#main>.aom-page-back-wrap+.product-detail-hero.section-first,#main>.aom-page-back-wrap+.legal-hero.section-first{padding-top:24px!important}
#main>.aom-page-back-wrap+.partner-page .partner-hero.section-first{min-height:0!important;padding:24px 0 58px!important}
@media(max-width:760px){:root{--aom-unified-gutter:15px}.aom-page-back-wrap{padding-top:78px!important}#main>.aom-page-back-wrap+.page-hero.section-first,#main>.aom-page-back-wrap+.hero.section-first,#main>.aom-page-back-wrap+.product-detail-hero.section-first,#main>.aom-page-back-wrap+.legal-hero.section-first,#main>.aom-page-back-wrap+.partner-page .partner-hero.section-first{padding-top:18px!important}}

/* V49.3.4 Products and Guide hero finish */
body.page-products #main>.aom-page-back-wrap+.page-hero.section-first{min-height:360px!important;padding-top:18px!important;padding-bottom:46px!important;display:flex!important;align-items:center!important}
body.page-products .page-hero-grid{min-height:0!important;align-items:center!important}
body.page-app #main>.aom-page-back-wrap+.page-hero.section-first{min-height:340px!important;padding-top:18px!important;padding-bottom:44px!important;display:flex!important;align-items:center!important}
body.page-app .page-hero-grid{min-height:300px!important;align-items:center!important;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr)!important}
body.page-app .nav-left a[data-nav="app"]{color:#fff!important;border-bottom-color:#27d7f2!important}
@media(max-width:900px){body.page-products #main>.aom-page-back-wrap+.page-hero.section-first,body.page-app #main>.aom-page-back-wrap+.page-hero.section-first{min-height:0!important;padding-top:18px!important;padding-bottom:34px!important}body.page-app .page-hero-grid{min-height:0!important;grid-template-columns:1fr!important}}

/* V49.3.5 centered Guide and Community composition */
body.page-app #main>.aom-page-back-wrap+.page-hero.section-first{min-height:470px!important;padding-top:22px!important;padding-bottom:52px!important}
body.page-app .page-hero-grid{display:grid!important;grid-template-columns:1fr!important;gap:28px!important;min-height:0!important;align-content:center!important;justify-items:center!important;text-align:center!important}
body.page-app .page-hero-grid>div:first-child{width:min(900px,100%)!important;margin:0 auto!important}
body.page-app .page-hero h1{max-width:900px!important;margin:12px auto 14px!important}
body.page-app .page-hero .lead{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}
body.page-app .page-hero .hero-mini{width:min(720px,100%)!important;max-width:720px!important;justify-self:center!important;margin:0 auto!important}
body.page-community .v463-community-hero{min-height:390px!important;padding-top:22px!important;padding-bottom:50px!important;display:flex!important;align-items:center!important}
body.page-community .v463-hero-copy{width:min(1100px,100%)!important;max-width:1100px!important;margin:0 auto!important;text-align:center!important}
body.page-community .v463-community-hero h1{max-width:1050px!important;margin:12px auto 16px!important}
body.page-community .v463-community-hero .lead{max-width:820px!important;margin-left:auto!important;margin-right:auto!important}
body.page-community .v463-section-intro{margin-left:auto!important;margin-right:auto!important;text-align:center!important}
@media(max-width:760px){body.page-app #main>.aom-page-back-wrap+.page-hero.section-first,body.page-community .v463-community-hero{min-height:0!important;padding-top:18px!important;padding-bottom:38px!important}body.page-app .page-hero-grid{gap:22px!important}body.page-app .page-hero .hero-mini{grid-template-columns:1fr!important;max-width:420px!important}body.page-community .v463-hero-copy{text-align:left!important}body.page-community .v463-section-intro{text-align:left!important}}

/* V49.3.6 Guide two-column center + Community compact */
body.page-app #main>.aom-page-back-wrap+.page-hero.section-first{min-height:390px!important;padding-top:18px!important;padding-bottom:42px!important}
body.page-app .page-hero-grid{width:min(1240px,calc(100% - (var(--aom-unified-gutter) * 2)))!important;max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;display:grid!important;grid-template-columns:minmax(460px,1fr) minmax(500px,1fr)!important;gap:64px!important;align-items:center!important;justify-items:stretch!important;text-align:left!important}
body.page-app .page-hero-grid>div:first-child{width:100%!important;max-width:570px!important;margin:0!important;text-align:left!important}
body.page-app .page-hero h1{max-width:570px!important;margin:12px 0 14px!important}
body.page-app .page-hero .lead{max-width:560px!important;margin:0!important;text-align:left!important}
body.page-app .page-hero .hero-mini{width:100%!important;max-width:540px!important;justify-self:center!important;margin:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.page-community .v463-community-hero{min-height:300px!important;padding-top:14px!important;padding-bottom:28px!important}
body.page-community .v463-latest-section{padding-top:30px!important}
@media(max-width:1050px){body.page-app .page-hero-grid{width:min(760px,calc(100% - 30px))!important;grid-template-columns:1fr!important;gap:26px!important;text-align:center!important}body.page-app .page-hero-grid>div:first-child,body.page-app .page-hero h1,body.page-app .page-hero .lead{max-width:720px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}}
@media(max-width:700px){body.page-app .page-hero-grid{width:calc(100% - 30px)!important;text-align:left!important}body.page-app .page-hero-grid>div:first-child,body.page-app .page-hero h1,body.page-app .page-hero .lead{text-align:left!important;margin-left:0!important;margin-right:0!important}body.page-app .page-hero .hero-mini{grid-template-columns:1fr!important}body.page-community .v463-community-hero{min-height:0!important;padding-bottom:24px!important}}

/* V49.3.7 compact Guide + Community */
body.page-app .aom-page-back-wrap,body.page-community .aom-page-back-wrap{padding-top:54px!important}
body.page-app #main>.aom-page-back-wrap+.page-hero.section-first{min-height:310px!important;padding-top:8px!important;padding-bottom:26px!important}
body.page-app .page-hero-grid{width:min(1240px,calc(100% - (var(--aom-unified-gutter) * 2)))!important;max-width:1240px!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(460px,1fr) minmax(500px,1fr)!important;gap:58px!important;align-items:center!important;justify-items:stretch!important;text-align:left!important}
body.page-app .page-hero-grid>div:first-child{width:100%!important;max-width:570px!important;margin:0!important;text-align:left!important}
body.page-app .page-hero h1{max-width:570px!important;margin:10px 0 12px!important}
body.page-app .page-hero .lead{max-width:560px!important;margin:0!important;text-align:left!important}
body.page-app .page-hero .hero-mini{width:100%!important;max-width:540px!important;justify-self:center!important;margin:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.page-app #main>.page-hero+.section{padding-top:42px!important}
body.page-community .v463-community-hero{min-height:280px!important;padding-top:8px!important;padding-bottom:22px!important}
body.page-community .v463-latest-section{padding-top:24px!important}
@media(max-width:1050px){body.page-app .page-hero-grid{width:min(760px,calc(100% - 30px))!important;grid-template-columns:1fr!important;gap:22px!important}body.page-app .page-hero-grid>div:first-child,body.page-app .page-hero h1,body.page-app .page-hero .lead{max-width:720px!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important}}
@media(max-width:700px){body.page-app .aom-page-back-wrap,body.page-community .aom-page-back-wrap{padding-top:38px!important}body.page-app .page-hero-grid{width:calc(100% - 30px)!important}body.page-app .page-hero-grid>div:first-child,body.page-app .page-hero h1,body.page-app .page-hero .lead{text-align:left!important;margin-left:0!important;margin-right:0!important}body.page-app .page-hero .hero-mini{grid-template-columns:1fr!important}body.page-community .v463-community-hero{min-height:0!important}}
