/* Global Content Body Styling */
.content-body {
    line-height: 1.8;
    color: #333 !important;
}

.content-body p,
.content-body div,
.content-body span {
    color: #333 !important;
}

.content-body h1, 
.content-body h2, 
.content-body h3, 
.content-body h4, 
.content-body h5, 
.content-body h6 {
    color: #024430 !important;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-body strong,
.content-body b {
    color: #024430 !important;
    font-weight: 600;
}

.content-body h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.content-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
}

.content-body h3 {
    font-size: 1.5rem;
}

.content-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.content-body ul li, 
.content-body ol li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #333 !important;
}

.content-body ul li {
    list-style-type: disc;
}

.content-body ol li {
    list-style-type: decimal;
}

.content-body blockquote {
    border-left: 4px solid #024430;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #f0f8f5;
    font-style: italic;
    color: #555;
}

.content-body code {
    background-color: #f1f3f4;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #d73a49;
}

.content-body pre {
    background-color: #f6f8fa;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.content-body pre code {
    background: none;
    padding: 0;
    color: #333;
}

.content-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, #024430, #02552e);
    margin: 3rem 0;
    border-radius: 1px;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.content-body table th {
    background-color: #024430;
    color: white;
    font-weight: 600;
}

.content-body table tr:hover {
    background-color: #f0f8f5;
}

.content-body a {
    color: #024430 !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.content-body a:hover {
    color: #024430 !important;
    border-bottom-color: #024430;
    text-decoration: none;
}

.content-body a:visited {
    color: #024430 !important;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Alternative Content Classes for Different Contexts */
.content-simple {
    line-height: 1.6;
}

.content-simple h1, .content-simple h2, .content-simple h3,
.content-simple h4, .content-simple h5, .content-simple h6 {
    color: #024430;
    font-weight: 600;
    margin-bottom: 1rem;
}

.content-simple strong, .content-simple b {
    color: #024430;
    font-weight: 600;
}

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

.content-simple a:hover {
    border-bottom-color: #024430;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-body h1 {
        font-size: 2rem;
    }
    
    .content-body h2 {
        font-size: 1.5rem;
    }
    
    .content-body p,
    .content-body li {
        font-size: 1rem;
    }
}

/* Utility classes for brand colors */
.text-brand { color: #024430 !important; }
.text-brand-light { color: #02552e !important; }
.bg-brand { background-color: #024430 !important; }
.bg-brand-light { background-color: #f0f8f5 !important; }
.border-brand { border-color: #024430 !important; }