/**
 * Fix: Garantir que imagens permaneçam visíveis ao rolar
 * Data: 03/05/2026
 */

/* Garantir que o container das imagens tem tamanho fixo */
.sgc-filhote-image {
    min-height: 250px;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Garantir que as imagens preenchem o container */
.sgc-filhote-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Placeholder com altura garantida */
.sgc-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    color: #999;
    font-weight: bold;
}

/* Grid sempre visível */
.sgc-filhotes-grid {
    display: grid;
    grid-template-columns: repeat(var(--col, 2), 1fr);
    gap: 20px;
    width: 100%;
}

/* Card sempre visível */
.sgc-filhote-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: auto;
}

.sgc-filhote-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Garantir que badge não cobre imagem */
.sgc-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Info section */
.sgc-filhote-info {
    padding: 15px;
    min-height: 150px;
}

/* Responsivo mobile */
@media (max-width: 768px) {
    .sgc-filhotes-grid {
        grid-template-columns: 1fr;
    }
    
    .sgc-filhote-image {
        min-height: 200px;
        height: 200px;
    }
}
