/* ==========================================================================
   FOOTER COPYRIGHT SECTION - FIGMA EXACT DESIGN (Node 385-3573)
   ========================================================================== */

:root {
  --color-primary-700: #093855;
}

/* Ensure body and page wrapper extend to bottom */
html {
  height: 100%;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body > *:last-child {
  margin-bottom: 0 !important;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* Ensure entire footer has correct background */
#site-footer,
.site-footer,
footer.site-footer,
footer#site-footer {
  background-color: #062639 !important;
}

/* Footer Copyright Bar */
.footer-bottom {
  padding: 24px 0;
  width: 100%;
  box-sizing: border-box;
  border-top: none;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.footer-bottom .copyright {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

/* Ensure container extends full width in footer */
.site-footer .container,
.footer-bottom .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove any padding/margin from wrapper elements */
.site-footer > *:last-child,
.footer-bottom > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Aggressive fix for any element after footer */
.site-footer ~ *,
#site-footer ~ *,
body > footer ~ * {
  display: none !important;
}

/* Ensure no margin on any potential wrapper */
div:has(> .site-footer),
div:has(> #site-footer) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.footer-bottom .copyright p {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-bottom {
    padding: 12px 16px;
  }

  .footer-bottom .copyright p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    padding: 10px 12px;
  }

  .footer-bottom .copyright p {
    font-size: 11px;
  }
}
