.legal-content {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.legal-text {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.legal-text h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-bg);
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-text ul li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.contact-box {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.contact-box strong {
    color: var(--text-dark);
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.acknowledgment {
    background: var(--gradient-1);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.acknowledgment p {
    color: var(--white);
    margin-bottom: 0;
    font-weight: 500;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.sidebar-card.highlight {
    background: var(--gradient-1);
    color: var(--white);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sidebar-card.highlight h3 {
    color: var(--white);
}

.sidebar-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sidebar-card.highlight p {
    color: #e0e7ff;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.75rem;
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.sidebar-card.highlight .sidebar-links a {
    color: var(--white);
}

.btn-small {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .legal-text {
        padding: 2rem;
    }
    
    .sidebar {
        order: -1;
    }
}
