/* Home-page mobile layout. Desktop and tablet rules remain untouched. */
@media (max-width: 767px) {
  .trmbh-home, .trmbh-home * { box-sizing: border-box !important; }
  .trmbh-home { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .trmbh-home :where(div, section, article, p, h1, h2, h3, a, img) {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere;
  }
  .trmbh-home .trmbh-hero,
  .trmbh-home .trmbh-hero-copy,
  .trmbh-home .trmbh-record-search {
    width: 100% !important; height: auto !important; min-height: 0 !important;
    margin-left: 0 !important; margin-right: 0 !important; margin-top: 0 !important;
    translate: none !important;
  }
  .trmbh-home .trmbh-hero { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  .trmbh-home .trmbh-hero-copy { padding: 28px 18px !important; }
  .trmbh-home .trmbh-record-search { padding: 24px 18px !important; }
  .trmbh-home .trmbh-record-search p { width: 100% !important; }
  .trmbh-home .trmbh-record-search h2 { font-size: clamp(24px, 7vw, 32px) !important; line-height: 1.2 !important; white-space: normal !important; }
  .trmbh-home .trmbh-buttons { display: flex !important; flex-wrap: wrap !important; gap: 12px !important; width: 100% !important; }
  .trmbh-home .trmbh-buttons .trmbh-button { width: 100% !important; flex: 0 1 100% !important; white-space: normal !important; height: auto !important; margin: 0 !important; translate: none !important; text-align: center !important; }
  .trmbh-home :is(.trmbh-trust-grid, .trmbh-family-tree-grid, .trmbh-pidyon-grid, .trmbh-memorial-grid, .trmbh-tzedakah-card) { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; }
  .trmbh-home :is(.trmbh-wrap, .trmbh-narrow) { width: 100% !important; padding-left: 18px !important; padding-right: 18px !important; }
  .trmbh-home img { height: auto !important; }
  .trmbh-home .trmbh-contact a { width: auto !important; margin-left: 0 !important; translate: none !important; }
}
