.footer {
  width: 100%;
  min-height: 374px;
  background: #2F3DA2;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  max-width: 1400px;
  min-height: 255px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.top-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 1 auto;
  margin-right: 10em;
}

.footer-navs {
  display: flex;
  flex: 2 1 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-right: 7em;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-logo {
  height: 40px;
  width: 120px;
}

.brand-text {
  font-size: 12px;
  opacity: 0.8;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-line {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.nav {
  min-width: 200px;
}

.nav-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  font-size: 12px;
}

.logo-row {
  width: 302px;
  height: 33px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-row img {
  max-height: 28px;
  width: auto;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.logo-strip {
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.logo-strip.bottom {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
}

.disclaimer {
  margin: 0;
  font-size: 11px;
  max-width: 840px;
  text-align: right;
  opacity: 0.8;
}
.card-mono-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* Responsive Footer Design - Minimal Changes */
@media (max-width: 1024px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 25px;
  }
  
  .top-left {
    margin-right: 0;
    flex: 1 1 100%;
  }
  
  .footer-navs {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 24px;
    margin-right: 0;
  }
  
  .nav {
    flex: 1 1 200px;
    min-width: 0;
  }
  
  .logo-row {
    width: 100%;
    max-width: 302px;
    margin: 0 auto;
  }
  
  .logo-container {
    align-items: center;
  }
}

@media (max-width: 800px) {
  .footer-inner {
    padding: 24px 16px;
    gap: 24px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 25px;
  }
  
  .top-left {
    margin-right: 0;
    display: contents; /* flatten children to allow reordering */
  }
  
  .footer-navs {
    width: 100%;
    justify-content: flex-start;
    gap: 16px 24px;
    order: 2;
  }
  
  .footer-navs .nav {
    flex: 1 1 calc(50% - 12px);
  }

  /* Reorder brand, navs, about, and logo row */
  .brand { order: 1; width: 100%; }
  .footer-navs { order: 2; }
  .about { order: 4; width: 100%; align-items: center;}
  .logo-row { order: 3; }

  /* Mobile separators between tabs (nav blocks) */
  .footer-navs .nav {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 12px;
    margin-top: 8px;
  }
  .footer-navs .nav:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
  }

  /* Mobile lighter separators between sub-items (not under titles) */
  .footer-navs .nav .nav-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    margin-top: 6px;
    padding-top: 6px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .footer-bottom div[style*="justify-content: flex-end"] {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  
  .disclaimer {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 20px 12px;
    gap: 70px;
  }
  
  .footer-top {
    gap: 48px;
  }
  
  .top-left {
    gap: 16px;
  }
  
  .brand-text {
    font-size: 11px;
  }
  
  .about-line {
    font-size: 18px;
  }
  
  .nav-title {
    font-size: 14px;
  }
  
  .nav-list a {
    font-size: 12px;
  }
  
  .footer-navs {
    gap: 12px 0;
  }
  
  .footer-navs .nav {
    flex: 1 1 100%;
  }
  
  .footer-bottom div[style*="gap: 12px"] img {
    height: 32px !important;
  }
  
  .copyright {
    font-size: 14px;
  }
  
  .disclaimer {
    font-size: 10px;
    font-weight: 100;
    text-align: center;
  }
}


