/* Business Resource dynamic additions */

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

/* Website screenshot inside the browser frame, initials fallback */
.browser-frame__screen.br-shot { position: relative; background-color: var(--color-section); }
.br-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--color-title) 0%, var(--color-primary) 70%, var(--color-primary-light) 140%);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Business name links keep the design title colour */
.listing-box__title a,
.listing-card__title a,
.listing-summary h2 a { color: inherit; }
.listing-box__title a:hover,
.listing-card__title a:hover,
.listing-summary h2 a:hover { color: var(--color-primary); }
.listing-box__category { color: inherit; }
.listing-summary__meta a { color: var(--color-text); text-decoration: underline; }
.info-tile__value a { color: inherit; }
.info-tile__value a:hover { color: var(--color-primary); }

/* Partial stars in rating pills */
.rating-pill .stars { color: var(--color-star); }
.rating-pill .br-star-off { color: #c5ccd8; }
.rating-pill .stars--empty { color: #c5ccd8; }
.listing-row__meta .rating-pill { margin-bottom: 0; }

/* Category cards: listing count under the name */
.category-card__name .br-count {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text);
}

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

/* Pagination dots */
.pagination .br-dots { display: grid; place-items: center; width: 30px; color: var(--color-text); }

/* Feed card without image */
.blog-card__thumb--icon img { display: none; }

/* Video embed uses the map frame */
.br-video iframe { aspect-ratio: 16 / 9; height: auto; }

/* Blog post FAQ inside the article */
.article__content .br-post-faq { margin: 18px 0 30px; }
.article__content .br-post-faq .accordion__button { text-align: left; }

/* Design bug: ".contact-list span {display:block}" un-centres the round icons */
.contact-list .contact-list__icon { display: grid; place-items: center; margin: 0; }
