/* Стили для юридических страниц */

.legal-content {
    padding: 5rem 0;
}

.legal-content .container {
    max-width: 900px;
}

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

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-section h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

.legal-section li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

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

.legal-section a:hover {
    color: var(--secondary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
    
    .legal-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}