/* 
  Legal Pages CSS
  Shared styles for privacy, terms, cookies, legal, donations-policy, and shipping pages.
  Follows the Raptor MMA Design System.
*/

/* ========================================= */
/* 1. PAGE BODY SETUP                        */
/* ========================================= */

.legal-page {
  background: var(--color-core-black);
  background-image: var(--bg-gradient-body);
  background-attachment: fixed;
}

/* ========================================= */
/* 2. LEGAL HEADER                           */
/* ========================================= */

.legal-header {
  text-align: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  color: var(--color-core-white);
}

.legal-header .legal-subtitle {
  font-family: var(--font-family-body);
  font-size: 18px;
  color: var(--color-text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================= */
/* 3. LEGAL CONTENT CONTAINER                */
/* ========================================= */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

/* ========================================= */
/* 4. LEGAL SECTIONS                         */
/* ========================================= */

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 24px;
  color: var(--color-core-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-core-pink);
  display: inline-block;
}

.legal-section h3 {
  font-size: 18px;
  color: var(--color-core-white);
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.legal-section strong {
  color: var(--color-core-white);
}

/* ========================================= */
/* 5. LEGAL LISTS                            */
/* ========================================= */

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-core-pink);
  border-radius: 50%;
}

/* Nested lists */
.legal-list .legal-list {
  margin-top: 12px;
  margin-left: 16px;
}

.legal-list .legal-list li::before {
  width: 6px;
  height: 6px;
  background: var(--color-pink-50);
}

/* ========================================= */
/* 6. CONTACT INFO BOX                       */
/* ========================================= */

.legal-contact-box {
  background: var(--bg-gradient-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--border-radius-card);
  padding: 32px;
  margin: 32px 0;
}

.legal-contact-box h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.legal-contact-box p {
  margin-bottom: 8px;
}

.legal-contact-box a {
  color: var(--color-core-pink);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.legal-contact-box a:hover {
  opacity: 0.8;
}

/* ========================================= */
/* 7. LAST UPDATED                           */
/* ========================================= */

.legal-updated {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: 60px;
}

.legal-updated p {
  font-size: 14px;
  color: var(--color-white-muted-40);
  margin: 0;
}

/* ========================================= */
/* 8. RESPONSIVE                             */
/* ========================================= */

@media (max-width: 767px) {
  .legal-header {
    padding: 60px 0 40px;
    margin-bottom: 40px;
  }

  .legal-header h1 {
    font-size: 32px;
  }

  .legal-header .legal-subtitle {
    font-size: 16px;
  }

  .legal-content {
    padding: 0 20px 60px;
  }

  .legal-section {
    margin-bottom: 36px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .legal-section p,
  .legal-list li {
    font-size: 15px;
  }

  .legal-contact-box {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .legal-header {
    padding: 40px 0 30px;
  }

  .legal-header h1 {
    font-size: 28px;
  }

  .legal-section h2 {
    font-size: 18px;
  }
}

/* Print styles for legal pages */
@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .skip-link {
    display: none !important;
  }

  .legal-content {
    max-width: 100%;
    padding: 0;
    color: #000;
    background: #fff;
  }

  .legal-section {
    break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555;
  }
}



