/* Custom Typography for Article Content (Public & Editor) */
.prose p,
.ql-editor p {
    margin-bottom: 1.5rem !important;
    /* Force margin for editor override */
    line-height: 1.75;
}

.prose h2,
.ql-editor h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: inherit;
}

.prose ul,
.ql-editor ul {
    list-style-type: disc !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.prose ol,
.ql-editor ol {
    list-style-type: decimal !important;
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Ensure editor lists have markers visible */
.ql-editor ul[data-checked=true],
.ql-editor ul[data-checked=false] {
    list-style-type: none !important;
}

.prose li,
.ql-editor li {
    margin-bottom: 0.5rem !important;
}

.prose strong,
.ql-editor strong {
    font-weight: 700;
    color: inherit;
}

.prose a,
.ql-editor a {
    color: #059669;
    /* green-600 */
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover,
.ql-editor a:hover {
    color: #047857;
    /* green-700 */
}

/* Dark Mode specific tweaks */
.dark .prose,
.dark .ql-editor {
    color: #d1d5db;
    /* gray-300 */
}

.dark .prose a,
.dark .ql-editor a {
    color: #34d399;
    /* green-400 */
}

.dark .prose a:hover,
.dark .ql-editor a:hover {
    color: #6ee7b7;
    /* green-300 */
}

/* Robust CTA Overrides */
.cta-box {
    background-color: #f9fafb !important;
    /* gray-50 - distinct from white */
    border-color: #f3f4f6 !important;
    /* gray-100 */
}

.dark .cta-box {
    background-color: rgba(255, 255, 255, 0.05) !important;
    /* Subtle contrast lift */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.cta-button {
    color: white !important;
    text-decoration: none !important;
    background-color: #16a34a !important;
    /* Vibrant brand green-600 */
}

.cta-button:hover {
    background-color: #15803d !important;
    /* green-700 */
    color: white !important;
}