/* =========================================
   Point Action Services - Nexus Child Theme
   ========================================= */

/* --- Custom Header Banner (Option 2: Layered Logo + Server Rack Background) --- */
.pa-custom-header {
  width: 100%;
  height: 138px;
  background-color: #000000 !important;
  background-image: url("/templates/pas-nexus/images/header.png") !important;
  background-repeat: no-repeat !important;
  background-position: 65% center !important;
  background-size: auto 138px !important;
  border-top: 2px solid #cc0000;
  border-bottom: 2px solid #cc0000;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.pa-header-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 0 80px;
  box-sizing: border-box;
}

.pa-header-logo {
  max-height: 95px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* --- Custom Footer Banner --- */
.pa-custom-footer {
  width: 100%;
  min-height: 138px;
  background-color: #000000 !important;
  background-image: url("/templates/pas-nexus/images/footer.png") !important;
  background-repeat: repeat-x !important;
  background-position: top center !important;
  display: flex;
  align-items: center;
  color: #ffffff;
  box-sizing: border-box;
}

.pa-footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.pa-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.pa-cc-img {
  width: 250px;
  height: auto;
  display: block;
}

.pa-paypal-img {
  width: 165px;
  height: auto;
  display: block;
}

.pa-footer-copy a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
}

.pa-footer-copy a:hover {
  text-decoration: underline;
}

/* --- Hide Duplicate Built-In Nexus Logo --- */
header#header .logo-img,
header.header .navbar-brand img,
.main-header .logo {
  display: none !important;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .pa-header-inner {
    padding-left: 20px;
  }

  .pa-header-logo {
    max-height: 75px;
  }

  .pa-footer-inner {
    justify-content: center;
    text-align: center;
  }

  .pa-footer-badges {
    justify-content: center;
  }
}
