/* ============================================
   LÅSHJELP - LEGAL PAGES STYLES
   Pages: personvern.vto, vilkar.vto
   ============================================ */

/* Main Content Wrapper */
.lh-legal-main {
  padding-top: 80px;
  min-height: 100vh;
}

/* Hero Section */
.lh-legal-hero {
  background: var(--gradient-hero);
  padding: 60px 0;
  text-align: center;
}

.lh-legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.lh-legal-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Section */
.lh-legal-content {
  padding: 60px 0 80px;
  background: var(--light-soft);
}

.lh-legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Section Cards */
.lh-legal-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.lh-legal-section:last-child {
  margin-bottom: 0;
}

/* Section Titles */
.lh-legal-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.lh-legal-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

/* Card Content */
.lh-legal-card {
  color: var(--gray-dark);
  line-height: 1.75;
}

.lh-legal-card p {
  margin-bottom: 16px;
}

.lh-legal-card p:last-child {
  margin-bottom: 0;
}

.lh-legal-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 12px;
}

.lh-legal-card h3:first-child {
  margin-top: 0;
}

.lh-legal-card ul,
.lh-legal-card ol {
  margin: 16px 0;
  padding-left: 24px;
}

.lh-legal-card li {
  margin: 10px 0;
  line-height: 1.7;
}

.lh-legal-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.lh-legal-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.lh-legal-card strong {
  color: var(--dark);
  font-weight: 600;
}

/* Highlight Box */
.lh-legal-highlight {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.lh-legal-highlight p {
  margin: 0;
}

.lh-legal-highlight p + p {
  margin-top: 8px;
}

/* Authority Box (Datatilsynet etc) */
.lh-legal-authority {
  background: var(--light);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.lh-legal-authority p {
  margin: 0;
  line-height: 1.8;
}

/* Acceptance Box */
.lh-legal-acceptance {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 32px;
}

.lh-legal-acceptance p {
  margin: 0;
  color: var(--white);
}

.lh-legal-acceptance p + p {
  margin-top: 8px;
  opacity: 0.95;
}

.lh-legal-acceptance strong {
  color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .lh-legal-hero {
    padding: 48px 0;
  }

  .lh-legal-title {
    font-size: 1.875rem;
  }

  .lh-legal-subtitle {
    font-size: 1rem;
    padding: 0 16px;
  }

  .lh-legal-content {
    padding: 40px 0 60px;
  }

  .lh-legal-section {
    padding: 24px 20px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
  }

  .lh-legal-section-title {
    font-size: 1.2rem;
    gap: 12px;
  }

  .lh-legal-section-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.9rem;
  }

  .lh-legal-card h3 {
    font-size: 1rem;
  }

  .lh-legal-highlight {
    padding: 16px 20px;
  }

  .lh-legal-acceptance {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .lh-legal-hero {
    padding: 40px 0;
  }

  .lh-legal-title {
    font-size: 1.625rem;
  }

  .lh-legal-section {
    padding: 20px 16px;
  }

  .lh-legal-section-title {
    font-size: 1.1rem;
  }

  .lh-legal-section-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 0.85rem;
  }
}
