/* Dynamic additions for the WordPress build. */

/* Website screenshots + initials fallback */
.mr-shot { display: grid; place-items: center; }
.mr-shot .browser__shot { position: absolute; inset: 0; }
.mr-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--night));
}
.mr-name-link { color: inherit; }
.mr-name-link:hover { color: var(--green); }
.listing-hero h1 .mr-name-link:hover { color: var(--green-dark); }
.mr-subtitle { margin: -4px 0 14px; font-size: 18px; color: var(--body); }
.listing-hero .tag { display: inline-block; margin-bottom: 12px; }

/* Pagination (WordPress markup) */
.pagination { flex-wrap: wrap; }
.pagination .dots { border-color: transparent; }
.pagination .prev, .pagination .next { width: auto; padding: 0 20px; border-radius: 100px; }

.mr-empty { grid-column: 1 / -1; padding: 40px 30px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }

/* Listing details */
.detail-block > p + p { margin-top: 14px; }
.mr-socials a { width: auto; padding: 0 14px; font-size: 14px; font-weight: 600; }
.mr-note { margin: 10px 0 20px; font-size: 14px; color: var(--muted); }
.contact-list a { word-break: break-word; }

/* Blog post FAQ */
.mr-post-faq { margin: 50px 0 10px; }
.mr-post-faq h2 { margin-bottom: 20px; font-size: clamp(26px, 2.6vw, 34px); }
.mr-post-faq .faq { max-width: none; }

/* Sitemap long lists */
.sitemap-card--wide ul { columns: 3 220px; column-gap: 30px; }
.sitemap-card--wide li { break-inside: avoid; }
.policy section + section h2 { margin-top: 50px; }
.policy h3 { margin: 26px 0 10px; font-size: 21px; }
