/* 1. IMPORT MEDIUM-STYLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Source+Serif+4:opsz,ital,wght@8..60,0,400;8..60,0,700;8..60,1,400&family=Fira+Code&display=swap');

/* 2. CORE BODY TEXT (The Medium Look) */
body {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 19px;
    line-height: 1.62;
    color: #292929;
    background-color: #fff;
}

/* 3. ARTICLE TITLES (Fixing the "doesn't change" issue) */
/* This targets the main title when you are inside an article */
main article header h1, 
main article header h1 a {
    font-family: 'Inter', sans-serif;
    color: #d9411e !important;
    font-weight: 700;
    font-size: 2.2em;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 10px;
}

/* 4. SUBHEADINGS (H2, H3) inside the text */
main article h2, 
main article h3 {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}

/* 5. SIDEBAR & NAV (Keep it clean) */
aside, aside a, nav, .sidebar {
    font-family: 'Inter', sans-serif;
}

aside div p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    opacity: 0.9;
}

/* 6. LINKS (Using your theme's orange-red) */
a {
    color: #d9411e;
    text-decoration: none;
}

a:hover {
    color: #ff5a09;
    text-decoration: underline;
}

/* 7. CODE BLOCKS (Clean & Modern) */
main article code, 
main article pre, 
main article samp {
    font-family: 'Fira Code', monospace !important;
    font-size: 0.85em;
    background-color: #f6f6f6;
}

