/* --- STRUCTURE COMMUNE (GRILLE) --- */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

@media (min-width: 767px) {
    .publications-grid {
        gap: 10px;
    }
}

@media (min-width: 1024px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .publications-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

/* --- STYLE DES PARTENAIRES BANCAIRES (.bank-item) --- */
.bank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.bank-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.bank-logo-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.bank-item h3 {
    margin: 10px 0;
    color: #1a237e;
}

.bank-item .promo-button {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    color: white;
    background-color: black;
    box-sizing: border-box;
    margin-top: 20px;
    cursor: pointer;
}

.text-paragraph{
    margin-bottom: 15px;
}