/* Manuel Marquez — correccion responsive final del bloque del libro v28. */

@media (max-width: 767px) {
  html body#encore-theme .mm-home-authority-inline .mm-about-block--book {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-preview {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
    justify-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-preview > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-cover {
    width: min(220px, 72vw) !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-copy {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-copy h2 {
    width: 100% !important;
    max-width: 340px !important;
    margin: 8px auto 12px !important;
    font-size: 36px !important;
    line-height: 1.08 !important;
    overflow-wrap: normal !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-copy h2 span {
    white-space: normal !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-proof {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 24px auto 12px !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-copy .mm-book-publisher {
    max-width: 300px !important;
    margin: 0 auto 28px !important;
    text-align: center !important;
  }

  html body#encore-theme .mm-home-authority-inline .mm-book-copy .mm-btn {
    display: inline-flex !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 380px) {
  html body#encore-theme .mm-home-authority-inline .mm-book-copy h2 {
    font-size: 33px !important;
  }
}
