/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Custom Typography for better readability */
.prose-custom {
    font-size: 1.125rem; /* 18px */
    line-height: 1.8;
    color: #374151; /* text-gray-700 */
}

.prose-custom p {
    margin-bottom: 1.5rem; /* 24px */
}

.prose-custom h2,
.prose-custom h3,
.prose-custom h4 {
    color: #111827; /* text-gray-900 */
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

.prose-custom h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.875rem; /* 30px */
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.prose-custom h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem; /* 24px */
}

.prose-custom a {
    color: #165DFF; /* Primary theme color */
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.prose-custom a:hover {
    text-decoration: underline;
}

.prose-custom img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prose-custom blockquote {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid #165DFF;
    font-style: italic;
    color: #4b5563; /* text-gray-600 */
}

.prose-custom code:not(pre > code) {
    background-color: #f3f4f6;
    color: #be123c; /* A nice red for inline code */
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    border-radius: 4px;
}

.prose-custom pre {
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: #1f2937; /* bg-gray-800 */
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
}

.prose-custom pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: 1em;
    border-radius: 0;
}

.prose-custom ul,
.prose-custom ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.prose-custom ul {
    list-style-type: disc;
}

.prose-custom ol {
    list-style-type: decimal;
}

.prose-custom li {
    margin-top: 0.5rem;
}

.prose-custom li > ul,
.prose-custom li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
} 