/* Custom CSS for the blog */

/* Styles for article content */
.article-content {
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #ff6b35;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
}

.article-content h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 0.5rem;
}

.article-content h2 {
    font-size: 2rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #e5e7eb;
}

.article-content strong {
    color: #ff6b35;
    font-weight: 600;
}

.article-content em {
    color: #fbbf24;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
}

.article-content li::marker {
    color: #ff6b35;
}

.article-content blockquote {
    border-left: 4px solid #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #f3f4f6;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content code {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    color: #e5e7eb;
    padding: 0;
}

.article-content a {
    color: #ff6b35;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #fbbf24;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #374151;
}

.article-content th {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    font-weight: 600;
}

.article-content td {
    color: #e5e7eb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Cards with glassmorphism effect */
.blog-card {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(255, 107, 53, 0.3);
}

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

    .article-content h2 {
        font-size: 1.75rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-content {
        font-size: 0.95rem;
    }
}

/* Style for tags */
.tag {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #374151, #4b5563, #374151);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Scrollbar custom */
.article-content::-webkit-scrollbar {
    width: 8px;
}

.article-content::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 4px;
}

.article-content::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

.article-content::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}