/* Mobile repair for the "Sponsor an orphan family" section.
   Uses the real markup: .help-card-content > .pic > span.img + span.info. */
@media (max-width: 767.98px) {
  .orphan-home-page .contribute-good {
    width: 100% !important;
    max-width: 100% !important;
    padding: 26px 0 20px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .container,
  .orphan-home-page .contribute-good .row,
  .orphan-home-page .contribute-good [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-inline: 0 !important;
  }

  .orphan-home-page .contribute-good .help-card-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 18px !important;
    text-align: start !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .content .title,
  .orphan-home-page .contribute-good .help-card-content > .content .sub-title {
    max-width: 100% !important;
    margin-inline: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .content .info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: none !important;
    width: calc(100% - 28px) !important;
    max-width: 350px !important;
    min-width: 0 !important;
    height: 214px !important;
    min-height: 214px !important;
    max-height: 214px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.img {
    position: absolute !important;
    inset-block-start: 0 !important;
    inset-inline-end: 0 !important;
    inset-block-end: auto !important;
    inset-inline-start: auto !important;
    display: block !important;
    width: 188px !important;
    min-width: 188px !important;
    max-width: 188px !important;
    height: 188px !important;
    min-height: 188px !important;
    max-height: 188px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    transform: none !important;
    z-index: 1 !important;
    box-shadow: 0 12px 28px rgba(8, 38, 82, .15) !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.img > img {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.info {
    position: absolute !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    inset-block-end: 0 !important;
    inset-block-start: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 172px !important;
    min-width: 172px !important;
    max-width: 172px !important;
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
    margin: 0 !important;
    padding: 20px 15px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(47, 71, 91, .94) !important;
    color: #fff !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    overflow: hidden !important;
    transform: none !important;
    z-index: 2 !important;
    box-shadow: 0 14px 30px rgba(8, 38, 82, .22) !important;
    box-sizing: border-box !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.info .text-yellow {
    display: block !important;
    width: 100% !important;
    margin: 0 0 3px !important;
    color: #ffe000 !important;
    font-weight: 800 !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.info > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    max-width: 132px !important;
    min-height: 40px !important;
    margin: 9px 0 0 !important;
    padding: 8px 12px !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #17366d !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 18px rgba(5, 31, 65, .13) !important;
  }

  .orphan-home-page .contribute-good .help-card-content > .pic > span.info > a img {
    display: block !important;
    flex: 0 0 auto !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }
}

@media (max-width: 359.98px) {
  .orphan-home-page .contribute-good .help-card-content > .pic {
    width: calc(100% - 20px) !important;
    height: 198px !important;
    min-height: 198px !important;
    max-height: 198px !important;
  }
  .orphan-home-page .contribute-good .help-card-content > .pic > span.img {
    width: 172px !important;
    min-width: 172px !important;
    max-width: 172px !important;
    height: 172px !important;
    min-height: 172px !important;
    max-height: 172px !important;
  }
  .orphan-home-page .contribute-good .help-card-content > .pic > span.info {
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    padding: 17px 12px !important;
    font-size: 11px !important;
  }
}
