/*
Theme Name: Joeant.Biz
*/

/* WordPress-only additions. The design itself is assets/css/main.css (enqueued). */

/* Pagination (paginate_links list) in the design's round-button style */
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.pagination li > .page-numbers { min-width: 46px; height: 46px; padding: 0 .9rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); display: inline-grid; place-items: center; font: 700 var(--fs-sm)/1 var(--font-head); color: #fff; transition: all var(--t-fast); }
.pagination li > a.page-numbers:hover, .pagination li > .page-numbers.current { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.pagination li > .page-numbers.dots { background: transparent; border-color: transparent; }

/* Listing card: the card surface opens the listing, the business name opens its website */
.listing-card .card__hit { position: absolute; inset: 0; z-index: 1; }
.listing-card .card__body { position: relative; z-index: 2; pointer-events: none; }
.listing-card .card__body a { pointer-events: auto; position: relative; }
.listing-card .card__body h3 a::after { content: none; }
.listing-card .biz a { color: inherit; }
.listing-card .biz a:hover { color: #fff; }
.card__tags { display: flex; flex-wrap: wrap; gap: .35rem; align-self: flex-start; }
.card__loc { display: inline-flex; align-items: center; gap: .35rem; }
.card__loc svg { flex: none; }
.card__rating { display: inline-flex; align-items: center; gap: .3rem; color: #fff; font-weight: 600; }
.card__rating .stars { font-size: .9rem; letter-spacing: .06em; }
.listing-card .link-arrow { white-space: nowrap; }

/* Stars: filled part in gold */
.stars__on { color: var(--gold); }

/* Business-name initials when a listing has no image (or it fails to load) */
.card__media { position: relative; }
.card__media .ph-initials { display: none; }
.card__media.is-empty .ph-initials { display: grid; }

/* Listing page */
.listing-hero h1 a { color: inherit; }
.listing-hero h1 a:hover { color: var(--gold); }
.listing-about p a, .entry-content a { color: var(--gold); text-decoration: underline; }
.action-row .btn svg { width: 18px; height: 18px; }
.feat-grid { gap: .6rem; }
.feat-grid .chip { display: inline-flex; align-items: center; gap: 8px; padding: .55rem 1rem; line-height: 1.3; }
.feat-grid img, .feat-grid svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; flex: none; object-fit: contain; color: var(--gold); }
/* GMB icon PNGs are single-colour glyphs: recolour them to the design's gold */
.feat-grid .gmb-icon { filter: brightness(0) saturate(100%) invert(62%) sepia(86%) saturate(1300%) hue-rotate(1deg) brightness(102%) contrast(103%); }
.feat-grid .chip:hover .gmb-icon { filter: brightness(0); }
.feat-grid .chip:hover svg { color: var(--navy); }
.info-table th .ui-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: .35rem; color: var(--gold); }
.gallery button img { pointer-events: none; }
.rev-bars { display: grid; gap: .45rem; }
.rev-bar { display: grid; grid-template-columns: 4.5rem 1fr 3rem; align-items: center; gap: .7rem; font-size: var(--fs-sm); }
.rev-bar i { height: 8px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold) var(--p), var(--card-2) var(--p)); }
.rev-bar span:last-child { text-align: right; color: var(--muted); }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
.review-item { background: var(--card); border-radius: var(--r-md); padding: var(--s-5); }
.review-item header { display: flex; justify-content: space-between; gap: .6rem; align-items: center; color: #fff; }
.review-item .stars { font-size: .95rem; }
.review-item time { font-size: var(--fs-xs); }
.review-item p { margin: .6rem 0 0; font-size: var(--fs-sm); }
.soc-r { display: flex; flex-wrap: wrap; gap: .5rem; }
.soc-r a, .social-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); transition: background var(--t-fast), transform var(--t-fast); }
.soc-r a:hover, .social-row a:hover { background: var(--gold); transform: translateY(-2px); }
.soc-r svg, .social-row svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 700px) { .review-list { grid-template-columns: 1fr; } }

/* Blog post */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin: var(--s-6) 0; }
.share-row .script { margin: 0; }
.social-row { display: flex; gap: .5rem; }
.post-tags { margin-top: var(--s-5); }
.post-tags a { padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--card); color: #fff; font: 600 var(--fs-sm)/1 var(--font-head); }
.post-tags a:hover { background: var(--gold); color: var(--navy); }
.post-faq details { background: var(--card); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-3); }
.post-faq summary { cursor: pointer; font: 600 1rem/1.4 var(--font-head); color: #fff; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-7); font: 600 var(--fs-sm)/1.4 var(--font-head); }
.post-navigation a { color: var(--gold); }
.comments { margin-top: var(--s-7); }
.comment-list { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.comment-list .comment { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: var(--s-6); }
.comment-form label { display: block; font: 700 var(--fs-sm)/1.3 var(--font-head); color: #fff; margin-bottom: .4rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .85rem 1.1rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: #fff; font: inherit; }
.comment-form .submit { min-height: 52px; padding: .8rem 1.9rem; border: 0; border-radius: var(--r-pill); background: var(--gold); color: var(--navy); font: 700 var(--fs-sm)/1 var(--font-head); cursor: pointer; }

/* Privacy policy uses the full container on the contact page */
.article.article--wide { max-width: var(--container); }
.article--wide h3 { font-size: var(--fs-lg); margin-top: var(--s-5); }

/* Footer social icons and back-to-top link */
.footer-social { display: inline-grid; place-items: center; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
a.to-top { display: grid; place-items: center; }
