/* The Local Stock Inc — dynamic theme additions */
html, body { overflow-x: clip; }
.layout-sidebar > *, .sl3-layout > *, .hero3__grid > *, .listing-grid > *, .blog-grid > *, .split > * { min-width: 0; }

/* Website screenshots fill the design's image boxes, top of the page first */
.listing-card__media .ls-shot { display: block; position: absolute; inset: 0; }
.listing-card__media .ls-shot img, .story.ls-story img, .ls-mock img, .ls-detail-shot img { object-position: top center; }
.ls-mock img { aspect-ratio: 16/10; object-fit: cover; width: 100%; display: block; }
.ls-initials { position: absolute; inset: 0; display: grid; place-items: center; background: var(--navy); color: #fff; font: 400 clamp(2rem, 4vw, 3.2rem)/1 "DM Serif Display", serif; }
.ls-mock { position: relative; }
.ls-mock .ls-initials { position: relative; aspect-ratio: 16/10; font-size: 1.2rem; }
.ls-detail-panel { display: flex; flex-direction: column; gap: 1rem; }
.ls-detail-shot { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: #fff; }
.ls-detail-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-logo-mark { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700; font-size: 1.2rem; flex: none; }

/* Category photos where the design had icons */
.cat-tile__icon.ls-cat-photo { overflow: hidden; padding: 0; width: 64px; height: 64px; }
.cat-tile__icon.ls-cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-card img { object-fit: cover; }

/* Names link to the business website */
a.ls-name-link { color: inherit; text-decoration: none; }
a.ls-name-link:hover { color: var(--orange); }
.listing-card__cat { text-decoration: none; }

/* FAQ: + / − */
.faq details[open] summary::after { content: "−"; transform: none; }
.faq details .ls-faq-a { position: relative; margin: .25rem 1rem 1.25rem auto; max-width: 85%; background: var(--navy); color: #fff; padding: 1rem 1.15rem; border-radius: 12px 12px 2px 12px; }
.faq details .ls-faq-a p { margin: 0 0 .5rem; color: #fff; }
.faq details .ls-faq-a p:last-child { margin: 0; }

/* Listing page */
.ls-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 0; }
.ls-kv > div { border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; background: #fff; }
.ls-kv dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ls-kv dd { margin: .2rem 0 0; font-weight: 600; word-break: break-word; }
.ls-reviews { display: grid; gap: .9rem; }
.ls-review { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; background: #fff; }
.ls-review header { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .4rem; }
.ls-review header small { color: var(--muted); margin-left: auto; }
.ls-review .stars svg { width: 14px; height: 14px; fill: #f5b935; }
.ls-review p { margin: 0; }
.ls-claim { text-align: center; padding: clamp(1.5rem, 4vw, 3rem); }
.ls-claim h2 { margin-top: 0; }
.week li.is-today { outline: 2px solid var(--orange); }
@media (max-width: 620px) { .ls-kv { grid-template-columns: 1fr; } }

/* Lists, empties, pager */
.ls-empty { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--line); border-radius: 12px; }
.ls-empty h3 { margin-top: 0; }
.ls-cat-empty { margin-top: 1.5rem; color: var(--muted); }
.ls-pager { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.ls-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 .9rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; background: #fff; }
.ls-pager a.page-numbers:hover { border-color: var(--orange); color: var(--orange); }
.ls-pager .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips a.chip { text-decoration: none; }
.logos__cell { text-decoration: none; color: inherit; }

/* Footer latest articles */
.ls-footer-latest ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ls-footer-latest a { color: inherit; text-decoration: none; opacity: .85; }
.ls-footer-latest a:hover { opacity: 1; color: var(--orange); }

/* Post content */
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
