/* /blog/blog.css */

/* 1. IMPORT YOUR MAIN STYLES */
@import url('/assets/stuffrite-styles.css');

/* 2. BLOG-SPECIFIC OVERRIDES */

/* NOTE: We removed the 'body' override. 
   Now it uses the beige background + dots from stuffrite-styles.css 
*/

/* Container for the blog post - Styled like a sheet of paper */
.blog-container {
    max-width: 800px;
    margin: 4rem auto;      /* Center vertically and horizontally */
    padding: 4rem 6%;
    background-color: #FFFFFF; /* Clean white paper look */
    border-radius: 40px;       /* Matching your 'Founders Card' radius */
    box-shadow: 0 20px 40px rgba(62, 50, 36, 0.05); /* Soft shadow */
    border: 1px solid rgba(212, 175, 55, 0.1); /* Subtle gold border */
}

/* Back Link Styling */
.back-link { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.9rem; 
    margin-bottom: 2rem; 
    display: inline-block; 
    font-weight: 600;
    transition: all 0.2s ease;
}
.back-link:hover { 
    color: var(--accent-gold);
    transform: translateX(-5px);
}

/* Blog Date Styling */
.date { 
    color: var(--accent-gold); 
    font-weight: 800;
    font-size: 0.85rem; 
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog List Items (for the index page) */
.blog-list-item {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.blog-list-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-list-item h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-list-item h3 a:hover {
    color: var(--accent-gold);
}

/* Article Content Typography */
.content {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Images inside blog posts */
.content img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    margin: 2rem 0;
}

/* Highlighted text inside articles */
.highlight {
    background: linear-gradient(120deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0) 100%);
    padding: 0 4px;
    font-weight: 700;
}

/* Footer Adjustments for Blog */
footer {
    border-top: none; /* Removed line since we are on a 'card' now */
    margin-top: 2rem;
}