/* Legal Pages Styles - FlatShare Unique Prefix (fs-) */

/* ========================================
   Hero Section for Legal Pages
   ======================================== */
.fs-legal-hero {
  background: linear-gradient(135deg, #2EA3F2, #1e7bb8);
  padding: 80px 0 60px;
  color: white;
  text-align: center;
  position: relative;
}

.fs-legal-hero__title {
  color: white;
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.fs-legal-hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   Content Section
   ======================================== */
.fs-legal-content {
  padding: var(--space-5xl) 0;
  background: #ffffff;
  min-height: 600px;
}

.fs-legal-content__wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ========================================
   Legal Sections
   ======================================== */
.fs-legal-section {
  margin-bottom: var(--space-4xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-gray-200);
}

.fs-legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fs-legal-section__title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: 20px;
}

.fs-legal-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--color-primary);
  border-radius: 2px;
}

.fs-legal-section__text {
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--color-gray-700);
  margin-bottom: var(--space-lg);
}

.fs-legal-section__text--muted {
  color: var(--color-gray-500);
  font-style: italic;
}

/* ========================================
   Subsections
   ======================================== */
.fs-legal-subsection {
  margin-bottom: var(--space-2xl);
}

.fs-legal-subsection__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* ========================================
   Lists
   ======================================== */
.fs-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
}

.fs-legal-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--color-gray-700);
}

.fs-legal-list li::before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 18px;
}

.fs-legal-list li strong {
  color: var(--color-dark);
  font-weight: var(--font-semibold);
}

/* ========================================
   Contact Box
   ======================================== */
.fs-legal-contact {
  background: var(--color-gray-50);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-xl);
  border-radius: var(--border-radius-md);
  margin: var(--space-xl) 0;
}

.fs-legal-contact p {
  margin: var(--space-sm) 0;
  font-size: var(--text-base);
  color: var(--color-gray-700);
}

.fs-legal-contact p strong {
  color: var(--color-dark);
  font-size: var(--text-lg);
  display: block;
  margin-bottom: var(--space-md);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .fs-legal-hero {
    padding: 60px 20px 40px;
  }
  
  .fs-legal-hero__title {
    font-size: var(--text-4xl);
  }
  
  .fs-legal-hero__subtitle {
    font-size: var(--text-base);
  }
  
  .fs-legal-content {
    padding: var(--space-3xl) 0;
  }
  
  .fs-legal-content__wrapper {
    padding: 0 var(--space-lg);
  }
  
  .fs-legal-section__title {
    font-size: var(--text-2xl);
    padding-left: 15px;
  }
  
  .fs-legal-section__title::before {
    height: 24px;
    width: 3px;
  }
  
  .fs-legal-subsection__title {
    font-size: var(--text-lg);
  }
  
  .fs-legal-list li {
    padding-left: 25px;
  }
  
  .fs-legal-contact {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .fs-legal-hero__title {
    font-size: var(--text-3xl);
  }
  
  .fs-legal-section {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
  }
  
  .fs-legal-section__title {
    font-size: var(--text-xl);
  }
  
  .fs-legal-section__text {
    font-size: var(--text-sm);
  }
  
  .fs-legal-list li {
    font-size: var(--text-sm);
  }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .fs-legal-hero {
    background: none;
    color: black;
    padding: 20px 0;
    border-bottom: 2px solid #000;
  }
  
  .fs-legal-hero__title,
  .fs-legal-hero__subtitle {
    color: black;
  }
  
  .fs-legal-section {
    page-break-inside: avoid;
  }
  
  .fs-legal-contact {
    border: 1px solid #000;
    background: none;
  }
}