/*
 * MontiniWeb — sfumatura del brand sulle parole in grassetto.
 * Nei titoli (H1–H6) e nei testi introduttivi, le parole in grassetto (strong / b)
 * ricevono la sfumatura: basta selezionarle nell'editor e premere "Grassetto".
 * Il file è caricato sia nel sito sia nell'editor di WordPress.
 */
:root {
  --mw-grad-light: linear-gradient(100deg, #0a6fa8 0%, #079be5 24%, #38b5da 44%, #5b7cf0 66%, #079be5 84%, #0a6fa8 100%);
  --mw-grad-dark: linear-gradient(100deg, #6dcaff 0%, #98dcff 22%, #079be5 46%, #8aa4ff 70%, #6dcaff 100%);
}
:is(h1, h2, h3, h4, h5, h6) :is(strong, b) { font-weight: inherit; }
:is(h1, h2, h3, h4, h5, h6, .service-lead, .hero-description, .page-lead) :is(strong, b) { color: #079be5; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  :is(h1, h2, h3, h4, h5, h6, .service-lead, .hero-description, .page-lead) :is(strong, b) {
    background-image: var(--mw-grad-light);
    background-size: 260% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: mw-bold-shine 9s ease-in-out infinite alternate;
  }
  /* su sfondo scuro: tinte più luminose */
  :is(.hero, .service-hero, .quote-hero, .entry-heading, .care, .is-dark) :is(h1, h2, h3, h4, h5, h6, .service-lead, .hero-description, .page-lead) :is(strong, b) {
    background-image: var(--mw-grad-dark);
  }
}
@keyframes mw-bold-shine { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  :is(h1, h2, h3, h4, h5, h6, .service-lead, .hero-description, .page-lead) :is(strong, b) { animation: none; }
}
