/* Legal pages specific styles */

/* Breadcrumbs */
.breadcrumbs {
    margin: 2rem 0;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 1rem;
    color: var(--color-border);
}

.breadcrumbs a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

/* Legal content */
.legal-content {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 3rem;
    background-color: var(--color-card-bg);
    border-radius: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.effective-date {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.legal-intro {
    font-size: 1.7rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-intro p {
    margin-bottom: 1.5rem;
}

/* Table of Contents */
.legal-toc {
    background-color: var(--color-secondary);
    border-radius: 1rem;
    padding: 2rem 3rem;
    margin-bottom: 3rem;
}

.legal-toc h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.legal-toc ol {
    padding-left: 2rem;
}

.legal-toc li {
    margin-bottom: 0.8rem;
}

.legal-toc a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.legal-toc a:hover {
    color: var(--color-primary);
}

/* Legal sections */
.legal-section {
    margin-bottom: 4rem;
    scroll-margin-top: 8rem;
}

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

.legal-section h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-section h3 {
    font-size: 2rem;
    margin: 2.5rem 0 1.2rem;
}

.legal-section p {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.6;
}

.legal-section ul, 
.legal-section ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

.legal-section li {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Contact information */
.contact-info {
    list-style-type: none;
    padding-left: 0;
    margin: 2rem 0;
}

.contact-info li {
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
        border-radius: 0;
    }
    
    .legal-content h1 {
        font-size: 2.8rem;
    }
    
    .legal-section h2 {
        font-size: 2.2rem;
    }
    
    .legal-section h3 {
        font-size: 1.8rem;
    }
    
    .legal-toc {
        padding: 1.5rem;
    }
}