/* GRID (Mesma estrutura do YouTube) */
.hs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* CARD */
.hs-card {
    background: #111; /* Mesma cor de fundo do card YT */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block; /* Importante pois é um link <a> */
    text-decoration: none; /* Remove sublinhado do link */
    border: 1px solid #222; /* Borda sutil */
}

.hs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: #333;
}

/* THUMBNAIL */
.hs-thumb {
    position: relative;
    padding-top: 56.25%; /* Mantém proporção 16:9 igual YouTube */
    background-size: cover;
    background-position: center;
    background-color: #000;
}

/* ÍCONE LINK (Sutil no canto) */
.hs-link-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.hs-card:hover .hs-link-icon {
    opacity: 1;
}

/* INFO AREA */
.hs-info {
    padding: 16px;
}

/* TÍTULO */
.hs-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limita a 2 linhas igual YouTube */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover no título */
.hs-card:hover .hs-info h3 {
    color: #3b82f6; /* Azul destaque (opcional) */
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    .hs-grid {
        grid-template-columns: 1fr; /* 1 Coluna no mobile */
        gap: 16px;
    }
}