/* Dynamic additions for the WordPress build. */

/* Website screenshots + initials fallback */
.lb-shot { position: relative; overflow: hidden; }
.lb-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-600) 0%, #1d1a3a 100%);
}
.listing-hero__logo.lb-shot { padding: 0; }
.listing-hero__logo.lb-shot > img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }

/* Business name link */
.listing-card__business a, .listing-hero h1 a { color: inherit; }
.listing-card__business a:hover, .listing-hero h1 a:hover { color: var(--orange-600); }
.listing-hero__eyebrow:hover { text-decoration: underline; }

/* WordPress pagination */
.lb-pager { flex-wrap: wrap; }
.lb-pager .dots { border-color: transparent; background: transparent; }

/* Post content */
.lb-content > * + * { margin-top: 1em; }
.lb-content h2, .lb-content h3 { margin-top: 1.5em; }
.lb-content ul, .lb-content ol { padding-left: 1.3em; }
.lb-content ul { list-style: disc; }
.lb-content ol { list-style: decimal; }
.lb-content a { color: var(--orange-600); text-decoration: underline; }
.lb-content img { height: auto; }
.lb-post-faq { margin-top: 50px; }
.lb-post-faq h2 { margin-bottom: 18px; }
.lb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.lb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.lb-postnav a { display: block; font-weight: 700; color: inherit; }
.lb-postnav a:hover { color: var(--orange-600); }
.lb-postnav small { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }
.lb-postnav__next { grid-column: 2; text-align: right; }

/* Sitemap listings */
.lb-sitemap-listings { margin-top: 30px; }
.lb-sitemap-listings .footer__links { columns: 3 220px; column-gap: 30px; }

@media (max-width: 700px) {
    .lb-postnav { grid-template-columns: 1fr; }
    .lb-postnav__next { grid-column: 1; text-align: left; }
}
