.card {
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.card-title a:hover {
    color: #007bff !important;
}

.pagination .page-link {
    color: #343a40;
}

.pagination .active .page-link {
    background-color: #343a40;
    border-color: #343a40;
}

/* Add these styles for post content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4, 
.post-content h5, 
.post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content blockquote {
    border-left: 4px solid #ccc;
    margin: 1.5rem 0;
    padding: 1rem 0 1rem 2rem;
    color: #666;
}

.post-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

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

/* Mobile Optimizations */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .post-content img {
        height: auto !important;
        max-width: 100% !important;
    }
    
    .ad-container {
        margin: 1rem 0;
    }
}

/* Performance Optimizations */
img {
    content-visibility: auto;
}

/* Print Styles */
@media print {
    .ad-container,
    .navbar,
    .footer,
    .sidebar {
        display: none !important;
    }
}
  