/* Conteneur principal */
.linkedin-feed-wrapper-rg74 {
    display: block;
    width: 100%;
    clear: both;
}

/* Grille flex 3 colonnes */
.linkedin-feed-grid-rg74 {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px;
    margin-right: -15px;
    list-style: none;
    padding: 0;
}

/* Chaque post LinkedIn */
.linkedin-card-rg74 {
    display: block;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    width: 100% !important;
    max-width: 100% !important;
    float: none;
}

/* 3 colonnes sur desktop >= 992px */
@media (min-width: 992px) {
    .linkedin-card-rg74 {
        width: 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* 2 colonnes sur tablette 768-991px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .linkedin-card-rg74 {
        width: 50% !important;
        max-width: 50% !important;
    }
}

/* Carte blanche avec ombre */
.linkedin-card-inner-rg74 {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.10);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image de couverture */
.linkedin-card-image-wrapper-rg74 {
    overflow: hidden;
    width: 100%;
}

.linkedin-card-image-rg74 {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Bloc texte */
.linkedin-card-body-rg74 {
    padding: 24px 28px 32px;
}

/* Date violette */
.linkedin-card-date-rg74 {
    display: block;
    color: #9b26b6;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Titre du post */
.linkedin-card-title-rg74 {
    margin: 0 0 16px;
    font-size: 2.3rem;
    line-height: 1.3;
}

.linkedin-card-title-rg74 a {
    color: #222;
    text-decoration: none;
}

.linkedin-card-title-rg74 a:hover {
    text-decoration: underline;
}

/* Messages d'erreur */
.linkedin-feed-error,
.linkedin-feed-empty {
    padding: 10px 12px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    color: #856404;
    font-size: 0.9rem;
}
