.shortvid h2 {
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 40px;
    line-height: 1.3;
}
.shortvid{
    padding-top:30px;
}
.view, .view-content{
    gap:20px !important;
}
.tech-in-a-min-container{
    padding-bottom: 0;
}
.home-tech img{
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    height: auto;
}
/* Fix float-grid wrapping for varying-height images */
.row.shortvid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.row.shortvid .cols-3-extend {
    display: flex;
    flex-direction: column;
}
.row.shortvid .home-tech {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.row.shortvid .home-tech h2 {
    flex: 1;
}
/* Fade-in for cards */
@keyframes timFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.row.shortvid .cols-3-extend {
    animation: timFadeIn 0.4s ease both;
}
/* Stagger initial cards */
.row.shortvid .cols-3-extend:nth-child(1)  { animation-delay: 0s; }
.row.shortvid .cols-3-extend:nth-child(2)  { animation-delay: 0.05s; }
.row.shortvid .cols-3-extend:nth-child(3)  { animation-delay: 0.1s; }
.row.shortvid .cols-3-extend:nth-child(4)  { animation-delay: 0.15s; }
.row.shortvid .cols-3-extend:nth-child(5)  { animation-delay: 0.2s; }
.row.shortvid .cols-3-extend:nth-child(6)  { animation-delay: 0.25s; }
.row.shortvid .cols-3-extend:nth-child(7)  { animation-delay: 0.3s; }
.row.shortvid .cols-3-extend:nth-child(8)  { animation-delay: 0.35s; }
.row.shortvid .cols-3-extend:nth-child(9)  { animation-delay: 0.4s; }
.row.shortvid .cols-3-extend:nth-child(10) { animation-delay: 0.45s; }
/* Appended cards (added via JS) */
.row.shortvid .cols-3-extend.tim-appended {
    animation: timFadeIn 0.35s ease both;
    animation-delay: 0s;
}
/* Loading spinner */
#tim-loading {
    text-align: center;
    padding: 2rem 0;
}
#tim-loading .tim-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #e0e0e0;
    border-top-color: #333;
    border-radius: 50%;
    animation: timSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes timSpin {
    to { transform: rotate(360deg); }
}
#tim-loading .tim-text {
    color: #555;
    font-size: 0.9rem;
    vertical-align: middle;
}
@media only screen and (max-width: 650px) {
    .shortvid h3 {
        font-size: 0.8rem;
        min-height: 65px;
    }
}
