.site-header {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom-color: #e2e8f0 !important;
  box-shadow: 0 8px 28px rgba(15, 31, 77, .07) !important;
}

.site-header .brand-button { color: #0f172a !important; }
.site-header .brand-mark { background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important; }
.site-header .site-nav a { color: #334155 !important; }
.site-header .site-nav a:hover,
.site-header .site-nav a.active { color: #1d4ed8 !important; }
.site-header .mobile-nav summary { color: #334155 !important; }
.site-header .mobile-nav a { color: #334155 !important; }
.site-header .mobile-nav a:hover,
.site-header .mobile-nav a[aria-current="page"] { color: #1d4ed8 !important; }

.site-footer {
  box-sizing: border-box !important;
  margin-top: 80px !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid #1e3a8a !important;
  background: #0b1f4d !important;
  color: #cbd5e1 !important;
}

.site-footer .footer-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max-w, 1200px);
  margin: 0 auto;
  padding: 48px 24px 24px !important;
}

.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) !important;
  align-items: start;
  gap: 40px !important;
  margin: 0 0 36px !important;
}

.site-footer .footer-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.site-footer .footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-col ul li a {
  display: inline-block;
  padding: 0 !important;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer .footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.site-footer .footer-brand .footer-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer .footer-contact { font-size: 13px; }

.site-footer .footer-bottom {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(226, 232, 240, .18) !important;
  font-size: 13px;
}

.site-footer .footer-copyright { font-size: 13px; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .footer-links a { font-size: 13px; text-decoration: none; }

@media (max-width: 1120px) {
  .site-header {
    height: 64px;
    min-height: 64px;
    padding: 10px 16px;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .site-header .brand-button { flex: 0 0 auto; font-size: 17px; }
  .site-header .site-nav { display: none !important; }
  .site-header .mobile-nav {
    position: relative;
    display: block !important;
    margin-left: auto;
  }
  .site-header .mobile-nav summary {
    height: 38px;
    padding: 0 14px;
    border: 1px solid #dbe3ee;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    line-height: 36px;
    list-style: none;
    cursor: pointer;
  }
  .site-header .mobile-nav summary::-webkit-details-marker { display: none; }
  .site-header .mobile-nav[open] summary { border-color: #bfdbfe; color: #1d4ed8; }
  .site-header .mobile-nav > div {
    position: absolute;
    top: 46px;
    right: 0;
    z-index: 60;
    width: 200px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 40px rgba(15, 31, 77, .14);
  }
  .site-header .mobile-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
  }
  .site-header .mobile-nav a:hover,
  .site-header .mobile-nav a[aria-current="page"] { color: #1d4ed8; background: #eff6ff; }
  .site-header .site-actions { margin-left: 0 !important; }
  .site-header .user-summary strong { max-width: 110px; }
  .site-header .user-dropdown { right: 0; }
}

.site-footer .footer-col h4,
.site-footer .footer-brand .footer-logo { color: #fff !important; }
.site-footer .footer-desc,
.site-footer .footer-contact,
.site-footer .footer-col ul li a,
.site-footer .footer-links a { color: #cbd5e1 !important; }
.site-footer .footer-col ul li a:hover,
.site-footer .footer-links a:hover { color: #7dd3fc !important; }
.site-footer .footer-bottom { border-top-color: rgba(226, 232, 240, .18) !important; }
.site-footer .footer-copyright { color: #94a3b8 !important; }

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
  }

  .site-footer .footer-brand { grid-column: 1 / -1; }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px !important;
    text-align: center;
  }

  .site-footer .footer-links { justify-content: center; }
}
