/* Reserve the space occupied by the fixed mobile consultation menu. */
@media (max-width: 700px) {
  html {
    scroll-padding-bottom: calc(var(--nh-mobile-bar-height, calc(64px + env(safe-area-inset-bottom, 0px))) + 24px);
  }
  body:has(footer.nh-footer) {
    padding-bottom: 0 !important;
  }
  footer.nh-footer {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: calc(var(--nh-mobile-bar-height, calc(64px + env(safe-area-inset-bottom, 0px))) + 32px) !important;
  }
}

/* Compact PC contact buttons; mobile keeps the previously approved sequence. */
@media (min-width: 851px) {
  .nh-direct {
    margin-top: 28px;
    margin-bottom: 16px;
    padding-top: 18px;
    max-width: 380px;
  }
  .nh-direct > a {
    min-height: 64px;
    padding: 10px 16px;
    margin: 8px 0;
    gap: 12px;
    box-shadow: none;
  }
  .nh-direct .nh-phone-copy { gap: 2px; }
  .nh-direct .nh-phone-copy strong { font-size: 24px; }
  .nh-direct > a b { font-size: 20px; }
  .nh-invitation > a.nh-kakao-cta {
    max-width: 380px;
    min-height: 48px;
    padding: 10px 16px;
    margin-top: 12px;
    font-size: 15px;
  }
}
