.dynamika-videos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(var(--dynamika-quantidade), minmax(0, 1fr));
    gap: 24px;
}

.card-video-row {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    width: 100%;
    min-height: 308px; /* para deixar card mais alto */
}

.card-video-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--dynamic-accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

.card-video-row:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--dynamic-accent), white 70%);
}

.card-video-row:hover::before {
    transform: scaleY(1);
}

/* Área da Imagem do YouTube com Overlay de Play */
.video-image {
    width: 250px;
    flex-shrink: 0;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eef0f2;
}

.video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.card-video-row:hover .video-image img {
    transform: scale(1.05);
    opacity: 1;
}

/* Ícone de Play sobreposto */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
    padding-left: 4px;
}

.card-video-row:hover .video-play-overlay {
    background: var(--dynamic-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-fallback-icon {
    font-size: 3.5rem;
    color: #444;
}

/* Corpo de Texto */
.video-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.2s;
}

.card-video-row:hover .video-title {
    color: var(--dynamic-accent);
}

/* Badges de Metadados */
.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.video-badge {
    font-size: 0.8rem;
    color: #555;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid #eef0f2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.video-badge i {
    color: var(--dynamic-accent);
}

.video-summary {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    /*
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;*/
    overflow: hidden;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
    .card-video-row { flex-direction: column; }
    .video-image { width: 100%; height: 180px; border-right: none; border-bottom: 1px solid #eef0f2; }
}

@media (min-width: 1880px){
    /*.video-image { width: 196.96px; border-right: none; border-bottom: 1px solid #eef0f2; }*/
}

@media (max-width: 1110px) {
    .dynamika-videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .dynamika-videos {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
}
