/* ============================================================
   AYX 爱游戏 — Global Custom Styles  v2.0
   ============================================================ */

/* Body background */
body { background-color: #edf3fc; }

/* ── Full-width override for homepage template ──
   Target every possible Astra wrapper class */
body.page-template-page-homepage-php .site-content,
body.page-template-page-homepage-php .content-area,
body.page-template-page-homepage-php #content,
body.page-template-page-homepage-php .ast-container,
body.page-template-page-homepage-php .ast-plain-container #content,
body.page-template-page-homepage-php .ast-plain-container .site-content,
body.page-template-page-homepage-php .entry-content,
body.page-template-page-homepage-php .ast-article-post {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.page-template-page-homepage-php .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-page-homepage-php .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure ayx-main itself is full width with no padding */
.ayx-main {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Navigation ── */
.main-navigation,
.ast-desktop-header,
#masthead,
.main-header-bar,
.ast-header-break-point .main-header-bar {
  background-color: #0d2461 !important;
}

/* Nav links */
.main-header-menu .menu-link,
.main-header-menu .menu-item > .menu-link,
.main-navigation a {
  color: #e3eaf5 !important;
}
.main-header-menu .menu-link:hover,
.main-header-menu .menu-item:hover > .menu-link {
  color: #90caf9 !important;
}

/* Site title */
.site-title a,
.ast-site-identity a { color: #fff !important; }

/* ── Footer ── */
.footer-widget-area,
#colophon,
.site-footer {
  background: #0a1a3e !important;
  color: rgba(255,255,255,0.6) !important;
}
.site-footer a { color: rgba(255,255,255,0.6) !important; }
.site-footer a:hover { color: #90caf9 !important; }

/* ── General typography ── */
a { color: #1565c0; }
a:hover { color: #0d47a1; }

/* ── Inner page padding ── */
body:not(.page-template-page-homepage-php) .ast-separate-container .entry-content {
  padding: 30px 24px;
}
