/* Small Biz Listings — WordPress additions (dynamic data in the design's components). */

/* Website screenshots + initials fallback */
.sb-shot { position: relative; background: #fff; overflow: hidden; }
.sb-shot img { object-position: top center; }
.l-card .img.sb-shot img, .stack-card .img.sb-shot img { object-fit: cover; padding: 0; }
.sb-initials { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: .04em; }
.v2-nc .lg.sb-shot { position: relative; padding: 0; }
.v2-nc .lg.sb-shot img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.v2-nc .lg .sb-initials { font-size: 1.1rem; }
.v2-brand .lg.sb-mono { font-family: var(--f-display); font-weight: 800; font-size: 1.8rem; color: var(--ink); }
.l-card h3 a, .stack-card h3 a, .v2-card h1 a { color: inherit; }
.l-card .in .cat-pill { text-decoration: none; }

/* Photo mosaic with only the website screenshot */
.v2-mosaic.is-single { grid-template-columns: 1fr; }
.v2-mosaic.is-single a:first-child { grid-row: span 2; }

/* Open / closed state from the listing's real hours */
.sb-open { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: .85rem; color: var(--ok); }
.sb-open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sb-open.closed { color: #D23F44; }
.v2-day.closed .t { color: var(--muted); }
.v2-week.in .fill, .v2-week .fill { width: var(--w); }

/* Contact block without a map */
.v2-reach.sb-nomap { grid-template-columns: 1fr; }
.sb-desc p { max-width: 68ch; }
.sb-video { display: block; }

/* Pagination in the design's pager */
.pager .page-numbers.dots { border: 0; }

/* Filters sidebar as a real form */
form.filters label { display: flex; gap: 8px; align-items: center; }
.sb-prose section { scroll-margin-top: 110px; }
.sb-post-faq { margin: 18px 0 28px; }
.sb-post-tags { margin: 22px 0; }

html, body { overflow-x: clip; }
h1 { overflow-wrap: anywhere; }
.v2-glance .g, .v2-glance .g > div { min-width: 0; }
.v2-glance .g b { overflow-wrap: anywhere; }
