/* Per-page styles for lattest-articles.html */
/* Custom Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Line Clamp for excerpts (keeps behavior if tailwind utility not present) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    line-clamp: 2;
    overflow: hidden;
}

/* Accordion-style expansion */
.expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.expanded {
    max-height: 1000px; /* Adjust based on content length */
}

/* Tooltip for hover preview */
.tooltip { display: none; }
@media (min-width: 768px) {
    .title-hover:hover .tooltip { display: block; }
}

/* Hide scrollbars for clean look */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; }
