:root {
  --rd-fix-readable-blue: #0b2f4a;
  --rd-fix-readable-white: #ffffff;
  --rd-fix-button: #2f86b5;
  --rd-fix-button-hover: #246f99;
}

/* ACCUEIL - lisibilité forte en mode clair par défaut */
body.rd-home-page,
html[data-rd-effective-theme="light"] body.rd-home-page,
body[data-rd-effective-theme="light"].rd-home-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.62), transparent 36%),
    linear-gradient(180deg, #d8effc 0%, #c7e7f7 52%, #b8def2 100%) !important;
  color: #0f2436 !important;
}

body.rd-home-page .rd-home-today-card,
body.rd-home-page .rd-home-today,
body.rd-home-page [class*="today-card"],
body.rd-home-page [class*="home-today"] {
  color: #0f2436 !important;
}

body.rd-home-page .rd-home-today-title,
body.rd-home-page .rd-home-today-card h1,
body.rd-home-page .rd-home-today-card h2,
body.rd-home-page .rd-home-today-card h3,
body.rd-home-page [class*="today"] h1,
body.rd-home-page [class*="today"] h2 {
  color: #061a2c !important;
  -webkit-text-fill-color: #061a2c !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.rd-home-page .rd-home-today-summary,
body.rd-home-page .rd-home-today-card p,
body.rd-home-page [class*="today"] p {
  color: #173a52 !important;
  -webkit-text-fill-color: #173a52 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

/* Si l'utilisateur choisit ensuite le sombre, le texte reste lisible */
html[data-rd-effective-theme="dark"] body.rd-home-page .rd-home-today-title,
body[data-rd-effective-theme="dark"].rd-home-page .rd-home-today-title,
html[data-rd-effective-theme="dark"] body.rd-home-page .rd-home-today-card h1,
html[data-rd-effective-theme="dark"] body.rd-home-page .rd-home-today-card h2,
html[data-rd-effective-theme="dark"] body.rd-home-page [class*="today"] h1,
html[data-rd-effective-theme="dark"] body.rd-home-page [class*="today"] h2 {
  color: #f8fbff !important;
  -webkit-text-fill-color: #f8fbff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.38) !important;
}

html[data-rd-effective-theme="dark"] body.rd-home-page .rd-home-today-summary,
body[data-rd-effective-theme="dark"].rd-home-page .rd-home-today-summary,
html[data-rd-effective-theme="dark"] body.rd-home-page .rd-home-today-card p,
html[data-rd-effective-theme="dark"] body.rd-home-page [class*="today"] p {
  color: #e6f4ff !important;
  -webkit-text-fill-color: #e6f4ff !important;
  opacity: 1 !important;
}

/* Boutons Mostar / Atelier : lisibilité maximale */
.rd-meditation-mostar-atelier .rd-bracelet-actions a,
.rd-meditation-mostar-atelier .rd-bracelet-mini-card a,
.rd-bracelets-section .rd-bracelet-actions a,
.rd-bracelets-section .rd-bracelet-mini-card a,
.rd-bracelet-interest,
.rd-bracelet-secondary {
  background: var(--rd-fix-button) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 12px 28px rgba(20,75,110,.22) !important;
}

.rd-meditation-mostar-atelier .rd-bracelet-actions a:hover,
.rd-meditation-mostar-atelier .rd-bracelet-mini-card a:hover,
.rd-bracelets-section .rd-bracelet-actions a:hover,
.rd-bracelets-section .rd-bracelet-mini-card a:hover,
.rd-bracelet-interest:hover,
.rd-bracelet-secondary:hover {
  background: var(--rd-fix-button-hover) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-rd-effective-theme="dark"] .rd-meditation-mostar-atelier .rd-bracelet-actions a,
body[data-rd-effective-theme="dark"] .rd-meditation-mostar-atelier .rd-bracelet-actions a,
html[data-rd-effective-theme="dark"] .rd-meditation-mostar-atelier .rd-bracelet-mini-card a,
body[data-rd-effective-theme="dark"] .rd-meditation-mostar-atelier .rd-bracelet-mini-card a {
  background: #43a4d8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.rd-meditation-mostar-atelier .rd-bracelet-actions {
  gap: 12px !important;
}

.rd-meditation-mostar-atelier .rd-bracelet-actions a {
  min-height: 48px !important;
  padding: 13px 18px !important;
  line-height: 1.2 !important;
}

@media (max-width: 860px) {
  .rd-meditation-mostar-atelier .rd-bracelet-actions a {
    width: 100% !important;
  }
}