.navigation-wrapper {
  display: contents;
}
 
.navigation-container1 {
  display: contents;
}
 
.navigation-container2 {
  display: none;
}
 
.navigation-container3 {
  display: contents;
}

.footer-wrapper {
  background: var(--color-surface);
  color: var(--color-on-surface);
  border-top: 1px solid var(--color-border);
}

/* Make all footer text/link styles work on light background */
.footer-wrapper .footer-brand-name,
.footer-wrapper .footer-column-title {
  color: var(--color-primary);
}

.footer-wrapper .footer-description,
.footer-wrapper .footer-nav-link,
.footer-wrapper .footer-contact-text,
.footer-wrapper .footer-contact-link,
.footer-wrapper .footer-legal-link,
.footer-wrapper .footer-copyright {
  color: var(--color-on-surface-secondary);
}

.footer-wrapper .footer-nav-link:hover,
.footer-wrapper .footer-contact-link:hover,
.footer-wrapper .footer-legal-link:hover {
  color: var(--color-primary);
}

.footer-wrapper .footer-bottom-bar {
  border-top: 1px solid var(--color-border);
}
 
.footer-container1 {
  display: contents;
}
 
.footer-container2 {
  display: none;
}
 
.footer-container3 {
  display: contents;
}

.privacy-policy-container1 {
  width: 100%;
  display: block;
  min-height: 100vh;
}
 
.privacy-policy-container2 {
  display: none;
}
 
.privacy-policy-container3 {
  display: contents;
}
 
@media(max-width: 991px) {
  .privacy-policy-thq-policy-hero-content-elm {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
}
 
@media(max-width: 767px) {
  .privacy-policy-thq-policy-hero-section-elm {
    min-height: 300px;
  }
}

.legal-hero-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.legal-hero-section .hero-bg-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.legal-hero-section .hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.legal-hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.legal-hero-section .hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
}

.legal-hero-section .hero-card {
  width: 100%;
  max-width: 880px;
  padding: 48px 56px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.legal-hero-section .hero-title,
.legal-hero-section .hero-subtitle {
  color: #fff;
}

/* Normal page sections (NOT the hero) */
.legal-section {
  width: 100%;
  padding: 64px 24px;
  background: var(--color-surface);
}

/* Centered content container for legal pages */
.legal-content-container {
  max-width: 900px;      /* adjust if you want wider */
  margin: 0 auto;        /* center horizontally */
  padding: 0 24px;
}

.legal-content-container .section-title {
  text-align: center;
  margin-bottom: 24px;
}

.legal-content-container .section-content {
  text-align: left;      /* keep paragraphs readable */
}


@media (max-width: 768px) {
  .legal-hero-section .hero-card {
    padding: 32px 20px;
  }
  .legal-section {
    padding: 40px 16px;
  }  
}
