/* Pronto Web Dir — dynamic theme additions */
html, body { overflow-x: clip; }
.with-side > *, .sl > *, .format > *, .biz-grid > *, .blog-grid > *, .pick > * { min-width: 0; }

/* Website screenshots: show the top of the page */
.biz .ph img.cover, .biz-row .ph img.cover, .mentor .im img.cover { object-position: top center; }
.biz .ph:has(img.cover), .biz-row .ph:has(img.cover), .mentor .im:has(img.cover) { padding: 0; }
.profile .lg.is-shot { padding: 0; }
.profile .lg.is-shot img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }

/* Initials when a business has no website screenshot */
.pw-initials { position: absolute; inset: 0; display: grid; place-items: center; background: var(--cream-2); color: var(--primary); font: 800 2.6rem/1 var(--head); letter-spacing: -.02em; border-radius: inherit; }
.profile .lg .pw-initials { font-size: 2rem; }

/* Names link to the business website */
a.pw-name-link { color: inherit; }
.biz h3 a.pw-name-link:hover, .biz-row h3 a.pw-name-link:hover { color: var(--primary); }

/* FAQ: + / − */
.faq-item.open .faq-q::after { content: "−"; transform: none; }
.faq-a > p:last-child { padding-bottom: 18px; }

/* Open / closed */
.open-now.is-closed { color: #b3261e; }
.open-now.is-closed::before { background: #d9534f; animation: none; }

/* Gallery with fewer than five photos */
.gal.pw-gal-1 { grid-template-columns: 1fr; grid-template-rows: 340px; }
.gal.pw-gal-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 280px; }
.gal.pw-gal-1 a:first-child, .gal.pw-gal-2 a:first-child { grid-row: auto; }
.gal.pw-gal-3 { grid-template-columns: 2fr 1fr; }
.gal.pw-gal-4 a:last-child { grid-column: 2 / 4; }

/* Video embed */
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Reviews summary without the sample bars */
.rv-top.pw-rv-top { grid-template-columns: 220px; }

/* Pager */
.pager span.on { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 700; }
.pager .pw-dots { width: 50px; height: 50px; display: grid; place-items: center; color: var(--muted); }

/* Tags: current blog category */
.tags a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Privacy policy and post content */
.pw-policy p { margin: 0 0 12px; }
.pw-policy p:last-child { margin-bottom: 0; }
.pw-policy h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.pw-policy ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.article img { max-width: 100%; height: auto; border-radius: var(--r); }
.article ol { list-style: decimal; padding-left: 22px; margin-bottom: 22px; }
.pw-post-faq { margin-top: 44px; }
.pw-post-faq .faq2 { max-width: none; }
.pw-post-faq h2 { margin-top: 0; }

/* The blog grid's inline two columns would squeeze phones */
@media (max-width: 620px) {
  .blog-grid[style] { grid-template-columns: 1fr !important; }
  .biz-row { grid-template-columns: 1fr; padding: 14px; }
  .toolbar { flex-wrap: wrap; gap: 12px; }
}

/* The stat rows' label rule also hit the number inside <b> */
.stats2 .row b span { font-size: inherit; max-width: none; text-align: inherit !important; }
