@import url('https://rsms.me/inter/inter.css');

*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --bg-deep: #f8fafc; /* Light grey/white */
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-hero: #0f172a; /* Deep navy/black for light theme */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #fe9a00;
    --accent-hover: #e58b00;
    --accent-subtle: rgba(254, 154, 0, 0.05);
    --accent-glow: rgba(254, 154, 0, 0.1);
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.12);
    --font-editorial: 'Inter var', sans-serif;
    --font-body: 'Inter var', sans-serif;
    --font-mono: 'Inter var', sans-serif;
    
    --container-width: 1200px;
    --spacing-unit: 1.5rem;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);

    --color-slate-900: #0f172a;
    --tw-gradient-from: #1e293b;
    --tw-gradient-via: #0f172a;
    --tw-gradient-to: #1e293b;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to);
    --header-footer-gradient: linear-gradient(to right, var(--tw-gradient-stops));

    /* Font Sizes */
    --fs-base: 1rem;
    --fs-h1: 3.2rem;
    --fs-h2: 2.4rem;
    --fs-h3: 1.8rem;
    --fs-h4: 1.4rem;
    --fs-h5: 1.2rem;
    --fs-h6: 1.1rem;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Use higher specificity to override parent theme */
body.home, 
body.blog, 
body.single, 
body.archive,
body {
    font-family: var(--font-body) !important;
    font-size: var(--fs-base) !important;
    background: var(--bg-deep) !important;
    color: var(--text-primary) !important;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

blockquote {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-hero);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
    background: var(--bg-card);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 10px;
    color: var(--accent);
    opacity: 0.2;
    font-family: 'Inter var', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-editorial);
    color: var(--text-hero);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }
