/* Homepage colors for the header theme toggle. Dark is the default in home.css. */

html[data-theme="light"] body {
  background: #f4f7fc !important;
  color: #10253e;
}

html[data-theme="light"] .mlf-header {
  background: rgba(244, 247, 252, 0.94);
  border-bottom-color: #DBE5F2;
}
html[data-theme="light"] body .mlf-pill {
    border: 1px solid #A7C5F8;
}
html[data-theme="light"]  .mlf-logo,
html[data-theme="light"] .mlf-menu a:hover {
  color: #10253e;
}
html[data-theme="light"] .mlf-steps .mlf-step svg * {
  fill: #fff;
}
html[data-theme="light"] div#partiamo {
    border-color: #DBE5F2 !important;
}
html[data-theme="light"] .mlf-menu a {
  color: #617083;
}

html[data-theme="light"] .mlf-lang {
  background: #e7edf6;
  border-color: transparent;
}

html[data-theme="light"] .mlf-lang button {
  color: #5d6b82;
}

html[data-theme="light"]  .mlf-lang button.is-on {
  background: #10253e;
  color: #fff;
}

html[data-theme="light"] body .mlf-icon-btn {
  background: #e7edf6;
  border-color: transparent;
  color: #10253e;
}

html[data-theme="light"] body .mlf-header-cta {
    color: #3C69AE;
    border-color: #A7C5F8;
    background: transparent;
}

html[data-theme="light"] body .mlf-hero-sec,
html[data-theme="light"] body .e-con.mlf-hero-sec {
  background: transparent;
}

html[data-theme="light"] body .elementor-heading-title,
html[data-theme="light"] body .mlf-hero-copy h1,
/* html[data-theme="light"] body .mlf-sec h2, */
html[data-theme="light"] body .mlf-sec h3 {
  color: #10253e !important;
}

html[data-theme="light"] body .elementor-heading-title span,
html[data-theme="light"] body .mlf-hero-copy h1 span,
html[data-theme="light"] body .mlf-lead span {
  background: linear-gradient(92.73deg, #2F6BE0 0%, #0D3A7E 75.81%, #2F6BE0 156.68%, #0D3A7E 252.7%) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important; 
    color: transparent !important;
}
html[data-theme="light"]  body .e-con.mlf-hero-copy .elementor-widget-button {
    background: #050509 !important;
}
html[data-theme="light"] body .elementor-widget-text-editor, html[data-theme="light"] body .mlf-lead, html[data-theme="light"] body .mlf-head p {
    color: #3C69AE !important;
}
html[data-theme="light"] body .elementor-widget-text-editor p {
    color: #617083 !important;
}
html[data-theme="light"] div#sapere+div {
    border-top: 1px solid #DBE5F2;
}
html[data-theme="light"] body .mlf-hero-copy p.mlf-lead strong {
    color: #10253E;
    font-weight: 600;
}
html[data-theme="light"] body .elementor-widget-button .elementor-button {
  background: #050509 !important;
  color: #fff !important;
  border-color: #050509 !important;
}
html[data-theme="light"] body .elementor-widget-text-editor p {
    color: #46566B !important;
}
html[data-theme="light"] body .mlf-pill,
html[data-theme="light"] body .mlf-kicker,
html[data-theme="light"] body .mlf-num .elementor-heading-title,
html[data-theme="light"] body .mlf-cite,
html[data-theme="light"] body .mlf-steps small,
html[data-theme="light"] body .mlf-quotes cite {
  color: #4F85EC !important;
}

/* Porta follows the light page. The source cards stay on their dark panels. */
html[data-theme="light"] body #porta,
html[data-theme="light"] body #porta .e-con.mlf-wrap,
html[data-theme="light"] body #porta .mlf-head {
  background: #f4f7fc !important;
  background-image: none !important;
  color: #10253e;
}

html[data-theme="light"] body #porta .mlf-head .elementor-heading-title {
  color: #10253e !important;
}

html[data-theme="light"] body #porta .mlf-card .elementor-heading-title,
html[data-theme="light"] body #porta .mlf-source-kicker,
html[data-theme="light"] body #porta .mlf-source-kicker p,
html[data-theme="light"] body #porta .mlf-source-kicker .elementor-heading-title {
  color: rgba(232, 239, 255, 0.92) !important;
}

html[data-theme="light"] body #porta .e-con.mlf-card {
  border: 0;
}

html[data-theme="light"] body .mlf-sources article,
html[data-theme="light"] body .mlf-two article,
html[data-theme="light"] body .mlf-people article,
html[data-theme="light"] body .mlf-reads article,
html[data-theme="light"] body .mlf-quotes blockquote,
html[data-theme="light"] body .mlf-event,
html[data-theme="light"] body .mlf-mod-panel,
html[data-theme="light"] body .mlf-case,
html[data-theme="light"] body .mlf-chat-card,
html[data-theme="light"] body .mlf-form-card,
html[data-theme="light"] body .e-con.mlf-method-aside,
html[data-theme="light"] body .e-con.mlf-chat-card,
html[data-theme="light"] body .e-con.mlf-form-card {
  background: #fff;
  border-color: rgba(16, 37, 62, 0.08);
  color: #10253e;
}
html[data-theme="light"] body .e-con.mlf-card {
    background: linear-gradient(124.27deg, #EAF2FC 0%, #FFFFFF 70%);
    border-color: #A7C5F8;
}
html[data-theme="light"] body .e-con.mlf-card p.mlf-kicker {
    color: #4F85EC !important;
}
html[data-theme="light"] body .e-con.mlf-card .commonP p {
    color: #3C69AE !important;
}
html[data-theme="light"] body .mlf-steps,
html[data-theme="light"] body .mlf-method-list .elementor-icon-list-item,
html[data-theme="light"] body .mlf-lessons .elementor-icon-list-item,
html[data-theme="light"] body .mlf-case-list .elementor-icon-list-item,
/* html[data-theme="light"] body .mlf-faq .elementor-accordion-item, */
html[data-theme="light"] body .mlf-meet-list article,
html[data-theme="light"] body .mlf-method li,
html[data-theme="light"] body .mlf-mod-panel li,
html[data-theme="light"] body .mlf-case li,
html[data-theme="light"] body .mlf-faq details {
  border-color: rgba(16, 37, 62, 0.1);
}

html[data-theme="light"] body .mlf-method-list .elementor-icon-list-item,
html[data-theme="light"] body .mlf-lessons .elementor-icon-list-item,
html[data-theme="light"] body .mlf-case-list .elementor-icon-list-item,
html[data-theme="light"] body .mlf-mod-panel li,
html[data-theme="light"] body .mlf-case li,
html[data-theme="light"] body .mlf-suggest span,
html[data-theme="light"] body .mlf-faq .elementor-tab-content {
  color: #3d4d66;
}

html[data-theme="light"] body .mlf-quotes p,
html[data-theme="light"] body .mlf-method-aside p,
html[data-theme="light"] body .mlf-method-aside .elementor-widget-container p {
  color: #10253e !important;
}

html[data-theme="light"] body .mlf-form-card input,
html[data-theme="light"] body .mlf-form-card textarea,
html[data-theme="light"] body .mlf-join-form input,
html[data-theme="light"] body .mlf-join-form textarea {
  background: #f4f7fc;
  color: #10253e;
  border-color: rgba(16, 37, 62, 0.14);
}

html[data-theme="light"] body .mlf-footer {
  background: #eef3f9;
  color: #3d4d66;
  border-top-color: rgba(16, 37, 62, 0.08);
}

html[data-theme="light"] body .mlf-footer a,
html[data-theme="light"] body .mlf-footer p {
  color: #10253E !important;
  font-weight: 500 !important;
}
html[data-theme="light"] .mlf-footer .mlf-footer-base p:last-child {
    color: #617083 !important;
}

html[data-theme="light"] body .mlf-footer h2 {
  color: #10253e;
}

/* The patrimonio card stays the dark blue panel in both themes. */
html[data-theme="light"] body .e-con.mlf-pat,
html[data-theme="light"] body .mlf-pat {
  color: #f7f9ff;
}

html[data-theme="light"] body .mlf-pat .elementor-heading-title,
html[data-theme="light"] body .mlf-pat .elementor-widget-text-editor,
html[data-theme="light"] body .mlf-pat .elementor-widget-text-editor p,
html[data-theme="light"] body .mlf-pat-kicker {
  color: #f7f9ff !important;
}

/* Newsletter band (.newsletter-sec). Colors follow the class on any page. */
body .newsletter-sec {
  background: #040509 !important;
  background-color: #040509 !important;
  background-image: none !important;
}

/*body .newsletter-sec .elementor-heading-title {
  color: #f4f7ff !important;
  -webkit-text-fill-color: #f4f7ff !important;
}*/

/*body .newsletter-sec .elementor-widget-text-editor,
body .newsletter-sec .elementor-widget-text-editor p {
  color: #9aa4b8 !important;
}*/

html[data-theme="light"] body .newsletter-sec {
  background: #f4f7fc !important;
  background-color: #f4f7fc !important;
  background-image: none !important;
}

html[data-theme="light"] body .newsletter-sec .elementor-heading-title {
    color: #617083 !important;
    -webkit-text-fill-color: #617083 !important;
}

html[data-theme="light"] body .newsletter-sec .elementor-widget-text-editor,
html[data-theme="light"] body .newsletter-sec .elementor-widget-text-editor p {
  color: #526077 !important;
}

html[data-theme="light"] body .email-form {
  background: #fff !important;
  border: 1px solid rgba(16, 37, 62, 0.16);
}

html[data-theme="light"] body .email-form input {
  color: #10253e !important;
}

html[data-theme="light"] body .email-form input::placeholder {
  color: #526077 !important;
}

html[data-theme="light"] body .email-form button,
html[data-theme="light"] body .email-form button svg {
  color: #10253e !important;
  fill: #10253e !important;
}

html[data-theme="light"] body .mlf-faq .elementor-tab-title,
html[data-theme="light"] body .mlf-faq .elementor-accordion-title,
html[data-theme="light"] body .mlf-faq .elementor-tab-content {
  color: #0A2540 !important;
  -webkit-text-fill-color: #0A2540 !important;
}

html[data-theme="light"] body .mlf-faq .elementor-accordion-icon,
html[data-theme="light"] body .mlf-faq .elementor-accordion-icon svg,
html[data-theme="light"] body .mlf-faq .elementor-accordion-icon svg path {
  color: #10253e !important;
  fill: #10253e !important;
}

html[data-theme="light"] body .mlf-faq .elementor-accordion-icon svg path {
  color: #71717A !important;
  fill: #71717A !important;
}

html[data-theme="light"] body #moduli .mlf-mod-out li,
html[data-theme="light"] body #moduli .mlf-mod-topic strong,
html[data-theme="light"] body #moduli .mlf-mod-meta li,
html[data-theme="light"] body #moduli .mlf-mod-label {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #moduli .mlf-mod-meta li {
  background: #fff !important;
  border-color: rgba(16, 37, 62, 0.16) !important;
}

html[data-theme="light"] body #moduli .mlf-mod-meta svg {
  color: #4F85EC !important;
}

html[data-theme="light"] body .titleNew1 h2.elementor-heading-title,
html[data-theme="light"] body .gradientTitle h2.elementor-heading-title {
  background-image: linear-gradient(170deg,rgba(47, 107, 224, 1) 0%, rgba(16, 37, 62, 1) 80%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
html[data-theme="light"] body .titleNew1 h2.elementor-heading-title {
  background-image: linear-gradient(180deg, rgba(47, 107, 224, 1) 0%, rgba(16, 37, 62, 1) 80%) !important;
}

html[data-theme="light"] body .contact-info .heading-gradi,
html[data-theme="light"] body .contact-info .elementor-heading-title {
  background: linear-gradient(90.83deg, #2F6BE0 0%, #10253E 77.31%, #2F6BE0 159.78%, #10253E 257.71%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] body .contact-info .elementor-widget-text-editor,
html[data-theme="light"] body .contact-info .elementor-widget-text-editor p {
  color: #3d4d66 !important;
}
html[data-theme="light"] div#sapere .elementor-element.elementor-element-s49756.e-con-full.mlf-wrap.mlf-meet.e-flex.e-con.e-child {
    border-top: 1px solid #DBE5F2;
}
html[data-theme="light"] body #ciclo .mlf-cycle-stage.mlf-cycle-stage::before {
    content: "" !important;
}
html[data-theme="light"] body .PMF-Sec strong, html[data-theme="light"] body .commonP strong {
    color: #10253E !important;
    -webkit-text-fill-color: #10253E !important;
}
html[data-theme="light"] .mlf-met-head h2.elementor-heading-title.elementor-size-default {
    -webkit-text-fill-color: unset;
}
html[data-theme="light"] body #porta {
    border-bottom: 1px solid #DBE5F2;
}
/* Light homepage: Il Metodo and Moduli match the light Figma frame. */
html[data-theme="light"] body #fasi.mlf-sec {
    background: #f4f7fc !important;
    background-image: none !important;
    border-bottom-color: #DBE5F2 !important;
    border-top: 1px solid #DBE5F2 !important;
}

/* html[data-theme="light"] body #fasi .mlf-fasi {
  background: #fff;
  border: 1px solid rgba(16, 37, 62, 0.08);
  border-radius: 28px;
  padding: 40px 44px 36px;
  box-shadow: 0 18px 48px rgba(16, 40, 80, 0.05);
} */

html[data-theme="light"] body #fasi .mlf-fasi-panel,
html[data-theme="light"] body #fasi .mlf-fasi-panel .e-con {
      border-left-color: #DBE5F2 !important;
}

html[data-theme="light"] body #fasi h2,
html[data-theme="light"] body #fasi h3,
html[data-theme="light"] body #fasi .elementor-heading-title {
  background-image: none !important;
  -webkit-text-fill-color: #10253e !important;
  color: #10253e !important;
}
html[data-theme="light"] body #fasi .mlf-fasi-tabs button {
  color: #5d6b82 !important;
  -webkit-text-fill-color: #5d6b82 !important;
  border-color: rgba(16, 37, 62, 0.1) !important;
}

html[data-theme="light"] body #fasi .mlf-fasi-tabs {
  background: #f4f7fc !important;
  border-color: rgba(16, 37, 62, 0.1) !important;
}

html[data-theme="light"] body #fasi .mlf-fasi-tabs button.is-on {
  background: #10253e !important;
  border-color: #10253e !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] body #fasi .mlf-fasi-panel ul {
  border-top-color: rgba(16, 37, 62, 0.1);
}

html[data-theme="light"] body #fasi .mlf-fasi-panel li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232457d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m5 12 5 5L20 7'/%3E%3C/svg%3E") !important;
}

html[data-theme="light"] body #moduli .mlf-mod-panel {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(16, 37, 62, 0.08) !important;
  box-shadow: none !important;
  color: #10253e;
}

html[data-theme="light"] body #moduli .mlf-mod-panel::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 22%;
  width: 42%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 168, 242, 0.42), rgba(255, 255, 255, 0) 68%);
  pointer-events: none;
}

html[data-theme="light"] body #moduli .mlf-mod-panel > * {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] body #moduli .mlf-mod-id h3,
html[data-theme="light"] body #moduli .mlf-mod-topic strong,
html[data-theme="light"] body #moduli .mlf-mod-who li,
html[data-theme="light"] body #moduli .mlf-mod-level b {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #moduli .mlf-mod-label,
html[data-theme="light"] body #moduli .mlf-mod-topic em {
  color: #526077 !important;
  -webkit-text-fill-color: #526077 !important;
}

html[data-theme="light"] body #moduli .mlf-mod-badge {
  background: #e7eef9 !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #4F85EC !important;

  background: linear-gradient(135deg, #CADFF7 0%, #E9F1FB 100%) !important;
  box-shadow: 0px 0px 36px 0px #4F85EC40 !important;
  border-color: #BED3EE !important;   
}

html[data-theme="light"] body #moduli .mlf-mod-badge svg * {
    stroke: #3C69AE !important;
    fill: none;
}

html[data-theme="light"] body #moduli .mlfSection1,
html[data-theme="light"] body #fasi .e-con[style*="06090"],
html[data-theme="light"] body #moduli .e-con[style*="06090"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Light mode: Moduli card, Settori detail, contact form, newsletter. */
html[data-theme="light"] body #moduli .mlf-mod-panel,
html[data-theme="light"] body #moduli .mlf-mod-panel header.mlf-mod-head,
html[data-theme="light"] body #moduli .mlf-mod-panel > .mlf-mod-body,
html[data-theme="light"] body #moduli .mlf-mod-panel > .mlf-mod-body > .mlf-mod-topics,
html[data-theme="light"] body #moduli .mlf-mod-side {
  background: #fff !important;
  background-image: none !important;
  color: #10253e;
}

html[data-theme="light"] body #moduli .mlf-mod-panel header.mlf-mod-head {
    border-bottom-color: #DBE5F2 !important;
    background: linear-gradient(105.74deg, #EAF2FC 0%, #FFFFFF 70%) !important;
}

html[data-theme="light"] body #moduli .mlf-mod-side {
  border-left-color: rgba(16, 37, 62, 0.08);
}

html[data-theme="light"] body #moduli .mlf-mod-id h3,
html[data-theme="light"] body #moduli .mlf-mod-topic strong,
html[data-theme="light"] body #moduli .mlf-mod-topic.is-on strong,
html[data-theme="light"] body #moduli .mlf-mod-out li,
html[data-theme="light"] body #moduli .mlf-mod-who li,
html[data-theme="light"] body #moduli .mlf-mod-level b,
html[data-theme="light"] body #moduli .mlf-mod-meta li {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #moduli .mlf-mod-label,
html[data-theme="light"] body #moduli .mlf-mod-topic em,
html[data-theme="light"] body #moduli .mlf-mod-level p,
html[data-theme="light"] body #moduli .mlf-mod-level small {
  color: #526077 !important;
  -webkit-text-fill-color: #526077 !important;
}

html[data-theme="light"] body #moduli .mlf-mod-topic span {
    color: #4F85EC !important;
}
html[data-theme="light"] body #moduli .mlf-mod-topic.is-on strong {
    font-weight: 500 !important;
}
html[data-theme="light"] body #moduli .mlf-mod-topic.is-on span {
  color: #4F85EC !important;
  -webkit-text-fill-color: #4F85EC !important;
}

html[data-theme="light"] body #moduli .mlf-mod-meta li, html[data-theme="light"] body #moduli .mlf-mod-who li {
    background: #fff !important;
    border: 1px solid #C9D6E8 !important;
}

html[data-theme="light"] body #moduli .mlf-mod-who li {
    border-color: #A7C5F8 !important;
    background-color: transparent !important;
}

html[data-theme="light"] body #moduli .mlf-mod-out li {
    background: #ffffff !important;
    border-color: #DBE5F2 !important;
}

html[data-theme="light"] body #moduli .mlf-mod-out li::before {
    color: #3C69AE !important;
    border-color: #BED3EE !important;
    background: linear-gradient(135deg, #CADFF7 0%, #E9F1FB 100%) !important;
}

html[data-theme="light"] body #moduli .mlf-mod-level i {
  background: #e3ebf6 !important;
}

html[data-theme="light"] body #settori .mlf-set-card {
  background: #fff !important;
  background-image: radial-gradient(46% 42% at 52% 46%, rgba(126, 168, 242, 0.28), rgba(255, 255, 255, 0) 70%) !important;
  border-color: rgba(16, 37, 62, 0.1) !important;
}

html[data-theme="light"] body #settori .mlf-set-card h3,
html[data-theme="light"] body #settori .mlf-set-out {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #settori .mlf-set-mid span {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(214, 230, 252, 0.88) 55%, rgba(190, 212, 246, 0.75) 100%);
    border-color: #5B95F5 !important;
    box-shadow: 0px 0px 38.8px 0px #4F85EC4D;
}

html[data-theme="light"] body #settori .mlf-set-mid em {
    color: #3C69AE !important;
}

html[data-theme="light"] body #settori .mlf-set-end-in {
  background: #f4f7fc !important;
  background-image: none !important;
  border-color: rgba(16, 37, 62, 0.1) !important;
}

html[data-theme="light"] body #settori .mlf-set-compare div.non-active,
html[data-theme="light"] body #settori .mlf-set-compare div.active {
  background: #fff !important;
}

html[data-theme="light"] body #tecnologie .mlf-tech-tile,
html[data-theme="light"] body #tecnologie .mlf-tech-tile.is-on,
html[data-theme="light"] body #tecnologie .mlf-tech-tile:hover {
  background: #fff !important;
  background-image: none !important;
  border-color: rgba(36, 87, 214, 0.28) !important;
  color: #10253e !important;
}

html[data-theme="light"] body #tecnologie .mlf-tech-tile.is-on,
html[data-theme="light"] body #tecnologie .mlf-tech-tile:hover {
  border-color: #4F85EC !important;
  box-shadow: 0 0 0 1px rgba(36, 87, 214, 0.18);
}

html[data-theme="light"] body #tecnologie .mlf-tech-tile.is-on {
    border-color: #8D98A8 !important;
}

html[data-theme="light"] body #tecnologie .mlf-tech-tile strong {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

/* html[data-theme="light"] body #tecnologie .mlf-tech-card {
  background: #fff !important;
  background-image: radial-gradient(38% 36% at 28% 22%, rgba(126, 168, 242, 0.45), rgba(255, 255, 255, 0) 70%) !important;
  border-color: rgba(16, 37, 62, 0.1) !important;
} */

html[data-theme="light"] body #tecnologie .mlf-tech-card h3,
html[data-theme="light"] body #tecnologie .mlf-tech-card li {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #contatti .mlf-form-card {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border-color: rgba(16, 37, 62, 0.12) !important;
}
html[data-theme="light"] body .mlf-contact .mlf-form-card {
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  border-color: #DBE3EE !important;
}

html[data-theme="light"] body #contatti .mlf-form-card label,
html[data-theme="light"] body #contatti .wpcf7 label,
html[data-theme="light"] body .mlf-contact .wpcf7 label,
html[data-theme="light"] body .mlf-contact .whatsapp h3,
html[data-theme="light"] body .mlf-contact .field dd {
  color: #10253e !important;
}

html[data-theme="light"] body .mlf-contact .field.big dd a {
    color: #46566B !important;
} 

/* html[data-theme="light"] body .mlf-contact .mlf-form-card input.wpcf7-email,
html[data-theme="light"] body .mlf-contact .mlf-form-card textarea.wpcf7-textarea {
  background: #f7f9fc !important;
  color: #10253e !important;
  border-color: rgba(16, 37, 62, 0.14) !important;
} */

html[data-theme="light"] body .mlf-contact .qr {
  background: #f4f7fc !important;
  border-color: rgba(36, 87, 214, 0.35) !important;
  color: #526077 !important;
}

html[data-theme="light"] body .mlf-contact .whatsapp p,
html[data-theme="light"] body .mlf-contact .field dt {
  color: #526077 !important;
}

html[data-theme="light"] #mailpoet_form_1 form.mailpoet_form {
  background: #fff !important;
  border: 1px solid rgba(16, 37, 62, 0.16);
}

html[data-theme="light"] #mailpoet_form_1 form.mailpoet_form .mailpoet_paragraph.form-input input {
  color: #10253e !important;
  background: transparent !important;
}

/* Light mode only: button and pill labels stay readable. Dark rules above are unchanged. */
html[data-theme="light"] body #appuntamenti .mlf-agenda-kicker p {
  color: #4F85EC !important;
  -webkit-text-fill-color: #4F85EC !important;
  background: #fff;
  border-color: rgba(36, 87, 214, 0.45) !important;
}

html[data-theme="light"] body #tecnologie .mlf-tech-chips li {
    background: #EAF2FCF2 !important;
    border: 1px solid #DBE5F2 !important;
    color: #10253E !important;
    -webkit-text-fill-color: #10253E !important;
}

html[data-theme="light"] body #moduli .mlf-btn .elementor-button,
html[data-theme="light"] body #moduli .mlf-btn .elementor-button-text {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html[data-theme="light"] body #moduli .mlf-btn .elementor-button svg,
html[data-theme="light"] body #moduli .mlf-btn .elementor-button svg path {
  color: #fff !important;
  fill: #fff !important;
  stroke: #fff !important;
}

html[data-theme="light"] body #approccio .mlf-met-chips span,
html[data-theme="light"] body #approccio .mlf-met-pair em {
  background: #fff !important;
  border-color: rgba(16, 37, 62, 0.18) !important;
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
}

html[data-theme="light"] body #approccio .mlf-met-lead strong {
  color: #10253e !important;
  -webkit-text-fill-color: #10253e !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

/* html[data-theme="light"] body #approccio .mlf-met-venn span {
  color: #fff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #fff;
} */

html[data-theme="light"] body #fasi h3 {
    background: linear-gradient(92.3deg, #2F6BE0 0%, #10253E 76.15%, #2F6BE0 157.37%, #10253E 253.82%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    width: 100% !important;
}
html[data-theme="light"] body #fasi .mlf-fasi-tabs button {
    color: #5d6b82 !important;
    -webkit-text-fill-color: #5d6b82 !important;
    border-color: rgba(16, 37, 62, 0.1) !important;
    border: none !important;
    background: transparent !important;
}
html[data-theme="light"] #moduli .mlf-fasi-kicker p {
    border: 1px solid #A7C5F8 !important;
    color: #3C69AE !important;
}











html[data-theme="light"] body #moduli .mlf-mod-sub {
    color: #3C69AE !important;
}
html[data-theme="light"] body #moduli .mlf-mod-panel header.mlf-mod-head .mlf-mod-id p.mlf-mod-code {
    color: #4F85EC !important;
}
html[data-theme="light"] body #moduli li.mlf-mod-topic:first-child button::before {
    background: #4F85EC !important;
}
html[data-theme="light"] body #moduli .mlf-mod-side {
    background: linear-gradient(180deg, #EAF2FC 0%, rgba(234, 242, 252, 0) 70%) !important;
}
html[data-theme="light"] body #settori .elementor-widget-text-editor p.mlf-pill {
    color: #3C69AE !important;
    margin-bottom: 0 !important;
}
html[data-theme="light"] body #settori .mlf-set-lead p {
    color: #617083 !important;
}
html[data-theme="light"] body #settori .mlf-set-tab {
    border-color: #C9D6E8 !important;
    background: transparent !important;
    color: #46566B !important;
}
html[data-theme="light"] body #settori .mlf-set-case.is-on, html[data-theme="light"] body #settori .mlf-set-case:hover {
    border-color: #5B6675 !important;
    background: linear-gradient(110.92deg, #EAF2FC 0%, #FFFFFF 100%) !important;
}
html[data-theme="light"] body #settori .mlf-set-case > span.mlf-set-lico {    
    background: linear-gradient(135deg, #CADFF7 0%, #E9F1FB 100%);
    border: 1px solid #BED3EE;
}
html[data-theme="light"] body #settori .mlf-set-case > span.mlf-set-lico svg * {
    stroke: #3C69AE;
}
html[data-theme="light"] body #settori .mlf-set-card {
    border-color: #C9D6E8 !important;
    background: url(https://ml-foundations.webgarh.net/wp-content/uploads/2026/10/lightCheckBG.jpg) !important;
    background-size: cover !important;
}
html[data-theme="light"] body #settori .mlf-set-card > p.mlf-set-kicker {
    color: #2F6BE0 !important;
}
html[data-theme="light"] body #appuntamenti .mlf-agenda-row {
    background: transparent !important;    
}
html[data-theme="light"] body #settori.mlf-sec,
html[data-theme="light"] body #settori.mlf-sec,
html[data-theme="light"] body #appuntamenti.mlf-sec,
html[data-theme="light"] body #appuntamenti .mlf-agenda-row:first-child,
html[data-theme="light"] body #appuntamenti .mlf-agenda-row,
html[data-theme="light"] div#docenti,
html[data-theme="light"] div#voci,
html[data-theme="light"] .faqMain {
    border-color: #DBE5F2 !important;
}
html[data-theme="light"] body #percorso .mlf-path-chat {
    border-color: #A7C5F8 !important;
    box-shadow: none !important;
}
html[data-theme="light"] body #percorso .mlf-path-chat header {
    border-bottom: 1px solid #DBE5F2 !important; 
}
html[data-theme="light"] body #percorso .mlf-path-stream > p.is-bot {
    background: #EAF2FC !important;
    color: #10253E !important;
    border-color: #DBE5F2 !important;
}
html[data-theme="light"] .misura-con .elementor-icon-box-wrapper .elementor-icon-box-icon {
    border: 1px solid #BED3EE;
    background: linear-gradient(135deg, #CADFF7 0%, #E9F1FB 100%);
}
html[data-theme="light"] .misura-con .elementor-icon-box-wrapper .elementor-icon-box-icon * {
    stroke: #3C69AE !important;
} 
html[data-theme="light"]  body #percorso .mlf-path-form button {
    background: #050509;
    color: #fff;
}
html[data-theme="light"] body #percorso .mlf-path-form input::placeholder {
    color: #65788a;
}
html[data-theme="light"] body #percorso .mlf-path-mark {
    background: #050509;
}
html[data-theme="light"] body #percorso .mlf-path-choices {
    border-top: 1px solid #DBE5F2;
}
html[data-theme="light"] body #voci .mlf-voci-card,
html[data-theme="light"] body #voci .mlf-voci-card.is-on {
  box-shadow: none !important;
}
html[data-theme="light"] body #voci .mlf-voci-nav button {
    background: transparent !important;
    border-color: #A7C5F8 !important;
}
html[data-theme="light"] body div#ciclo .elementor-widget-text-editor p {
    color: #3C69AE !important;
}
html[data-theme="light"] body #partiamo .elementor-widget-text-editor p {
  color: #3C69AE !important;
}
html[data-theme="light"] body #porta .e-con.mlf-card {
    box-shadow: 1px 13.8px 36.8px 0px #102A5C36;
}
html[data-theme="light"] body #fasi .mlf-fasi-panel li {
    color: #46566B !important;
}
html[data-theme="light"] body #moduli.mlf-sec {
    border-bottom: 1px solid #DBE5F2 !important;
}
html[data-theme="light"] body #moduli .mlf-btn {
    background: #050509 !important;
}
html[data-theme="light"] body #settori .mlf-set-mid span svg {
    width: 58px !important;
    height: 58px !important;
}
html[data-theme="light"] body #settori .mlf-set-mid span svg *{
    stroke: #2F6BE0 !important;
}
html[data-theme="light"] body #tecnologie .mlf-tech-badge::before {
    content: "";
    width: 260px;
    height: 260px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(122, 170, 240, 0.4) 0%, rgba(122, 170, 240, 0) 100%);
    position: absolute;
    inset: calc(50% - 130px);
    z-index: 0;
}
html[data-theme="light"] body #tecnologie .mlf-tech-badge svg * {
    stroke: #10253E;
}
html[data-theme="light"] body #tecnologie .mlf-tech-badge {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(214, 230, 252, 0.88) 55%, rgba(190, 212, 246, 0.75) 100%) !important;
    border-color: #5B95F5 !important;
}
html[data-theme="light"] body #tecnologie .mlf-tech-split p.mlf-tech-label {
    color: #617083 !important;
}
/* body #appuntamenti .mlf-agenda-feature .mlf-agenda-art {
    background: radial-gradient(50% 50% at 50% 50%, rgba(122, 170, 240, 0.5) 0%, rgba(122, 170, 240, 0) 100%);
} */
html[data-theme="light"] body #appuntamenti .mlf-agenda-desc p {
    color: #46566B !important;
}
html[data-theme="light"] body #appuntamenti .mlf-agenda-meta {
    border-color: #DBE5F2 !important;
}
html[data-theme="light"] body .mlf-sec h2 {
    color: #0A2540 !important;
}
html[data-theme="light"] body .mlf-sec .elementor-widget-text-editor p {
    color: #0A2540 !important;
}
html[data-theme="light"] body .mlf-sec .mlf-meet-item:last-child .elementor-widget-text-editor:first-child p {
    color: #4F85EC !important;
}
html[data-theme="light"] body .mlf-sec .mlf-meet-item:first-child .elementor-widget-text-editor:first-child p {
    color: #617083 !important;
}
html[data-theme="light"] body .mlf-sec .elementor-widget-text-editor p strong {
    color: #3069B3 !important;
}
html[data-theme="light"] body .mlf-faq .elementor-accordion-item {
    background: #fff !important;
    border-color: #0A2540 !important;
}
html[data-theme="light"] body .contact-info .elementor-widget-text-editor p {
    color: #46566B !important;
}
html[data-theme="light"] body .newsletter-sec .elementor-widget-text-editor,
html[data-theme="light"] body .newsletter-sec .elementor-widget-text-editor p {
    color: #617083 !important;
}
html[data-theme="light"] #mailpoet_form_1 form.mailpoet_form {
    background: #E2E3E1 !important;
    border: 1px solid #E2E3E1 !important;
}
html[data-theme="light"] body .mlf-footer {
    border-top-color: #DBE5F2 !important;
}
html[data-theme="light"] body #ciclo .mlf-cycle-grid .mlf-hero-copy .elementor-widget-text-editor p.mlf-pill {
    color: #3C69AE !important;
}
html[data-theme="light"] body div#ciclo .elementor-widget-text-editor p.mlf-lead {
    color: #3C69AE !important;
}
html[data-theme="light"] body div#ciclo .elementor-widget-text-editor p.mlf-lead strong {
    color: #10253E !important;
}
html[data-theme="light"] body #ciclo .mlf-cycle .mlf-cycle-slide p {
    color: #A7C5F8 !important;
}
body #approccio .mlf-met-venn > span:first-child {
    align-items: baseline;
    place-content: baseline;
    padding: 60px;
}
body #approccio .mlf-met-venn span:nth-child(2) {
    align-items: baseline;
    text-align: right;
    justify-content: flex-end;
    padding: 55px 25px 30px 30px;
}
body #approccio .mlf-met-venn span:nth-child(3) {
    align-items: end;
    padding-bottom: 50px;
}
html[data-theme="light"] body #tecnologie .mlf-tech-tile span img,
html[data-theme="light"] body #tecnologie .mlf-tech-tile svg,
html[data-theme="light"] body #tecnologie .mlf-tech-badge img {
    filter: invert(1);
}
html[data-theme="light"]  #sapere .titleNew1 h2.elementor-heading-title {
    background: linear-gradient(93.89deg, #2F6BE0 0%, #10253E 74.94%, #2F6BE0 154.88%, #10253E 249.8%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}
html[data-theme="light"] body #approccio .mlf-met-lead p {
    color: #3C69AE !important;
}