/**
 * PromptExperts - Custom Editorial & Utility Stylesheet
 * Works alongside local compiled assets/css/tailwind.css
 */

:root {
    --pv-accent: #4f46e5;
    --pv-accent-hover: #4338ca;
}

/* Smooth fade-in animation for Quick Preview modal */
@keyframes pvFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-fade-in {
    animation: pvFadeIn 0.18s ease-out forwards;
}

/* Multi-line text truncation */
.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;
}

/* Aspect Ratio Containers */
.aspect-4\/5 {
    aspect-ratio: 4 / 5;
}

.aspect-16\/9 {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Editorial Content Formatting for Static Pages & SEO Content Blocks */
.editorial-prose h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.editorial-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.editorial-prose p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.editorial-prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #475569;
    margin-bottom: 1rem;
}

.editorial-prose li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
}

/* Custom subtle scrollbars inside prompt boxes */
.prompt-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.prompt-scroll::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.4);
    border-radius: 6px;
}

.prompt-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 6px;
}
