/* Flock Press — Standalone Home (dev only).
   The engaging homepage set (owner order Nov 5, 2026).
   Design pass 0.8.25 (owner: "it feels off" — Nov 5):
   hero becomes a cream panel with a real search bar,
   counters become one clean strip, category tiles
   lead with their counts, Fresh drops is a swipeable
   row on phones, the giveaway is a navy band, and the
   spotlight sits centered on a cream panel instead of
   dangling in an empty grid.
   Brand: navy #1B3A8C, slate #64748B, cream #FDF1E7. */

.fp-home { margin: 10px 0 14px; }
.fp-home-title { font-size: 21px; color: #1b3a8c; margin: 0 0 14px; letter-spacing: 0.1px; }
.fp-home-section { margin: 34px 0 0; }
.fp-home-more { margin: 14px 0 0; }
.fp-home-more a { color: #1b3a8c; font-weight: 700; }
.fp-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
@media (max-width: 560px) { .fp-home-grid { grid-template-columns: 1fr 1fr; } }
.fp-home-grid-one { max-width: 320px; width: 100%; grid-template-columns: minmax(0, 1fr); justify-content: center; }

/* Hero panel */
.fp-home-hero { background: #fdf1e7; border-radius: 18px; padding: 24px 20px 22px; }
.fp-home-heading { font-size: 30px; line-height: 1.18; color: #1b3a8c; margin: 0 0 8px; }
.fp-home-intro { font-size: 16.5px; line-height: 1.45; color: #40506b; margin: 0 0 16px; }
.fp-home-search { display: flex; gap: 8px; }
.fp-home-search input[type="search"] { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 16px; font-size: 16px; color: #20312a; background: #fff; border: 1.5px solid #d9cdbd; border-radius: 12px; }
.fp-home-search input[type="search"]:focus { border-color: #1b3a8c; outline: 2px solid rgba(27, 58, 140, 0.25); outline-offset: 0; }
.fp-home-search button { flex: 0 0 auto; min-height: 50px; padding: 0 22px; font-size: 16px; font-weight: 700; color: #fff; background: #1b3a8c; border: none; border-radius: 12px; cursor: pointer; }
.fp-home-search button:hover, .fp-home-search button:focus { background: #152e6e; }

/* Live counters: one strip, hairline dividers */

@media (max-width: 560px) {
	.fp-home-hero { padding: 20px 16px 18px; }
	/* Stack the search on phones: full-width input over a
	   full-width button. Side-by-side left the input ~138px
	   at 320px wide and clipped the placeholder in half
	   (0.8.26/0.8.27 verifications); stacked, the whole
	   hint fits at any phone width. Input stays 16px so
	   iOS does not auto-zoom on focus. */
	.fp-home-search { flex-wrap: wrap; gap: 8px; }
	.fp-home-search input[type="search"] { flex: 1 1 100%; font-size: 16px; }
	.fp-home-search button { flex: 1 1 100%; font-size: 16px; }
	.fp-home-heading { font-size: 27px; }
}

/* Bands (near-you prompt, giveaway) */
.fp-home-band { margin: 34px 0 0; background: #fff; border: 1px solid #e5ddd2; border-radius: 16px; padding: 20px 18px; }
.fp-home-band p { margin: 0 0 12px; color: #20312a; }
.fp-home-giveaway { margin: 34px 0 0; background: #1b3a8c; border-radius: 16px; padding: 22px 18px; }
.fp-home-giveaway .fp-home-title { color: #fdf1e7; }
.fp-home-giveaway p { margin: 0 0 12px; color: #e8edf7; line-height: 1.5; }
.fp-home-giveaway .fp-home-btn { background: #fdf1e7; color: #1b3a8c; }
.fp-home-giveaway .fp-home-btn:hover, .fp-home-giveaway .fp-home-btn:focus { background: #f7e3cc; color: #1b3a8c; }
.fp-home-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; font-size: 15.5px; font-weight: 700; color: #fff; background: #1b3a8c; border-radius: 12px; text-decoration: none; }
.fp-home-btn:hover, .fp-home-btn:focus { background: #152e6e; color: #fff; }

/* Fresh drops: swipeable row on phones, grid on desktop */
.fp-home-fresh-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; -webkit-overflow-scrolling: touch; }
.fp-home-fresh-item { position: relative; flex: 0 0 76%; scroll-snap-align: start; }
@media (min-width: 700px) {
	.fp-home-fresh-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; }
	.fp-home-fresh-item { flex: none; }
}
.fp-home-age { position: absolute; top: 8px; left: 8px; z-index: 3; background: rgba(27, 58, 140, 0.92); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; pointer-events: none; white-space: nowrap; }

/* Wanted teaser */
.fp-home-wants { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.fp-home-want { background: #fff; border: 1px solid #e5ddd2; border-radius: 14px; padding: 14px; }
.fp-home-want-title { font-size: 16px; margin: 0 0 6px; color: #20312a; }
.fp-home-want-meta { font-size: 13.5px; color: #52637a; margin: 0; }

/* Spotlight: a centered feature on a cream panel */
.fp-home-spotlight { background: #fdf1e7; border-radius: 16px; padding: 22px 16px; }
.fp-home-spotlight .fp-home-title { text-align: center; }
.fp-home-spot-name { font-size: 18px; font-weight: 700; color: #20312a; margin: 0 0 12px; text-align: center; }
.fp-home-spotlight .fp-home-grid-one { margin: 0 auto; }

/* Member strip */
.fp-home-unread { font-size: 15.5px; }
.fp-home-unread a { color: #1b3a8c; font-weight: 700; }

/* How it works + safety */
.fp-home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 560px) { .fp-home-steps { grid-template-columns: 1fr; } }
.fp-home-step { background: #fff; border: 1px solid #e5ddd2; border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; }
.fp-home-step p { margin: 0; font-size: 15px; color: #20312a; }
.fp-home-step-num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: #1b3a8c; color: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.fp-home-safety { margin: 34px 0 0; background: #fdf1e7; border-radius: 12px; padding: 12px 16px; }
.fp-home-safety p { margin: 0; font-size: 14.5px; color: #40506b; text-align: center; }
