.legal-page {
    padding: 7.3em 0;
    background: #f6f7fc;
    position: relative
}

@media (max-width: 767.98px) {
    .legal-page {
        padding: 6.2em 0
    }
}

.legal-content {
    max-width: 950px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px
}

@media (max-width: 767.98px) {
    .legal-content h1 {
        font-size: 28px
    }
}

.last-updated {
    font-size: 13px;
    display: block;
    font-weight: 600;
    color: #F18F01;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    text-align: center;
    margin-bottom: 40px
}

.legal-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify
}

.legal-content p:first-of-type {
    font-size: 17px;
    color: #333;
    font-weight: 500;
    background: #f8f9fa;
    padding: 25px;
    border-left: 4px solid #2E86AB;
    border-radius: 5px;
    margin-bottom: 35px
}

.legal-content a {
    color: #2E86AB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease
}

.legal-content a:hover {
    color: #A23B72;
    text-decoration: underline
}

@media (max-width: 991px) {
    .legal-page {
        padding: 5em 0;
    }
    
    .legal-content {
        padding: 40px 30px;
        margin: 0 20px;
    }
}

@media (max-width: 767.98px) {
    .legal-content {
        padding: 30px 25px;
        margin: 0 15px
    }
    
    .legal-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left
    }
    
    .legal-content p:first-of-type {
        font-size: 16px;
        padding: 20px
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 25px 20px;
        margin: 0 10px;
    }
    
    .legal-content h1 {
        font-size: 24px;
        letter-spacing: 0.8px
    }
    
    .last-updated {
        font-size: 12px;
        letter-spacing: 1.2px
    }
}

.old-legal-wrapper {
    background: #000;
}

.legacy-content-block {
    border: 2px solid #ccc
}

.unused-privacy-section {
    background: #333;
    color: white
}

.old-terms-layout {
    font-family: serif
}

.legal-content p:nth-child(even) {
    background: rgba(46, 134, 171, 0.03);
    padding: 18px;
    border-radius: 4px
}

.legal-content p:last-child {
    margin-bottom: 0
}

