/* ============================================
   MyDocstor - Blog Pages
   ============================================ */

/* Blog Page Background */
.blog-page {
    background: linear-gradient(135deg, #f5f3ff 0%, #f8fafc 50%, #ede9fe 100%);
    min-height: 100vh;
    padding: 4rem 1rem;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0f172a, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.25);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.98);
}

.blog-card-body {
    padding: 1.75rem;
}

.blog-card-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #7c3aed;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    padding: 0 1.75rem 1.75rem;
}

.blog-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7c3aed;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 0.5rem;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 5rem 1rem;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Single Post */
.blog-post-page {
    background: linear-gradient(135deg, #f5f3ff 0%, #f8fafc 100%);
    min-height: 100vh;
    padding: 4rem 1rem;
}

.blog-post-container {
    max-width: 48rem;
    margin: 0 auto;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: gap 0.3s ease;
}

.blog-back-link:hover {
    gap: 0.75rem;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Post Body */
.blog-post-body {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
    line-height: 1.8;
    color: #374151;
    font-size: 1rem;
}

.blog-post-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2rem 0 1rem;
}

.blog-post-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1.5rem 0 0.75rem;
}

.blog-post-body p {
    margin-bottom: 1.25rem;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 1rem 0 1.25rem 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.5rem;
}

.blog-post-body a {
    color: #7c3aed;
    text-decoration: underline;
}

.blog-post-body blockquote {
    border-left: 4px solid #7c3aed;
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    color: #64748b;
    font-style: italic;
}

.blog-post-body code {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.875em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-post-title {
        font-size: 1.875rem;
    }

    .blog-post-body {
        padding: 1.5rem;
    }
}
.blog-post-body h1 { font-size: 2rem; font-weight: 800; color: #0f172a; margin: 2rem 0 1rem; }
.blog-post-body ul { list-style: disc; }
.blog-post-body ol { list-style: decimal; }
.blog-post-body ul {
    list-style: disc !important;
    padding-left: 1.5rem !important;
}

.blog-post-body ol {
    list-style: decimal !important;
    padding-left: 1.5rem !important;
}

.blog-post-body li {
    display: list-item !important;
}

.blog-post-body a {
    color: #7c3aed !important;
    text-decoration: underline !important;
}