.journal-custom-content {
    font-size: 1rem !important;
    line-height: 1.7 !important;
    color: #43474d !important;
}

.journal-custom-content h1,
.journal-custom-content h2,
.journal-custom-content h3,
.journal-custom-content h4 {
    color: #001531 !important;
    font-family: 'Newsreader', serif !important;
    font-style: italic !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: bold !important;
}

.journal-custom-content h1 {
    font-size: 2.25rem !important;
}

.journal-custom-content h2 {
    font-size: 1.875rem !important;
}

.journal-custom-content h3 {
    font-size: 1.5rem !important;
}

.journal-custom-content h4 {
    font-size: 1.25rem !important;
}

.journal-custom-content p {
    margin-bottom: 1.25rem !important;
}

.journal-custom-content ul,
.journal-custom-content ol {
    margin-bottom: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.journal-custom-content ul {
    list-style-type: disc !important;
}

.journal-custom-content ol {
    list-style-type: decimal !important;
}

.journal-custom-content li {
    margin-bottom: 0.5rem !important;
}

.author-font {
    font-size: 14px;
}

.journal-custom-content a {
    color: #001531 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    font-weight: bold !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.journal-rich-content a {
    color: #001531;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.3s ease;
}

.journal-rich-content a:hover {
    color: #0b294f;
    background-color: rgba(11, 41, 79, 0.05);
    padding: 2px 4px;
    border-radius: 4px;
}

/* Hide Quill editor layout-breaking helper elements */
.ql-clipboard,
.ql-tooltip {
    display: none !important;
}