/* Info Local — dynamic theme additions */
html, body { overflow-x: clip; }
.browse > *, .listing-layout > *, .blog-layout > *, .article-layout > *, .listing-grid > *, .post-grid > * { min-width: 0; }

/* Website screenshots fill the design's photo boxes, top of the page first */
.card-media .slides.il-shot { display: block; position: relative; }
.card-media .slides.il-shot img, .il-acc-media a img, .il-cover-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.il-acc-media a, .il-cover-shot { position: relative; }
.acc-media.il-acc-media { grid-template-columns: repeat(2, 1fr); }
.il-initials { position: absolute; inset: 0; display: grid; place-items: center; background: var(--red-band, #E0203A); color: #fff; font: 400 clamp(36px, 4vw, 64px)/1 var(--serif, serif); }

/* Category photos where the design had icons */
.cat-row .cat-ico.il-cat-photo { overflow: hidden; padding: 0; border: 0; }
.cat-row .cat-ico.il-cat-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Names link to the business website */
a.il-name-link, .listing-card h3 a { color: inherit; text-decoration: none; }
.listing-card h3 .ico { width: 18px; height: 18px; margin-left: 6px; vertical-align: -2px; color: var(--red, #E0203A); }

/* Accordions and FAQs: + / − */
.acc-item.is-open .acc-icon, .faq details[open] .acc-icon { transform: none; }
.acc-item.is-open .acc-icon::after, .faq details[open] .acc-icon::after { opacity: 0; }
.il-faq { margin-top: 48px; }
.il-faq h2 { margin-bottom: 18px; }

/* Blog */
.il-blog-chips .chip[aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); }
.il-post-cover { aspect-ratio: 21 / 9; overflow: hidden; margin: 0; }
.il-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose img { max-width: 100%; height: auto; }

/* Listing page */
.rv-summary.il-rv-solo { grid-template-columns: 1fr; }
.il-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filters form .btn { margin-top: 6px; }
.filters .chip[aria-current] { background: var(--text); color: var(--bg); border-color: var(--text); }
.empty.il-empty { display: block; }

/* The search page's inline four-column form would squeeze phones */
@media (max-width: 700px) { .phero-search[style] { grid-template-columns: 1fr !important; } }
