/* =============================================================
   AM GUIDELINES - Site Guidelines page styles
   Requires am-core.css loaded first
   IPC Pages slug: "guidelines"
   ============================================================= */

/* === KILL NEXXE bg.svg + HIDE IPS SHELL ===
   Loads per-page only via IPC Pages ACP - no body scoping needed.
   Uses aggressive Nexxe override from am-home.css pattern. ========= */
#ipsLayout_header,
#cb-nexxe__topbar,
#cb-nexxe__menu,
nav.ipsBreadcrumb_top,
nav.ipsBreadcrumb_bottom,
#ipsLayout_footer,
#cb-nexxe__social__sticky,
.liveMessenger_chat,
.cb-nexxe--goup,
.cb-nexxe__messagetop,
.cAnnouncements,
.cWidgetContainer,
#cb-nexxe__footer--breadcrumb,
#cb-nexxe__footer--content,
#cb-nexxe__footer--bottom,
#elMobileNav,
#elMobileDrawer,
#elMobileCreateMenuDrawer{display:none!important}
body{background:#08090c!important;background-image:none!important;background-color:#08090c!important}
body::before,body::after,
body.ipsApp::before,body.ipsApp::after,
body.ipsApp.ipsApp_front::before,body.ipsApp.ipsApp_front::after{
  display:none!important;content:none!important;visibility:hidden!important;
  height:0!important;width:0!important;opacity:0!important;background:none!important;
}
#ipsLayout_body{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;background-image:none!important}
#ipsLayout_body.ipsLayout_container{max-width:none!important;padding:0!important}
#ipsLayout_contentArea,
#ipsLayout_contentWrapper,
#ipsLayout_mainArea,
#elCmsPageWrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
#ipsLayout_body::before,#ipsLayout_body::after,
main::before,main::after{display:none!important;content:none!important;visibility:hidden!important}

/* === LEGAL HERO === */
.am-legal__hero{
  padding:90px 0 40px;
  text-align:center;
  position:relative;
}
.am-legal__hero::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse 60% 50% at 50% 0%,rgba(255,138,29,.05),transparent 70%);
}
.am-legal__hero .am-head{position:relative;z-index:1}

/* === TABLE OF CONTENTS === */
.am-toc{
  max-width:820px;margin:0 auto 48px;
  border:1px solid var(--brd);border-radius:var(--r);
  background:var(--s1);padding:24px 28px;
}
.am-toc__title{
  font-size:11px;font-weight:800;letter-spacing:.14em;
  color:var(--tx2);margin-bottom:14px;text-transform:uppercase;
}
.am-toc__grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:6px 32px;
}
.am-toc__grid a{
  font-size:13px;color:var(--tx2);
  transition:color .2s;padding:3px 0;
  border-bottom:1px solid transparent;
}
.am-toc__grid a:hover{color:var(--ac)}
.am-toc__grid a span{
  font-size:10px;font-weight:800;letter-spacing:.08em;
  color:var(--ac2);margin-right:8px;opacity:.7;
}

/* === LEGAL BODY === */
.am-legal__body{
  max-width:820px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
}

/* === SECTION === */
.am-legal__section{
  padding:36px 0;
  border-bottom:1px solid var(--brd);
  scroll-margin-top:80px;
}
.am-legal__section:last-child{border-bottom:none}

.am-legal__section h3{
  font-size:11px;font-weight:800;letter-spacing:.16em;
  color:var(--ac2);margin-bottom:18px;text-transform:uppercase;
  display:flex;align-items:center;gap:12px;
}
.am-legal__section h3::before{
  content:"";display:inline-block;
  width:3px;height:14px;border-radius:3px;
  background:var(--ac);flex-shrink:0;
}

.am-legal__section p{
  font-size:14px;color:var(--tx2);
  line-height:1.8;margin-bottom:14px;
}
.am-legal__section p:last-child{margin-bottom:0}
.am-legal__section p strong{color:var(--tx);font-weight:700}
.am-legal__section p a{
  color:var(--ac);text-decoration:underline;
  text-underline-offset:3px;transition:color .2s;
}
.am-legal__section p a:hover{color:var(--ac2)}

/* sub-headings within a section (used in monitoring section) */
.am-legal__section h4{
  font-size:13px;font-weight:800;letter-spacing:.04em;
  color:var(--tx);margin:20px 0 10px;
}
.am-legal__section h4:first-of-type{margin-top:4px}

/* lists */
.am-legal__section ul{
  list-style:none;margin:8px 0 16px;padding:0;
  display:flex;flex-direction:column;gap:10px;
}
.am-legal__section ul:last-child{margin-bottom:0}
.am-legal__section ul li{
  position:relative;padding-left:20px;
  font-size:14px;color:var(--tx2);line-height:1.7;
}
.am-legal__section ul li::before{
  content:"";position:absolute;left:0;top:10px;
  width:5px;height:5px;border-radius:50%;background:var(--ac);
}

/* highlighted callout box (used for ban policy) */
.am-legal__callout{
  margin:16px 0;padding:20px 22px;
  border:1px solid var(--brd2);border-radius:12px;
  background:rgba(255,138,29,.04);
}
.am-legal__callout p{
  font-size:14px;color:var(--tx2);line-height:1.75;margin-bottom:10px;
}
.am-legal__callout p:last-child{margin-bottom:0}
.am-legal__callout strong{color:var(--ac2)}

/* "Aim Master reserves all rights" stamp */
.am-legal__rights{
  display:inline-flex;align-items:center;gap:10px;
  margin-top:16px;padding:10px 18px;
  border:1px solid var(--brd2);border-radius:999px;
  background:rgba(255,138,29,.04);
  font-size:12px;font-weight:800;letter-spacing:.06em;color:var(--ac2);
}
.am-legal__rights::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:var(--ac);flex-shrink:0;
}

/* === LEGAL NAV (bottom links) === */
.am-legal__nav{
  display:flex;flex-wrap:wrap;gap:12px;
  justify-content:center;
  max-width:820px;margin:52px auto 0;
}

/* === RESPONSIVE === */
@media(max-width:720px){
  .am-toc__grid{grid-template-columns:1fr}
  .am-legal__section{padding:28px 0}
}
@media(max-width:640px){
  .am-legal__hero{padding:70px 0 30px}
  .am-legal__nav{flex-direction:column}
  .am-legal__nav .am-b{width:100%}
}