/* Discover Local — dynamic additions (loaded after the design stylesheet). */

/* Listing images are website screenshots; initials when there is no website. */
.dx-shot img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }
.listing-hero__logo.dx-shot, .stack-card__logo.dx-shot { padding: 0; overflow: hidden; }
.dx-initials { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: #1d1a3a; color: #fff; font-weight: 800; font-size: clamp(28px, 4vw, 52px); letter-spacing: .04em; }

/* Category photo sits in the old icon circle of the flip cards. */
.flip-card__icon.dx-cat-photo { overflow: hidden; padding: 0; }
.flip-card__icon.dx-cat-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Business name links to the business website. */
.dx-name a, .stack-card__title a, .listing-card__title a { color: inherit; }

/* Pagination */
.dx-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.dx-pager .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--color-line, #e2e2ea); border-radius: 999px; font-weight: 600; }
.dx-pager .page-numbers.is-current, .dx-pager a.page-numbers:hover { background: var(--color-red, #e63946); border-color: var(--color-red, #e63946); color: #fff; }

/* Listing page */
.dx-prose p { margin: 0 0 1em; }
.dx-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.dx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dx-reviews { display: grid; gap: 14px; margin-top: 22px; }
.dx-review { padding: 18px 20px; border: 1px solid var(--color-line, #e2e2ea); border-radius: 16px; }
.dx-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.dx-review__head small { opacity: .7; }
.dx-review p { margin: 0; }
.dx-stars { color: #f4b400; letter-spacing: 2px; }

/* Blog post FAQ */
.dx-post-faq { margin: 44px 0 10px; }
.dx-post-faq h2 { margin-bottom: 18px; }

/* Grid children must not widen the page on phones. */
.listing-grid > *, .blog-grid > *, .grid > *, .listing-layout > *, .article-layout > * { min-width: 0; }
