/*
 * Opudendo — prova monocromatica locale 0.9.8
 * Foglio separato e reversibile. Nessuna tonalità rossa o verde.
 */

/* Posizione richiesta: nella fascia nera del video della sola pagina iniziale. */
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait .opudendo-hero-traffic {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  z-index: 4;
  width: auto;
  max-width: 570px;
  margin: 0 auto;
  padding: .62rem .8rem .55rem;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  border-radius: 15px;
  background: rgba(12, 14, 15, .86) !important;
  box-shadow: none;
  color: #fff !important;
  pointer-events: none;
  box-sizing: border-box;
  backdrop-filter: blur(5px);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-stat {
  padding: .18rem .72rem;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  text-align: center !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-stat + .opudendo-traffic-stat {
  border-left: 1px solid rgba(255, 255, 255, .34) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic strong {
  color: #fff !important;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic span {
  margin-top: .25rem;
  color: #fff !important;
  font-size: .72rem;
  line-height: 1.25;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-period {
  margin: .38rem 0 0 !important;
  color: rgba(255, 255, 255, .82) !important;
  font-size: .66rem;
  line-height: 1.25;
  text-align: center !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait > figcaption {
  display: none !important;
}

@media (max-width: 620px) {
  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait .opudendo-hero-traffic {
    right: .65rem;
    bottom: .65rem;
    left: .65rem;
    padding: .5rem .45rem .45rem;
    border-radius: 13px;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-stat {
    padding: .1rem .38rem;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic strong {
    font-size: 1.25rem;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic span {
    font-size: .66rem;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-hero-traffic .opudendo-traffic-period {
    font-size: .6rem;
  }
}

body.opudendo-restyling-local {
  --opu-mono-bg: #f6f5f2;
  --opu-mono-paper: #ffffff;
  --opu-mono-soft: #efefec;
  --opu-mono-soft-2: #e5e5e2;
  --opu-mono-border: #d7d5d0;
  --opu-mono-ink: #202326;
  --opu-mono-muted: #5d6266;
  --opu-mono-mid: #747678;
  --opu-mono-active: #343638;
  --opu-mono-footer: #292a2b;
  background:
    radial-gradient(circle at 88% 6%, rgba(255, 255, 255, .96), transparent 34rem),
    linear-gradient(155deg, #f6f5f2, #efefec 55%, #f8f7f5) !important;
  color: var(--opu-mono-ink) !important;
}

/*
 * Invariante permanente dei pulsanti.
 * Nessun riempimento scuro; etichette sempre visibili; interazioni pastello.
 */
body.opudendo-restyling-local {
  --opu-action-blue: #dcebf3;
  --opu-action-blue-hover: #c7e0eb;
  --opu-action-sand: #f3e9df;
  --opu-action-sand-hover: #e8d8c8;
  --opu-action-sage: #deeee6;
  --opu-action-sage-hover: #c9e1d5;
  --opu-action-lilac: #ece5f2;
  --opu-action-lilac-hover: #ded2e8;
  --opu-action-ink: #27333a;
  --opu-action-border: #9eb4bf;
}

html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
) {
  border: 1px solid var(--opu-action-border) !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
  box-shadow: none !important;
  text-decoration-color: currentColor !important;
}

html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
)[data-opudendo-audit-hover="true"] {
  border-color: #7e9fac !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local :is(
  a.button.outline,
  .opudendo-v3-secondary,
  .opudendo-v3-text-link
) {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local :is(
  a.button.outline,
  .opudendo-v3-secondary,
  .opudendo-v3-text-link
):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local :is(
  a.button.outline,
  .opudendo-v3-secondary,
  .opudendo-v3-text-link
)[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2) {
  border-color: #9dbdad !important;
  background: var(--opu-action-sage) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2)[data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2)[data-opudendo-audit-hover="true"] {
  border-color: #79a18d !important;
  background: var(--opu-action-sage-hover) !important;
  color: #24322b !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a {
  background: #f0f3f4 !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a[data-opudendo-audit-hover="true"] {
  background: #dfe9ed !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local .opudendo-social-links a {
  border-color: #b9adc3 !important;
  background: var(--opu-action-lilac) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-social-links a:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-social-links a[data-opudendo-audit-hover="true"] {
  border-color: #9b88aa !important;
  background: var(--opu-action-lilac-hover) !important;
  color: #302b35 !important;
}

/* Il componente Contatti conteneva vecchi stili inseriti nella pagina. */
html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:first-of-type {
  border: 1px solid #647c88 !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:first-of-type:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:first-of-type[data-opudendo-audit-hover="true"] {
  border-color: #4f6873 !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:nth-of-type(2) {
  border: 1px solid #5f7b6d !important;
  background: var(--opu-action-sage) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:nth-of-type(2):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #content .entry-content #cta-final > div > a:nth-of-type(2)[data-opudendo-audit-hover="true"] {
  border-color: #496557 !important;
  background: var(--opu-action-sage-hover) !important;
  color: #24322b !important;
}

/* Fotogrammi leggeri: una sola area visiva dopo i cinque passaggi. */
body.opudendo-restyling-local .opudendo-treatment-stills {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d4d0c9;
  border-radius: 1.25rem;
  background: #faf8f5;
}

body.opudendo-restyling-local .opudendo-treatment-stills-copy {
  max-width: 66ch;
  margin: 0 auto 1rem;
  text-align: left;
}

body.opudendo-restyling-local .opudendo-treatment-stills-copy h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

body.opudendo-restyling-local .opudendo-treatment-stills-copy p {
  margin: 0;
}

body.opudendo-restyling-local .opudendo-treatment-stills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

body.opudendo-restyling-local .opudendo-treatment-stills figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #ece9e3;
}

body.opudendo-restyling-local .opudendo-treatment-stills img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 700px) {
  body.opudendo-restyling-local .opudendo-treatment-stills-grid {
    grid-template-columns: 1fr;
  }
}

/* Azioni rapide della pagina Contatti: stessa misura e gerarchia. */
html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 28rem;
  margin-top: 1rem !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 !important;
  padding: 0.7rem 1rem !important;
  border: 1px solid #647c88 !important;
  border-radius: 999px !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center;
  text-decoration: none !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a[href^="https://wa.me/"] {
  border-color: #5f7b6d !important;
  background: var(--opu-action-sage) !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a[href^="https://maps.google.com/"]:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a[href^="https://maps.google.com/"][data-opudendo-audit-hover="true"] {
  border-color: #4f6873 !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a[href^="https://wa.me/"]:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions a[href^="https://wa.me/"][data-opudendo-audit-hover="true"] {
  border-color: #496557 !important;
  background: var(--opu-action-sage-hover) !important;
  color: #24322b !important;
}

@media (max-width: 560px) {
  html body.opudendo-restyling-local.page-id-100 #content .entry-content .opudendo-quick-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

html body.opudendo-restyling-local .opudendo-mobile-actions a {
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3) {
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a[data-opudendo-audit-hover="true"] {
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3)[data-opudendo-audit-hover="true"] {
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local .opudendo-contact-form-preview button[disabled],
html body.opudendo-restyling-local .wpforms-submit[disabled] {
  border-color: #bfc3c4 !important;
  background: #e7e8e6 !important;
  color: #4f5558 !important;
  opacity: 1 !important;
}

html body.opudendo-restyling-local #content .entry-content a.button.outline {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local #content .entry-content a.button.outline:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.button.outline[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local .opudendo-contact-form-preview button[disabled],
html body.opudendo-restyling-local .wpforms-submit[disabled] {
  border-color: #bfc3c4 !important;
  background: #e7e8e6 !important;
  color: #4f5558 !important;
  opacity: 1 !important;
}

html body.opudendo-restyling-local :is(a.button, button, input[type="button"], input[type="submit"]):focus-visible {
  outline: 3px solid #587b8a !important;
  outline-offset: 3px !important;
}

/* Prova editoriale: un solo articolo, senza estendere lo stile agli altri. */
body.opudendo-restyling-local.single-post.postid-1610 #content > article {
  width: min(calc(100% - 2rem), 940px) !important;
  max-width: 940px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: clamp(1.25rem, 4vw, 3rem) !important;
  border-radius: 24px !important;
  background: #faf8f5 !important;
  box-sizing: border-box !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  color: #27333a !important;
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem) !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content :where(p, li, h1, h2, h3, h4, summary) {
  text-align: left !important;
  text-wrap: pretty;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > h1 {
  max-width: 22ch !important;
  margin: 0 0 1.35rem !important;
  color: #242628 !important;
  font-size: clamp(2rem, 1.55rem + 2.25vw, 3.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > h1 + .opudendo-article-scope + p,
body.opudendo-restyling-local.single-post.postid-1610 .entry-content > h1 + .opudendo-article-scope + p + p {
  max-width: 66ch !important;
  color: #484b4d !important;
  font-size: 1.08em !important;
  line-height: 1.72 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-article-scope {
  margin: 1.5rem 0 2rem !important;
  padding: clamp(1.2rem, 3vw, 1.7rem) !important;
  border: 1px solid #c9d2d8 !important;
  border-radius: 18px !important;
  background: #edf4f7 !important;
  box-shadow: none !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-article-scope-kicker {
  margin: 0 0 .45rem !important;
  color: #4c5961 !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-article-scope h2 {
  margin: 0 0 .8rem !important;
  padding: 0 !important;
  border: 0 !important;
  color: #24282b !important;
  font-size: clamp(1.35rem, 1.18rem + .75vw, 1.75rem) !important;
  line-height: 1.22 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-article-scope p {
  max-width: 66ch !important;
  margin: .65rem 0 0 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-pilot-toc {
  margin: 2rem 0 !important;
  padding: clamp(1.15rem, 3vw, 1.6rem) !important;
  border: 1px solid #d2d3d0 !important;
  border-radius: 18px !important;
  background: #f5f5f2 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-pilot-toc h2 {
  margin: 0 0 .8rem !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(1.3rem, 1.17rem + .6vw, 1.65rem) !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-pilot-toc ul {
  display: grid !important;
  gap: .45rem !important;
  margin: 0 !important;
  padding-left: 1.25rem !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .opudendo-pilot-toc a {
  color: #333638 !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .2em !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > section {
  margin: 1.5rem 0 !important;
  padding: clamp(1.15rem, 3vw, 1.75rem) !important;
  border: 1px solid #d7d8d5 !important;
  border-radius: 18px !important;
  color: #303234 !important;
  box-shadow: none !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > div[style] {
  margin: 1.5rem 0 !important;
  padding: clamp(1.15rem, 3vw, 1.6rem) !important;
  border: 1px solid #cfd7dc !important;
  border-radius: 18px !important;
  background: #f0f5f7 !important;
  color: #303234 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > div[style] h2,
body.opudendo-restyling-local.single-post.postid-1610 .entry-content > section h2 {
  margin: 0 0 1rem !important;
  padding: 0 0 .7rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(70, 72, 73, .2) !important;
  color: #25282a !important;
  font-size: clamp(1.45rem, 1.25rem + .9vw, 1.95rem) !important;
  line-height: 1.2 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > section h3 {
  margin: 1.5rem 0 .45rem !important;
  color: #343638 !important;
  font-size: clamp(1.12rem, 1.03rem + .4vw, 1.3rem) !important;
  line-height: 1.3 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content > section :where(p, ul),
body.opudendo-restyling-local.single-post.postid-1610 .entry-content > div[style] :where(p, ul) {
  max-width: 66ch !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content :where(ul, ol) {
  margin-top: .7rem !important;
  margin-bottom: 1rem !important;
  padding-left: 1.3rem !important;
}

body.opudendo-restyling-local.single-post.postid-1610 .entry-content li + li {
  margin-top: .7rem !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #latency-definizione {
  background: #f7f4ef !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #emg-definizione {
  background: #f1f6f3 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #pudendo-uso {
  background: #f0f4f7 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #vantaggi-limiti {
  background: #f8f2f0 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #faq-esami {
  background: #f5f2f7 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #glossario {
  background: #f0f6f6 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #bibliografia {
  background: #f7f7f4 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #bibliografia ul {
  font-size: .94rem !important;
  line-height: 1.65 !important;
}

body.opudendo-restyling-local.single-post.postid-1610 details {
  margin: .75rem 0 !important;
  padding: .85rem 1rem !important;
  border: 1px solid rgba(70, 72, 73, .18) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .7) !important;
}

body.opudendo-restyling-local.single-post.postid-1610 summary {
  min-height: 44px !important;
  color: #2f3234 !important;
  cursor: pointer;
}

body.opudendo-restyling-local.single-post.postid-1610 #contatti {
  background: #edf1f2 !important;
  color: #303234 !important;
  text-align: left !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #contatti :where(h2, p, a) {
  color: #303234 !important;
  text-align: left !important;
}

body.opudendo-restyling-local.single-post.postid-1610 #contatti a {
  overflow-wrap: anywhere;
  text-decoration: underline !important;
  text-underline-offset: .2em;
}

@media (max-width: 600px) {
  body.opudendo-restyling-local.single-post.postid-1610 #content > article {
    width: calc(100% - 1rem) !important;
    padding: 1rem !important;
    border-radius: 16px !important;
  }

  body.opudendo-restyling-local.single-post.postid-1610 .entry-content > h1 {
    max-width: none !important;
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
  }

  body.opudendo-restyling-local.single-post.postid-1610 .entry-content > section,
  body.opudendo-restyling-local.single-post.postid-1610 .entry-content > div[style],
  body.opudendo-restyling-local.single-post.postid-1610 .opudendo-pilot-toc,
  body.opudendo-restyling-local.single-post.postid-1610 .opudendo-article-scope {
    padding: 1rem !important;
    border-radius: 14px !important;
  }
}

/* Sistema tipografico unico: Inter, come nel sito SOMA, ospitato localmente. */
@font-face {
  font-family: "Inter Opudendo";
  src: url("InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html body.opudendo-restyling-local,
body.opudendo-restyling-local button,
body.opudendo-restyling-local input,
body.opudendo-restyling-local select,
body.opudendo-restyling-local textarea,
body.opudendo-restyling-local h1,
body.opudendo-restyling-local h2,
body.opudendo-restyling-local h3,
body.opudendo-restyling-local h4,
body.opudendo-restyling-local h5,
body.opudendo-restyling-local h6,
body.opudendo-restyling-local a,
body.opudendo-restyling-local strong {
  font-family: "Inter Opudendo", Inter, "Segoe UI", Arial, sans-serif !important;
  font-optical-sizing: auto;
}

body.opudendo-restyling-local h1 {
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
}

body.opudendo-restyling-local h2 {
  font-weight: 610 !important;
  letter-spacing: -.025em !important;
}

body.opudendo-restyling-local h3,
body.opudendo-restyling-local h4 {
  font-weight: 590 !important;
  letter-spacing: -.018em !important;
}

body.opudendo-restyling-local p,
body.opudendo-restyling-local li {
  font-weight: 400;
  letter-spacing: -.006em;
}

/* Frase animata della pagina iniziale, leggera e senza librerie esterne. */
body.opudendo-restyling-local .opudendo-animated-values {
  min-height: 2.2rem;
  margin: .8rem 0 1.15rem !important;
  color: var(--opu-mono-muted) !important;
  font-size: clamp(1rem, 1.6vw, 1.22rem) !important;
  font-weight: 430 !important;
  line-height: 1.5 !important;
  letter-spacing: -.012em;
}

body.opudendo-restyling-local .opudendo-animated-word {
  display: inline-block;
  min-width: 8.5ch;
  margin-left: .18em;
  border-right: 0;
  color: var(--opu-mono-ink) !important;
  font-weight: 680;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body.opudendo-restyling-local .opudendo-animated-word {
    border-right: 0;
    animation: none;
  }
}

body.opudendo-restyling-local::selection,
body.opudendo-restyling-local *::selection {
  background: #343638;
  color: #fff;
}

body.opudendo-restyling-local h1,
body.opudendo-restyling-local h2,
body.opudendo-restyling-local h3,
body.opudendo-restyling-local h4,
body.opudendo-restyling-local h5,
body.opudendo-restyling-local h6 {
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local p,
body.opudendo-restyling-local li,
body.opudendo-restyling-local label,
body.opudendo-restyling-local .entry-meta,
body.opudendo-restyling-local .wpforms-field-description {
  color: var(--opu-mono-muted) !important;
}

body.opudendo-restyling-local a {
  color: var(--opu-mono-active);
}

body.opudendo-restyling-local a:focus-visible,
body.opudendo-restyling-local button:focus-visible,
body.opudendo-restyling-local input:focus-visible,
body.opudendo-restyling-local select:focus-visible,
body.opudendo-restyling-local textarea:focus-visible {
  outline: 3px solid var(--opu-mono-ink) !important;
  outline-offset: 3px !important;
}

.opudendo-environment {
  border-bottom-color: #d0cfcb !important;
  background: #e7e6e2 !important;
  color: #343638 !important;
}

body.opudendo-restyling-local #header-full,
body.opudendo-restyling-local.page-id-2054 #header-full {
  border-bottom-color: var(--opu-mono-border) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: none !important;
}

body.opudendo-restyling-local #site-title a,
body.opudendo-restyling-local #site-description {
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local #site-description {
  opacity: .7;
}

body.opudendo-restyling-local #access,
body.opudendo-restyling-local.page-id-2054 #access {
  border-top: 1px solid var(--opu-mono-border) !important;
  border-bottom: 1px solid var(--opu-mono-border) !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: none !important;
}

body.opudendo-restyling-local #access ul li,
body.opudendo-restyling-local #access ul li > a {
  border-color: #e5e4e0 !important;
  background: transparent !important;
}

body.opudendo-restyling-local #access a {
  color: #343638 !important;
}

body.opudendo-restyling-local #access ul li:hover > a,
body.opudendo-restyling-local #access ul li.current-menu-item > a,
body.opudendo-restyling-local #access ul li.current_page_item > a {
  background: #efefec !important;
  color: #202326 !important;
  box-shadow: inset 0 -3px 0 #343638 !important;
}

/* Sovrascrive con maggiore precisione i vecchi stati verdi del tema. */
body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li.current-menu-item > a,
body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li.current_page_item > a,
body.opudendo-restyling-local #access ul#prime_nav > li.current-menu-ancestor > a,
body.opudendo-restyling-local #access ul#prime_nav > li.current-menu-parent > a {
  background: #efefec !important;
  color: #202326 !important;
  box-shadow: inset 0 -3px 0 #343638 !important;
}

body.opudendo-restyling-local #access ul#prime_nav > li:hover > a,
body.opudendo-restyling-local #access ul#prime_nav > li > a:hover,
body.opudendo-restyling-local #access ul#prime_nav > li > a:focus-visible {
  background: #e5e5e2 !important;
  color: #202326 !important;
  box-shadow: inset 0 -3px 0 #747678 !important;
}

/* WordPress considera corrente anche il collegamento all'archivio nella home. */
body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li > a[href$="/articoli/"] {
  background: transparent !important;
  color: #343638 !important;
  box-shadow: none !important;
}

body.opudendo-restyling-local #nav-toggle {
  border-color: var(--opu-mono-border) !important;
  background: #fff !important;
  color: var(--opu-mono-ink) !important;
}

/* Apertura della pagina iniziale. */
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.25rem;
  gap: 1.25rem;
  border-bottom: 1px solid var(--opu-mono-border) !important;
  background: linear-gradient(145deg, #ffffff, #ececea) !important;
  color: var(--opu-mono-ink) !important;
  box-sizing: border-box;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-home-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #d9dad8;
  border-radius: inherit;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-home-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 251, 249, .68), rgba(244, 245, 244, .58)),
    rgba(255, 255, 255, .18);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-home-background video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  filter: grayscale(1) contrast(.7) brightness(1.18) blur(5px);
  transform: scale(1.035);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero > *:not(.opudendo-home-background) {
  position: relative;
  z-index: 2;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy {
  align-self: stretch;
  width: 100%;
  justify-self: stretch;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px;
  background: rgba(248, 248, 245, .76) !important;
  box-shadow: 0 18px 55px rgba(24, 26, 27, .12);
  color: var(--opu-mono-ink) !important;
  backdrop-filter: blur(2px);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy h1,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy p {
  color: #17191b !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy > *:not(.opudendo-home-background) {
  position: relative;
  z-index: 2;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-background-toggle {
  position: absolute !important;
  right: 1.75rem;
  bottom: .45rem;
  z-index: 5 !important;
  min-height: 44px;
  margin: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 24px rgba(20, 22, 23, .15);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero h1,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-subtitle,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy > p {
  color: var(--opu-mono-ink) !important;
}

.opudendo-v3-local,
.opudendo-v3-overline,
.opudendo-kicker,
.opudendo-card-category,
.opudendo-v3-topic-label,
.opudendo-q-number {
  color: #626568 !important;
}

.opudendo-v3-local {
  border-color: #bfc0bd !important;
  background: #efefec !important;
}

.opudendo-v4-type::after {
  background: #343638 !important;
}

.opudendo-v3-primary,
body.opudendo-restyling-local .opudendo-card-link,
body.opudendo-restyling-local .wpforms-submit:not([disabled]) {
  border-color: #343638 !important;
  background: #343638 !important;
  color: #fff !important;
}

.opudendo-v3-primary:hover,
.opudendo-v3-primary:focus-visible {
  border-color: #202326 !important;
  background: #202326 !important;
}

.opudendo-v3-secondary,
.opudendo-v3-text-link {
  border-color: #747678 !important;
  background: #fff !important;
  color: #343638 !important;
}

.opudendo-v3-note {
  border-color: #c9c9c5 !important;
  color: #5d6266 !important;
}

.opudendo-v3-portrait,
.opudendo-v3-portrait img {
  background: #dededb !important;
  filter: grayscale(1) contrast(1.04) !important;
}

.opudendo-v3-portrait figcaption {
  background: rgba(32, 35, 38, .82) !important;
  color: #fff !important;
}

/* Sezione introduttiva e immagini. */
.opudendo-v3-welcome,
.opudendo-v3-topic,
.opudendo-v3-book {
  border-color: var(--opu-mono-border) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 16px 48px rgba(32, 35, 38, .08) !important;
}

.opudendo-v3-atmosphere {
  background-color: #d6d6d3 !important;
  filter: grayscale(1) saturate(0) contrast(.88) brightness(1.13) !important;
}

.opudendo-v3-atmosphere::after {
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, .32), transparent 34%),
    linear-gradient(145deg, rgba(215, 215, 212, .18), rgba(245, 245, 242, .28)) !important;
  mix-blend-mode: screen !important;
}

.opudendo-v3-inline-links,
.opudendo-v3-inline-links a {
  border-color: var(--opu-mono-border) !important;
  color: #343638 !important;
}

/* Percorso della visita: scala di grigi. */
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit {
  border: 1px solid var(--opu-mono-border) !important;
  background: linear-gradient(150deg, #f4f4f1, #e5e5e2) !important;
  color: var(--opu-mono-ink) !important;
  box-shadow: 0 18px 52px rgba(32, 35, 38, .08) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit h2,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit h3,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit p,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit .opudendo-kicker {
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li {
  border-color: #d0d0cc !important;
  color: var(--opu-mono-ink) !important;
  box-shadow: 0 8px 20px rgba(32, 35, 38, .04) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li:nth-child(1) { background: linear-gradient(150deg, #ffffff, #f4f4f2) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li:nth-child(2) { background: linear-gradient(150deg, #f8f8f6, #eeeeeb) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li:nth-child(3) { background: linear-gradient(150deg, #f1f1ef, #e5e5e2) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li:nth-child(4) { background: linear-gradient(150deg, #eaeae7, #ddddda) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li:nth-child(5) { background: linear-gradient(150deg, #e2e2df, #d4d4d0) !important; }

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li > span,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li h3,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-steps li p {
  color: #343638 !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-visit .opudendo-v3-text-link {
  border-color: #747678 !important;
  background: transparent !important;
  color: #343638 !important;
}

/* Approfondimenti e archivio. */
.opudendo-v3-topics,
body.opudendo-restyling-local.page-id-2054 .opudendo-editorial {
  background: transparent !important;
}

.opudendo-v3-topic-visual,
.opudendo-v3-topic-visual img,
body.opudendo-restyling-local .entry-content img:not(.opudendo-v3-portrait img) {
  filter: grayscale(.92) saturate(.05) contrast(.96) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-editorial {
  border-top: 1px solid var(--opu-mono-border) !important;
  border-bottom: 1px solid var(--opu-mono-border) !important;
  background: #efefec !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-featured-card {
  border-color: var(--opu-mono-border) !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(32, 35, 38, .07) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-palette-1 { background: linear-gradient(145deg, #f8f8f6, #ddddda) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-palette-2 { background: linear-gradient(145deg, #f3f3f1, #d5d5d1) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-palette-3 { background: linear-gradient(145deg, #ececea, #cececa) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-palette-4 { background: linear-gradient(145deg, #e5e5e2, #c6c6c2) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-palette-5 { background: linear-gradient(145deg, #dededb, #bebeba) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-palette-6 { background: linear-gradient(145deg, #d7d7d3, #b6b6b2) !important; }

body.opudendo-restyling-local.page-id-2054 .opudendo-card-visual span {
  color: #4c4f51 !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-archive {
  border-color: var(--opu-mono-border) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, .94), transparent 28rem),
    radial-gradient(circle at 4% 94%, rgba(218, 218, 214, .55), transparent 24rem),
    linear-gradient(145deg, #f4f4f1, #e8e8e5 54%, #f2f2f0) !important;
  box-shadow: 0 22px 62px rgba(32, 35, 38, .08) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-search-wrap input,
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card {
  border-color: #d0d0cc !important;
  background: #fff !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 1) { background: linear-gradient(135deg, #fff, #f5f5f3) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 2) { background: linear-gradient(135deg, #fbfbfa, #efefed) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 3) { background: linear-gradient(135deg, #f7f7f5, #e9e9e6) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 4) { background: linear-gradient(135deg, #f3f3f1, #e3e3e0) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 5) { background: linear-gradient(135deg, #efefed, #ddddda) !important; }
body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(6n + 6) { background: linear-gradient(135deg, #eaeae7, #d7d7d3) !important; }

body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card .opudendo-archive-marker {
  background: #747678 !important;
}

.opudendo-filter-bar button {
  border-color: #a9aaa7 !important;
  background: #fff !important;
  color: #343638 !important;
}

.opudendo-filter-bar button.is-active,
.opudendo-filter-bar button:hover {
  border-color: #343638 !important;
  background: #343638 !important;
  color: #fff !important;
}

/* Libro, contatti e pagine interne. */
.opudendo-v3-book {
  background: #ededeb !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-contact {
  border: 1px solid var(--opu-mono-border) !important;
  background: linear-gradient(145deg, #eeeeeb, #dededb) !important;
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-contact h2,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-contact p,
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-contact .opudendo-kicker {
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) article,
body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .page,
body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .post,
body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .hentry,
body.opudendo-restyling-local.single-post article,
body.opudendo-restyling-local.single-post #content > .post,
body.opudendo-restyling-local.single-post #content > .hentry {
  border-color: var(--opu-mono-border) !important;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 225, 222, .58), transparent 24rem),
    rgba(255, 255, 255, .96) !important;
}

/* Fasce scure ereditate dai contenuti: diventano pastelli chiarissimi. */
body.opudendo-restyling-local .entry-content section.hero,
body.opudendo-restyling-local .entry-content section#contatti,
body.opudendo-restyling-local .entry-content section[style*="#208091"],
body.opudendo-restyling-local .entry-content section[style*="#1a6475"],
body.opudendo-restyling-local .entry-content section[style*="#183f3b"],
body.opudendo-restyling-local .entry-content section[style*="#174c45"] {
  border: 1px solid var(--opu-mono-border) !important;
  background: linear-gradient(145deg, #f8f7f5, #e8ecec) !important;
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local .entry-content section.hero *,
body.opudendo-restyling-local .entry-content section#contatti * {
  color: var(--opu-mono-ink) !important;
}

body.opudendo-restyling-local .entry-content section.hero p,
body.opudendo-restyling-local .entry-content section#contatti p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

body.opudendo-restyling-local .entry-content section.hero a[style*="display:inline-block"],
body.opudendo-restyling-local .entry-content section#contatti a[style*="display:inline-block"] {
  border: 1px solid #343638 !important;
  background: #343638 !important;
  color: #fff !important;
}

body.opudendo-restyling-local .entry-content section.hero a:not([style*="display:inline-block"]),
body.opudendo-restyling-local .entry-content section#contatti a:not([style*="display:inline-block"]) {
  color: #343638 !important;
  text-decoration: underline !important;
  text-underline-offset: .18em;
}

body.opudendo-restyling-local.single-post .entry-content h2,
body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) .entry-content h2 {
  border-left-color: #747678 !important;
}

body.opudendo-restyling-local .entry-content h2:has(+ div[style*="display:flex"] > div img),
body.opudendo-restyling-local .entry-content h2:has(+ div[style*="display: flex"] > div img),
body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img),
body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) {
  border-color: var(--opu-mono-border) !important;
  background: linear-gradient(135deg, #f5f5f2, #e8e8e5) !important;
}

/* Questionario. */
body.opudendo-restyling-local.page-id-153 article.page,
body.opudendo-restyling-local.page-id-153 #content > .page {
  border-color: var(--opu-mono-border) !important;
  background: #fff !important;
}

.opudendo-q-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .48), transparent 17rem),
    linear-gradient(135deg, #eeeeeb, #d5d5d1) !important;
  color: var(--opu-mono-ink) !important;
}

.opudendo-q-hero h1,
.opudendo-q-lead,
.opudendo-q-status {
  color: var(--opu-mono-ink) !important;
}

.opudendo-q-status {
  border-color: #bfc0bd !important;
  background: rgba(255, 255, 255, .64) !important;
}

.opudendo-q-intro,
.opudendo-q-form-shell {
  background: #efefec !important;
}

/* Il modulo è molto lungo: non deve dipendere da un'animazione di ingresso. */
body.opudendo-restyling-local.page-id-153 .opudendo-q-form,
body.opudendo-restyling-local.page-id-153 .opudendo-q-form.opudendo-v4-reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.opudendo-q-intro > div,
body.page-id-153 .wpforms-container .wpforms-field {
  border-color: var(--opu-mono-border) !important;
  background: #fff !important;
}

.opudendo-q-map {
  background: #e5e5e2 !important;
}

.opudendo-q-map span {
  background: rgba(255, 255, 255, .82) !important;
  color: #343638 !important;
}

body.page-id-153 .wpforms-container input,
body.page-id-153 .wpforms-container select,
body.page-id-153 .wpforms-container textarea {
  border-color: #9a9c9d !important;
  background: #fff !important;
  color: #202326 !important;
}

body.page-id-153 .wpforms-submit[disabled] {
  background: #707274 !important;
  color: #fff !important;
}

/* Piè di pagina e social. */
body.opudendo-restyling-local .opudendo-footer {
  border-top-color: #454749 !important;
  background: var(--opu-mono-footer) !important;
}

.opudendo-footer,
.opudendo-footer p,
.opudendo-footer h2,
.opudendo-footer a,
.opudendo-footer-note {
  color: #f6f5f2 !important;
}

.opudendo-social {
  border-top-color: rgba(255, 255, 255, .24) !important;
}

.opudendo-social-links a {
  border-color: #77797a !important;
  background: #343638 !important;
  color: #fff !important;
}

.opudendo-social-links a:hover,
.opudendo-social-links a:focus-visible {
  border-color: #fff !important;
  background: #f6f5f2 !important;
  color: #202326 !important;
}

body.opudendo-restyling-local .opudendo-traffic-counter {
  border-color: #c9d8d1 !important;
  background: linear-gradient(135deg, #f8f2e8, #e7f0eb) !important;
  color: #263d38 !important;
}

body.opudendo-restyling-local .opudendo-traffic-counter h2,
body.opudendo-restyling-local .opudendo-traffic-counter p,
body.opudendo-restyling-local .opudendo-traffic-counter span,
body.opudendo-restyling-local .opudendo-traffic-counter small,
body.opudendo-restyling-local .opudendo-traffic-counter strong {
  color: #263d38 !important;
}

body.opudendo-restyling-local .opudendo-traffic-stat {
  border-color: #d4dfda !important;
  background: rgba(255, 255, 255, .76) !important;
}

body.opudendo-restyling-local .opudendo-traffic-counter .opudendo-traffic-kicker,
body.opudendo-restyling-local .opudendo-traffic-counter .opudendo-traffic-explanation,
body.opudendo-restyling-local .opudendo-traffic-counter small {
  color: #52645d !important;
}

.opudendo-mobile-actions {
  border-top-color: var(--opu-mono-border) !important;
  background: rgba(255, 255, 255, .97) !important;
  box-shadow: 0 -10px 30px rgba(32, 35, 38, .12) !important;
}

.opudendo-mobile-actions a {
  border-right-color: var(--opu-mono-border) !important;
  color: #343638 !important;
}

@media (max-width: 760px) {
  body.opudendo-restyling-local #nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-height: 50px;
    text-align: center;
  }

  body.opudendo-restyling-local #nav-toggle > span {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #343638 !important;
    color: transparent !important;
    font-size: 0;
  }

  body.opudendo-restyling-local #nav-toggle > span::before,
  body.opudendo-restyling-local #nav-toggle > span::after {
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #343638;
    content: "";
  }

  body.opudendo-restyling-local #nav-toggle > span::before { top: -7px; }
  body.opudendo-restyling-local #nav-toggle > span::after { top: 7px; }

  body.opudendo-restyling-local #nav-toggle::after {
    color: #343638;
    content: "Apri il menu";
    font-size: .83rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  body.opudendo-restyling-local #nav-toggle[aria-expanded="true"]::after {
    content: "Chiudi il menu";
  }

  body.opudendo-restyling-local #access ul {
    background: #fff !important;
  }

  body.opudendo-restyling-local #access ul li,
  body.opudendo-restyling-local #access ul li > a {
    border-color: var(--opu-mono-border) !important;
  }

  body.opudendo-restyling-local.page-id-153 #content > article#post-153,
  body.opudendo-restyling-local.page-id-153 #content > .page#post-153 {
    padding: 0 !important;
    border-radius: 16px !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-hero {
    padding: 1.6rem 1.35rem !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-hero h1 {
    font-size: clamp(2rem, 9vw, 2.3rem) !important;
    line-height: 1.08 !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-intro {
    padding: 1rem !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-map {
    grid-template-columns: 1fr !important;
    padding: 1rem !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-form {
    padding: 1rem !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-form-shell {
    padding: .6rem !important;
    border-radius: 14px !important;
  }

  body.opudendo-restyling-local.page-id-153 .wpforms-container .wpforms-field {
    padding: .85rem !important;
  }

  body.opudendo-restyling-local.page-id-153 .wpforms-container fieldset {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.opudendo-restyling-local.page-id-153 .wpforms-field-row-block.wpforms-one-half {
    width: 100% !important;
    margin: 0 0 .8rem !important;
    padding: 0 !important;
    float: none !important;
  }

  body.opudendo-restyling-local.page-id-153 .wpforms-field-row-block.wpforms-one-half:last-child {
    margin-bottom: 0 !important;
  }

  body.opudendo-restyling-local.single-post h1.entry-title,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) h1 {
    font-size: 1.9rem !important;
    line-height: 1.14 !important;
    overflow-wrap: anywhere;
  }

  html body.opudendo-restyling-local.single-post #main #content > .post > h1.entry-title,
  html body.opudendo-restyling-local.single-post #main #content > .hentry > h1.entry-title {
    font-size: 1.9rem !important;
    line-height: 1.14 !important;
  }

  body.opudendo-restyling-local.single-post .entry-content p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) .entry-content p,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) .entry-content li {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  body.opudendo-restyling-local .entry-content section.hero a[style*="display:inline-block"],
  body.opudendo-restyling-local .entry-content section#contatti a[style*="display:inline-block"] {
    display: block !important;
    width: min(100%, 280px) !important;
    min-height: 48px;
    margin: 0 auto .75rem !important;
    box-sizing: border-box;
    text-align: center !important;
  }
}

/* Chiusura per i richiami all'azione ereditati inseriti direttamente negli articoli. */
html body.opudendo-restyling-local #content .entry-content a[style*="background:"],
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"] {
  border-color: var(--opu-action-border) !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local #content .entry-content a[style*="background:"]:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a[style*="background:"][data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"]:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"][data-opudendo-audit-hover="true"] {
  border-color: #7e9fac !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local #content .entry-content a.opud-btn-secondary {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local #content .entry-content a.opud-btn-secondary:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.opud-btn-secondary[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

/* Pulsanti ereditati riconosciuti da classe o dallo sfondo inserito nel contenuto. */
html body.opudendo-restyling-local #content .entry-content a.btn,
html body.opudendo-restyling-local #content .entry-content a.btn-primary,
html body.opudendo-restyling-local #content .entry-content a.opudendo-button,
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"] {
  display: inline-flex !important;
  min-height: 48px !important;
  padding: .8rem 1.1rem !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid var(--opu-action-border) !important;
  border-radius: 999px !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}

html body.opudendo-restyling-local #content .entry-content a.btn:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.btn-primary:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.opudendo-button:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"]:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.btn[data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local #content .entry-content a.btn-primary[data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local #content .entry-content a.opudendo-button[data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local #content .entry-content a[style*="background-color"][data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local button.searchsubmit:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local button.searchsubmit[data-opudendo-audit-hover="true"] {
  border-color: #7e9fac !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

/*
 * Invariante permanente dei collegamenti testuali.
 * Gli stili in linea importati non possono lasciare testo chiaro su riquadri chiari.
 * Sono esclusi i componenti che hanno un proprio contratto visivo da pulsante.
 */
html body.opudendo-restyling-local #content .entry-content a:not(.button):not(.btn):not(.btn-primary):not(.opudendo-button):not(.opud-btn-secondary):not([role="button"]):not(.opudendo-v3-primary):not(.opudendo-v3-secondary):not(.opudendo-card-link):not(.opudendo-youtube-subscribe):not(.opudendo-curated-play):not([style*="display:inline-block"]):not([style*="display: inline-block"]):not([style*="background:"]):not([style*="background-color"]) {
  color: var(--opu-mono-active) !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: .18em;
}

html body.opudendo-restyling-local #content .entry-content a:not(.button):not(.btn):not(.btn-primary):not(.opudendo-button):not(.opud-btn-secondary):not([role="button"]):not(.opudendo-v3-primary):not(.opudendo-v3-secondary):not(.opudendo-card-link):not(.opudendo-youtube-subscribe):not(.opudendo-curated-play):not([style*="display:inline-block"]):not([style*="display: inline-block"]):not([style*="background:"]):not([style*="background-color"]):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a:not(.button):not(.btn):not(.btn-primary):not(.opudendo-button):not(.opud-btn-secondary):not([role="button"]):not(.opudendo-v3-primary):not(.opudendo-v3-secondary):not(.opudendo-card-link):not(.opudendo-youtube-subscribe):not(.opudendo-curated-play):not([style*="display:inline-block"]):not([style*="display: inline-block"]):not([style*="background:"]):not([style*="background-color"])[data-opudendo-audit-hover="true"] {
  color: var(--opu-mono-ink) !important;
  text-decoration-thickness: 2px;
}

/*
 * Chiusura del collaudo smartphone.
 * Il tema di origine assegna una larghezza minima a #forbottom e ad alcuni
 * blocchi importati. Qui ogni livello strutturale viene ricondotto alla
 * larghezza reale dello schermo, senza tagliare testi o comandi.
 */
@media (max-width: 760px) {
  html,
  body.opudendo-restyling-local,
  body.opudendo-restyling-local #wrapper,
  body.opudendo-restyling-local #page,
  body.opudendo-restyling-local #forbottom,
  body.opudendo-restyling-local #main,
  body.opudendo-restyling-local #container,
  body.opudendo-restyling-local #content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  html,
  body.opudendo-restyling-local {
    overflow-x: hidden !important;
  }

  body.opudendo-restyling-local #content > article,
  body.opudendo-restyling-local #content > .page,
  body.opudendo-restyling-local #content > .post,
  body.opudendo-restyling-local #content > .hentry,
  body.opudendo-restyling-local .entry-content,
  body.opudendo-restyling-local .entry-content > *,
  body.opudendo-restyling-local .entry-content section,
  body.opudendo-restyling-local .entry-content section > div,
  body.opudendo-restyling-local .entry-content div,
  body.opudendo-restyling-local .entry-content form,
  body.opudendo-restyling-local .entry-content fieldset {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > article,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .page,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .post,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .hentry {
    width: calc(100% - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: .75rem !important;
  }

  body.opudendo-restyling-local .entry-content h1,
  body.opudendo-restyling-local .entry-content h2,
  body.opudendo-restyling-local .entry-content h3,
  body.opudendo-restyling-local .entry-content h4,
  body.opudendo-restyling-local .entry-content p,
  body.opudendo-restyling-local .entry-content li,
  body.opudendo-restyling-local .entry-content a,
  body.opudendo-restyling-local .entry-content label,
  body.opudendo-restyling-local .entry-content legend {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body.opudendo-restyling-local .entry-content img,
  body.opudendo-restyling-local .entry-content video,
  body.opudendo-restyling-local .entry-content iframe,
  body.opudendo-restyling-local .entry-content svg {
    max-width: 100% !important;
  }

  body.opudendo-restyling-local .entry-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero {
    width: calc(100% - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy {
    width: 100% !important;
    padding: 2.25rem 1.05rem !important;
  }

  body.opudendo-restyling-local .opudendo-environment {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: .7rem !important;
    padding-left: .7rem !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.opudendo-restyling-local .opudendo-mobile-actions {
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    box-sizing: border-box !important;
  }

  body.opudendo-restyling-local .opudendo-mobile-actions a {
    min-width: 0 !important;
    padding: .35rem .15rem !important;
    font-size: .72rem !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }
}

/*
 * Pulsanti editoriali coerenti. Le dichiarazioni con !important sostituiscono
 * i vecchi colori inseriti direttamente nelle pagine importate.
 */
body.opudendo-restyling-local .entry-content a.button {
  display: inline-flex !important;
  width: min(100%, 260px) !important;
  min-height: 48px !important;
  margin: .4rem !important;
  padding: .8rem 1.1rem !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid #343638 !important;
  border-radius: 999px !important;
  background: #343638 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
  vertical-align: top !important;
  box-shadow: 0 8px 20px rgba(32, 35, 38, .10) !important;
}

html body.opudendo-restyling-local .entry-content a.button:not(.outline),
html body.opudendo-restyling-local .entry-content a.button:not(.outline) * {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.opudendo-restyling-local .entry-content a.button.outline {
  border-color: #b9b8b4 !important;
  background: #f3f2ef !important;
  color: #303234 !important;
  box-shadow: none !important;
}

html body.opudendo-restyling-local .entry-content a.button.outline,
html body.opudendo-restyling-local .entry-content a.button.outline * {
  color: #303234 !important;
}

body.opudendo-restyling-local .entry-content a.button:hover,
body.opudendo-restyling-local .entry-content a.button:focus-visible {
  border-color: #202326 !important;
  background: #202326 !important;
  color: #ffffff !important;
}

body.opudendo-restyling-local .entry-content a.button.outline:hover,
body.opudendo-restyling-local .entry-content a.button.outline:focus-visible {
  border-color: #8f8e8a !important;
  background: #e7e6e2 !important;
  color: #202326 !important;
}

/* Video personale unico al posto delle fotografie statiche del titolare. */
body.opudendo-restyling-local .opudendo-personal-loop {
  width: min(100%, 420px);
  margin: 1.6rem auto 2rem;
}

body.opudendo-restyling-local .opudendo-personal-loop-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #d2d1cd;
  border-radius: 22px;
  background: #202224;
  box-shadow: 0 16px 40px rgba(32, 35, 38, .13);
}

body.opudendo-restyling-local .opudendo-personal-loop video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: #202224;
}

body.opudendo-restyling-local .opudendo-personal-loop .opudendo-video-toggle {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  z-index: 2;
  min-height: 44px;
  margin: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .18);
}

body.opudendo-restyling-local .opudendo-personal-loop figcaption {
  margin-top: .65rem;
  color: #65686a;
  font-size: .8rem;
  line-height: 1.45;
  text-align: center;
}

body.opudendo-restyling-local.page-id-16 .opudendo-personal-loop-about {
  float: left;
  width: min(42%, 380px);
  margin: .6rem 2rem 1.25rem 0;
}

body.opudendo-restyling-local.page-id-2054 .entry-content::before {
  background-image: none !important;
}

/*
 * Il filmato personale è inglobato nella lettura: il testo gli scorre
 * accanto e, terminata l'altezza del riquadro, prosegue a tutta larghezza.
 * In questo modo non resta una colonna vuota sotto il filmato.
 */
html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop),
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop) {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop) > div,
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop) > div {
  display: contents !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop) .opudendo-personal-loop,
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop) .opudendo-personal-loop {
  float: left !important;
  width: min(28%, 190px) !important;
  margin: .35rem 1.35rem .8rem 0 !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop) p,
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop) p {
  text-align: left !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop)::after,
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop)::after {
  display: block;
  clear: both;
  content: "";
}

@media (max-width: 760px) {
  body.opudendo-restyling-local .entry-content a.button {
    display: flex !important;
    width: min(100%, 280px) !important;
    margin: .7rem auto !important;
  }

  body.opudendo-restyling-local.page-id-16 .opudendo-personal-loop-about {
    float: none;
    width: min(100%, 360px);
    margin: 1.2rem auto 1.6rem;
  }

  html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div .opudendo-personal-loop) .opudendo-personal-loop,
  html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div .opudendo-personal-loop) .opudendo-personal-loop {
    float: none !important;
    width: min(100%, 340px) !important;
    margin: .5rem auto 1.25rem !important;
  }
}

/*
 * Testata tipografica Open Sans.
 * Il carattere è conservato localmente e viene usato soltanto nella
 * navigazione principale, senza modificare titoli e testi delle pagine.
 */
@font-face {
  font-family: "Open Sans Opudendo";
  src: url("open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans Opudendo";
  src: url("open-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html body.opudendo-restyling-local #access,
html body.opudendo-restyling-local.page-id-2054 #access {
  padding: .55rem .7rem;
  border-top: 1px solid #e4e3df !important;
  border-bottom: 1px solid #deddd9 !important;
  background: rgba(255, 255, 255, .985) !important;
  box-shadow: 0 8px 24px rgba(31, 33, 34, .035) !important;
}

html body.opudendo-restyling-local #access ul#prime_nav {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .3rem;
  background: transparent !important;
}

html body.opudendo-restyling-local #access ul#prime_nav > li {
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
  border: 0 !important;
  background: transparent !important;
}

html body.opudendo-restyling-local #access ul#prime_nav > li > a {
  min-height: 48px;
  padding: .78rem clamp(.72rem, 1.15vw, 1.05rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  color: #303235 !important;
  font-family: "Open Sans Opudendo", "Open Sans", "Segoe UI", Arial, sans-serif !important;
  font-size: .965rem !important;
  font-weight: 600 !important;
  letter-spacing: .006em !important;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

html body.opudendo-restyling-local #access ul#prime_nav > li.current-menu-item > a,
html body.opudendo-restyling-local #access ul#prime_nav > li.current_page_item > a,
html body.opudendo-restyling-local #access ul#prime_nav > li.current-menu-ancestor > a,
html body.opudendo-restyling-local #access ul#prime_nav > li.current-menu-parent > a {
  border-color: #d4d3cf !important;
  background: #e9e8e5 !important;
  box-shadow: 0 5px 16px rgba(38, 40, 41, .075) !important;
  color: #181a1c !important;
}

html body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li.current-menu-item > a,
html body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li.current_page_item > a {
  border-color: #d4d3cf !important;
  background: #e9e8e5 !important;
  box-shadow: 0 5px 16px rgba(38, 40, 41, .075) !important;
  color: #181a1c !important;
}

html body.opudendo-restyling-local #access ul#prime_nav > li:hover > a,
html body.opudendo-restyling-local #access ul#prime_nav > li > a:hover,
html body.opudendo-restyling-local #access ul#prime_nav > li > a:focus-visible {
  border-color: #ddd9dc !important;
  background: #f1edef !important;
  box-shadow: none !important;
  color: #181a1c !important;
  transform: translateY(-1px);
}

html body.opudendo-restyling-local.page-id-2054 #access ul#prime_nav > li > a[href$="/articoli/"] {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  html body.opudendo-restyling-local #nav-toggle {
    min-height: 52px;
    border-radius: 14px;
    font-family: "Open Sans Opudendo", "Open Sans", "Segoe UI", Arial, sans-serif !important;
  }

  html body.opudendo-restyling-local #nav-toggle::after {
    font-family: "Open Sans Opudendo", "Open Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
  }

  html body.opudendo-restyling-local #access ul#prime_nav {
    display: block;
    width: 100%;
    padding: .65rem;
    box-sizing: border-box;
  }

  html body.opudendo-restyling-local #access ul#prime_nav > li {
    width: 100%;
    margin: 0 0 .28rem;
  }

  html body.opudendo-restyling-local #access ul#prime_nav > li:last-child {
    margin-bottom: 0;
  }

  html body.opudendo-restyling-local #access ul#prime_nav > li > a {
    width: 100%;
    min-height: 52px;
    padding: .85rem 1rem;
    justify-content: flex-start;
    border-radius: 14px;
    font-size: 1rem !important;
    text-align: left;
  }
}

/* Contenimento definitivo su smartphone: nessun blocco può superare lo schermo. */
@media (max-width: 760px) {
  html,
  body.opudendo-restyling-local {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }

  body.opudendo-restyling-local #page,
  body.opudendo-restyling-local #main,
  body.opudendo-restyling-local #container,
  body.opudendo-restyling-local #content,
  body.opudendo-restyling-local #content > article,
  body.opudendo-restyling-local article.page,
  body.opudendo-restyling-local .entry-content,
  body.opudendo-restyling-local .entry-content > section,
  body.opudendo-restyling-local.page-id-153 .opudendo-q-hero,
  body.opudendo-restyling-local.page-id-153 .opudendo-q-intro,
  body.opudendo-restyling-local.page-id-153 .opudendo-q-map,
  body.opudendo-restyling-local.page-id-153 .opudendo-q-form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero,
  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy,
  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy > p {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  body.opudendo-restyling-local.page-id-85 #main,
  body.opudendo-restyling-local.page-id-85 #container,
  body.opudendo-restyling-local.page-id-85 #content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.opudendo-restyling-local.page-id-85 #content > article {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: .75rem !important;
    overflow: hidden !important;
  }

  body.opudendo-restyling-local.page-id-153 #main,
  body.opudendo-restyling-local.page-id-153 #container,
  body.opudendo-restyling-local.page-id-153 #content {
    width: calc(100% - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-q-hero h1,
  body.opudendo-restyling-local.page-id-85 h1,
  body.opudendo-restyling-local.page-id-85 h2,
  body.opudendo-restyling-local.page-id-85 h3 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-youtube-cta,
  body.opudendo-restyling-local.page-id-85 .opudendo-video-library {
    width: calc(100vw - 3rem) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 3rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop {
    width: calc(100vw - 2rem) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 2rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/*
 * Racconto visivo: una sola superficie chiara, video silenzioso e colori
 * attenuati. La struttura resta stabile anche quando il video non viene caricato.
 */
body.opudendo-restyling-local .opudendo-video-collage {
  width: min(100%, 1120px);
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.38fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  border: 1px solid #d8d7d3;
  border-radius: 30px;
  background: linear-gradient(135deg, #f7f6f3 0%, #edf0ee 52%, #f2eff3 100%);
  box-shadow: 0 20px 60px rgba(28, 30, 31, .08);
  box-sizing: border-box;
}

body.opudendo-restyling-local .opudendo-video-collage-copy {
  min-width: 0;
}

body.opudendo-restyling-local .opudendo-video-collage-copy h2 {
  margin: .55rem 0 1rem !important;
  max-width: 15ch;
  color: #262728 !important;
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

body.opudendo-restyling-local .opudendo-video-collage-copy > p:not(.opudendo-v3-overline) {
  max-width: 48ch;
  margin: 0 0 1.25rem;
  color: #515456 !important;
  font-size: 1rem !important;
  line-height: 1.68 !important;
}

body.opudendo-restyling-local .opudendo-video-collage-frame {
  min-width: 0;
  margin: 0;
}

body.opudendo-restyling-local .opudendo-collage-video,
body.opudendo-restyling-local .opudendo-video-collage-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 22px;
  background: #e9e9e7;
  box-shadow: 0 16px 45px rgba(20, 22, 23, .13);
}

body.opudendo-restyling-local .opudendo-video-collage-frame figcaption,
body.opudendo-restyling-local .opudendo-context-visual figcaption {
  margin-top: .7rem;
  color: #65686a;
  font-size: .8rem;
  line-height: 1.45;
}

body.opudendo-restyling-local .opudendo-video-toggle {
  min-height: 44px;
  margin: .85rem 0 0;
  padding: .65rem 1rem;
  border: 1px solid #b9bbbc;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #303234;
  font: inherit;
  font-size: .88rem;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
}

body.opudendo-restyling-local .opudendo-video-toggle:hover,
body.opudendo-restyling-local .opudendo-video-toggle:focus-visible {
  border-color: #747779;
  background: #e6e5e2;
  color: #202223;
}

/* Il collage occupa il riquadro principale della pagina iniziale. */
body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait {
  min-height: clamp(500px, 52vw, 610px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px;
  background: #151617 !important;
  box-shadow: 0 18px 55px rgba(24, 26, 27, .12);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait .opudendo-collage-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: #151617;
  opacity: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait .opudendo-video-toggle {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 3;
  max-width: calc(100% - 10.5rem);
  margin: 0;
  border-color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(20, 22, 23, .16);
}

body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait figcaption {
  z-index: 3;
}

/* Invito all'iscrizione, presente soltanto nella pagina Video. */
body.opudendo-restyling-local.page-id-85 .opudendo-youtube-cta {
  width: min(calc(100% - 2rem), 1080px);
  margin: 2rem auto 3.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border: 1px solid #d6d5d1;
  border-radius: 26px;
  background: linear-gradient(135deg, #f7f6f3, #ecefed 58%, #f1eef2);
  box-shadow: 0 18px 55px rgba(28, 30, 31, .09);
  box-sizing: border-box;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 19px;
  background: #d9dad8;
  box-shadow: 0 14px 38px rgba(20, 22, 23, .14);
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(.72) contrast(1.02);
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-media .opudendo-video-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  margin: 0;
  background: rgba(255, 255, 255, .9);
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-copy {
  min-width: 0;
  text-align: left;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-copy h2 {
  margin: .45rem 0 1rem !important;
  color: #252729 !important;
  font-size: clamp(1.9rem, 4vw, 2.75rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-copy > p:not(.opudendo-kicker) {
  margin: 0 0 1.15rem;
  color: #53575a !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-subscribe {
  display: inline-flex;
  min-height: 48px;
  padding: .8rem 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #343638;
  border-radius: 999px;
  background: #343638;
  color: #fff !important;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-subscribe:hover,
body.opudendo-restyling-local.page-id-85 .opudendo-youtube-subscribe:focus-visible {
  border-color: #202326;
  background: #202326;
  color: #fff !important;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-note {
  margin-top: .85rem !important;
  font-size: .8rem !important;
  line-height: 1.5 !important;
}

/* Il video del questionario sostituisce il precedente fotogramma statico. */
body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop {
  width: min(calc(100% - 2rem), 920px);
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  padding: .65rem;
  border: 1px solid #d4d4d1;
  border-radius: 24px;
  background: linear-gradient(135deg, #f7f6f3, #eceeef 58%, #f2eff2);
  box-shadow: 0 14px 42px rgba(28, 30, 31, .08);
  box-sizing: border-box;
}

body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(1) contrast(.96) brightness(1.03);
  border-radius: 17px;
  background: #151617;
}

body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop .opudendo-video-toggle {
  margin: .75rem .35rem .25rem;
}

body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop figcaption {
  margin: .6rem .35rem .15rem;
  color: #626568;
  font-size: .8rem;
  line-height: 1.5;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices {
  margin-top: .7rem;
  border: 1px solid #c9c9c5;
  border-radius: 14px;
  background: #f2f2ef;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices summary {
  min-height: 48px;
  padding: .75rem 2.6rem .75rem 1rem;
  display: flex;
  align-items: center;
  position: relative;
  color: #303335;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices summary::-webkit-details-marker {
  display: none;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices summary::after {
  position: absolute;
  right: 1rem;
  content: "+";
  color: #55585a;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices[open] summary {
  border-bottom: 1px solid #d0d0cc;
  background: #e8e8e5;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices[open] summary::after {
  content: "−";
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices summary:hover,
body.opudendo-restyling-local.page-id-153 .opudendo-question-choices summary:focus-visible {
  background: #e4e4e1;
  color: #202326;
}

body.opudendo-restyling-local.page-id-153 .opudendo-question-choices > ul {
  margin: 0 !important;
  padding: .9rem 1rem 1rem !important;
}

/* Raccolta video leggera. YouTube viene incorporato soltanto dopo il clic. */
body.opudendo-restyling-local.page-id-85 .opudendo-video-library {
  width: min(calc(100% - 2rem), 1080px);
  margin: 0 auto 4rem;
  box-sizing: border-box;
}

body.opudendo-restyling-local.page-id-85 .opudendo-video-library > header {
  max-width: 720px;
  margin: 0 0 1.75rem;
  text-align: left;
}

body.opudendo-restyling-local.page-id-85 .opudendo-video-library > header h2 {
  margin: .45rem 0 .8rem !important;
  color: #252729 !important;
  font-size: clamp(1.9rem, 4vw, 2.8rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}

body.opudendo-restyling-local.page-id-85 .opudendo-video-library > header > p:not(.opudendo-kicker) {
  margin: 0;
  color: #56595c !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #d8d7d3;
  border-radius: 22px;
  background: #f7f6f3;
  box-shadow: 0 12px 36px rgba(28, 30, 31, .07);
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-card:nth-child(2) {
  background: #eef1ef;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-card:nth-child(3) {
  background: #f2eff2;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9dad8;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #d9dad8;
  color: #252729;
  cursor: pointer;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-play span {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  left: .75rem;
  min-height: 44px;
  padding: .65rem .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 7px 22px rgba(20, 22, 23, .16);
  color: #252729;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.2;
  box-sizing: border-box;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-play:hover img,
body.opudendo-restyling-local.page-id-85 .opudendo-curated-play:focus-visible img {
  transform: scale(1.025);
  filter: brightness(.92);
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-play:focus-visible {
  outline: 3px solid #5f6264;
  outline-offset: -4px;
}

body.opudendo-restyling-local.page-id-85 .opudendo-youtube-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-copy {
  flex: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-number {
  margin: 0 0 .55rem !important;
  color: #6a6d6f !important;
  font-size: .72rem !important;
  font-weight: 780;
  letter-spacing: .11em;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-copy h3 {
  margin: 0 0 .75rem !important;
  color: #292b2d !important;
  font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-wrap: balance;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-copy > p:not(.opudendo-curated-number) {
  margin: 0 0 1rem;
  color: #55595b !important;
  font-size: .91rem !important;
  line-height: 1.62 !important;
}

body.opudendo-restyling-local.page-id-85 .opudendo-curated-copy a {
  margin-top: auto;
  color: #303335 !important;
  font-size: .9rem;
  font-weight: 750;
  text-underline-offset: .2em;
}

body.opudendo-restyling-local.page-id-85 .opudendo-video-privacy-note {
  margin: 1rem 0 0 !important;
  color: #686b6d !important;
  font-size: .78rem !important;
  line-height: 1.5 !important;
}

body.opudendo-restyling-local .opudendo-context-visual {
  width: min(calc(100% - 2rem), 920px);
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  padding: .65rem;
  border: 1px solid #d8d7d3;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8f7f4, #ecefed);
  box-shadow: 0 14px 42px rgba(28, 30, 31, .07);
  box-sizing: border-box;
}

body.opudendo-restyling-local .opudendo-context-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 17px;
}

body.opudendo-restyling-local .opudendo-context-visual figcaption {
  padding: 0 .35rem .15rem;
}

@media (max-width: 760px) {
  body.opudendo-restyling-local .opudendo-video-collage {
    width: calc(100% - 1rem);
    margin: 2rem auto;
    padding: 1rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    border-radius: 22px;
  }

  body.opudendo-restyling-local .opudendo-video-collage-copy h2 {
    max-width: none;
    font-size: clamp(1.8rem, 9vw, 2.45rem) !important;
  }

  body.opudendo-restyling-local .opudendo-collage-video {
    border-radius: 16px;
  }

  body.opudendo-restyling-local .opudendo-context-visual {
    width: calc(100% - 1rem);
    margin: 1.5rem auto;
    padding: .5rem;
    border-radius: 18px;
  }

  body.opudendo-restyling-local .opudendo-context-visual img {
    border-radius: 13px;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait {
    min-height: 360px !important;
    border-radius: 18px;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero {
    padding: .55rem;
    gap: .75rem;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy {
    width: 100%;
    padding: 2.4rem 1.25rem;
    border-radius: 18px;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-background-toggle {
    right: .75rem;
    bottom: .15rem;
    max-width: calc(100% - 1.5rem);
    font-size: .78rem;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait .opudendo-video-toggle {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    max-width: none;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-portrait figcaption {
    display: none;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-youtube-cta {
    width: calc(100% - 1rem);
    margin: 1.25rem auto 2.5rem;
    padding: .8rem;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    border-radius: 20px;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-youtube-media {
    border-radius: 15px;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-youtube-copy {
    padding: .35rem .35rem .7rem;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-youtube-subscribe {
    width: 100%;
    box-sizing: border-box;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop {
    width: calc(100% - 1rem);
    margin: 1.5rem auto;
    padding: .5rem;
    border-radius: 18px;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop video {
    border-radius: 13px;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop .opudendo-video-toggle {
    width: calc(100% - .7rem);
    box-sizing: border-box;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-video-library {
    width: calc(100% - 1rem);
    margin-bottom: 2.5rem;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-video-library > header {
    padding: 0 .35rem;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-curated-grid {
    grid-template-columns: 1fr;
  }

  body.opudendo-restyling-local.page-id-85 .opudendo-curated-card {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.opudendo-restyling-local .opudendo-collage-video {
    animation: none !important;
  }
}

/* Anche il titolo generato dal tema usa la tipografia unica del progetto. */
html body.opudendo-restyling-local .entry-title,
html body.opudendo-restyling-local #content .entry-title {
  font-family: "Inter Opudendo", Inter, "Segoe UI", Arial, sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
}

/*
 * Titoli dei passaggi: numero e titolo sono due livelli distinti.
 * Nessun trattino decorativo; stessa gerarchia in tutte le pagine.
 */
body.opudendo-restyling-local .opudendo-step-eyebrow {
  display: block;
  margin: 0 0 .42rem;
  color: var(--opu-mono-mid) !important;
  font-size: .75rem;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: .13em;
  text-transform: uppercase;
}

body.opudendo-restyling-local .opudendo-step-title {
  display: block;
  color: var(--opu-mono-ink) !important;
  font-size: 1em;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

body.opudendo-restyling-local .entry-content h2:has(.opudendo-step-eyebrow),
body.opudendo-restyling-local .entry-content h3:has(.opudendo-step-eyebrow),
body.opudendo-restyling-local .entry-content h4:has(.opudendo-step-eyebrow) {
  margin: 2rem 0 .85rem !important;
  padding: 1rem 1.15rem !important;
  border: 1px solid var(--opu-mono-border) !important;
  border-left: 4px solid #858789 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f6f5f2, #ececea) !important;
}

/*
 * Fotografia dentro il testo: i paragrafi scorrono accanto alla foto e poi
 * occupano tutta la larghezza. Su cellulare la fotografia precede il testo.
 */
html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img),
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) {
  display: flow-root !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img) > div:has(> img),
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) > div:has(> img) {
  float: left !important;
  width: min(34%, 300px) !important;
  min-width: 220px !important;
  margin: 0 2rem 1.25rem 0 !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img) > div:not(:has(> img)),
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) > div:not(:has(> img)) {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img) > div:has(> img) img,
html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) > div:has(> img) img {
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
}

@media (max-width: 760px) {
  html body.opudendo-restyling-local .entry-content div[style*="display:flex"]:has(> div img) > div:has(> img),
  html body.opudendo-restyling-local .entry-content div[style*="display: flex"]:has(> div img) > div:has(> img) {
    float: none !important;
    width: min(100%, 320px) !important;
    min-width: 0 !important;
    margin: 0 auto 1.25rem !important;
  }

  body.opudendo-restyling-local .entry-content h2:has(.opudendo-step-eyebrow),
  body.opudendo-restyling-local .entry-content h3:has(.opudendo-step-eyebrow),
  body.opudendo-restyling-local .entry-content h4:has(.opudendo-step-eyebrow) {
    margin-top: 1.5rem !important;
    padding: .9rem 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.opudendo-restyling-local *,
  body.opudendo-restyling-local *::before,
  body.opudendo-restyling-local *::after {
    scroll-behavior: auto !important;
  }
}

/*
 * Rigore editoriale per le pagine importate.
 * Il riquadro iniziale usa una sola asse centrale; le sezioni di lettura
 * mantengono l'allineamento a sinistra. I pulsanti hanno misure identiche.
 */
body.opudendo-restyling-local .entry-content section.hero {
  text-align: center !important;
}

body.opudendo-restyling-local .entry-content section.hero > div {
  width: min(100%, 760px) !important;
  margin-inline: auto !important;
  text-align: center !important;
}

body.opudendo-restyling-local .entry-content section.hero h1,
html body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) .entry-content section.hero > div > p {
  width: min(100%, 68ch) !important;
  max-width: 68ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.opudendo-restyling-local .entry-content section.hero a.button,
body.opudendo-restyling-local .entry-content section.hero a[style*="display:inline-block"],
body.opudendo-restyling-local .entry-content section#contatti a.button,
body.opudendo-restyling-local .entry-content section#contatti a[style*="display:inline-block"] {
  display: inline-flex !important;
  width: min(100%, 260px) !important;
  min-height: 48px !important;
  margin: .4rem !important;
  padding: .8rem 1.1rem !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  text-align: center !important;
  vertical-align: top !important;
}

body.opudendo-restyling-local .entry-content section#contatti {
  text-align: center !important;
}

body.opudendo-restyling-local .entry-content section#contatti > div,
body.opudendo-restyling-local .entry-content section#contatti > p {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 760px) {
  body.opudendo-restyling-local .entry-content section.hero a.button,
  body.opudendo-restyling-local .entry-content section.hero a[style*="display:inline-block"],
  body.opudendo-restyling-local .entry-content section#contatti a.button,
  body.opudendo-restyling-local .entry-content section#contatti a[style*="display:inline-block"] {
    display: flex !important;
    width: min(100%, 280px) !important;
    margin: .7rem auto !important;
  }
}

/* Anteprima locale del modulo contatti quando HappyForms non è disponibile. */
body.opudendo-restyling-local .opudendo-contact-form-preview {
  margin: 1.25rem 0 !important;
  padding: clamp(1rem, 3vw, 1.5rem) !important;
  border: 1px solid var(--opu-mono-border) !important;
  border-radius: 18px !important;
  background: #f7f6f3 !important;
  box-sizing: border-box !important;
}

body.opudendo-restyling-local .opudendo-contact-form-status {
  display: inline-block;
  margin: 0 0 1rem !important;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: #e7e6e2;
  color: #343638 !important;
  font-size: .82rem !important;
  font-weight: 700;
}

body.opudendo-restyling-local .opudendo-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.opudendo-restyling-local .opudendo-contact-form-preview p {
  margin: 0 0 1rem !important;
}

body.opudendo-restyling-local .opudendo-contact-form-preview label {
  display: block;
  margin-bottom: .4rem;
  color: #303234 !important;
  font-weight: 700;
  text-align: left !important;
}

body.opudendo-restyling-local .opudendo-contact-form-preview input[type="text"],
body.opudendo-restyling-local .opudendo-contact-form-preview input[type="email"],
body.opudendo-restyling-local .opudendo-contact-form-preview textarea {
  width: 100%;
  padding: .8rem;
  border: 1px solid #b9b8b4;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

body.opudendo-restyling-local .opudendo-contact-consent label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  font-weight: 500;
}

body.opudendo-restyling-local .opudendo-contact-form-preview button[disabled] {
  width: min(100%, 360px);
  min-height: 48px;
  padding: .75rem 1rem;
  border: 1px solid #77797a;
  border-radius: 999px;
  background: #77797a;
  color: #fff;
  font-weight: 700;
  opacity: 1;
}

body.opudendo-restyling-local .opudendo-local-technical-notice {
  width: min(100%, 720px) !important;
  margin: 2rem auto !important;
  padding: clamp(1.25rem, 4vw, 2rem) !important;
  border: 1px solid var(--opu-mono-border) !important;
  border-radius: 18px !important;
  background: #f7f6f3 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

body.opudendo-restyling-local .opudendo-local-technical-notice h2,
body.opudendo-restyling-local .opudendo-local-technical-notice p {
  max-width: 62ch !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}

/* Contatti rapidi: un solo allineamento, una sola forma e un solo colore. */
body.opudendo-restyling-local.page-id-100 #cta-final > div {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 160px)) !important;
  gap: .75rem !important;
  width: min(100%, 340px) !important;
  margin: 1rem auto !important;
  justify-content: center !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final > div > a {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: .75rem 1rem !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid #343638 !important;
  border-radius: 999px !important;
  background: #343638 !important;
  color: #fff !important;
  font-size: .88rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final > div > a:hover,
html body.opudendo-restyling-local.page-id-100 #cta-final > div > a:focus-visible {
  border-color: #56585a !important;
  background: #56585a !important;
  color: #fff !important;
}

html body.opudendo-restyling-local.page-id-100 #form-contatti a {
  color: #343638 !important;
  text-underline-offset: .18em;
}

/*
 * Regola finale del collaudo smartphone.
 * È collocata per ultima affinché prevalga anche sugli stili importati.
 */
@media (max-width: 760px) {
  html,
  body.opudendo-restyling-local,
  body.opudendo-restyling-local #wrapper,
  body.opudendo-restyling-local #page,
  body.opudendo-restyling-local #forbottom,
  body.opudendo-restyling-local #main,
  body.opudendo-restyling-local #container,
  body.opudendo-restyling-local #content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  html,
  body.opudendo-restyling-local {
    overflow-x: hidden !important;
  }

  body.opudendo-restyling-local #content > article,
  body.opudendo-restyling-local #content > .page,
  body.opudendo-restyling-local #content > .post,
  body.opudendo-restyling-local #content > .hentry,
  body.opudendo-restyling-local .entry-content,
  body.opudendo-restyling-local .entry-content > *,
  body.opudendo-restyling-local .entry-content section,
  body.opudendo-restyling-local .entry-content section > div,
  body.opudendo-restyling-local .entry-content div,
  body.opudendo-restyling-local .entry-content form,
  body.opudendo-restyling-local .entry-content fieldset {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > article,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .page,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .post,
  body.opudendo-restyling-local:not(.page-id-2054):not(.page-id-153) #content > .hentry {
    width: calc(100% - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: .75rem !important;
  }

  body.opudendo-restyling-local .entry-content h1,
  body.opudendo-restyling-local .entry-content h2,
  body.opudendo-restyling-local .entry-content h3,
  body.opudendo-restyling-local .entry-content h4,
  body.opudendo-restyling-local .entry-content p,
  body.opudendo-restyling-local .entry-content li,
  body.opudendo-restyling-local .entry-content a,
  body.opudendo-restyling-local .entry-content label,
  body.opudendo-restyling-local .entry-content legend {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body.opudendo-restyling-local .entry-content img,
  body.opudendo-restyling-local .entry-content video,
  body.opudendo-restyling-local .entry-content iframe,
  body.opudendo-restyling-local .entry-content svg {
    max-width: 100% !important;
  }

  body.opudendo-restyling-local .entry-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero {
    width: calc(100% - 1rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-v3-hero-copy {
    width: 100% !important;
    padding: 2.25rem 1.05rem !important;
  }

  body.opudendo-restyling-local .opudendo-environment {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: .7rem !important;
    padding-left: .7rem !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  body.opudendo-restyling-local .opudendo-mobile-actions {
    right: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    box-sizing: border-box !important;
  }

  body.opudendo-restyling-local .opudendo-mobile-actions a {
    min-width: 0 !important;
    padding: .35rem .15rem !important;
    font-size: .72rem !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  body.opudendo-restyling-local .opudendo-contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.opudendo-restyling-local.page-id-100 #cta-final > div {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.opudendo-restyling-local.page-id-2054 .opudendo-archive {
    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.opudendo-restyling-local.page-id-153 .opudendo-questionnaire-loop {
    width: auto !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Ultima barriera di cascata: le regole storiche non possono scurire i pulsanti. */
html body.opudendo-restyling-local #content .entry-content a.button.outline {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local #content .entry-content a.button.outline:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local #content .entry-content a.button.outline[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a {
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3) {
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a[data-opudendo-audit-hover="true"] {
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(3)[data-opudendo-audit-hover="true"] {
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local .opudendo-contact-form-preview button[disabled],
html body.opudendo-restyling-local .wpforms-submit[disabled] {
  border-color: #bfc3c4 !important;
  background: #e7e8e6 !important;
  color: #4f5558 !important;
  opacity: 1 !important;
}
html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
) {
  border-color: var(--opu-action-border) !important;
  background: var(--opu-action-blue) !important;
  color: var(--opu-action-ink) !important;
  box-shadow: none !important;
}

html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local :is(
  a.button,
  button:not(#nav-toggle),
  input[type="button"],
  input[type="submit"],
  .opudendo-v3-primary,
  .opudendo-card-link,
  .wpforms-submit:not([disabled]),
  .opudendo-filter-bar button,
  .opudendo-youtube-subscribe,
  #cta-final a
)[data-opudendo-audit-hover="true"] {
  border-color: #7e9fac !important;
  background: var(--opu-action-blue-hover) !important;
  color: #202d34 !important;
}

html body.opudendo-restyling-local :is(a.button.outline, .opudendo-v3-secondary, .opudendo-v3-text-link) {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local :is(a.button.outline, .opudendo-v3-secondary, .opudendo-v3-text-link):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local :is(a.button.outline, .opudendo-v3-secondary, .opudendo-v3-text-link)[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2) {
  border-color: #9dbdad !important;
  background: var(--opu-action-sage) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local.page-id-100 #cta-final a:nth-of-type(2)[data-opudendo-audit-hover="true"],
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2):is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-mobile-actions a:nth-child(2)[data-opudendo-audit-hover="true"] {
  border-color: #79a18d !important;
  background: var(--opu-action-sage-hover) !important;
  color: #24322b !important;
}

html body.opudendo-restyling-local .opudendo-social-links a {
  border-color: #b9adc3 !important;
  background: var(--opu-action-lilac) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local .opudendo-social-links a:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local .opudendo-social-links a[data-opudendo-audit-hover="true"] {
  border-color: #9b88aa !important;
  background: var(--opu-action-lilac-hover) !important;
  color: #302b35 !important;
}
/* Pagina SEO 1567: i riquadri importati con spaziature in linea devono restare nel viewport mobile. */
@media (max-width: 480px) {
  body.page-id-1567 .entry-content,
  body.page-id-1567 .entry-content > *,
  body.page-id-1567 .entry-content section,
  body.page-id-1567 .entry-content div,
  body.page-id-1567 .entry-content p,
  body.page-id-1567 .entry-content ul,
  body.page-id-1567 .entry-content ol,
  body.page-id-1567 .entry-content table {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.page-id-1567 .entry-content [style*="display: grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-id-1567 .entry-content table {
    display: block;
    overflow-x: auto;
  }
}
/* Uniformità finale delle schede, dei comandi e del consenso cookie. */
html body.opudendo-restyling-local .opudendo-video-toggle {
  display: none !important;
}

html body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card,
html body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(n) {
  border: 1px solid #d4d4d0 !important;
  background: #f3f3f1 !important;
  box-shadow: 0 10px 24px rgba(41, 43, 44, .065) !important;
}

html body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card .opudendo-archive-marker,
html body.opudendo-restyling-local.page-id-2054 .opudendo-archive-card:nth-child(n) .opudendo-archive-marker {
  background: #85898a !important;
}

html body.opudendo-restyling-local .happyforms-submit,
html body.opudendo-restyling-local input.wpcf7-submit,
html body.opudendo-restyling-local #cookie_action_close_header,
html body.opudendo-restyling-local .wt-cli-accept-btn {
  min-height: 48px !important;
  border: 1px solid #abc6d4 !important;
  border-radius: 999px !important;
  background: #dcebf3 !important;
  color: #27333a !important;
  font-weight: 750 !important;
}

html body.opudendo-restyling-local .happyforms-submit:hover,
html body.opudendo-restyling-local .happyforms-submit:focus-visible,
html body.opudendo-restyling-local input.wpcf7-submit:hover,
html body.opudendo-restyling-local input.wpcf7-submit:focus-visible,
html body.opudendo-restyling-local #cookie_action_close_header:hover,
html body.opudendo-restyling-local #cookie_action_close_header:focus-visible,
html body.opudendo-restyling-local .wt-cli-accept-btn:hover,
html body.opudendo-restyling-local .wt-cli-accept-btn:focus-visible {
  border-color: #8fb4c5 !important;
  background: #c8e0ec !important;
  color: #1f2b31 !important;
}

html body.opudendo-restyling-local :is(.happyforms-submit,input.wpcf7-submit,#cookie_action_close_header,.wt-cli-accept-btn)[data-opudendo-audit-hover="true"] {
  border-color: #8fb4c5 !important;
  background: #c8e0ec !important;
  color: #1f2b31 !important;
  transition: none !important;
}

html body.opudendo-restyling-local #cookie-law-info-bar .cli_settings_button {
  min-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: .72rem 1rem !important;
  border: 1px solid #c8c8c4 !important;
  border-radius: 999px !important;
  background: #f0f0ee !important;
  color: #27333a !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.opudendo-restyling-local #cookie-law-info-bar .cli_settings_button:hover,
html body.opudendo-restyling-local #cookie-law-info-bar .cli_settings_button:focus-visible {
  border-color: #ababaa !important;
  background: #dededb !important;
}

html body.opudendo-restyling-local #cookie-law-info-bar .cli_settings_button[data-opudendo-audit-hover="true"] {
  border-color: #ababaa !important;
  background: #dededb !important;
}

@media (max-width: 760px) {
  html body.opudendo-restyling-local #cookie-law-info-bar {
    right: .6rem !important;
    bottom: 68px !important;
    left: .6rem !important;
    width: auto !important;
    max-height: calc(100dvh - 92px) !important;
    padding: 1rem !important;
    overflow-y: auto !important;
    border: 1px solid #d4d4d0 !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 38px rgba(31, 35, 37, .18) !important;
  }

  html body.opudendo-restyling-local #cookie-law-info-bar .cli-bar-container,
  html body.opudendo-restyling-local #cookie-law-info-bar .cli-bar-btn_container {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .65rem !important;
  }

  html body.opudendo-restyling-local #cookie-law-info-bar .cli-plugin-button,
  html body.opudendo-restyling-local #cookie-law-info-bar .cli_settings_button {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}

html body.opudendo-restyling-local a.opud-btn-secondary {
  border-color: #c5ad97 !important;
  background: var(--opu-action-sand) !important;
  color: var(--opu-action-ink) !important;
}

html body.opudendo-restyling-local a.opud-btn-secondary:is(:hover, :focus-visible, :active),
html body.opudendo-restyling-local a.opud-btn-secondary[data-opudendo-audit-hover="true"] {
  border-color: #ac8e73 !important;
  background: var(--opu-action-sand-hover) !important;
  color: #2f2d2a !important;
}
/* Comando globale di accessibilità per arrestare i movimenti. */
.opudendo-motion-toggle {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  z-index: 2147482000;
  min-height: 44px;
  padding: .68rem 1rem;
  border: 1px solid #567168;
  border-radius: 999px;
  background: #e4f1ea;
  color: #20352e;
  box-shadow: 0 8px 24px rgba(31, 53, 46, .14);
  font: 600 .92rem/1.15 Inter, Arial, sans-serif;
  cursor: pointer;
}

.opudendo-motion-toggle:hover,
.opudendo-motion-toggle:active,
.opudendo-motion-toggle[aria-pressed="true"] {
  background: #d5e9df;
  color: #172b25;
}

.opudendo-motion-toggle:focus-visible {
  outline: 3px solid #244c40;
  outline-offset: 3px;
}

html.opudendo-motion-paused *,
html.opudendo-motion-paused *::before,
html.opudendo-motion-paused *::after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
}

@media (max-width: 640px) {
  .opudendo-motion-toggle {
    top: 4.75rem;
    right: .7rem;
    min-height: 42px;
    padding: .58rem .82rem;
    font-size: .82rem;
  }
}
