/* Legal Page Styles */
.legal-page {
    margin: 0;
    padding: 0;
}

/* Hero Section with Primary Background */
.legal-hero-section {
    background-color: var(--color-primary);
    padding: 80px 40px;
    width: 100%;
}

.legal-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-page-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

/* Content Section with Primary Light Background */
.legal-content-section {
    background-color: var(--color-gray-light);
    padding: 60px 40px;
    width: 100%;
    min-height: 60vh;
}

.legal-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-content {
    background: transparent;
    color: var(--color-black);
    text-align: left;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-primary);
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-primary);
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.legal-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-primary);
    margin: 25px 0 12px 0;
    line-height: 1.4;
}

.legal-content p {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-black);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.legal-content ul, 
.legal-content ol {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.legal-content li {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-black);
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.legal-content strong {
    font-weight: 600;
    color: var(--color-primary);
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--color-tertiary);
}

/* Last Updated Date */
.legal-update-date {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid var(--color-primary);
}

.legal-update-date p {
    font-size: 0.9rem;
    font-weight: 400;
    font-family: 'MomoTrustSans', sans-serif;
    color: var(--color-primary);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-hero-section {
        padding: 60px 20px;
    }
    
    .legal-page-title {
        font-size: 2.2rem;
    }
    
    .legal-content-section {
        padding: 40px 20px;
    }
    
    .legal-content h2 {
        font-size: 1.7rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-page-title {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}