:root {
  --ins-red-vivo: #e3000b;
  --ins-red-pulsante: var(--ins-red-vivo);
  --ins-red-pulsante-hover: var(--ins-red-vivo);
}

/* Variabili dei componenti. */
html body :is(.ins-feste, .ins-songs) {
  --ins-red: var(--ins-red-vivo) !important;
}

html body #ins-audioteca-visual {
  --av-red: var(--ins-red-pulsante);
}

html body #ins-cineteca {
  --cv-red: var(--ins-red-pulsante);
}

html body .ib-account {
  --ib-red: var(--ins-red-pulsante);
}

html body .barra-guide-root.wp-block-group {
  --barra-red: var(--ins-red-pulsante);
  --barra-link: var(--ins-red-vivo);
}

/* Titoli, etichette e segni grafici. */
html body .ins-title-compact p.ins-title-kicker,
html body p.ins-title-kicker,
html#kubio body .entry-content .ins-title-compact .ins-title-kicker,
html body .entry-content .ins-title-compact .ins-title-kicker,
html body .entry-content .ins-title-kicker,
html body .entry-content :is(.ins-eyebrow, .ins-date, .ibnov-section-label),
html#kubio body.ins-feste-pagina .ins-feste .ins-timeline :is(.ins-date, .ins-event-date, .ins-eyebrow),
html#kubio body .entry-content .ins-feste .ins-date-card > p:first-child,
html body.home :is(#heading-5, #heading-6, #heading-7),
html body.page-id-38 .entry-content p[class*="style-ins-storia-bozza-"][class*="-text"]:is(.style-local-28-text, .style-local-38-text, .style-local-45-text, .style-local-56-text) {
  color: var(--ins-red-vivo) !important;
}

html#kubio body .ins-title-compact .ins-title-year,
html#kubio body .ins-title-compact.ins-title-no-year h1.ins-title-line,
html#kubio body #ins-audioteca-visual .av-year,
html#kubio body .ins-feste .ins-date-card {
  border-left-color: var(--ins-red-vivo) !important;
}

html#kubio body .ib-feature-page .ib-mast,
html#kubio body.page-id-2323 #momenti-importanti .wp-block-kubio-row:last-child .wp-block-kubio-column__inner {
  border-top-color: var(--ins-red-vivo) !important;
}

html body #ins-cineteca .cv-city[aria-pressed="true"] {
  border-bottom-color: var(--ins-red-vivo);
}

html body .ins-home-new-header .ins-header-menu a::after,
html body .ib40-anniversary .ib40-rule,
html body #appena-aggiunto h2::before,
html body #ins-audioteca-visual .av-lead::before,
html body #ins-cineteca .cv-mast .cv-tagline::before,
html body .ib-account .ib-account-title::before {
  background-color: var(--ins-red-vivo);
}

html body #ins-audioteca-visual .av-track .wp-block-audio audio {
  accent-color: var(--ins-red-vivo);
}

/* Pulsanti pieni e stati attivi. */
html body a.wp-block-kubio-button__link,
html body .entry-content .wp-block-kubio-button__link,
html body .entry-content .wp-block-button.ins-primary > .wp-block-button__link,
html body .entry-content .wp-block-button.ib40-primary > .wp-block-button__link,
html#kubio body.home :is(#portfolio, #portfolio-1) a[class*="button__link"],
html body .ins-home-new-header .ib-header-account-register,
html body .ib-account .ib-account-actions .ib-account-primary .wp-block-button__link,
html body:is(.blog, .single-post) .wp-block-kubio-search-form__button,
html body .ins-site-search-line button,
html body #ins-cineteca :is(.cv-watch, .cv-consent button, .cv-order-button.is-active, .cv-order-button[aria-pressed="true"]),
html body #ins-audioteca-visual .av-chip[aria-pressed="true"] {
  background-color: var(--ins-red-pulsante) !important;
  border-color: var(--ins-red-pulsante) !important;
  color: #fff !important;
}

html#kubio body:is(.page-id-40, .page-id-91, .page-id-101, .page-id-112, .page-id-114, .page-id-116, .page-id-118, .page-id-1647, .page-id-1654) .entry-content
  :is(a.wp-block-kubio-button__link[href]:not([href=""]):not([href="#"]), a.ins-archive-pending[href], a.ins-archive-open[href], .ins-index-card .wp-block-button__link[href], .ins-special-card .wp-block-button__link[href]) {
  background-color: var(--ins-red-pulsante) !important;
  border-color: var(--ins-red-pulsante) !important;
  color: #fff !important;
}

html body .entry-content .wp-block-kubio-button__link:hover,
html body .entry-content .wp-block-button.ins-primary > .wp-block-button__link:hover,
html body .entry-content .wp-block-button.ib40-primary > .wp-block-button__link:hover,
html#kubio body.home :is(#portfolio, #portfolio-1) a[class*="button__link"]:hover,
html body .ins-home-new-header .ib-header-account-register:hover,
html body .ib-account .ib-account-actions .ib-account-primary .wp-block-button__link:hover,
html body .ins-site-search-open:hover,
html body .ins-site-search-line button:hover,
html body #ins-cineteca :is(.cv-watch:hover, .cv-poster-play:hover .cv-circle, .cv-consent button:hover),
html body #ins-audioteca-visual .av-back-to-top:hover,
html body .barra-guide-root .barra-actions .wp-block-button:not(.barra-action-secondary) .wp-block-button__link:hover {
  background-color: var(--ins-red-pulsante-hover) !important;
  border-color: var(--ins-red-pulsante-hover) !important;
}

html#kubio body:is(.page-id-40, .page-id-91, .page-id-101, .page-id-112, .page-id-114, .page-id-116, .page-id-118, .page-id-1647, .page-id-1654) .entry-content
  :is(a.wp-block-kubio-button__link[href]:not([href=""]):not([href="#"]), a.ins-archive-pending[href], a.ins-archive-open[href], .ins-index-card .wp-block-button__link[href], .ins-special-card .wp-block-button__link[href]):hover {
  background-color: var(--ins-red-pulsante-hover) !important;
  border-color: var(--ins-red-pulsante-hover) !important;
}

/* Accenti definiti nei blocchi Kubio delle pagine pubblicate. */
html#kubio body.page-id-32 .style-nYRqoz7g8-text,
html#kubio body.page-id-38 .style-ins-storia-bozza-261107-9-text,
html#kubio body.page-id-38 .style-ins-storia-bozza-261107-19-text,
html#kubio body.page-id-38 .style-ins-storia-bozza-261107-26-text,
html#kubio body.page-id-38 .style-ins-storia-bozza-261107-38-text,
html#kubio body.page-id-2319 .style-ins-profilo-2319-15-text,
html#kubio body.page-id-2319 .style-ins-profilo-2319-47-text,
html#kubio body.page-id-2319 .style-ins-profilo-2319-51-text,
html#kubio body.page-id-2319 .style-ins-profilo-2319-55-text,
html#kubio body.page-id-2319 .style-ins-profilo-2319-59-text,
html#kubio body.page-id-2320 .style-ins-profilo-2320-15-text,
html#kubio body.page-id-2320 .style-ins-profilo-2320-35-text,
html#kubio body.page-id-2320 .style-ins-profilo-2320-39-text,
html#kubio body.page-id-2321 .style-ins-preview-2321-55-text,
html#kubio body.page-id-2321 .style-ins-raf-completo-35-text,
html#kubio body.page-id-2321 .style-ins-raf-completo-40-text,
html#kubio body.page-id-2321 .style-ins-raf-completo-45-text,
html#kubio body.page-id-2321 .style-ins-raf-completo-50-text,
html#kubio body.page-id-2322 .style-ins-profilo-2322-15-text,
html#kubio body.page-id-2322 .style-ins-profilo-2322-63-text,
html#kubio body.page-id-2322 .style-ins-profilo-2322-67-text,
html#kubio body.page-id-2322 .style-ins-profilo-2322-71-text,
html#kubio body.page-id-2322 .style-ins-profilo-2322-75-text,
html#kubio body.page-id-2323 .style-ins-profilo-2323-16-text,
html#kubio body.page-id-2323 .style-ins-profilo-2323-50-text,
html#kubio body.page-id-2323 .style-ins-profilo-2323-54-text,
html#kubio body.page-id-2323 .style-ins-profilo-2323-58-text,
html#kubio body.page-id-2323 .style-ins-profilo-2323-62-text,
html#kubio body.page-id-3231 .style-uZOUOvYl9-text,
html#kubio body.page-id-3231 .style-qUM-Z94y8-text,
html#kubio body.page-id-3231 .style-8NBRiFs-5-text {
  color: var(--ins-red-vivo) !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  html#kubio body.page-id-38 .style-ins-storia-bozza-261107-9-text,
  html#kubio body.page-id-38 .style-ins-storia-bozza-261107-19-text,
  html#kubio body.page-id-38 .style-ins-storia-bozza-261107-26-text,
  html#kubio body.page-id-38 .style-ins-storia-bozza-261107-38-text,
  html#kubio body.page-id-2319 .style-ins-profilo-2319-15-text,
  html#kubio body.page-id-2319 .style-ins-profilo-2319-47-text,
  html#kubio body.page-id-2319 .style-ins-profilo-2319-51-text,
  html#kubio body.page-id-2319 .style-ins-profilo-2319-55-text,
  html#kubio body.page-id-2319 .style-ins-profilo-2319-59-text,
  html#kubio body.page-id-2320 .style-ins-profilo-2320-15-text,
  html#kubio body.page-id-2320 .style-ins-profilo-2320-35-text,
  html#kubio body.page-id-2320 .style-ins-profilo-2320-39-text,
  html#kubio body.page-id-2321 .style-ins-preview-2321-55-text,
  html#kubio body.page-id-2321 .style-ins-raf-completo-35-text,
  html#kubio body.page-id-2321 .style-ins-raf-completo-40-text,
  html#kubio body.page-id-2321 .style-ins-raf-completo-45-text,
  html#kubio body.page-id-2321 .style-ins-raf-completo-50-text,
  html#kubio body.page-id-2322 .style-ins-profilo-2322-15-text,
  html#kubio body.page-id-2322 .style-ins-profilo-2322-63-text,
  html#kubio body.page-id-2322 .style-ins-profilo-2322-67-text,
  html#kubio body.page-id-2322 .style-ins-profilo-2322-71-text,
  html#kubio body.page-id-2322 .style-ins-profilo-2322-75-text,
  html#kubio body.page-id-2323 .style-ins-profilo-2323-16-text,
  html#kubio body.page-id-2323 .style-ins-profilo-2323-50-text,
  html#kubio body.page-id-2323 .style-ins-profilo-2323-54-text,
  html#kubio body.page-id-2323 .style-ins-profilo-2323-58-text,
  html#kubio body.page-id-2323 .style-ins-profilo-2323-62-text,
  html#kubio body.page-id-3231 .style-uZOUOvYl9-text,
  html#kubio body.page-id-3231 .style-qUM-Z94y8-text,
  html#kubio body.page-id-3231 .style-8NBRiFs-5-text {
    color: var(--ins-red-vivo) !important;
  }
}

html#kubio body.page-id-40 .style-AL9AtRREeAP-inner {
  box-shadow: 0px 0px 20px 0px color-mix(in srgb, var(--ins-red-vivo) 94%, transparent) !important;
}

html#kubio body.page-id-40 .style-QUva1e-HErU-link,
html#kubio body.page-id-91 .style-1aMmBj13JlN-link,
html#kubio body.page-id-101 .style-1aMmBj13JlN-link,
html#kubio body.page-id-112 .style-1aMmBj13JlN-link,
html#kubio body.page-id-619 .style-1eJOc8slaWm-link,
html#kubio body.page-id-717 .style-2sGNkQTLhKR-link,
html#kubio body.page-id-1654 .style-1aMmBj13JlN-link,
html#kubio body.page-id-2210 .style-6r6B2xp_vA-link,
html#kubio body.page-id-3231 .style-JDZCnJp-vBR-link {
  background-color: var(--ins-red-pulsante) !important;
}

html#kubio body.page-id-91 .style-vXaawJLpnza-inner,
html#kubio body.page-id-101 .style-vXaawJLpnza-inner,
html#kubio body.page-id-112 .style-vXaawJLpnza-inner,
html#kubio body.page-id-120 .style-vXaawJLpnza-inner,
html#kubio body.page-id-1647 .style-vXaawJLpnza-inner,
html#kubio body.page-id-1654 .style-vXaawJLpnza-inner {
  box-shadow: 0px 0px 20px 0px var(--ins-red-vivo) !important;
}

html#kubio body.page-id-717 .style-A-BsXw9vhWm-inner {
  box-shadow: 0px 5px 20px 0px var(--ins-red-vivo) !important;
}

@media (max-width: 767px) {
  html#kubio body.page-id-717 .style-2sGNkQTLhKR-link {
    background-color: var(--ins-red-pulsante) !important;
  }
}

html#kubio body.page-id-2319 .style-ins-profilo-2319-16-line,
html#kubio body.page-id-2320 .style-ins-profilo-2320-16-line,
html#kubio body.page-id-2321 .style-ins-preview-2321-56-line,
html#kubio body.page-id-2322 .style-ins-profilo-2322-16-line,
html#kubio body.page-id-2323 .style-ins-profilo-2323-17-line,
html#kubio body.page-id-3231 .style-o70q5u7hh8-line,
html#kubio body.page-id-3231 .style-sER-zgowU-line {
  border-bottom-color: var(--ins-red-vivo) !important;
}

html#kubio body.page-id-2319 .style-ins-profilo-2319-73-link,
html#kubio body.page-id-2319 .style-ins-profilo-2319-82-link,
html#kubio body.page-id-2320 .style-ins-profilo-2320-53-link,
html#kubio body.page-id-2320 .style-ins-profilo-2320-58-link,
html#kubio body.page-id-2320 .style-ins-profilo-2320-64-link,
html#kubio body.page-id-2321 .style-ins-raf-completo-125-link,
html#kubio body.page-id-2321 .style-ins-raf-completo-129-link,
html#kubio body.page-id-2321 .style-ins-raf-completo-133-link,
html#kubio body.page-id-2322 .style-ins-profilo-2322-90-link,
html#kubio body.page-id-2322 .style-ins-profilo-2322-95-link,
html#kubio body.page-id-2322 .style-ins-profilo-2322-101-link,
html#kubio body.page-id-2323 .style-ins-profilo-2323-76-link,
html#kubio body.page-id-2323 .style-ins-profilo-2323-81-link,
html#kubio body.page-id-2323 .style-ins-profilo-2323-87-link,
html#kubio body.page-id-3231 .style-UKaVGe0vd_-icon {
  border-top-color: var(--ins-red-vivo) !important;
  border-right-color: var(--ins-red-vivo) !important;
  border-bottom-color: var(--ins-red-vivo) !important;
  border-left-color: var(--ins-red-vivo) !important;
}

html#kubio body.page-id-2319 .style-ins-profilo-2319-73-link:hover,
html#kubio body.page-id-2319 .style-ins-profilo-2319-79-link:hover,
html#kubio body.page-id-2319 .style-ins-profilo-2319-82-link:hover,
html#kubio body.page-id-2320 .style-ins-profilo-2320-53-link:hover,
html#kubio body.page-id-2320 .style-ins-profilo-2320-58-link:hover,
html#kubio body.page-id-2320 .style-ins-profilo-2320-61-link:hover,
html#kubio body.page-id-2320 .style-ins-profilo-2320-64-link:hover,
html#kubio body.page-id-2321 .style-ins-raf-completo-125-link:hover,
html#kubio body.page-id-2321 .style-ins-raf-completo-129-link:hover,
html#kubio body.page-id-2321 .style-ins-raf-completo-133-link:hover,
html#kubio body.page-id-2322 .style-ins-profilo-2322-90-link:hover,
html#kubio body.page-id-2322 .style-ins-profilo-2322-95-link:hover,
html#kubio body.page-id-2322 .style-ins-profilo-2322-98-link:hover,
html#kubio body.page-id-2322 .style-ins-profilo-2322-101-link:hover,
html#kubio body.page-id-2323 .style-ins-profilo-2323-76-link:hover,
html#kubio body.page-id-2323 .style-ins-profilo-2323-81-link:hover,
html#kubio body.page-id-2323 .style-ins-profilo-2323-84-link:hover,
html#kubio body.page-id-2323 .style-ins-profilo-2323-87-link:hover {
  background-color: var(--ins-red-pulsante-hover) !important;
}

html#kubio body.page-id-2319 .style-ins-profilo-2319-79-link,
html#kubio body.page-id-2320 .style-ins-profilo-2320-61-link,
html#kubio body.page-id-2322 .style-ins-profilo-2322-98-link,
html#kubio body.page-id-2323 .style-ins-profilo-2323-84-link {
  background-color: var(--ins-red-pulsante) !important;
  border-top-color: var(--ins-red-pulsante) !important;
  border-right-color: var(--ins-red-pulsante) !important;
  border-bottom-color: var(--ins-red-pulsante) !important;
  border-left-color: var(--ins-red-pulsante) !important;
}
