
/* CKEditor Content Styling - FIXED FOR NUMBERS/LISTS */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    font-family: 'Georgia', 'Times New Roman', serif; /* Better for reading */
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4, 
.post-content h5, 
.post-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #00275b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.post-content h1 { 
    font-size: 2rem; 
    border-bottom: 3px solid #fe9c00;
    padding-bottom: 0.5rem;
}
.post-content h2 { 
    font-size: 1.75rem; 
    border-bottom: 2px solid #fe9c00;
    padding-bottom: 0.5rem;
}
.post-content h3 { font-size: 1.5rem; }
.post-content h4 { font-size: 1.25rem; }
.post-content h5 { font-size: 1.1rem; }
.post-content h6 { 
    font-size: 1rem; 
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-content strong, .post-content b {
    font-weight: 700;
    color: #00275b;
}

.post-content em, .post-content i {
    font-style: italic;
    color: #555;
}

/* LISTS - FIXED FOR NUMBERS */
.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content ul li, 
.post-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ul ul {
    list-style-type: circle;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-content ul ul ul {
    list-style-type: square;
}

.post-content ol {
    list-style-type: decimal;
    counter-reset: item;
}

.post-content ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-content ol ol ol {
    list-style-type: lower-roman;
}

/* Special styling for ordered list numbers */
.post-content ol > li {
    counter-increment: item;
}

/* .post-content ol > li:before {
    content: counter(item) ". ";
    color: #fe9c00;
    font-weight: bold;
    margin-right: 0.5rem;
} */

/* Blockquotes (for scriptures/quotes) */
.post-content blockquote {
    border-left: 4px solid #fe9c00;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: #f8f9fa;
    font-style: italic;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
    font-family: 'Georgia', serif;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content blockquote:before {
    content: '"';
    font-size: 3rem;
    color: #fe9c00;
    line-height: 0;
    position: relative;
    top: 1.5rem;
    left: -0.5rem;
}

/* Links */
.post-content a {
    color: #0056b3;
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 500;
}

.post-content a:hover {
    color: #fe9c00;
    text-decoration: none;
}

/* Images */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.post-content img.align-left {
    float: left;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.post-content img.align-right {
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-content img.align-center {
    margin-left: auto;
    margin-right: auto;
}

/* Tables */
.post-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

.post-content table th {
    background: linear-gradient(135deg, #00275b 0%, #0056b3 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.post-content table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Code blocks */
.post-content pre {
    background: #1a1a1a;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.post-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

/* Horizontal rule */
.post-content hr {
    border: none;
    border-top: 2px solid #eaeaea;
    margin: 3rem 0;
}

/* Verse numbers (common in religious texts) */
.post-content .verse-number {
    color: #fe9c00;
    font-weight: bold;
    font-size: 0.9em;
    vertical-align: super;
    margin-right: 0.25rem;
}

/* Toast notifications */
.share-toast {
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-content {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .post-content h1 {
        font-size: 1.75rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-meta-container .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .post-meta-container .post-share {
        width: 100%;
        margin-top: 1rem;
    }
    
    .post-meta-container .btn-group {
        width: 100%;
    }
    
    .post-meta-container .btn {
        flex: 1;
    }
}