/* Home dei siti iDO_Service su telefono e tablet: apertura impilata, testi leggibili e pulsanti comodi da toccare */
@media only screen and (max-width: 980px) {
  body .et-l--post .et_pb_section_0.et_pb_section {
    margin-top: var(--ido-altezza-header, 111px) !important;
    padding: 32px 0 40px !important;
  }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 88% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 > .et_pb_column { display: contents; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_module,
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_button_module_wrapper {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_image_1 { order: 1; max-width: 210px !important; margin-bottom: 20px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_text_0 { order: 2; margin-bottom: 24px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_text_0 h1 { font-size: 24px !important; line-height: 1.3 !important; padding-bottom: 14px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_text_0 h2,
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_text_0 h3 { font-size: 16px !important; line-height: 1.55 !important; padding-bottom: 12px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_button_0_wrapper { order: 3; margin-bottom: 12px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_button_1_wrapper { order: 4; }
  body .et-l--post .et_pb_section_0 .et_pb_row_0 .et_pb_image_0 { order: 5; max-width: 190px !important; margin-top: 32px !important; }
  body .et-l--post .et_pb_section_0 .et_pb_image img { width: 100% !important; height: auto !important; }

  /* Pulsanti della pagina */
  body #page-container .et-l--post .et_pb_section .et_pb_button,
  body #page-container .et-l--post .et_pb_section .et_pb_button:hover {
    font-size: 16px !important;
    line-height: 1.3 !important;
    padding: 14px 24px !important;
    letter-spacing: 0 !important;
  }
  body #page-container .et-l--post .et_pb_section .et_pb_button::after { display: none !important; }
  body #page-container .et-l--post .et_pb_section_0 .et_pb_button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center !important;
  }
}
