/* ExprtHub — dynamic theme additions (loaded after the design stylesheet) */
html, body { overflow-x: clip; }
.category-single-listing-layout > *, .renvia-blog-details__layout > *, .single-listing-tabs-layout > *, .search-results-grid > *, .renvia-news__grid > *, .category-single-listing-grid > * { min-width: 0; }

/* Website screenshots fill the card image box, top of the page first */
.homz-project-image.cdt-shot { padding: 0; }
.homz-project-image.cdt-shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 0; object-fit: cover; object-position: top center; mix-blend-mode: normal; filter: none; background: none; }
.listing-detail-logo-card.cdt-shot { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; min-height: 0; }
.listing-detail-logo-card.cdt-shot img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; padding: 0; object-fit: cover; object-position: top center; }
.cdt-initials { position: absolute; inset: 0; display: grid; place-items: center; background: #0e0f0e; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: .02em; }
.homz-project-category { position: relative; z-index: 2; }

/* Names link to the business website on the home page, to the listing elsewhere */
a.exh-name-link { color: inherit; text-decoration: none; }
.dn-detail-tagline { margin-top: 10px; }
.cdt-about-link { margin-top: 16px; }
.cdt-about-link a { color: #0e0f0e; font-weight: 600; text-decoration: underline currentColor 1px; text-underline-offset: .18em; overflow-wrap: anywhere; }
.cdt-about-link a:hover { text-decoration-thickness: 2px; }

/* Toolbar sort + pager + empty */
.cdt-results-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dn-sort select { border: 1px solid rgba(14, 15, 14, .12); border-radius: 999px; padding: 8px 14px; background: #fff; font: inherit; font-size: .875rem; color: #0e0f0e; }
.dn-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.dn-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid rgba(14, 15, 14, .12); border-radius: 999px; font-weight: 600; background: #fff; color: #0e0f0e; }
.dn-pager a.page-numbers:hover { border-color: #0e0f0e; }
.dn-pager .page-numbers.current { background: #0e0f0e; color: #fff; border-color: #0e0f0e; }

/* Listing page */
.dn-review-solo { grid-template-columns: 1fr; }
.dn-open-state { margin-left: 10px; font-size: .875rem; font-weight: 600; color: #2d7a4f; }
.dn-open-state.is-closed { color: #b3261e; }
.single-listing-reference-hours-list > div.is-today { font-weight: 600; }
.dn-detail-socials { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dn-check { color: #0e0f0e; display: grid; place-items: center; }

/* Blog post, privacy and plain pages */
.dn-prose { font-size: 1.0625rem; line-height: 1.75; }
.dn-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 2.2rem 0 .8rem; }
.dn-prose h3 { font-size: 1.35rem; margin: 1.8rem 0 .6rem; }
.dn-prose p, .dn-prose ul, .dn-prose ol { margin: 0 0 1.1rem; }
.dn-prose ul, .dn-prose ol { padding-left: 1.3rem; }
.dn-prose ul { list-style: disc; }
.dn-prose ol { list-style: decimal; }
.dn-prose img { max-width: 100%; height: auto; }
.dn-prose a { text-decoration: underline; text-underline-offset: 3px; }
.dn-post-faq { margin-top: 2.5rem; }
.dn-post-faq h2 { margin-bottom: 1rem; }
.dn-post-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dn-legal__layout { display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.dn-legal__toc { position: sticky; top: 110px; }
.dn-legal__toc h2 { font-size: 1.1rem; margin-bottom: 12px; }
.dn-legal__toc ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: 8px; font-size: .9rem; }
.dn-legal .dn-prose section:first-child h2 { margin-top: 0; }
@media (max-width: 900px) { .dn-legal__layout { grid-template-columns: 1fr; } .dn-legal__toc { position: static; } }

/* Contact form confirmation */
.dn-form-msg { grid-column: 1 / -1; margin: 12px 0 0; font-weight: 600; color: #2d7a4f; }

/* Listing screenshots and initials in the design's photo / logo slots */
.exh-cover { position: relative; display: block; overflow: hidden; }
.listing-detail-logo-card.cdt-shot { position: relative; overflow: hidden; }
.homz-project-image.cdt-shot { position: relative; overflow: hidden; }
/* The tab-* line icons carry no paint of their own */
.single-listing-detail-card__icon svg:not([stroke]), .single-listing-tab-button svg:not([stroke]), .single-listing-reference-company-icon svg:not([stroke]) { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.exh-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.listing-reference-rating:empty { display: none; }
.exh-tile-photo { overflow: hidden; padding: 0; }
.exh-tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.exh-narrow { max-width: 860px; }
.category-single-sidebar__icon.dn-cat-thumb { width: 36px; height: 36px; flex: none; overflow: hidden; border-radius: 8px; padding: 0; }
.category-single-sidebar__icon.dn-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-reference-contact-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Post sidebar share links */
.vh-share__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; }
.vh-share__links a { text-decoration: underline; text-underline-offset: 3px; }

.pinvoy-directory-faq__item.is-open .pinvoy-directory-faq__icon { transform: none; }
.is-open .faq-icon svg { transform: none; }
.faq-icon .exh-faq-v { transition: opacity .3s; }
.is-open .faq-icon .exh-faq-v { opacity: 0; }
.report-card .listing-detail-logo-card.cdt-shot { width: 100%; aspect-ratio: 16 / 10; padding: 0; }
.report-card .listing-detail-logo-card.cdt-shot img { object-position: top center; }
.category-single-sidebar__link { grid-template-columns: 32px 28px minmax(0, 1fr); }
.category-single-sidebar__icon.dn-cat-thumb { width: 28px; height: 28px; border-radius: 4px; }
/* Listing tabs carry icon + label only (no number column) */
.single-listing-tab-button { grid-template-columns: 20px minmax(0, 1fr); padding-left: 14px; }
@media (max-width: 991px) { .single-listing-tab-button { grid-template-columns: 18px auto; padding-left: 0; } }
