/* Legal Pages Styles (Terms, Privacy, Cookies) */

/* Main Container Styles */
.legal-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Title Styles */
.page-title {
    font-size: 2.5rem;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 10px;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* Legal Content Layout */
.legal-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

/* Table of Contents Styles */
.legal-toc {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.legal-toc h2 {
    font-size: 1.5rem;
    color: #2e7d32;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2e7d32;
}

.legal-toc ul {
    list-style-type: none;
    padding: 0;
}

.legal-toc li {
    margin-bottom: 12px;
}

.legal-toc a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-toc a:hover {
    color: #2e7d32;
}

/* Section Content Styles */
.legal-section-content {
    margin-bottom: 40px;
}

.legal-section-content h2 {
    font-size: 1.8rem;
    color: #2e7d32;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.legal-section-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 25px 0 15px;
}

.legal-section-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

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

.legal-section-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-section-content a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section-content a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .legal-content {
        grid-template-columns: 1fr;
    }
    
    .legal-toc {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .legal-section-content h2 {
        font-size: 1.6rem;
    }
    
    .legal-section-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .legal-section {
        padding: 40px 0;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}