/* Online Beacon dynamic additions */

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

/* Website screenshots fill the card media (the design sizes logos small) */
.homz-project-image.ob-shot { position: relative; }
.homz-project-image.ob-shot > img,
.ob-lcollage__main.ob-shot > img,
.listing-detail-logo-card.ob-shot > img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: top center;
    mix-blend-mode: normal !important;
}
.homz-project-image.ob-shot .homz-project-review-badge { position: absolute; top: 10px; right: 10px; z-index: 2; }
.listing-detail-logo-card.ob-shot { position: relative; padding: 0; }
.ob-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #344bfd 0%, #7b3bf6 55%, #fb47a1 110%);
    color: #ffffff;
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 600;
    letter-spacing: 0.02em;
}
.listing-detail-logo-card .ob-initials { font-size: 26px; }

/* Business name links keep the heading colour */
.homz-project-panel h3 a,
.ob-lhero2 h1 a { color: inherit; }
.homz-project-panel h3 a:hover { color: var(--teal); }
.single-listing-reference-copy strong a { color: inherit; }

/* Pagination (not in the design) */
.ob-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.ob-pager__btn {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #ffffff;
    color: var(--ink);
    font-weight: 500;
    transition: background-color .2s, color .2s, border-color .2s;
}
.ob-pager__btn:hover,
.ob-pager__btn.is-current { background: var(--teal); border-color: var(--teal); color: #ffffff; }
.ob-pager__dots { display: inline-grid; place-items: center; min-width: 24px; color: var(--muted); }

/* Social links text fallback on listings */

/* Legal / plain page content */
.ob-legal { max-width: 860px; margin-inline: auto; }
.ob-legal h3 { margin: 34px 0 12px; }
.ob-legal ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.ob-legal li { margin-bottom: 6px; }

/* Blog post FAQ */
.renvia-blog-details__main .ob-post-faq { margin: 18px 0 30px; }
.renvia-blog-details__main .ob-post-faq .pinvoy-directory-faq__question { text-align: left; }

/* Footer latest articles list */
.ob-footer__posts li { margin-bottom: 10px; }

/* Listing cards: the design's 84px logo tile becomes a full-width website screenshot */
body .homz-project-image.ob-shot {
    position: relative !important;
    display: block;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    margin: 14px 14px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--surface, #f4f5fb) !important;
    overflow: hidden !important;
    box-shadow: 0 16px 30px -18px rgba(10, 8, 60, .55);
}
body .homz-project-slide:hover .homz-project-image.ob-shot { width: auto !important; transform: none; }
body .homz-project-image.ob-shot > img { border-radius: 0 !important; object-fit: cover !important; mix-blend-mode: normal !important; }
body .homz-project-slide:hover .homz-project-image.ob-shot > img { transform: scale(1.04) !important; }
body .homz-project-slide:has(.ob-shot)::before { height: 70px; }
body .homz-project-image.ob-shot .homz-project-review-badge { top: 10px !important; right: 10px !important; background: rgba(10, 8, 40, .55) !important; }
/* The design appends "Top rated" to every rating badge; only the real rating is shown */
body .homz-project-review-badge::after { content: none !important; }

/* Home category cards: show the category photo, not an empty icon tile */
.ob-field .ob-field__ico {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin-bottom: 4px;
}
.ob-field .ob-field__ico img { opacity: 1; transform: none; }
.ob-field:hover .ob-field__ico img { transform: scale(1.04); }

/* Post body headings: the design only styles h3 inside articles */
.renvia-blog-details__main h2:not(.ob-sr) { margin: 36px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; }
.renvia-blog-details__main h4 { margin: 26px 0 10px; font-size: 1.15rem; }
.renvia-blog-details__main img { max-width: 100%; height: auto; }
