/* --- SUPPRESSION DU FOND BLANC DANS LES ARTICLES (VUE COMPONENT) --- */

/* Cible spécifiquement les pages d'articles en mode 'tmpl=component' */
body.com_content.view-article.tmpl-component {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Supprime le fond blanc des conteneurs principaux de l'article */
.item-page, 
.article-info, 
.contentpane, 
.entry-content, 
.mainbody, 
#content, 
.content-inner, 
.blog-item, 
.itemBody {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Supprime les marges blanches autour des modules si présents */
.mod-article-newsflash, 
.sidebar, 
aside {
  display: none !important; /* Cache les colonnes latérales inutiles */
}



/* --- FOND DES BOUTONS EN COULEURS PASTEL --- */

/* Conteneur des boutons transparent */
.buttons {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* Style de base pour tous les boutons : texte plus foncé pour le contraste */
.buttons button {
  color: #444 !important; /* Gris foncé pour le texte */
  border: 1px solid rgba(255, 255, 255, 0.6) !important; /* Bordure subtile */
  font-weight: bold !important;
  transition: transform 0.2s, opacity 0.2s !important;
  opacity: 0.9; /* Légère transparence globale */
}

.buttons button:hover {
  transform: translateY(-2px) !important;
  opacity: 1 !important; /* Pleine opacité au survol */
}

/* --- APPLICATION DES COULEURS PASTEL PAR TYPE --- */

/* Bouton "?" (Primary - Bleu pastel) */
.buttons button.btn-outline-primary,
.buttons button[title*="Queremos"] {
  background-color: rgba(173, 216, 230, 0.8) !important; /* Light Blue */
}

/* Boutons 2026, 2025, 2016, 2013 (Success - Vert pastel) */
.buttons button.btn-outline-success {
  background-color: rgba(144, 238, 144, 0.8) !important; /* Light Green */
}

/* Boutons 2024, 2017, 2012 (Warning - Jaune pastel) */
.buttons button.btn-outline-warning {
  background-color: rgba(255, 255, 224, 0.9) !important; /* Light Yellow */
  color: #555 !important; /* Texte un peu plus foncé pour le jaune */
}

/* Boutons 2023, 2018 (Danger - Rouge pastel) */
.buttons button.btn-outline-danger {
  background-color: rgba(255, 182, 193, 0.8) !important; /* Light Red/Pink */
}

/* Boutons 2022, 2019, 2010 (Info - Cyan pastel) */
.buttons button.btn-outline-info {
  background-color: rgba(224, 255, 255, 0.8) !important; /* Light Cyan */
}

/* Boutons 2021, 2020, 2014 (Dark - Gris pastel) */
.buttons button.btn-outline-dark {
  background-color: rgba(211, 211, 211, 0.8) !important; /* Light Gray */
}

/* --- TRANSPARENCE DE L'IFRAME (RAPPEL) --- */
iframe#articleFrame {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.main-wrapper {
  background: transparent !important;
}