/* Sidebar Navigation - Shared styles for Terms, Privacy and similar pages */

/* Layout */
.sidebar-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    position: relative;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-nav h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.sidebar-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Navigation Links */
.nav-link {
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #e2e8f0;
}

.nav-link.active {
    background: #0f72b2;
    color: white;
    font-weight: 500;
}

/* Content Area */
.sidebar-content {
    max-width: 800px;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
    scroll-margin-top: 2rem;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #334155;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
}

.content-section ul {
    margin: 1rem 0 1.5rem 2rem;
    list-style: disc;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #475569;
}

.content-section strong {
    color: #1e293b;
    font-weight: 600;
}

/* Footer Section */
.page-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    text-align: center;
}

.page-footer p {
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar-nav {
        position: static;
        background: #f8fafc;
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    
    .sidebar-nav nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 640px) {
    .sidebar-nav nav {
        grid-template-columns: 1fr;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.125rem;
    }
    
    .content-section {
        margin-bottom: 3rem;
    }
}