/* --- lux-blog.css (v2) --- */

/* 1. Global Styles & Typography Boost */
body {
    background-color: #f4f6f9; /* Softer background */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #495057; /* Softer text color */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400; /* slightly bolder for better readability */
    color: #212529;
}

a {
    transition: all 0.25s ease-in-out; /* Smooth transition for everything */
}

/* --- Golden Gradient Button --- */
.btn-gold-gradient {
    background-image: linear-gradient(45deg, #ffd700, #ffb700);
    border: none;
    color: #212529;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.btn-gold-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    color: #000;
}

/* 2. Blog Post Card (for Index page) - The $100k Look */
.blog-card {
    background: #ffffff;
    border: none; /* Remove border, use shadow instead */
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* The icon now is a decorative element with gradient */
.blog-card-icon {
    flex-shrink: 0;
    width: 100px;
    background-image: linear-gradient(45deg, #007bff, #0056b3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-card-icon .bi {
    font-size: 2.5rem;
    color: #ffffff;
    opacity: 0.8;
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.blog-card-title a {
    text-decoration: none;
    color: #212529;
    font-weight: 500; /* Make title stand out */
}

.blog-card-title a:hover {
    background: -webkit-linear-gradient(45deg, #007bff, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.blog-card-excerpt {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #495057;
}


/* 3. Article Detail Page - The Premium Experience */
.article-header {
    padding: 5rem 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9)), url('data:image/svg+xml,...'); /* Add a subtle SVG background later if needed */
    background-color: #fff; /* fallback */
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 3rem;
}

.article-header h1.display-4 {
    font-weight: 500;
    background: -webkit-linear-gradient(45deg, #212529, #6c757d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #343a40;
}
#article-content p {
    margin-bottom: 1.75rem;
}
#article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 4. Comments Section - Clean & Modern */
.comment-form-container, .comment-card {
    background-color: #ffffff;
    border: none;
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.comment-thread .d-flex {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease-in-out;
}
.comment-thread .d-flex:last-child { border-bottom: none; }
.comment-thread .d-flex:hover { background-color: #f8f9fa; }

