/* Dynamic additions for the WordPress build. */

/* Website screenshots + initials fallback */
.wo-shot { position: relative; overflow: hidden; }
.wo-shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.wo-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.12em;
    background: radial-gradient(circle at 80% 15%, rgba(255, 179, 0, 0.55), transparent 45%), var(--gradient-w);
}
.browser__screen.wo-shot { display: block; aspect-ratio: 16 / 10; }
.disc__cover.wo-shot { padding: 0; }
.listing-hero__logo.wo-shot { padding: 0; width: 260px; height: 180px; }
.listing-hero__logo.wo-shot img { max-height: none; }
.wo-name-link { color: inherit; }
.wo-name-link:hover { color: var(--color-orange); }
.wo-thumb { width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Pagination (WordPress markup) */
.wo-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 50px; }
.wo-pager .page-numbers {
    display: grid;
    place-items: center;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    color: var(--color-heading);
}
.wo-pager .page-numbers.is-current, .wo-pager a.page-numbers:hover { border-color: transparent; background: var(--gradient-swoosh); color: #ffffff; }
.wo-pager .dots { border-color: transparent; }
.wo-grid { margin-top: 30px; }

/* Listing details */
.wo-prose p + p { margin-top: 14px; }
.wo-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wo-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.wo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.wo-gallery a:hover img { transform: scale(1.05); }
.wo-reviews { display: grid; gap: 14px; margin-top: 30px; }
.wo-review { padding: 20px 22px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); }
.wo-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--color-heading); }
.wo-review__head small { margin-left: auto; color: var(--color-text-soft); }
.wo-review__head .stars { font-size: 12px; }
.wo-review p { margin: 10px 0 0; }
.spotlight__details a { word-break: break-word; }

/* Blog post body, FAQ and share */
.wo-prose h2, .wo-prose h3 { margin: 34px 0 14px; color: var(--color-heading); }
.wo-prose ul, .wo-prose ol { margin: 0 0 18px 20px; }
.wo-prose a { color: var(--color-orange); }
.wo-prose img { border-radius: var(--radius-sm); }
.wo-post-faq { margin: 50px 0 30px; }
.wo-post-faq h2 { margin-bottom: 20px; }
.wo-share { display: flex; align-items: center; gap: 10px; margin: 26px 0; }
.wo-share span { color: var(--color-heading); }
.article__figure img.is-photo { width: 100%; object-fit: cover; }

@media (max-width: 767px) {
    .wo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-hero__logo.wo-shot { width: 100%; height: 190px; }
}
.disc__cover.wo-shot > img { width: 100%; }
.brand-logo > img:only-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.error-letters:empty { display: none; }
