/* Blog-specific styles */

/* Line clamping utilities */
.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;
}

/* Prose styling for blog content */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 { 
    font-size: 2.25rem; 
}

.prose h2 { 
    font-size: 1.875rem; 
}

.prose h3 { 
    font-size: 1.5rem; 
}

.prose h4 { 
    font-size: 1.25rem; 
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose iframe {
    width: 100%;
    height: 400px;
}

.prose blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6b7280;
}

.prose code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background-color: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    max-width: 100%;
    height: auto;
}

.prose a {
    color: var(--brand-accent);
    text-decoration: underline;
}

.prose a:hover {
    color: var(--brand-accent);
}

/* Dark theme prose styling */
.prose-invert {
    color: #d1d5db;
}

.prose-invert h1, 
.prose-invert h2, 
.prose-invert h3, 
.prose-invert h4, 
.prose-invert h5, 
.prose-invert h6 {
    color: #f9fafb;
}

.prose-invert p {
    color: #d1d5db;
}

.prose-invert ul, 
.prose-invert ol {
    color: #d1d5db;
}

.prose-invert li {
    color: #d1d5db;
}

.prose-invert blockquote {
    color: #9ca3af;
    border-left-color: var(--brand-accent);
}

.prose-invert code {
    background-color: #374151;
    color: #f9fafb;
}

.prose-invert pre {
    background-color: #111827;
    color: #f9fafb;
}

.prose-invert a {
    color: var(--brand-accent);
}

.prose-invert a:hover {
    color: var(--brand-accent);
}

/* Blog card hover effects */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Category tags */
.category-tag {
    transition: all 0.2s ease;
}

.category-tag:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prose h1 { 
        font-size: 1.875rem; 
    }
    
    .prose h2 { 
        font-size: 1.5rem; 
    }
    
    .prose h3 { 
        font-size: 1.25rem; 
    }
} 