/* STUDIO LEGALMARK V53 – correzione del contrasto del tema V52.
   Mantiene sfondi, struttura e contenuti; ripristina colori leggibili
   nelle sezioni in cui i precedenti stili usavano testo chiaro su fondo chiaro.
   Caricare DOPO v52/logo-ufficiale.css. */
:root { color-scheme: light; }

/* 1. Schede delle consulenze: i titoli erano bianchi solo in alcune cards. */
html body.lm46-site #servizi-aziende .lm-choice-card h3,
html body.lm46-site #servizi-aziende .lm-choice-card h3 a,
html body.lm46-site #servizi-aziende .lm-choice-card h3 a:link,
html body.lm46-site #servizi-aziende .lm-choice-card h3 a:visited {
  color:#102f4b !important;
  -webkit-text-fill-color:#102f4b !important;
  opacity:1 !important;
}
html body.lm46-site #servizi-aziende .lm-choice-card h3 a:hover,
html body.lm46-site #servizi-aziende .lm-choice-card h3 a:focus-visible {
  color:#065b9c !important;
  -webkit-text-fill-color:#065b9c !important;
}

/* 2. Settori di tutela: sezione bianca = inchiostro blu scuro. */
html body.lm46-site #aree-di-tutela {
  background:#f7fafc !important;
  color:#17344d !important;
  -webkit-text-fill-color:currentColor;
}
html body.lm46-site #aree-di-tutela .lm-area-heading h2,
html body.lm46-site #aree-di-tutela .lm-area-heading p,
html body.lm46-site #aree-di-tutela .lm-area-bottom p {
  color:#102b44 !important;
  -webkit-text-fill-color:#102b44 !important;
  opacity:1 !important;
}
html body.lm46-site #aree-di-tutela .kicker,
html body.lm46-site #aree-di-tutela .lm-area-heading .kicker { color:#075f9b!important; -webkit-text-fill-color:#075f9b!important; }
html body.lm46-site #aree-di-tutela .lm-area-bottom a,
html body.lm46-site #aree-di-tutela .lm-area-bottom a:visited {
  color:#075f9b!important; -webkit-text-fill-color:#075f9b!important;
}

/* 3. Private Market: fondi molto chiari e testi prima quasi bianchi. */
html body.lm46-site #private-market-home {
  background:#f2f7fb !important;
  color:#17344d !important;
}
html body.lm46-site #private-market-home .lm-v14-private-heading h2 {
  color:#102b44 !important;
  -webkit-text-fill-color:#102b44 !important;
  opacity:1 !important;
}
html body.lm46-site #private-market-home .lm-v14-private-heading p,
html body.lm46-site #private-market-home .lm-v13-sale-method,
html body.lm46-site #private-market-home .lm-v13-sale-method span {
  color:#334f67 !important;
  -webkit-text-fill-color:#334f67 !important;
  opacity:1 !important;
}
html body.lm46-site #private-market-home .lm-v14-private-heading .kicker {
  color:#0a669e !important;
  -webkit-text-fill-color:#0a669e !important;
}
html body.lm46-site #private-market-home .lm-v14-private-links a,
html body.lm46-site #private-market-home .lm-v14-private-links a:visited {
  color:#075b96 !important;
  -webkit-text-fill-color:#075b96 !important;
}
/* Il riquadro blu della ricerca acquirenti resta scuro, con caratteri chiari. */
html body.lm46-site #private-market-home .lm-v13-buyer-row,
html body.lm46-site #private-market-home .lm-v13-buyer-row p,
html body.lm46-site #private-market-home .lm-v13-buyer-row a {
  color:#f4f8fd !important;
  -webkit-text-fill-color:#f4f8fd !important;
}
html body.lm46-site #private-market-home .lm-v13-buyer-row .kicker {
  color:#b9e4ff !important;
  -webkit-text-fill-color:#b9e4ff !important;
}

/* 4. Sedi: testo leggibile su bianco, mantenendo schede e colonne. */
html body.lm46-site #sede-principale-roma {
  background:#ffffff !important;
  color:#17344d !important;
}
html body.lm46-site #sede-principale-roma .lm-offices-heading h2,
html body.lm46-site #sede-principale-roma .lm-offices-heading p {
  color:#102b44 !important;
  -webkit-text-fill-color:#102b44 !important;
  opacity:1 !important;
}
html body.lm46-site #sede-principale-roma .lm-offices-heading .kicker {
  color:#075f9b!important;
  -webkit-text-fill-color:#075f9b!important;
}
html body.lm46-site #sede-principale-roma .lm-offices-bottom a,
html body.lm46-site #sede-principale-roma .lm-offices-bottom a:visited {
  color:#075f9b!important;
  -webkit-text-fill-color:#075f9b!important;
}

/* 5. Terza scheda editoriale: se il testo è bianco, resta il fondo blu. */
html body.lm46-site .lm44-spotlight .lm44-card.lm44-card-no-photo {
  background:#0b3b65 !important;
  background-image:linear-gradient(140deg,#0c345a 0%,#0a6094 100%)!important;
}
html body.lm46-site .lm44-spotlight .lm44-card-no-photo :is(h3,p,.lm44-card-tag,.lm44-card-arrow) {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}

/* Accessibilità: indicatori di tastiera e testi visibili senza animazioni. */
html body.lm46-site :is(#servizi-aziende,#aree-di-tutela,#private-market-home,#sede-principale-roma) a:focus-visible {
  outline:3px solid #1487c6!important;outline-offset:3px!important;
}

/* Callout conclusiva settori: testo azzurro chiaro su scheda blu notte. */
html body.lm46-site #aree-di-tutela .lm-area-enquiry .kicker {
  color:#d3edff!important;
  -webkit-text-fill-color:#d3edff!important;
}

/* 6. Pagine interne: breadcrumb su sfondo chiarissimo. */
html body.lm46-site main .lm44-interior-hero .lm28-crumbs span,
html body.lm46-site main .lm44-interior-hero .lm28-crumbs span:last-child {
  color:#4d657a!important; -webkit-text-fill-color:#4d657a!important;opacity:1!important;
}

/* 7. Pannelli consulenza: il fondino azzurro deve avere testi blu, non bianchi. */
html body.lm46-site main .lm-v3813-lead-bridge {
  background:#edf6fc!important; color:#142f48!important;
}
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-kicker {
  color:#075e97!important;-webkit-text-fill-color:#075e97!important;
}
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-inner > p,
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-note {
  color:#435b70!important;-webkit-text-fill-color:#435b70!important;opacity:1!important;
}
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-secondary,
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-secondary:visited {
  color:#0b5186!important;-webkit-text-fill-color:#0b5186!important;
  background:#ffffff!important;border-color:#95bdd8!important;
}
html body.lm46-site main .lm-v3813-lead-bridge .lm-v3813-lead-secondary:hover {
  background:#dff0fc!important;
}

/* 8. Form di anteriorità: testo su card bianca. */
html body.lm46-site #form-home .contact-card h2 {color:#102d46!important;-webkit-text-fill-color:#102d46!important;}
html body.lm46-site #form-home .contact-card > p,
html body.lm46-site #form-home .contact-card .note {color:#425970!important;-webkit-text-fill-color:#425970!important;}

/* 9. Portafoglio IP: form su blu scuro, tutte le etichette devono essere chiare. */
html body.lm46-site .enterprise-request .enterprise-eyebrow {color:#9dd9ff!important;-webkit-text-fill-color:#9dd9ff!important;}
html body.lm46-site .enterprise-request .contact-form label,
html body.lm46-site .enterprise-request .contact-form label span,
html body.lm46-site .enterprise-request .contact-form .privacy-row,
html body.lm46-site .enterprise-request .contact-form .privacy-row a,
html body.lm46-site .enterprise-request .contact-form .privacy-row a:visited,
html body.lm46-site .enterprise-request .contact-form .lm-contact-fallback,
html body.lm46-site .enterprise-request .contact-form .lm-contact-fallback a,
html body.lm46-site .enterprise-request .contact-form .lm-contact-fallback a:visited,
html body.lm46-site .enterprise-request .contact-form p.note {
  color:#e4f0f9!important;-webkit-text-fill-color:#e4f0f9!important;
}
html body.lm46-site .enterprise-request .contact-form input,
html body.lm46-site .enterprise-request .contact-form select,
html body.lm46-site .enterprise-request .contact-form textarea {
  color:#17344e!important;-webkit-text-fill-color:#17344e!important;
}

/* 10. Assistenza legale: bottone e numero di telefono su bianco. */
html body.lm46-site .lm-legal-hero .buttons .btn-light,
html body.lm46-site .lm-legal-hero .buttons .btn-light:visited {
  background:#0b5f9b!important;border-color:#0b5f9b!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
}
html body.lm46-site .lm-legal-hero a[href^="tel:"] {
  color:#075b96!important;-webkit-text-fill-color:#075b96!important;
}

/* 11. Pagine locali: badge chiaro e CTA finale blu notte. */
html body.lm46-site .lm44-interior-hero .local-hero-note,
html body.lm46-site .lm44-interior-hero .local-hero-note span {
  background:#eaf3f9!important;color:#173e5d!important;-webkit-text-fill-color:#173e5d!important;
}
html body.lm46-site main section.final h2,
html body.lm46-site main section.final .kicker {
  color:#f4f9ff!important;-webkit-text-fill-color:#f4f9ff!important;
}
/* Etichette editoriali su fondi blu scuro nelle pagine servizi. */
html body.lm46-site main .lm28-dark .enterprise-eyebrow,
html body.lm46-site main .lm28-dark p.enterprise-eyebrow {
  color:#b8e4ff!important;-webkit-text-fill-color:#b8e4ff!important;
}
