/*
Theme Name: Divi Child
Template: Divi
*/

.animaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.animal-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animal-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.animal-excerpt {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
}

.animal-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.animal-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
}