
        .page-content {
    line-height: 1.8;
}

.text-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.text-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content ul, .text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.text-content a {
    color: #0d6efd;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.text-content a:hover {
    color: #0a58ca;
    border-bottom-color: #0a58ca;
}

.text-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
}

.text-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.text-content table th,
.text-content table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.text-content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .text-content {
        font-size: 1rem !important;
    }
    
    h1.display-5 {
        font-size: 2.2rem;
    }
    
    .text-content h2 {
        font-size: 1.5rem;
    }
    
    .text-content h3 {
        font-size: 1.3rem;
    }
}

@media print {
    .d-print-none {
        display: none !important;
    }
    
    .page-content {
        font-size: 12pt !important;
        line-height: 1.5;
    }
    
    .text-content h2 {
        page-break-after: avoid;
    }
}