/* Star Listing dynamic additions */

/* WordPress admin bar (header is sticky) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Website screenshot inside the browser frame, initials fallback */
.browser-frame__screen.sl-shot { position: relative; }
.sl-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-magenta) 90%, var(--color-primary) 150%);
    color: #ffffff;
    font-family: var(--font-display, inherit);
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: 0.04em;
}

/* Business name links keep the design heading colour */
.listing-card h3 a,
.listing-row h3 a,
.listing-hero h1 a { color: inherit; }
.listing-card h3 a:hover,
.listing-row h3 a:hover,
.listing-hero h1 a:hover { color: var(--color-primary); }
.listing-hero__rating a { color: inherit; text-decoration: underline; }
.info-table strong a { color: inherit; }
.info-table strong a:hover { color: var(--color-primary); }

/* Blog category links styled like the design's filter buttons */
.filter-tabs a {
    padding: 6px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-heading);
    transition: all 0.3s var(--ease);
}
.filter-tabs a.is-active,
.filter-tabs a:hover {
    color: var(--color-white);
    background-color: var(--color-primary);
}

/* Sort select posts back to the server */
.sl-sort { margin: 0; }

/* Pagination dots */
.pagination .sl-dots { display: grid; place-items: center; width: 30px; }

/* Two-column blog grid inside the sidebar layout (blog search) */
.sl-blog-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) { .sl-blog-grid--two { grid-template-columns: 1fr; } }

/* Blog post FAQ */
.post-content .sl-post-faq { margin: 18px 0 30px; }
.post-content .sl-post-faq .accordion__btn { text-align: left; }
