/* CHROIX Brand Component - Allineamento Nativo Fuso Zero-Displacement */
.chroix-brand-harmonized {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  vertical-align: middle !important;
  text-decoration: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
  position: relative !important;
}

/* Contenitore relativo per il logo C: e la gestione dei layer sovrapposti */
.c-logo-box {
  position: relative !important;
  display: inline-block !important;
  height: 14.5px !important;
  width: 19.5px !important;
  vertical-align: middle !important;
}

/* Tracciato vettoriale di contorno (stroke) del glifo C: */
.c-logo-stroke {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  display: block !important;
  opacity: 0.35 !important;
  transition: opacity 0.2s ease !important;
}

/* Wrapper di clipping/maschera per l animazione di riempimento a inchiostro del glifo C: */
.c-logo-fill-wrapper {
  display: none !important;
}

/* Layer superiore per la transizione in dissolvenza incrociata tra lo stato neutro e attivo (+) */
.c-cross-fade-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
}

.c-cross-fade-layer img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  display: block !important;
}

.chroix-brand-harmonized:hover .c-cross-fade-layer {
  opacity: 1 !important;
}

.chroix-brand-harmonized:hover .c-logo-stroke {
  opacity: 0 !important;
}

/* Box contenitore tipografico per la componente testuale ROIX */
.roix-text-box {
  position: relative !important;
  display: inline-block !important;
  line-height: 1 !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  letter-spacing: 0.03em !important;
}

/* Livello tipografico di base del testo ROIX visibile nello stato inattivo */
.roix-bg {
  display: inline-block !important;
  line-height: 1 !important;
  -webkit-text-fill-color: transparent !important;
  transition: opacity 0.2s ease !important;
}

html:not(.dark) .roix-bg {
  color: #111111 !important;
  -webkit-text-stroke: 0.8px #111111 !important;
  opacity: 0.45 !important;
}

html.dark .roix-bg {
  color: #fafaf9 !important;
  -webkit-text-stroke: 0.8px #fafaf9 !important;
  opacity: 0.45 !important;
}

/* Maschera di transizione liquida per il riempimento dinamico del testo ROIX */
.roix-fill-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
}

/* Testo ROIX vettoriale attivo renderizzato all interno del wrapper di riempimento */
.roix-fill-text {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html:not(.dark) .roix-fill-text {
  color: #111111 !important;
}

html.dark .roix-fill-text {
  color: #fafaf9 !important;
}

.chroix-brand-harmonized:hover .roix-fill-wrapper {
  opacity: 1 !important;
}

.chroix-brand-harmonized:hover .roix-bg {
  opacity: 0 !important;
}
/* Rimozione focus ring blu da elementi focalizzati programmaticamente dal router SPA */
h1:focus,
h1:focus-visible,
[tabindex="-1"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Stile Divisori Schedario Archivio (Garantito a livello globale) */
.index-tab-bar {
    display: flex !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 2px !important;
    padding: 12px 6px 0 6px !important;
    position: relative !important;
    z-index: 15 !important;
}
.index-tab-bar::-webkit-scrollbar {
    display: none !important;
}
.index-tab-divider {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    font-family: 'Lorenzo Sans', sans-serif !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
    border: 2px solid currentColor !important;
    border-bottom: none !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    margin-bottom: -2px !important;
    position: relative !important;
}
.index-tab-divider:not(.active) {
    opacity: 0.55 !important;
    background: rgba(140, 140, 140, 0.12) !important;
    transform: translateY(0) !important;
}
.index-tab-divider:not(.active):hover {
    opacity: 0.95 !important;
    transform: translateY(-2px) !important;
    background: rgba(140, 140, 140, 0.22) !important;
}
.index-tab-divider.active {
    opacity: 1 !important;
    transform: translateY(-4px) !important;
    z-index: 25 !important;
    font-weight: 700 !important;
}
html:not(.dark) .index-tab-divider.active {
    background-color: #f9f8f6 !important;
    border-color: #111111 !important;
    color: #111111 !important;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08) !important;
}
html.dark .index-tab-divider.active {
    background-color: #111111 !important;
    border-color: #f9f8f6 !important;
    color: #f9f8f6 !important;
    box-shadow: 0 -4px 10px rgba(255, 255, 255, 0.08) !important;
}

/* Adattamento schede a 4 immagini su singola riga orizzontale */
@media (min-width: 900px) {
    .panel-4-cards .zoomable-img {
        width: 215px !important;
        max-width: 218px !important;
        flex: 0 0 215px !important;
    }
}

/* ==========================================================================
   SIMULAZIONE E SUPPORTO DISPOSITIVI MOBILE & TABLET (view_mode.js & native)
   ========================================================================== */
body.mode-mobile,
body.mode-tablet {
    overflow-x: hidden !important;
}

/* Overrides Mobile */
body.mode-mobile {
    font-size: 0.875rem !important;
    line-height: 1.35rem !important;
}
body.mode-mobile main {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-bottom: 4rem !important;
}
body.mode-mobile .chapter-box-stage,
body.mode-mobile .raccolta-box-stage {
    padding: 1rem 0.75rem !important;
    border-radius: 16px !important;
    overflow-x: hidden !important;
}

/* Contain fixed controls inside the simulated device frames so they never spill across the desktop */
body.mode-mobile #global-audio-controls,
body.mode-tablet #global-audio-controls {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    z-index: 50 !important;
}
body.mode-mobile #global-header-controls,
body.mode-tablet #global-header-controls {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 50 !important;
}
body.mode-mobile #sticky-site-footer,
body.mode-tablet #sticky-site-footer {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 40 !important;
    border-bottom-left-radius: inherit !important;
    border-bottom-right-radius: inherit !important;
}

/* Griglie sempre a colonna singola su mobile */
body.mode-mobile .grid,
body.mode-mobile [class*="grid-cols-"],
body.mode-mobile .audiobook-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
}

/* Larghezze piene SOLO per layout a frazioni su mobile (non le icone/bottoni) */
body.mode-mobile [class*="w-1/2"],
body.mode-mobile [class*="w-1/3"],
body.mode-mobile [class*="w-2/3"],
body.mode-mobile [class*="w-1/4"],
body.mode-mobile [class*="w-3/4"],
body.mode-mobile .w-full.md\:w-1\/2,
body.mode-mobile .md\:w-1\/2,
body.mode-mobile .md\:w-1\/3,
body.mode-mobile .md\:w-2\/3 {
    width: 100% !important;
    max-width: 100% !important;
}

/* Proteggi bottoni navigazione stage e testata */
body.mode-mobile #btn-prev-raccolta,
body.mode-mobile #btn-next-raccolta,
body.mode-mobile #btn-prev-chapter,
body.mode-mobile #btn-next-chapter {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    max-width: 2rem !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.mode-mobile .stage-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
}

/* Flex row che devono incolonnarsi su mobile */
body.mode-mobile [class*="flex-row"],
body.mode-mobile .sm\:flex-row,
body.mode-mobile .md\:flex-row,
body.mode-mobile .lg\:flex-row {
    flex-direction: column !important;
}

/* Tipografia proporzionata su mobile */
body.mode-mobile h1 {
    font-size: 1.85rem !important;
    line-height: 2.15rem !important;
    margin-top: 1.5rem !important;
}
body.mode-mobile .md\:text-7xl,
body.mode-mobile .lg\:text-6xl,
body.mode-mobile .md\:text-5xl,
body.mode-mobile .md\:text-6xl {
    font-size: 1.85rem !important;
    line-height: 2.15rem !important;
}
body.mode-mobile #raccolta-active-title,
body.mode-mobile #stage-active-title {
    font-size: 1.15rem !important;
    line-height: 1.4rem !important;
}
body.mode-mobile .index-tab-bar {
    padding: 8px 4px 0 4px !important;
    gap: 4px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}
body.mode-mobile .index-tab-divider {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

/* Card podcast ed elementi multimediali */
body.mode-mobile .podcast-card-frame,
body.mode-mobile .podcast-box,
body.mode-mobile .docs-download-card,
body.mode-mobile .docs-card-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px !important;
}
body.mode-mobile .podcast-card-frame .aspect-\[390\/564\] {
    margin: 0 auto 1.25rem auto !important;
    width: 140px !important;
    max-width: 100% !important;
}
body.mode-mobile .podcast-card-frame audio,
body.mode-mobile .podcast-card-frame iframe {
    width: 100% !important;
    max-width: 100% !important;
}

/* Prevenzione overflow badge */
body.mode-mobile .inline-flex,
body.mode-mobile span[class*="rounded"] {
    max-width: 100% !important;
}

/* Regole native per schermi mobile reali (< 640px) */
@media (max-width: 640px) {
    .chapter-box-stage,
    .raccolta-box-stage {
        padding: 1rem 0.75rem !important;
        border-radius: 16px !important;
    }
    .index-tab-bar {
        padding: 8px 4px 0 4px !important;
        gap: 4px !important;
    }
    .index-tab-divider {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    .docs-card-item, .docs-card-flipbook, .docs-download-card, .podcast-card-frame {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    h1 {
        font-size: 1.85rem !important;
        line-height: 2.15rem !important;
    }
}

/* Overrides Tablet */
body.mode-tablet [class*="lg:grid-cols-3"],
body.mode-tablet .lg\:grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
}

/* Logo animato nel footer (APNG one-shot: dalla forma agganciata al logo) */
.c-logo-box.c-logo-anim {
  height: 15px !important;
  width: auto !important;
  vertical-align: middle !important;
  margin-right: 2px !important;
}

.c-logo-anim img {
  display: block !important;
  height: 100% !important;
  width: auto !important;
}

/* --- Footer: ROIX pieno (bianco su scuro, nero su chiaro) --- */
html:not(.dark) .roix-bg,
body:not(.dark) .roix-bg {
  -webkit-text-fill-color: #111111 !important;
  color: #111111 !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
}

html.dark .roix-bg,
body.dark .roix-bg {
  -webkit-text-fill-color: #fafaf9 !important;
  color: #fafaf9 !important;
  -webkit-text-stroke: 0 !important;
  opacity: 1 !important;
}

/* --- Menu sezioni: si apre verso destra, allineato ai comandi --- */
#site-menu { position: static !important; }
#site-menu-panel { right: 0 !important; }

/* --- La mappa Leaflet non deve coprire menu e comandi --- */
.leaflet-container { position: relative !important; z-index: 0 !important; }

/* --- Mobile: i pulsanti dell'hero spariscono per guadagnare spazio verticale --- */
@media (max-width: 768px) {
  #hero-quick-links { display: none !important; }
}
body.mode-mobile #hero-quick-links { display: none !important; }

/* --- Allineamento ottico del marchio: la C alta come le maiuscole di ROIX --- */
.chroix-brand-harmonized .c-logo-box,
.chroix-brand-harmonized .c-logo-box.c-logo-anim {
  height: 15px !important;
  width: auto !important;
  margin-right: 2px !important;
  transform: translateY(1.5px) !important;
}

.chroix-brand-harmonized .c-logo-box img,
.chroix-brand-harmonized .c-logo-box svg,
.chroix-brand-harmonized .c-logo-fill-wrapper img {
  height: 15px !important;
  width: auto !important;
  display: block !important;
}

/* --- Variante 6: onda liquida su ROIX, sincronizzata col ciclo del marchio ---
   Linea d'acqua a più punti (tecnica del titolo di ink.chiostri): il riempimento
   sale con l'espansione, ondeggia nella sosta, scende con il rientro. La
   partenza è agganciata al load dell'immagine (sincronizzaMarchi in components.js). */
@keyframes roixWave {
  0.000% { clip-path: polygon(0% 100.00%, 16% 100.00%, 33% 100.00%, 54% 100.00%, 70% 100.00%, 84% 100.00%, 100% 100.00%, 100% 100%, 0% 100%); }
  2.500% { clip-path: polygon(0% 100.00%, 16% 100.00%, 33% 100.00%, 54% 100.00%, 70% 100.00%, 84% 100.00%, 100% 100.00%, 100% 100%, 0% 100%); }
  5.000% { clip-path: polygon(0% 100.00%, 16% 100.00%, 33% 100.00%, 54% 100.00%, 70% 100.00%, 84% 100.00%, 100% 100.00%, 100% 100%, 0% 100%); }
  7.500% { clip-path: polygon(0% 100.00%, 16% 100.00%, 33% 100.00%, 54% 100.00%, 70% 100.00%, 84% 100.00%, 100% 100.00%, 100% 100%, 0% 100%); }
  10.000% { clip-path: polygon(0% 99.82%, 16% 99.81%, 33% 99.78%, 54% 99.77%, 70% 99.79%, 84% 99.81%, 100% 99.82%, 100% 100%, 0% 100%); }
  12.500% { clip-path: polygon(0% 98.51%, 16% 98.56%, 33% 98.38%, 54% 98.16%, 70% 98.24%, 84% 98.43%, 100% 98.57%, 100% 100%, 0% 100%); }
  15.000% { clip-path: polygon(0% 95.20%, 16% 95.64%, 33% 95.34%, 54% 94.51%, 70% 94.43%, 84% 94.90%, 100% 95.52%, 100% 100%, 0% 100%); }
  17.500% { clip-path: polygon(0% 89.41%, 16% 90.69%, 33% 90.74%, 54% 89.06%, 70% 88.30%, 84% 88.84%, 100% 90.22%, 100% 100%, 0% 100%); }
  20.000% { clip-path: polygon(0% 81.23%, 16% 83.56%, 33% 84.76%, 54% 82.62%, 70% 80.59%, 84% 80.55%, 100% 82.54%, 100% 100%, 0% 100%); }
  22.500% { clip-path: polygon(0% 71.53%, 16% 74.45%, 33% 77.44%, 54% 76.02%, 70% 72.60%, 84% 71.18%, 100% 72.95%, 100% 100%, 0% 100%); }
  25.000% { clip-path: polygon(0% 61.81%, 16% 64.19%, 33% 68.93%, 54% 69.70%, 70% 65.58%, 84% 62.29%, 100% 62.63%, 100% 100%, 0% 100%); }
  27.500% { clip-path: polygon(0% 53.76%, 16% 54.22%, 33% 59.72%, 54% 63.72%, 70% 60.26%, 84% 55.39%, 100% 53.25%, 100% 100%, 0% 100%); }
  30.000% { clip-path: polygon(0% 48.67%, 16% 46.24%, 33% 50.84%, 54% 57.95%, 70% 56.67%, 84% 51.33%, 100% 46.46%, 100% 100%, 0% 100%); }
  32.500% { clip-path: polygon(0% 46.89%, 16% 41.61%, 33% 43.64%, 54% 52.43%, 70% 54.29%, 84% 50.02%, 100% 43.24%, 100% 100%, 0% 100%); }
  35.000% { clip-path: polygon(0% 47.79%, 16% 40.74%, 33% 39.28%, 54% 47.54%, 70% 52.45%, 84% 50.58%, 100% 43.52%, 100% 100%, 0% 100%); }
  37.500% { clip-path: polygon(0% 49.96%, 16% 42.81%, 33% 38.04%, 54% 43.66%, 70% 50.55%, 84% 51.68%, 100% 46.11%, 100% 100%, 0% 100%); }
  40.000% { clip-path: polygon(0% 51.66%, 16% 46.05%, 33% 39.02%, 54% 40.67%, 70% 47.98%, 84% 51.91%, 100% 49.11%, 100% 100%, 0% 100%); }
  42.500% { clip-path: polygon(0% 51.91%, 16% 49.08%, 33% 41.32%, 54% 38.65%, 70% 44.78%, 84% 50.64%, 100% 51.24%, 100% 100%, 0% 100%); }
  45.000% { clip-path: polygon(0% 50.66%, 16% 51.22%, 33% 44.43%, 54% 38.00%, 70% 41.63%, 84% 48.14%, 100% 52.00%, 100% 100%, 0% 100%); }
  47.500% { clip-path: polygon(0% 48.18%, 16% 52.00%, 33% 47.66%, 54% 38.89%, 70% 39.21%, 84% 44.96%, 100% 51.24%, 100% 100%, 0% 100%); }
  50.000% { clip-path: polygon(0% 45.00%, 16% 51.26%, 33% 50.31%, 54% 41.10%, 70% 38.06%, 84% 41.78%, 100% 49.11%, 100% 100%, 0% 100%); }
  52.500% { clip-path: polygon(0% 41.82%, 16% 49.15%, 33% 51.80%, 54% 44.17%, 70% 38.41%, 84% 39.31%, 100% 46.10%, 100% 100%, 0% 100%); }
  55.000% { clip-path: polygon(0% 39.34%, 16% 46.14%, 33% 51.81%, 54% 47.41%, 70% 40.21%, 84% 38.08%, 100% 42.84%, 100% 100%, 0% 100%); }
  57.500% { clip-path: polygon(0% 38.09%, 16% 42.88%, 33% 50.34%, 54% 50.13%, 70% 43.05%, 84% 38.36%, 100% 40.05%, 100% 100%, 0% 100%); }
  60.000% { clip-path: polygon(0% 38.34%, 16% 40.08%, 33% 47.70%, 54% 51.73%, 70% 46.31%, 84% 40.08%, 100% 38.34%, 100% 100%, 0% 100%); }
  62.500% { clip-path: polygon(0% 40.05%, 16% 38.36%, 33% 44.47%, 54% 51.87%, 70% 49.29%, 84% 42.88%, 100% 38.09%, 100% 100%, 0% 100%); }
  65.000% { clip-path: polygon(0% 42.84%, 16% 38.08%, 33% 41.36%, 54% 50.50%, 70% 51.33%, 84% 46.14%, 100% 39.34%, 100% 100%, 0% 100%); }
  67.500% { clip-path: polygon(0% 46.10%, 16% 39.31%, 33% 39.04%, 54% 47.94%, 70% 52.00%, 84% 49.15%, 100% 41.82%, 100% 100%, 0% 100%); }
  70.000% { clip-path: polygon(0% 49.12%, 16% 41.79%, 33% 38.03%, 54% 44.74%, 70% 51.14%, 84% 51.26%, 100% 45.01%, 100% 100%, 0% 100%); }
  72.500% { clip-path: polygon(0% 51.73%, 16% 45.52%, 33% 39.15%, 54% 42.18%, 70% 49.45%, 84% 52.49%, 100% 48.70%, 100% 100%, 0% 100%); }
  75.000% { clip-path: polygon(0% 54.34%, 16% 50.67%, 33% 43.34%, 54% 42.15%, 70% 48.52%, 84% 53.60%, 100% 53.07%, 100% 100%, 0% 100%); }
  77.500% { clip-path: polygon(0% 57.30%, 16% 56.77%, 33% 50.39%, 54% 45.75%, 70% 49.76%, 84% 55.41%, 100% 57.89%, 100% 100%, 0% 100%); }
  80.000% { clip-path: polygon(0% 61.08%, 16% 63.22%, 33% 59.17%, 54% 52.91%, 70% 54.03%, 84% 58.74%, 100% 63.03%, 100% 100%, 0% 100%); }
  82.500% { clip-path: polygon(0% 66.19%, 16% 69.68%, 33% 68.34%, 54% 62.51%, 70% 61.28%, 84% 64.12%, 100% 68.60%, 100% 100%, 0% 100%); }
  85.000% { clip-path: polygon(0% 72.76%, 16% 76.16%, 33% 76.87%, 54% 72.88%, 70% 70.51%, 84% 71.41%, 100% 74.82%, 100% 100%, 0% 100%); }
  87.500% { clip-path: polygon(0% 80.32%, 16% 82.67%, 33% 84.24%, 54% 82.39%, 70% 80.13%, 84% 79.75%, 100% 81.58%, 100% 100%, 0% 100%); }
  90.000% { clip-path: polygon(0% 87.81%, 16% 88.92%, 33% 90.31%, 54% 89.98%, 70% 88.54%, 84% 87.76%, 100% 88.31%, 100% 100%, 0% 100%); }
  92.500% { clip-path: polygon(0% 93.99%, 16% 94.27%, 33% 95.02%, 54% 95.28%, 70% 94.68%, 84% 94.12%, 100% 94.06%, 100% 100%, 0% 100%); }
  95.000% { clip-path: polygon(0% 97.99%, 16% 97.97%, 33% 98.20%, 54% 98.41%, 70% 98.29%, 84% 98.07%, 100% 97.95%, 100% 100%, 0% 100%); }
  97.500% { clip-path: polygon(0% 99.72%, 16% 99.71%, 33% 99.73%, 54% 99.77%, 70% 99.77%, 84% 99.74%, 100% 99.71%, 100% 100%, 0% 100%); }
  100.000% { clip-path: polygon(0% 100.00%, 16% 100.00%, 33% 100.00%, 54% 100.00%, 70% 100.00%, 84% 100.00%, 100% 100.00%, 100% 100%, 0% 100%); }
}

.chroix-brand-harmonized .roix-fill-wrapper {
  opacity: 1 !important;
  height: 100% !important;
  clip-path: polygon(0% 100%, 16% 100%, 33% 100%, 54% 100%, 70% 100%, 84% 100%, 100% 100%, 100% 100%, 0% 100%);
  animation: roixWave 3.9s linear infinite;
  animation-play-state: paused;
}

.chroix-brand-harmonized.brand-in-sync .roix-fill-wrapper {
  animation-play-state: running;
}

/* al passaggio del mouse si riempie tutto, come prima */
.chroix-brand-harmonized:hover .roix-fill-wrapper {
  animation: none !important;
  clip-path: none !important;
  opacity: 1 !important;
}

.chroix-brand-harmonized:hover .roix-bg { opacity: 0 !important; }

/* ROIX di base a contorno, così l'onda si legge */
html:not(.dark) .chroix-brand-harmonized .roix-bg {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-text-stroke: 0.5px #111111 !important;
  opacity: 0.4 !important;
}

html.dark .chroix-brand-harmonized .roix-bg {
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  -webkit-text-stroke: 0.5px #fafaf9 !important;
  opacity: 0.4 !important;
}

@media (prefers-reduced-motion: reduce) {
  .chroix-brand-harmonized .roix-fill-wrapper { animation: none !important; }
}
