/* Loyal Hearing responsive adjustments - exported site only.
   No page text, links, image files or Mobirise project settings are changed. */
@media (max-width: 767px) {
  /* Reserve space for the floating navigation so the hero artwork is visible. */
  #header05-1 { padding-top: 88px !important; padding-bottom: 0 !important; }
  #header05-1 .row.mt-5 { margin-top: 0 !important; }
  #header05-1 .container-fluid { padding-left: 12px; padding-right: 12px; }
  #header05-1 img { display: block; width: 100%; max-width: 100%; height: auto !important; object-fit: contain; }
  /* Tighten the transition to the second homepage image without hiding text. */
  #article04-5w { padding-top: 0 !important; }
  #article04-5w .image-wrapper { padding-top: 0 !important; margin-bottom: 0 !important; }
  #article04-5w .image-wrapper img { display: block; height: auto !important; object-fit: contain; }
  /* Keep content images inside narrow phone screens. */
  section:not(.menu) .image-wrapper img,
  section:not(.menu) .card-wrapper img,
  section:not(.menu) .item-img img { max-width: 100%; height: auto; }
  .mbr-section-btn .btn { max-width: 100%; white-space: normal; }
}
@media (min-width: 768px) {
  /* Preserve desktop design; prevent intrinsic image overflow only. */
  #header05-1 img { max-width: 100%; height: auto; }
}
