/* --- Tabs Strive Minimal --- */
.tabsdesignforpost971 {
  background: transparent;
  border: none;
}

/* En-têtes */
.tabsdesignforpost971 .uagb-tabs__panel {
  display: flex;
  gap: 0.5rem;
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  justify-content: flex-start;
}

.tabsdesignforpost971 .uagb-tab {
  flex: 0 0 auto;
}

.tabsdesignforpost971 .uagb-tabs-list {
  position: relative;
  display: inline-block;
  outline: none;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
  color: #444;
  background: none;
  border: none;
	text-decoration: none;
  transition: all 0.25s ease;
}

/* Ligne soulignante au hover / actif */
.tabsdesignforpost971 .uagb-tabs-list::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background-color 0.25s ease;
}

.tabsdesignforpost971 .uagb-tabs-list:hover::after {
  background: #c9dcff; /* survol */
}

.tabsdesignforpost971 .uagb-tabs__active .uagb-tabs-list::after {
  background: #4d8eff; /* actif */
}

/* Couleur du texte */
.tabsdesignforpost971 .uagb-tabs__active .uagb-tabs-list {
  color: #1a4ed1;
  font-weight: 600;
}

/* Contenu */
.tabsdesignforpost971 .uagb-tabs__body-wrap {
  margin-top: 1rem;
  padding: 0.5rem 0;
  background: transparent;
}

.tabsdesignforpost971 .uagb-tabs__body-container p {
  margin: 0;
  line-height: 1.7;
  color: #333;
  font-size: 0.95rem;
}



.tagsonpostsdisplay .wp-block-post-terms__separator {
  display: none !important;
}

.tagsonpostsdisplay a {
  background-color: #f4f2fe;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid #6c5ce7;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  margin: 0.2rem;
  display: inline-block;
}
.tagsonpostsdisplay a:hover {
  background-color: #e9e4ff;
}

@media (max-width: 1024px) {
  .mobile-text-limit {
    font-size: 13px !important;
    line-height: 1.4;
  }
}

.mobile-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  right: 0;
  background: #6c5ce7;
  color: white;
  padding: 1.2rem;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

.mobile-popup .popup-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.mobile-popup-content button {
  margin-top: 1rem;
  background: white;
  color: #6c5ce7;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .mobile-popup {
    display: block;
  }
}

.rating-meter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rating-label {
  width: 130px;
  font-weight: bold;
  font-size: 0.95rem;
}

.rating-bar {
  flex-grow: 1;
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.rating-fill {
  height: 100%;
  background-color: #6c5ce7;
  width: 0;
  transition: width 0.4s ease;
}

.rating-score {
  min-width: 40px;
  text-align: right;
  font-size: 0.9rem;
}

/* Conteneur global */

.linkedup-comments {
  background: #ffffff;
  border: 1px solid #6c5ce7;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.08);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Titre de la section */

.linkedup-comments h2,
.linkedup-comments h3 {
  text-align: center;
  color: #6c5ce7;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Bloc individuel de commentaire */

.linkedup-comments .wp-block-columns {
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e2e2;
  gap: 1rem;
}

/* Avatar */

.linkedup-comments .wp-block-avatar img {
  border-radius: 50%;
  box-shadow: 0 0 0 2px #6c5ce7;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Nom de l’auteur */

.linkedup-comments .wp-block-comment-author-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.2rem;
}

/* Date et lien "Modifier" */

.linkedup-comments .wp-block-group {
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
}

/* Contenu du commentaire */

.linkedup-comments .wp-block-comment-content {
  margin-top: 0.5rem;
  color: #444;
  font-size: 0.95rem;
}

/* Bouton "Répondre" */

.linkedup-comments .wp-block-comment-reply-link a {
  display: inline-block;
  background: #6c5ce7;
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 7px;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.linkedup-comments .wp-block-comment-reply-link a:hover {
  background: #5848d8;
}

/* Formulaire de commentaire */

.linkedup-comments form {
  margin-top: 2rem;
  border-top: 1px solid #e2e2e2;
  padding-top: 2rem;
}

.linkedup-comments textarea,
.linkedup-comments input[type="text"],
.linkedup-comments input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.linkedup-comments input[type="submit"] {
  background: #6c5ce7;
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: bold;
}

.linkedup-comments input[type="submit"]:hover {
  background: #5a4fd6;
}

.shadow-soft-pro {
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  transition: box-shadow 0.2s ease-in-out;
}

.shadow-soft-pro:hover {
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.last-offer-box {
  background: #f0f8ff;
  padding: 0.8rem;
  border-left: 3px solid #1e90ff;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.last-offer-title {
  margin: 0 0 0.4rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e90ff;
}

.last-offer-link {
  display: block;
  color: #4b4e53;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.last-offer-link:hover {
  color: #1e90ff;
}

.last-offer-excerpt {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}

.market-ticker.tradingview-box {
  background: #ffffff;
  border: 1px solid #1e90ff;
  padding: 0.5rem 1rem;
  margin: 2rem 0;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.market-ticker.tradingview-box:hover {
  background: #f4f2fe;
  border-color: #6c5ce7;
}

/* OPTIONNEL : réduis la taille du texte dans le widget pour harmoniser */

.market-ticker .tradingview-widget-container * {
  font-size: 13px !important;
  font-family: inherit !important;
}

.favorites-box {
  background: #ffffff;
  border: 1px solid #1e90ff;
  padding: 0.5rem;
  margin: 2rem 0;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.favorites-box:hover {
  background: #f4f2fe;
  border-color: #6c5ce7;
}

.favorites-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1e90ff;
  font-weight: 600;
  gap: 0.6rem;
  transition: color 0.3s ease;
}

.favorites-box:hover .favorites-link {
  color: #6c5ce7;
}

.favorites-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.saved-offer-notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #6c5ce7;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding-top: 20px !important;
  transition: all 0.3s ease;
  background-color: #FFFFFF;
}

/* Header rétréci */

.fixed-header.shrunk {
  padding-top: 1px!important;
  padding-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo réduit */

.fixed-header .logo {
  max-height: 60px;
  transition: max-height 0.3s ease;
}

.fixed-header.shrunk .logo {
  max-height: 40px;
}

/* Supprimer la marge sous le header quand il est rétréci */

.fixed-header.shrunk {
  margin-bottom: 0 !important;
}

/* Assure-toi que le padding du header n'est pas affecté par un autre style */

.fixed-header {
  padding-bottom: 0 !important;
}

.wp-block-post-title {
  color: #1e90ff;
  transition: color 2s;
}

.affichage_articles_search_bar_42 .wp-block-post-template > li,
.affichage_articles_search_bar_42 .wp-block-post-template > article,
.affichage_articles_search_bar_42 .wp-block-post,
.affichage_articles_search_bar_42 .post {
  border: 2px solid #1e90ff;
  border-radius: 7px;
  background: white;
  box-shadow: 0 2px 14px rgba(30,144,255, 0.07);
  padding: 0 0 1.2rem 0;
  margin-bottom: 2rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.18s, border-color 0.18s;
}

.affichage_articles_search_bar_42 .wp-block-post-template > li:hover,
.affichage_articles_search_bar_42 .wp-block-post-template > article:hover,
.affichage_articles_search_bar_42 .wp-block-post:hover,
.affichage_articles_search_bar_42 .post:hover {
  box-shadow: 0 8px 28px rgba(30,144,255, 0.16);
  border-color: #6c5ce7;
  background: #f4f2fe;
}

.affichage_articles_search_bar_42 .wp-block-post-featured-image,
.affichage_articles_search_bar_42 .wp-block-post-featured-image img,
.affichage_articles_search_bar_42 .wp-block-post-template img {
  border-radius: 7px 7px 0 0;
  object-fit: contain;
  width: 100%;
  max-height: 220px;
  margin: 0;
  background: #fff;
  box-shadow: none;
  display: block;
}

.affichage_articles_search_bar_42 .wp-block-post-date,
.affichage_articles_search_bar_42 .wp-block-post-author,
.affichage_articles_search_bar_42 .wp-block-post-terms,
.affichage_articles_search_bar_42 .wp-block-post-meta,
.affichage_articles_search_bar_42 .wp-block-post-categories,
.affichage_articles_search_bar_42 .wp-block-post-tags {
  display: none !important;
}

.affichage_articles_search_bar_42 .wp-block-post-title,
.affichage_articles_search_bar_42 .wp-block-post-title a {
  color: #1e90ff;
  font-size: 1.13rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s;
  margin: 1rem 1rem 0.2rem 1rem;
}

.affichage_articles_search_bar_42 .wp-block-post-title a:hover {
  color: #6c5ce7;
  text-decoration: underline;
}

.affichage_articles_search_bar_42 .wp-block-post-excerpt {
  font-size: 0.99rem;
  color: #333a;
  margin: 0.6rem 1rem 0.6rem 1rem;
  max-height: 4.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 800px) {
  .affichage_articles_search_bar_42 .wp-block-post-template > li,
  .affichage_articles_search_bar_42 .wp-block-post-template > article,
  .affichage_articles_search_bar_42 .wp-block-post,
  .affichage_articles_search_bar_42 .post {
    max-width: 98vw;
    padding: 0 0 1rem 0;
  }
}

.post-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f0f8ff;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  align-items: flex-end;
}

.post-filter-form input,
.post-filter-form select {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border: 1px solid #d0e8ff;
  border-radius: 0.75rem;
  background: white;
  color: #333;
  min-width: 180px;
  flex-grow: 1;
  max-width: 100%;
}

.post-filter-form input:focus,
.post-filter-form select:focus {
  outline: none;
  border-color: #6c5ce7;
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

.post-filter-form button {
  background-color: #1e90ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.post-filter-form button:hover {
  background-color: #6c5ce7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, (1fr)));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-item {
  display: flex;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.card-item:hover {
  transform: translateY(-4px);
}

.card-thumb img {
  width: 100px;
  height: 100%;
  object-fit: contain;
  border-right: 1px solid #eee;
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

.card-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background-color: #f4f2fe;
  color: #333;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid #6c5ce7;
  font-weight: 500;
  white-space: nowrap;
}

.card-item {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.card-link-full {
  position: absolute;
  inset: 0;
  z-index: 10;
  text-indent: -9999px;
}

.card-item > *:not(.card-link-full) {
  position: relative;
  z-index: 1;
}

.single-post img.wp-post-image {
  width: 160px;
  height: auto;
  float: left;
  margin: 0 1.5rem 1rem 0;
  border-radius: 6px;
  margin-top: 2.5rem;
  /* ajuste verticalement */
  animation: slideFadeZoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.single-post h1.wp-block-post-title {
  margin-top: 0;
  overflow: hidden;
  display: block;
  animation: slideFadeZoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
  margin-left: -3rem;
}

.marge-separatrice-colonne-pros-cons-f0f8ff > .wp-block-column:first-child {
  border-right: 1px solid #1e90ff;
  padding-right: 0.3rem;
}

.columnnumber2forbadgeicondfghjk {
  display: flex;
  justify-content: flex-end;
  /* Align content to the right */
}

.columnnumber2forbadgeicondfghjk {
  margin: 0;
  /* Remove any auto margins */
}

.opportunity-badge {
  justify-content: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: #f4f2fe;
  /* Soft violet background */
  border: 1px solid #6c5ce7;
  /* Main violet border */
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 14px;
  color: #6c5ce7;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.opportunity-badge .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.opportunity-badge .icon i {
  color: #6c5ce7;
  font-size: 1.1em;
}

.linkedup-avatar-link img {
  position: relative;
  top: -8px;
  /* Adjust this value to raise it more or less */
}

.linkedup-avatar-link img:hover {
  box-shadow: 0 0 0 3px #6c5ce7;
  transition: box-shadow 0.2s ease;
}

.login-btn,
.logout-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 10px;
  border: 1px solid #1e90ff;
  background-color: white;
  color: #1e90ff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.login-btn:hover,
.logout-btn:hover {
  background-color: #1e90ff;
  color: white;
}

.sidebar-cell {
  border-left: 1px solid #D9D9D9;
  /* Ligne fine argentée */
  padding-left: 20px;
  /* Un peu d’espace après la ligne */
}

.is-layout-constrained {
  max-width: none !important;
  width: 100% !important;
}

.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.wp-block-group {
  padding-left: 25px;
  padding-right: 25px;
}

/* Style pour chaque article */

.custom-post-loop article {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background-color: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding-left: 5px;
  padding-right: 3px;
}

/* Effet de survol pour les articles */

.custom-post-loop article:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Changer la couleur du titre au survol */

.custom-post-loop article h2 a:hover {
  color: #6c5ce7;
}

/* Mettre une légère ombre portée pour mieux délimiter les articles */

.custom-post-loop article {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Appliquer un effet de dézoom sur la classe "outline5onhover" au survol */

.outline5onhover {
  transition: transform 0.3s ease;
  /* Transition fluide */
}

/* Effet au survol : dézoomer (réduire) */

.outline5onhover:hover {
  transform: scale(0.95);
  /* Réduit la taille à 95% */
}

.sidebar-cell {
  position: -webkit-sticky;
  /* Pour Safari */
  position: sticky;
  top: 30px;
  /* Ajuste en fonction de la hauteur de ton header */
  max-height: 100vh;
  /* Limite la hauteur au viewport */
  overflow-y: auto;
  /* Permet à la barre latérale de défiler indépendamment */
}

@keyframes slideFadeZoomIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

  60% {
    opacity: 0.6;
    transform: translateY(10px) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-on-load {
  animation: slideFadeZoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form input[type="submit"] {
  background-color: #6c5ce7;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 7px;
  cursor: pointer;
}

/* Ne touche pas aux marges externes du bloc */

.wp-block-group.offer-banner {
  /* Pas de reset complet ici */
}

/* Supprimer uniquement le gap entre les colonnes */

.wp-block-group.offer-banner .wp-block-columns {
  gap: 0 !important;
}

/* Supprimer padding/margin des colonnes pour que les éléments se touchent */

.wp-block-group.offer-banner .wp-block-column {
  padding: 0 !important;
  margin: 0 !important;
}

/* Image du logo : remplit sa colonne */

.wp-block-group.offer-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bande colorée (gauche) : remplit sa colonne */

.wp-block-group.offer-banner .left-band {
  width: 100%;
  height: 100%;
}

.wp-block-group.offer-banner .left-band {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

.offer-banner {
  position: relative;
  /* conteneur positionné */
}

.offer-banner .wp-block-column:nth-child(2) p {
  position: relative;
  /* position relative pour décalage */
  z-index: 10;
  /* devant la bannière */
  margin-top: -3rem;
  /* remonte le texte au-dessus de la bande */
  padding: 0 0.5rem;
  /* optionnel, un peu d’air */
  padding-left: 2rem;
}