.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}

.sort-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 8px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.sort-btn.active {
    background: var(--hn-orange);
    color: white;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.thumbnail-container {
    position: relative;
    height: 180px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .thumbnail {
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--hn-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.video-title a:hover {
    color: var(--hn-orange);
}

.meta-info {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-top: auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.links {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: background-color 0.2s;
    flex: 1;
    justify-content: center;
}

.btn:hover {
    background-color: #e0e0e0;
}

.btn-primary {
    background-color: var(--hn-orange);
    color: white;
}

.btn-primary:hover {
    background-color: #e55a00;
}