/* Blog Post Styling - Shared */

/* Typography for blog posts - Standard CSS to ensure compatibility */
.prose {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    /* text-lg */
    line-height: 1.8;
    color: #cbd5e1;
    /* slate-300 */
}

.prose h1 {
    font-size: 3rem;
    /* text-5xl */
    line-height: 1;
    font-weight: 800;
    /* font-extrabold */
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
}

.prose h2 {
    font-size: 2.25rem;
    /* text-4xl */
    line-height: 2.5rem;
    font-weight: 700;
    /* font-bold */
    color: white;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #334155;
    /* slate-700 */
    padding-bottom: 0.5rem;
}

.prose h3 {
    font-size: 1.5rem;
    /* text-2xl */
    line-height: 2rem;
    font-weight: 600;
    /* font-semibold */
    color: #f1f5f9;
    /* slate-100 */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    color: white;
    font-weight: 600;
}

.prose a {
    color: #38bdf8;
    /* sky-400 */
    text-decoration: underline;
    text-decoration-color: rgba(56, 189, 248, 0.3);
    text-underline-offset: 4px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.prose a:hover {
    color: #7dd3fc;
    /* sky-300 */
    text-decoration-color: #7dd3fc;
}

.prose blockquote {
    border-left: 4px solid #0ea5e9;
    /* sky-500 */
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #94a3b8;
    /* slate-400 */
    background: rgba(15, 23, 42, 0.5);
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose img {
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    /* shadow-2xl */
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
    border: 1px solid #334155;
    /* slate-700 */
}

.prose code {
    background-color: #1e293b;
    /* slate-800 */
    color: #7dd3fc;
    /* sky-300 */
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: monospace;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prose h1 {
        font-size: 2.25rem;
    }

    .prose h2 {
        font-size: 1.75rem;
    }
}
