/* Hitz: styles for the dynamic (WordPress) output. */

/* Initials fallback styled like the design's monogram */
.hz-mono { font-family: var(--font-display); font-stretch: 125%; font-size: 56px; font-weight: 800; font-style: italic; letter-spacing: -0.05em; color: var(--ink); text-transform: uppercase; }
.listing-row__thumb .hz-mono { font-size: 26px; }
.spotlight__media .hz-mono { font-size: 40px; }

/* Website screenshots fill their frames */
.listing-card__media img, .showcase-card__media img, .listing-row__thumb img, .spotlight__media img { object-position: top center; }
.listing-row__thumb--cover { padding: 0; }
.listing-row__thumb--cover img { width: 100%; height: 100%; object-fit: cover; }
.showcase-card__media { text-decoration: none; }
.biz-head__logo.hz-shot { padding: 0; overflow: hidden; }
.biz-head__logo.hz-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.listing-card__title a, .listing-row__title a, .biz-head h1 a { color: inherit; }
.listing-card__title a:hover, .listing-row__title a:hover, .biz-head h1 a:hover { color: var(--red); }
.hz-view { color: var(--muted); font-size: 13px; text-decoration: none; }
.hz-view:hover { color: var(--red); }

/* Ratings */
.hz-stars svg.is-on { color: var(--red); }

/* Category photo thumbnails in the A–Z index (never icons) */
.cat-index__num.hz-cat-thumb { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.cat-index__num.hz-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-count { color: var(--muted); font-weight: 500; font-size: .8em; }

/* Detail */
.hz-photo { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; }
.hz-photo img { width: 100%; height: 100%; object-fit: cover; }
.hz-review-note { margin: 0; color: var(--muted); }
.hz-reviews { display: grid; gap: 14px; margin-top: 22px; }
.hz-review { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.hz-review__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hz-review__head small { color: var(--muted); }
.hz-review .stars { margin: 6px 0; }
.hz-review p { margin: 0; }
.hz-socials { margin-bottom: 10px; }

/* Blog */
.hz-post-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__cover, .article-cover, .listing-row__thumb--post { position: relative; overflow: hidden; }
.hz-post-faq { margin-top: 40px; }
.hz-post-faq h2 { margin-bottom: 16px; }
.hz-empty { padding: 26px 0; color: var(--muted); }
.hz-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.hz-postnav a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
.hz-postnav a.next { text-align: right; grid-column: 2; }
.hz-postnav small { font-family: var(--font-mono); font-size: 11px; color: var(--red); text-transform: uppercase; }
@media (max-width: 640px) { .hz-postnav { grid-template-columns: 1fr; } .hz-postnav a.next { grid-column: auto; } }
.gallery.hz-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 10px; }
.gallery.hz-gallery .hz-photo { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3; height: auto; min-height: 0; border-radius: 14px; background: var(--paper); }
@media (max-width: 640px) { .gallery.hz-gallery { grid-template-columns: repeat(2, 1fr); } }
