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

/* Category photos in the design's icon slots (never icons) */
.gw-photo { overflow: hidden; padding: 0; }
.gw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-card:hover .gw-photo img, .category-chip:hover .gw-photo img { transform: scale(1.06); transition: transform .6s ease; }
.gw-chip-photo { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Website screenshots */
.gw-shot img { object-position: top center; }
.listing-tile__media.gw-shot img { width: 100%; height: 100%; object-fit: cover; }
.listing-hero__logo.gw-shot { padding: 0; }
.listing-hero__logo.gw-shot img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top; }
.listing-hero__logo.gw-shot .listing-card__monogram { font-size: 48px; }
.listing-tile__title a, .listing-card__title a, .listing-hero__title a { color: inherit; }
.listing-tile__title a:hover, .listing-card__title a:hover, .listing-hero__title a:hover { color: var(--color-brand); }
.pill a { color: inherit; }

/* Detail */
.gw-content > * + * { margin-top: 1em; }
.gw-review-note { margin: 0; color: var(--color-text); }
.gw-review-note a { color: var(--color-brand); text-decoration: underline; }
.gw-reviews { display: grid; gap: 14px; margin-top: 24px; }
.gw-review { padding: 18px 20px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); }
.gw-review__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--color-title); }
.gw-review__head small { color: var(--color-meta); }
.gw-review .rating { display: inline-flex; margin: 6px 0; }
.gw-review p { margin: 0; }
.rating svg { color: #f5b301; }
.rating svg.gw-star-off { color: #d3dad5; }

/* Blog + pager */
.gw-post-faq { margin-top: 36px; }
.gw-post-faq h2 { margin-bottom: 16px; }
.gw-empty { padding: 24px 0; color: var(--color-text); }
.gw-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; grid-column: 1 / -1; }
.gw-pager a, .gw-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-title); font-weight: 700; text-decoration: none; }
.gw-pager .current, .gw-pager a:hover { background: var(--color-brand); border-color: var(--color-brand); color: #fff; }
