/* Help Center Styles */

/* Search Bar */
.help-search-bar {
    transition: all 0.3s ease;
}

.help-search-bar:focus {
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.2);
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #fdba74;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Article List Items */
.article-item {
    transition: all 0.2s ease;
}

.article-item:hover {
    border-color: #fdba74;
}

/* Breadcrumbs */
.breadcrumb-link {
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #ea580c;
}

/* Article Feedback */
.article-feedback button {
    transition: all 0.2s ease;
}

.article-feedback button:hover {
    transform: translateY(-2px);
}

/* Article Content Styling */
.prose {
    color: #374151;
    max-width: 65ch;
}

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

.prose h1 {
    font-size: 2.25em;
    line-height: 1.1111111;
}

.prose h2 {
    font-size: 1.875em;
    line-height: 1.3333333;
}

.prose h3 {
    font-size: 1.5em;
    line-height: 1.3333333;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    line-height: 1.75;
}

.prose ol,
.prose ul {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose a {
    color: #ea580c;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #dc2626;
}

.prose strong {
    font-weight: 600;
    color: #111827;
}

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

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

/* Article Content Enhancements */
.prose blockquote {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1.25rem;
    border-left: 4px solid #e5e7eb;
    color: #6b7280;
    font-style: italic;
}

.prose blockquote p:first-child {
    margin-top: 0;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose code {
    background-color: #f9fafb;
    border-radius: 0.25rem;
    padding: 0.125rem 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.875em;
    color: #111827;
}

.prose pre {
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}

.prose pre code {
    background-color: transparent;
    color: #f9fafb;
    padding: 0;
}

/* Tip Box */
.bg-orange-50 {
    background-color: #fff7ed;
}

.bg-orange-50.border-orange-200 {
    border-color: #fed7aa;
}

.text-orange-800 {
    color: #9a3412;
}

.text-orange-700 {
    color: #c2410c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta span {
        margin-bottom: 4px;
    }
    
    .prose h1 {
        font-size: 1.875em;
    }
    
    .prose h2 {
        font-size: 1.5em;
    }
    
    .prose h3 {
        font-size: 1.25em;
    }
}

/* Article Footer */
.article-footer-actions a {
    transition: all 0.2s ease;
}

.article-footer-actions a:hover {
    background-color: #f3f4f6;
}

/* Related Articles */
.related-articles-grid a:hover .border {
    border-color: #fdba74;
}