/* Legal Pages Styles */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
    color: #333;
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e5e5e5;
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.legal-header .legal-meta {
    font-size: 14px;
    color: #666;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-header .legal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-content {
    font-size: 16px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 40px 0 20px 0;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 32px 0 16px 0;
}

.legal-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 24px 0 12px 0;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin: 16px 0 16px 24px;
    padding-left: 0;
}

.legal-content li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.legal-content ul li {
    list-style: none;
    position: relative;
}

.legal-content ul li::before {
    content: "•";
    color: #005BFF;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.legal-content ol {
    counter-reset: item;
    list-style: none;
}

.legal-content ol li {
    counter-increment: item;
    position: relative;
    padding-left: 32px;
}

.legal-content ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #005BFF;
}

.legal-highlight {
    background: #f0f7ff;
    border-left: 4px solid #005BFF;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e5e5e5;
}

.legal-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #000;
}

.legal-table tr:nth-child(even) {
    background: #fafafa;
}

.legal-contact {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.legal-contact h4 {
    margin-top: 0;
}

.legal-contact p {
    margin-bottom: 8px;
}

.legal-contact strong {
    color: #000;
}

.legal-footer-note {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #e5e5e5;
    font-size: 14px;
    color: #666;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 24px 16px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 22px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .legal-content {
        font-size: 15px;
    }

    .legal-table {
        font-size: 14px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 12px;
    }
}

