/* Deeping Fencing's own styles (the Tweak page edits this file too). */

/* Menu drawer: Call and WhatsApp each get a full-width row. Side by side, "Call 07737 934400"
   ran out of its half-width button on a phone (Mike, 25 Nov 2026). */
#drawer .grid.grid-cols-2:has(> a[href^="tel:"]) { grid-template-columns: 1fr; }

/* Sticky phone bar on iPhones: a minimum gap under the buttons. With Safari's toolbar collapsed the
   home-indicator line sat over the buttons' bottom edge (Mike's screenshot, 25 Nov 2026), so the
   safe-area inset alone can come back as 0 there. iOS only (-webkit-touch-callout), Android unchanged. */
@supports (-webkit-touch-callout: none) {
  .sticky-cta { padding-bottom: max(1.5rem, calc(0.75rem + env(safe-area-inset-bottom))); }
}

/* Inner-page headings on narrow phones: the service pages say "... across Lincolnshire & Cambridgeshire."
   (Mike, 25 Nov 2026), and at the kit's 2.2rem the longest ran to five lines with "Cambridgeshire." at the
   screen's edge. Below 400px only; the home hero is a different heading and is untouched. */
@media (max-width: 399px) {
  section.on-dark h1.text-\[2\.2rem\] { font-size: 1.85rem; }
}
