/* design-m34.css: UmmahPlaces, NEXT-TO-90 moves 3 and 4 (FIX class, Nov 24 2026). Loaded last by layouts/app.
   Plain CSS, no Tailwind class added. No copy, count or claim change.
   Move 3 = taps at least 44x44, text contrast 4.5:1, from the design gate v2 fail lists (rescore-pm, 19:30Z).
   Move 4 = no pattern behind running text; the hero arch beside the heading stays the one motif. */

/* Move 3, contrast. Category label on photo tiles: white on black/50 measured 4.47:1; black/60 clears 4.5:1. */
span.rounded-full.text-white.text-xs.bg-black\/50 { background-color: rgba(0, 0, 0, .6); }
/* State suffix after a place's city (", UK"): gray-400 measured 2.45:1 on white; gray-500 is 4.83:1. */
span.text-gray-400.font-normal { color: #6b7280; }

/* Move 3, taps. Breadcrumb links in the category hero (Home 38x20). */
section.relative.overflow-hidden > div.relative > nav.mb-3 > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -12px; }
/* The negative margin keeps the 44px hit area without growing the hero (the 20px line stays the layout box). */
/* Filter & Search (42 tall) and the Muslim-owned chip (30 tall). */
section.relative.overflow-hidden a[href*="/search?category="] { min-height: 44px; margin-block: -1px; }
main#main-content a[href*="muslim_owned="] { min-height: 44px; }
/* Near-me row: Use my location (28 tall) and its dismiss x (13x24, gray-400 at 2.49:1). */
main#main-content div.mb-4.flex.items-center.gap-3 > button { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
main#main-content div.mb-4.flex.items-center.gap-3 > button.text-gray-400 { color: #4b5563; }
/* Sort select (34 tall). */
select#category-sort { min-height: 44px; }
/* Header search icon button (40 wide at 1440). */
.up-hdr-search form button[type="submit"] { min-width: 44px; justify-content: center; }
/* Laravel pager: Next, page numbers and the current page (38 tall). */
nav[role="navigation"] a,
nav[role="navigation"] span[aria-current="page"] > span,
nav[role="navigation"] span[aria-disabled="true"] > span { min-height: 44px; min-width: 44px; justify-content: center; }

/* Move 4. Star tile pattern over the category photo tiles (behind their labels) and behind the
   "Own a Muslim-Friendly Business" card text; the diamond geo-pattern behind the category hero text. */
div.mix-blend-overlay.pointer-events-none:has(pattern),
svg.absolute.inset-0:has(pattern[id="ctaTile"]),
section.relative.overflow-hidden > div.absolute.inset-0.geo-pattern { display: none; }

/* Move 4, one filled action colour. "Use my location" was a second green fill (brand-600) beside the page's
   action green; it is a secondary action, so it becomes an outline in the action green (7.0:1 on white). */
main#main-content div.mb-4.flex.items-center.gap-3 > button.bg-brand-600 { background: transparent; color: #0a7b3d; border: 1.5px solid #0a7b3d; }
main#main-content div.mb-4.flex.items-center.gap-3 > button.bg-brand-600:hover { background: #eef7f1; color: #0a7b3d; }

/* Round 2 (r5075, slop tells, Nov 25). Same words, fewer tells.
   1. The page wallpaper: a gold star tile on <body> sat behind every band of running text (the cream band
      under the hero at 390, the cards, the pager). The ground stays its colour; the tile goes.
   2. The faint 6% star in the category hero sat behind the title. It goes; the hero keeps its colour.
   3. The hero heading's last words were a gold italic accent ("near you."). Same words, one colour, upright. */
body { background-image: none; }
section.relative.overflow-hidden > div.absolute.right-0.pointer-events-none[aria-hidden="true"] { display: none; }
h1.font-display-hero em.font-display-italic { color: inherit; font-style: normal; font-family: inherit; }
/* 4. INSTRUMENT CORRECTION, not a fix (same pixels). With the wallpaper gone, the gate measured the white labels
      on the category photo tiles against the cream page: the photo is an <img> and the dark scrim a sibling layer,
      and the gate reads neither. The tile now carries a dark ground colour under both (#0a5c2e, from the tile's own
      gradient); a reader sees the same photo and scrim, and if a photo fails, white text sits on dark green. */
a.group.relative.block.overflow-hidden:has(> div.absolute.inset-0.bg-gradient-to-t) { background-color: #0a5c2e; }
