/* Blog Specific Styles */
.line-clamp-2 { 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.line-clamp-3 { 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* Article Content Styles */
.prose { 
    font-size: 1.125rem; 
    line-height: 1.8; 
    color: #334155;
}

.prose h2 { 
    font-size: 1.75rem; 
    font-weight: 800; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: #0f172a !important; 
    padding-bottom: 0.5rem; 
    border-bottom: 2px solid #e2e8f0; 
}

.prose h3 { 
    font-size: 1.375rem; 
    font-weight: 700; 
    margin-top: 2rem; 
    margin-bottom: 0.75rem; 
    color: #1e293b !important; 
}

.prose p { 
    margin-bottom: 1.25rem; 
    line-height: 1.85; 
    color: #334155 !important; 
}

.prose ul, .prose ol { 
    margin-bottom: 1.25rem; 
    padding-left: 1.75rem; 
    color: #334155 !important; 
}

.prose li { 
    margin-bottom: 0.625rem; 
    line-height: 1.75; 
    color: #334155 !important;
}

.prose ul { 
    list-style-type: disc; 
}

.prose ul li::marker { 
    color: #14b8a6; 
}

.prose ol { 
    list-style-type: decimal; 
}

.prose ol li::marker { 
    color: #14b8a6; 
    font-weight: 600; 
}

.prose a { 
    color: #0d9488; 
    text-decoration: underline; 
    text-underline-offset: 2px; 
}

.prose a:hover { 
    color: #0f766e; 
}

.prose strong { 
    color: #0f172a !important; 
    font-weight: 600; 
}

.prose blockquote { 
    border-left: 4px solid #14b8a6; 
    padding: 1rem 1.25rem; 
    margin: 1.75rem 0; 
    background: #f0fdfa; 
    border-radius: 0 0.5rem 0.5rem 0; 
}

.prose blockquote p { 
    margin: 0; 
    color: #0f766e; 
    font-style: italic; 
}

.prose img { 
    border-radius: 1rem; 
    margin: 2rem 0; 
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); 
}

.prose code { 
    background: #f1f5f9; 
    padding: 0.25rem 0.5rem; 
    border-radius: 0.375rem; 
    font-size: 0.9rem; 
    color: #0f766e; 
}

.prose pre { 
    background: #1e293b; 
    color: #e2e8f0; 
    padding: 1.25rem; 
    border-radius: 0.75rem; 
    overflow-x: auto; 
    margin: 1.75rem 0; 
}

.prose hr { 
    border: none; 
    border-top: 2px solid #e2e8f0; 
    margin: 2.5rem 0; 
}

.prose table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 1.75rem 0; 
}

.prose th, .prose td { 
    border: 1px solid #e2e8f0; 
    padding: 0.75rem 1rem; 
    text-align: left; 
}

.prose th { 
    background: #f8fafc; 
    font-weight: 600; 
    color: #0f172a; 
}

.prose tr:nth-child(even) { 
    background: #f8fafc; 
}

/* Custom Info Boxes */
.info-box { 
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); 
    border: 1px solid #99f6e4; 
    border-radius: 1rem; 
    padding: 1.5rem; 
    margin: 1.75rem 0; 
}

.info-box-title { 
    font-weight: 700; 
    color: #0f766e; 
    margin-bottom: 0.5rem; 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
}

.warning-box { 
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); 
    border: 1px solid #fcd34d; 
    border-radius: 1rem; 
    padding: 1.5rem; 
    margin: 1.75rem 0; 
}

.warning-box-title { 
    font-weight: 700; 
    color: #b45309; 
    margin-bottom: 0.5rem; 
}

.step-number { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 2rem; 
    height: 2rem; 
    background: #14b8a6; 
    color: white; 
    border-radius: 50%; 
    font-weight: 700; 
    font-size: 0.875rem; 
    margin-right: 0.75rem; 
}

.highlight-text { 
    background: linear-gradient(120deg, #ccfbf1 0%, #99f6e4 100%); 
    padding: 0.125rem 0.375rem; 
    border-radius: 0.25rem; 
}

/* Loading Animation - More subtle */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.animate-pulse { 
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; 
}

/* Smooth Transitions - Only for interactive elements */
a, button, input, select, textarea, .blog-card, .pagination-nav a { 
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; 
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
    transition-duration: 150ms; 
}

/* Blog Card Hover Effects */
.blog-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-2px);
}

/* Search Input Focus */
.search-input:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Pagination Styles */
.pagination-nav a {
    transition: all 0.2s ease;
}

.pagination-nav a:hover {
    background-color: #f8fafc;
    border-color: #14b8a6;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .prose h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .prose h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .prose {
        font-size: 1rem;
    }
}

/* Ensure text doesn't fade */
.prose *, .blog-card *, body, html {
    opacity: 1 !important;
}

/* Only allow transitions on interactive elements */
.prose a {
    transition: color 0.15s ease;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    .prose {
        color: #e2e8f0;
    }
    
    .prose h2, .prose h3 {
        color: #f1f5f9;
    }
    
    .prose strong {
        color: #f8fafc;
    }
}