/* Import modern, highly readable Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600;700&display=swap');

/* The main page background - Now using Flexbox and forcing 100% width */
body {
    margin: 0 !important;
    padding: 40px 20px !important; 
    /* Overrides the sneaky 900px inline style from your HTML */
    width: 100% !important;
    max-width: 100% !important; 
    
    /* A richer, more pronounced warm peach gradient */
    background: linear-gradient(135deg, #fff0e6 0%, #ffb88c 100%) !important;
    background-attachment: fixed !important;
    font-family: 'Inter', sans-serif !important;
    color: #334155 !important; 
    line-height: 1.8 !important; 
    
    /* Flexbox rules to force the container to the direct center */
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 100vh !important;
    box-sizing: border-box !important;
}

/* The white reading "card" holding the content */
.blog-container {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 !important; 
    background-color: #ffffff !important;
    padding: 50px 70px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
}

/* This strips away any old column layouts, widths, or left-alignments from your original HTML */
.blog-container > div, 
.blog-container > section, 
.blog-container > article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    margin-top: 1.5em !important;
    margin-bottom: 0.5em !important;
}

h1 {
    font-size: 2.5rem !important;
    color: #ea580c !important; 
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

/* Links */
a {
    color: #ea580c !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

a:hover {
    color: #c2410c !important;
    border-bottom: 2px solid #c2410c !important;
}

/* Callout/Quote blocks and lists */
blockquote {
    border-left: 4px solid #ea580c !important;
    background-color: #fffaf5 !important;
    margin: 30px 0 !important;
    padding: 20px !important;
    font-style: italic !important;
    border-radius: 0 8px 8px 0 !important;
    color: #475569 !important;
}

ul, ol {
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}

li {
    margin-bottom: 10px !important;
}

/* Images inside the blog */
img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 25px auto !important; /* Centers images */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 20px 10px !important;
    }
    .blog-container {
        padding: 30px 25px !important;
    }
    h1 {
        font-size: 2rem !important;
    }
}