/* Legal pages (Privacy Policy and Terms of Service) specific styles */
@import url('style.css');

/* Legal content */
.legal-content {
    padding: 4rem 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Legal sidebar */
.legal-sidebar {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    align-self: start;
    position: sticky;
    top: 100px;
}

.legal-sidebar h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9ecef;
    color: #333;
}

.legal-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-sidebar ul li {
    margin-bottom: 0.75rem;
}

.legal-sidebar ul li a {
    color: #666;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

/* Legal main content */
.legal-main {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e9ecef;
}

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

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.legal-section h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: #444;
}

.legal-section p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

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

.legal-section ul li,
.legal-section ol li {
    margin-bottom: 0.75rem;
    color: #666;
    line-height: 1.6;
}

.legal-section ul li {
    list-style: disc;
}

.legal-section ol li {
    list-style: decimal;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-sidebar {
        position: static;
    }
    
    .legal-main {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-content {
        padding: 3rem 0;
    }
    
    .legal-main {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}