/*
Theme Name: Healer Theme
Theme URI: https://gregory-lenfant.fr
Author: Gregory Lenfant
Description: A minimalist theme inspired by the React application, designed specifically for blog posts.
Version: 1.0
*/

/* Custom Reset and Variables (copied from src/index.css) */
:root {
    --primary: #d97706;
    /* Amber 600 */
    --secondary: #059669;
    /* Emerald 600 */
    --background: #0f172a;
    /* Slate 900 */
    --surface: #1e293b;
    /* Slate 800 */
    --text: #f8fafc;
    /* Slate 50 */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

/* Typography for Posts */
.prose {
    max-width: 65ch;
    margin: 0 auto;
    color: #cbd5e1;
    /* slate-300 */
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: white;
    font-family: var(--font-serif);
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
}

.prose h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.prose h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.prose h3 {
    font-size: 1.5rem;
    line-height: 2rem;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.8;
}

.prose ul,
.prose ol {
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.prose a:hover {
    color: white;
}

.prose blockquote {
    border-left-width: 4px;
    border-left-color: var(--primary);
    padding-left: 1em;
    font-style: italic;
    color: #94a3b8;
    /* slate-400 */
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}

.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 2em;
    margin-bottom: 2em;
}