/* Custom Content Module Styles */
.custom-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.custom-content h1,
.custom-content h2,
.custom-content h3,
.custom-content h4,
.custom-content h5,
.custom-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--text-dark);
}

.custom-content h1 { font-size: 2.5em; }
.custom-content h2 { font-size: 2em; }
.custom-content h3 { font-size: 1.75em; }
.custom-content h4 { font-size: 1.5em; }
.custom-content h5 { font-size: 1.25em; }
.custom-content h6 { font-size: 1.1em; }

.custom-content p {
    margin-bottom: 1em;
    line-height: 1.8;
    color: var(--text-color);
}

.custom-content ul,
.custom-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.custom-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.custom-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.custom-content a:hover {
    border-bottom-color: var(--primary-color);
}

.custom-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    color: #666;
}

.custom-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.custom-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.custom-content pre {
    background-color: #f5f5f5;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
}

.custom-content pre code {
    background-color: transparent;
    padding: 0;
}

.custom-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.custom-content table th,
.custom-content table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.custom-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: var(--text-dark);
}

.custom-content hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 2em 0;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-content {
        padding: 10px;
    }
    
    .custom-content h1 { font-size: 2em; }
    .custom-content h2 { font-size: 1.75em; }
    .custom-content h3 { font-size: 1.5em; }
}
