/*        */

/* Bloc hashtag, insta id spotify */
.layout--twocol-bricks > .layout__region--second-above {
  padding-left: 10px;
  /* ou si tu veux un décalage relatif au flux : */
  /* margin-left: 10px; */
}

/* Descendre le champ Instagram */
.layout__region--second-above .field--name-field-insta-artiste {
  margin-top: 40px; /* ajuste la valeur selon tes besoins */
}

/* Réduire les espaces entre les trois champs */
.layout__region--second-above .field--name-field-insta-artiste,
.layout__region--second-above .field--name-field-hashtag,
.layout__region--second-above .field--name-field-id-spotify {
  margin-bottom: 3px; /* réduit l'espace entre chaque champ */
  line-height: 1.5;   /* optionnel : réduit aussi l'interligne interne */
}




.simple-liste {
	display: block; 
  border-radius: 10px 10px;
  border: 1px solid #e3e3e3;
  background: #f5f5f5;
  padding: 10px 30px 10px 20px;
  margin: 5px;
}
.simple-liste:hover { background: #eeeeee; }
.simple-liste a {   text-decoration: none;  color: inherit;  cursor: default; }



.more-link { padding: 10px; font-size: 2rem; }
.more-link::after {	content: " 👀"	;}
.voir_concert::before {	content: "👁 " ; }
.date_concert::before {	content: "𝄝 " ; }
.date_concert::Cashless {	content: "💳 " ; }
.calendrier::before {	content: "🗓️️ " ; }
.artiste::before {	content: "⭐ "  ; }
.profil_artiste::before {	content: "👤 "  ; }
.musique::before {	content: "🎶 "  ; }
.concert::before {	content: "🔗 " ; }
.locality::before {	content: "🧭 " ; }
.video::before {	content: "🎬 " ; }
.radio::before {	content: "📻 "  ; }
.hashtag::before {	content: "#️⃣ "  ; }
.fleche::before {	content: "➡️ "  ; }
time::before {	content: "🗓️ " ; }
.field--name-field-insta-artiste::before {	content: "🔗 "  ; }
.field--name-field-hashtag::before {	content: "#️⃣ "  ; }
.field--name-field-id-spotify::before {	content: "🎧 "  ; }








.field-content.artiste.capitalise,
#block-olivero-content > div > div > div > div.view-content > div > h4:nth-child(6) {
  margin-block-start: 1rem !important;
  margin-block-end: 0.5rem !important;
}

/* === RÉDUCTION ESPACES ENTRE BLOCS === */

.block {
  margin-block-start: 0rem !important;
  margin-block-end: 0.5rem !important;
}

.block__content {
  padding-block-start: 0rem !important;
  padding-block-end: 0.5rem !important;
}


/* 1. Règle GÉNÉRALE (s'applique d'abord au mobile) */

.view, 
.view-content {
  gap: 0.5rem !important; /* Espace très réduit pour mobile (8px) */
}

/* 2. Règle pour TABLETTES et DESKTOP (au-dessus de 700px) */
@media (min-width: 43.75rem) {
  .view, 
  .view-content {
    gap: 1rem !important; /* Un peu plus d'espace sur grand écran (16px) */
  }
}


/* Conteneur principal - On le rend plus flexible */
.tableau-container2c {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Augmenté pour Olivero */
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 7px;
  width: 100%; /* S'adapte à la région Drupal */
  max-width: 350px; /* Légèrement augmenté */
  margin: 0 auto;
  box-sizing: border-box;
}

/* Le lien ligne */
.tableau-row-link2c {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-decoration: none !important; /* Force Olivero à ne pas souligner */
  color: #333;
  transition: all 0.2s ease-in-out;
}

.tableau-row-link2c:hover {
  background-color: #f0f0f0;
  transform: translateX(4px); /* Petit effet sympa */
}

/* Colonnes */
.colonne-gauche2c {
  flex-shrink: 0;
}

.colonne-droite2c {
  flex-grow: 1;
  min-width: 0; /* CRUCIAL pour que l'ellipsis fonctionne en Flexbox */
}

/* Texte H5 corrigé */
.colonne-droite2c h5 {
  margin: 0;
  font-size: 1.1rem; /* Réduit car 1.5rem est trop gros pour 325px */
  font-weight: 600;
  line-height: 1.2;
  /* Option A : Couper avec points de suspension */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Option B : Si vous voulez que ça revienne à la ligne, supprimez les 3 lignes ci-dessus */
}

/* Compteur */
.compteur2c {
  width: 32px;
  height: 32px;
  background-color: #800000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}








/* Conteneur principal */
.tableau-container3c {
  display: flex;
  flex-direction: column;
  gap: var(--sp0-5, 0.5rem); /* Utilise les variables Olivero si dispo */
  padding: 0.5rem;
  background-color: #f5f5f5;
  border-radius: 7px;
  max-width: 512px;
  width: 100%;
  box-sizing: border-box;
}

/* Le lien qui englobe tout */
.tableau-row-link3c {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

/* La ligne (Le cœur du Flexbox) */
.tableau-row3c {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  min-height: 3rem;
}

/* Interaction au survol sur le lien parent */
.tableau-row-link3c:hover .tableau-row3c {
  background-color: #f0f0f0;
}

.tableau-row-link3c:hover .compteur3c {
  background-color: #000;
}

/* --- Colonnes --- */

.colonne-gauche3c {
  flex-shrink: 0;
}

.colonne-milieu3c {
  flex-grow: 1;
  min-width: 0; /* Empêche le texte de pousser les murs */
}

.colonne-droite3c {
  flex-shrink: 0;
  text-align: right;
  margin-left: 0.5rem;
}

/* --- Éléments de texte --- */

.compteur3c {
  width: 35px;
  height: 35px;
  background-color: #800000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
}

.colonne-milieu3c h3 {
  margin: 0;
  font-size: 1.25rem; /* Un peu plus petit pour éviter les collisions */
  font-weight: 500;
  color: #333;
  /* Protection contre les titres trop longs */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.colonne-droite3c p {
  margin: 0;
  font-size: 1.1rem;
  color: #666;
  font-weight: 600;
}

/* --- Mobile (Logique Olivero) --- */

@media (max-width: 43.75rem) {
  .tableau-row3c {
    gap: 0.75rem;
    padding: 0.5rem;
  }
  
  .colonne-milieu3c h3 {
    font-size: 1.1rem;
  }
  
  .colonne-droite3c p {
    font-size: 0.9rem;
  }
  
  .compteur3c {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}



