/* LeiMau Blog Design System */
:root {
    --blog-primary: #2c3e50;
    --blog-secondary: #3498db;
    --blog-accent: #e74c3c;
    --blog-success: #27ae60;
    --blog-warning: #f39c12;
    --blog-light: #f8f9fa;
    --blog-dark: #1e293b;
    --blog-text: #334155;
    --blog-muted: #64748b;
    --blog-border: #e2e8f0;
    --blog-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --blog-card-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--blog-text);
    background-color: #fcfdfe;
    line-height: 1.7;
}

/* Navbar */
.blog-navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.85rem 0;
}

.blog-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--blog-primary) !important;
}

/* Blog Header & Hero */
.blog-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #2c3e50 100%);
    color: #ffffff;
    padding: 100px 0 60px;
    position: relative;
}

.blog-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.blog-hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 700px;
}

/* Category Badges */
.badge-category {
    background-color: rgba(52, 152, 219, 0.12);
    color: #2980b9;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: var(--blog-card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-card-hover);
}

.blog-card-img-top {
    height: 200px;
    object-fit: cover;
    background-color: #e2e8f0;
}

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

.blog-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--blog-dark);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--blog-secondary);
}

.blog-meta-item {
    font-size: 0.825rem;
    color: var(--blog-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Featured Blog Hero Card */
.featured-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--blog-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 3rem;
}

/* Article Reader View */
.article-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 110px 0 50px;
}

.article-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* Content Typography */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.blog-content h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--blog-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #edf2f7;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blog-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.blog-lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: #475569;
    border-left: 4px solid var(--blog-secondary);
    padding-left: 1.25rem;
    margin: 1.5rem 0 2rem;
}

/* Guest Location Callout */
.guest-callout-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 5px solid #0284c7;
    border-radius: 12px;
    padding: 1.25rem;
}

/* Store Cards in Blog Post */
.store-card {
    background: #ffffff;
    border: 1px solid var(--blog-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.store-card-header {
    background: #f8fafc;
    padding: 1.25rem;
    border-bottom: 1px solid var(--blog-border);
}

.bg-light-primary {
    background-color: #f0f7ff !important;
}

/* Comparison Tables */
.comparison-table {
    font-size: 0.95rem;
}

.comparison-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

/* Quick Jump Navigation */
.quick-jump-nav {
    background: #f8fafc;
    border: 1px solid var(--blog-border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.quick-jump-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.quick-jump-nav a:hover {
    background: #e2e8f0;
    color: var(--blog-secondary);
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.blog-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blog-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Search Box */
.blog-search-box {
    position: relative;
}

.blog-search-box input {
    border-radius: 50px;
    padding-left: 2.75rem;
    border: 1px solid #cbd5e1;
}

.blog-search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Footer */
.blog-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 50px 0 30px;
    margin-top: 4rem;
}

.blog-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-footer a:hover {
    color: #38bdf8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-hero {
        padding: 90px 0 40px;
    }
    .blog-hero-title {
        font-size: 2rem;
    }
    .article-title {
        font-size: 1.75rem;
    }
    .blog-content {
        font-size: 1rem;
    }
}

/* ==========================================
   Blog Post Reader Feedback & Corrections
   ========================================== */
.blog-feedback-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.blog-feedback-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}

.blog-feedback-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
}

.feedback-type-chip {
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feedback-type-chip.active {
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.25);
}

.feedback-textarea {
    resize: vertical;
    min-height: 110px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.5;
}

.feedback-textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.feedback-input {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
}

.feedback-input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

