/* AI News Aggregator - Custom Styles */

/* Line clamp 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;
}

/* Hide scrollbar */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Briefing content prose styles */
.briefing-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.briefing-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.briefing-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.briefing-content p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #4b5563;
}

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

.briefing-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4b5563;
}

.briefing-content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.briefing-content a:hover {
    color: #1d4ed8;
}

.briefing-content blockquote {
    border-left: 3px solid #3b82f6;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #6b7280;
    font-style: italic;
}

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

.briefing-content pre {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.briefing-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.briefing-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.briefing-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.briefing-content th,
.briefing-content td {
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.briefing-content th {
    background-color: #f9fafb;
    font-weight: 600;
}

/* Smooth page load */
body {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
