/* Grid Shuffle - 3 articles fixes avec recherche */
.drp-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .drp-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .drp-grid-container {
        grid-template-columns: 1fr;
    }
}

.drp-grid-container .drp-card {
    opacity: 0;
    transform: translateY(20px);
    animation: drp-card-enter 0.5s ease forwards;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.drp-grid-container .drp-card:nth-child(1) { animation-delay: 0s; }
.drp-grid-container .drp-card:nth-child(2) { animation-delay: 0.1s; }
.drp-grid-container .drp-card:nth-child(3) { animation-delay: 0.2s; }

.drp-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.drp-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.drp-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    margin: 0 0 8px 0;
}

@keyframes drp-card-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Barre de recherche */
.drp-search-container {
    margin-top: 24px;
    margin-bottom: 40px;
    width: 100%;
}

.drp-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.drp-search-input:hover {
    border-color: #ccc;
}

.drp-search-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.drp-search-input::placeholder {
    color: #999;
}

.drp-search-results-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}
