/*
Theme Name: Businesslistingshunt.Com
*/

/* WordPress-only additions. Design CSS is enqueued from assets/css/style.css. */

.skip-link {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 10000;
    padding: 8px 14px;
    background: #111;
    color: #fff;
}
.skip-link:focus { top: 12px; }
.is-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.service-card__icon--photo img,
.listing-summary__logo--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.listing-summary__logo--photo {
    padding: 0;
    overflow: hidden;
}
.brand-box--shot {
    padding: 0;
    overflow: hidden;
}
.brand-box--shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: none;
    opacity: 1;
}

.ph-initials { display: none; }
.is-empty > .ph-initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: var(--gradient, linear-gradient(135deg, #ff0a54, #7a1cff));
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.4rem, 4vw, 2.4rem);
}
.service-card__icon,
.listing-summary__logo {
    position: relative;
}
.project-card__img {
    overflow: hidden;
}
.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card__icon.is-empty img,
.listing-summary__logo.is-empty img,
.project-card__img.is-empty img { display: none; }

.listing-grid .service-card img {
    object-fit: cover;
    object-position: top center;
}

.back-to-top {
    display: grid;
    place-items:center;
    line-height: 1;
}
.btn-main--block { width: 100%; }

.pagination .page-numbers,
.pagination a.page-numbers,
.pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    list-style: none;
}
.pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagination .page-numbers.current,
.pagination .is-current {
    color: var(--white);
    border-color: transparent;
    background: var(--gradient);
}

.layout-sidebar {
    align-items: start;
}
.post-card__media,
.article__media {
    overflow: hidden;
}
.post-card__media img,
.post-overlay__media img,
.article__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sidebar {
    align-self: start;
}

.article--wide,
.legal.article--wide {
    max-width: none;
}

.panel p a,
.prose a,
.listing-block p a {
    text-decoration: underline;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.feat-grid > div,
.single-listing-highlight-grid > div,
.feature-grid > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}
.feat-grid img,
.feat-grid svg,
.feature-grid img,
.feature-grid svg,
.single-listing-highlight-grid img,
.single-listing-highlight-grid svg {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    flex: none;
    object-fit: contain;
}
.ico {
    width: 22px;
    height: 22px;
    flex: none;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.share-row,
.soc-r,
.social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: auto;
    height: auto;
}
.share-row {
    margin-top: 22px;
}
.soc-r a,
.social-row a {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
}
.soc-r svg,
.social-row svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.form-ok,
.form-note {
    margin-bottom: 16px;
}
.form-ok {
    color: #0a7a3e;
}
.form-note[role="alert"] {
    color: #b42318;
}

.comment-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
