/* Legal Pages Styles */

.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.last-updated {
    font-size: 1rem;
    opacity: 0.8;
    font-style: italic;
}

.legal-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.content-wrapper {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.content-section h3 {
    color: #444;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.content-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #555;
}

.contact-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #667eea;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Language-specific content display */
.english-content,
.chinese-content {
    display: block;
}

/* Hide Chinese content when English is active */
body.lang-en .chinese-content {
    display: none;
}

/* Hide English content when Chinese is active */
body.lang-zh .english-content {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-content {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .content-section ul {
        padding-left: 1.5rem;
    }
}
