/* ------------------- CSS CATEGORIE SHORTCODE ---------------------- */

.shortcode-content, .shortcode-information {
    background-color: #ffffff;
    padding: 8px;
    box-shadow: 0 0px 5px #ccc; /* Ajoute une petite ombre pour un peu de profondeur */
}

.shortcode-content p, .shortcode-information p {
    font-size: 14px;
}

.shortcode-content {
    margin-bottom: 20px;
}

.shortcode-information {
    margin-top: 40px;
}

/* ------------------- CSS ARTICLE SHORTCODE ---------------------- */
.publicite-article-shortcode {
    background-color: white;
    border: 1px solid #dfdfdf; 
    padding: 8px; 
    margin-top: 10px; 
    margin-bottom: 10px;
    box-shadow: 0 0px 5px #ccc; /* Ajoute une petite ombre pour un peu de profondeur */
}
.texte-partenaire {
    padding-right: 10px;
}

/* ------------------- CSS CUSTOM SHORTCODE ---------------------- */
.custom-post-shortcode {
    background-color: white;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #dfdfdf;
    position: relative;
    min-height: 132px;
    line-height: 1.35em;
    box-shadow: 0 0px 5px #ccc;
}
.shortcode-logo {
    float: left;
    border: 1px solid #dfdfdf;
    margin-right: 10px;
    max-width: 115px;
    height: auto;
}
.shortcode-title {
    font-weight: bold;
    clear: none;
    vertical-align: middle;
}
.shortcode-description {
    font-size: 13px;
    color: #666;
}
.shortcode-offre {
    color: red;
    font-weight: bold;
    margin-top: 8px;
}
.shortcode-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: #1976d3; 
  padding: 10px 15px; 
  color: white; 
  text-decoration: none; 
  border-radius: 4px; 
  margin-left: 10px;
}
.shortcode-date {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 0.8em;
}
@media (max-width: 768px) {
    .shortcode-logo {
      float: left;
    }
    .shortcode-date {
      position: relative;
      font-size: 0.8em;
      padding-left: 10px;
  }
}
/* ------------------- CSS CUSTOM WIDGET---------------------- */
.partenaires-widget-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.partenaires-widget-content a {
    flex-basis: calc(50% - 10px); /* 50% moins l'espacement */
    margin-right: 20px;
    margin-bottom: 20px; 
}

.partenaires-widget-content a:nth-child(2n) {
    margin-right: 0; /* Pour que le 2ème, 4ème, 6ème... partenaire n'ait pas de marge à droite */
}

.partenaires-widget-content img {
    max-width: 130px;
    max-height: 130px;
    width: auto;
    height: auto;
    display: block; /* pour centrer l'image */
    margin: 0 auto; /* pour centrer l'image */
}

.blue {
    text-align:center;
    margin: auto;
    display: block;
    max-width: 280px;
    background: #0599d9;
    color: #fff;
}

.title-widget {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}