/* CKEditor Content Styling */
.ckeditor-content {
    line-height: 1.8;
    font-size: 16px;
}

.ckeditor-content h1,
.ckeditor-content h2,
.ckeditor-content h3,
.ckeditor-content h4,
.ckeditor-content h5,
.ckeditor-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.ckeditor-content h1 {
    font-size: 32px;
    color: #654b2e;
}

.ckeditor-content h2 {
    font-size: 28px;
    color: #654b2e;
}

.ckeditor-content h3 {
    font-size: 24px;
    color: #654b2e;
}

.ckeditor-content h4 {
    font-size: 20px;
    color: #333;
}

.ckeditor-content p {
    margin-bottom: 16px;
    color: #555;
}

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

.ckeditor-content li {
    margin-bottom: 8px;
    color: #555;
}

.ckeditor-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #654b2e;
    margin: 20px 0;
    padding: 20px;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

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

.ckeditor-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ckeditor-content table th,
.ckeditor-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.ckeditor-content table th {
    background-color: #654b2e;
    color: white;
    font-weight: 600;
}

.ckeditor-content table tr:hover {
    background-color: #f8f9fa;
}

.ckeditor-content a {
    color: #654b2e;
    text-decoration: none;
    font-weight: 500;
}

.ckeditor-content a:hover {
    color: #A2611B;
    text-decoration: underline;
}

.ckeditor-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e91e63;
}

.ckeditor-content pre {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #654b2e;
    overflow-x: auto;
    margin: 20px 0;
}

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

.ckeditor-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #654b2e, #A2611B, #654b2e);
    margin: 30px 0;
    border-radius: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ckeditor-content {
        font-size: 14px;
    }
    
    .ckeditor-content h1 {
        font-size: 28px;
    }
    
    .ckeditor-content h2 {
        font-size: 24px;
    }
    
    .ckeditor-content h3 {
        font-size: 20px;
    }
    
    .ckeditor-content h4 {
        font-size: 18px;
    }
    
    .ckeditor-content table {
        font-size: 14px;
    }
    
    .ckeditor-content table th,
    .ckeditor-content table td {
        padding: 8px 10px;
    }
}